Failed
com.sun.ts.tests.jstl.compat.onedotzero.JSTLClient.positiveParseVarTest (from tags-tck)
Error Message
test result: Failed. Test case throws exception: [BaseUrlClient] positiveParseVarTest failed! Check output for cause of failure.
Stacktrace
test result: Failed. Test case throws exception: [BaseUrlClient] positiveParseVarTest failed! Check output for cause of failure.
Standard Output
#Test Results (version 2) #Fri Mar 26 03:30:44 UTC 2021 #-----testdescription----- $file=/home/jenkins/agent/workspace/jakartaee-tck_master/tags-tck/src/com/sun/ts/tests/jstl/compat/onedotzero/JSTLClient.java $root=/home/jenkins/agent/workspace/jakartaee-tck_master/tags-tck/src assertion_ids=JSTL\:SPEC\:67 The < x\:parse> action parses an XML document.\nJSTL\:SPEC\:67.1 The 'systemIDl' attribute specifies the URL of the\n\t\t\t\t\t\tsource XML document to be parsed.\nJSTL\:SPEC\:67.1.1 The result of the evaluated expression must be of\n\t\t\t\t\t\t\t\ttype String\nJSTL\:SPEC\:67.1.2 If the evaluated expression is not of type String,\n\t\t\t\t\t\t\t\tan Exception is thrown.\nJSTL\:SPEC\:67.2 The 'xml' attribute specifies the source XML document\n\t\t\t\t\t\tto be parsed.\nJSTL\:SPEC\:67.2.1 The result of the evaluated expression must be of\n\t\t\t\t\t\t\t\ttype String or Reader\nJSTL\:SPEC\:67.2.2 If the evaluated expression is not of type String or\n\t\t\t\t\t\t\t\tReader, an Exception is thrown.\nJSTL\:SPEC\:67.3 The 'filter' attribute specifies the filter to be\n\t\t\t\t\t\tapplied to the source document.\nJSTL\:SPEC\:67.3.1 The result of the evaluated expression must be of\n\t\t\t\t\t\t\t\ttype 'org.xml.sax.XMLFilter'\nJSTL\:SPEC\:67.3.2 If the evaluated expression is not of type\n\t\t\t\t\t\t\t\torg.xml.sax.XMLFilter, an Exception is thrown.\nJSTL\:SPEC\:67.3.3 If filter is null, filtering is not performed\nJSTL\:SPEC\:67.4 The 'var' attribute specifies the named of the\n\t\t\t\t\t\texported scoped attribute for the parsed XML document.\nJSTL\:SPEC\:67.4.1 The type of the exported scoped attribute is\n\t\t\t\t\t\t\t\timplementation specified.\nJSTL\:SPEC\:67.4.2 If the 'var' attribute is specified, but empty, a\n\t\t\t\t\t\t\t\ttranslation time validation error will occur.\nJSTL\:SPEC\:67.5 The 'scope' attribute specifies the scope in which to\n\t\t\t\t\t\texport 'var'.\nJSTL\:SPEC\:67.5.1 A value of 'page' will export 'var' to the page\n\t\t\t\t\t\t\t\tscope.\nJSTL\:SPEC\:67.5.2 A value of 'request' will export 'var' to the \n\t\t\t\t\t\t\t\trequest scope.\nJSTL\:SPEC\:67.5.3 A value of 'session' will export 'var' to the\n\t\t\t\t\t\t\t\tsession scope.\nJSTL\:SPEC\:67.5.4 A value of 'application' will export 'var' to the\n\t\t\t\t\t\t\t\tapplication scope.\nJSTL\:SPEC\:67.5.5 If the 'scope' attribute is provided an invalid\n\t\t\t\t\t\t\t\tvalue, a translation time validation error will occur.\nJSTL\:SPEC\:67.6 The 'varDom' attribute specifies the exported scoped\n\t\t\t\t\t\tattribute for the parsed XML document.\nJSTL\:SPEC\:67.6.1 The exported scoped attribute must be of type\n\t\t\t\t\t\t\t\torg.w3c.dom.Document.\nJSTL\:SPEC\:67.7 The 'scopeDom' attribute specifies the scope in which\n\t\t\t\t\t\tto export 'varDom'.\nJSTL\:SPEC\:67.7.1 A value of 'page' will export 'varDom' to the page\n\t\t\t\t\t\t\t\tscope.\nJSTL\:SPEC\:67.7.2 A value of 'request' will export 'varDom' to the\n\t\t\t\t\t\t\t\trequest scope.\nJSTL\:SPEC\:67.7.3 A value of 'session' will export 'varDom' to the\n\t\t\t\t\t\t\t\tsession scope.\nJSTL\:SPEC\:67.7.4 A value of 'application' will export 'varDom' to the\n\t\t\t\t\t\t\t\tapplication scope.\nJSTL\:SPEC\:67.7.5 If the scopeDom attribute is provided an invalid\n\t\t\t\t\t\t\t\tvalue, a translation time validation error will occur.\nJSTL\:SPEC\:67.8 It is invalid to specify 'xmlUrl' if the action has\n\t\t\t\t\t\tbody-content.\nJSTL\:SPEC\:67.9 It is invalid to specify 'xmlTest' if the action has\n\t\t\t\t\t\tbody-content.\nJSTL\:SPEC\:67.10 One and only one of var and varDom must be specified\nJSTL\:SPEC\:67.11 If 'scope' is specified, 'var' must also be specified.\nJSTL\:SPEC\:67.12 If 'scopeDom' is specified, 'varDom' must also be\n\t\t\t\t\t\tspecified.\nJSTL\:SPEC\:67.13 If 'xmlUrl' is null or empty, a JspException is\n\t\t\t\t\t\tthrown.\nJSTL\:SPEC\:67.14 The document to be parsed can be specified as body\n\t\t\t\t\t\tcontent of the action.\nJSTL\:SPEC\:67.15 The 'var' or 'varDom' attribute is required across all\n\t\t\t\t\t\tsyntax variations.\nJSTL\:SPEC\:67.16 If an exception is caused by the body content, it must\n\t\t\t\t\t\tbe propagated.\nJSTL\:SPEC\:67.17 If an exception is caused by the action, it must be\n\t\t\t\t\t\tpropagated.\nJSTL\:SPEC\:67.18 If the source XML document is null or empty, a\n\t\t\t\t\t\tJspException is thrown.\nJSTL\:SPEC\:67.19 The 'doc' attribute specifies the source XML document\n\t\t\t\t\t\tto be parsed.\nJSTL\:SPEC\:67.19.1 The result of the evaluated expression must be of\n\t\t\t\t\t\t\t\ttype String or Reader\nJSTL\:SPEC\:67.19.2 If the evaluated expression is not of type String or\n\t\t\t\t\t\t\t\tReader, an Exception is thrown.\nJSTL\:SPEC\:73 The < x\:transform> action applies a transformation to\n\t\t\t\tan XML document given a specified XSLT stylesheet or a transformer \n\t\t\t\tobject.\nJSTL\:SPEC\:73.2 The 'xml' attribute specifies the source XML document\n\t\t\t\t\t\tto be transformed.\nJSTL\:SPEC\:73.2.1 The type of the evaluated expression can be\:\nJSTL\:SPEC\:73.2.1.4 An object exported by < x\:parse> or < x\:set> classname=com.sun.ts.tests.jstl.compat.onedotzero.JSTLClient direction=forward finder=cts id=positiveParseVarTest keywords=all jstl javaee javaee_web_profile positiveParseVarTest novehicle forward service_eetest=no testName=positiveParseVarTest testProps=\ webServerHost webServerPort ts_home jstl.db.url jstl.db.user jstl.db.password jstl.db.driver test_directory=com/sun/ts/tests/jstl/compat/onedotzero #-----environment----- JAVA_HOME=/opt/jdk-11.0.7 JAVA_OPTIONS= LOCAL_CLASSES=/home/jenkins/agent/workspace/jakartaee-tck_master/tags-tck/bin/xml/../../lib/tsharness.jar\:/home/jenkins/agent/workspace/jakartaee-tck_master/tags-tck/bin/xml/../../lib/jstltck.jar\:/home/jenkins/agent/workspace/jakartaee-tck_master/tags-tck/bin/xml/../../lib/javatest.jar\:/home/jenkins/agent/workspace/jakartaee-tck_master/tags-tck/bin/xml/../../classes\:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/jakarta.servlet.jsp.jstl.jar\:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/jakarta.servlet.jsp.jstl-api.jar\:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/jakarta.servlet-api.jar\:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/jakarta.servlet.jsp.jar\:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/jakarta.servlet.jsp-api.jar\:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/jakarta.el.jar\:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/jakarta.el-api.jar\:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/../javadb/lib/derbyclient.jar\:/home/jenkins/agent/workspace/jakartaee-tck_master/tags-tck/bin/xml/../../lib/commons-httpclient-3.1.jar\:/home/jenkins/agent/workspace/jakartaee-tck_master/tags-tck/bin/xml/../../lib/commons-codec-1.9.jar\:/home/jenkins/agent/workspace/jakartaee-tck_master/tags-tck/bin/xml/../../lib/commons-logging-1.1.3.jar\:/home/jenkins/agent/workspace/jakartaee-tck_master/tags-tck/bin/xml/../../lib/sigtest.jar SYSTEMROOT=${env.SystemRoot} TS_HOME=/home/jenkins/agent/workspace/jakartaee-tck_master/tags-tck/bin/xml/../.. command.testExecute=com.sun.ts.lib.harness.ExecTSTestCmd CLASSPATH\=${JAVA_HOME}/lib/rt.jar${pathsep}${LOCAL_CLASSES} HOME\="${user.home}" windir\=${windir} SYSTEMROOT\=${SYSTEMROOT} ${JAVA_HOME}/bin/java ${JAVA_OPTIONS} $testExecuteClass $testExecuteArgs harness.executeMode=2 harness.log.delayseconds=1 harness.log.port=2000 harness.log.traceflag=true harness.socket.retry.count=10 harness.temp.directory=${ts.home}/tmp jstl.db.driver=org.apache.derby.jdbc.ClientDriver jstl.db.name=derbyDB jstl.db.password=cts1 jstl.db.port=1527 jstl.db.server=localhost jstl.db.url=jdbc\:derby\://${jstl.db.server}\:${jstl.db.port}/${jstl.db.name};create\=true jstl.db.user=cts1 pathsep=\: porting.ts.url.class.1=com.sun.ts.lib.implementation.sun.common.SunRIURL ts.home=/home/jenkins/agent/workspace/jakartaee-tck_master/tags-tck/bin/xml/../.. ts_home=${TS_HOME} user.home=? webServerHost=localhost webServerPort=8080 windir=${env.windir} #-----testresult----- description=file\:/home/jenkins/agent/workspace/jakartaee-tck_master/tags-tck/src/com/sun/ts/tests/jstl/compat/onedotzero/JSTLClient.java\#positiveParseVarTest end=Fri Mar 26 03\:30\:44 UTC 2021 environment=ts_unix execStatus=Failed. Test case throws exception\: [BaseUrlClient] positiveParseVarTest failed\! Check output for cause of failure. harnessLoaderMode=Classpath Loader harnessVariety=Full Bundle javatestOS=Linux 3.10.0-1062.el7.x86_64 (amd64) javatestVersion=5.0 script=com.sun.ts.lib.harness.TSScript sections=script_messages TestRun start=Fri Mar 26 03\:30\:43 UTC 2021 test=com/sun/ts/tests/jstl/compat/onedotzero/JSTLClient.java\#positiveParseVarTest timeoutSeconds=600 totalTime=1511 work=/home/jenkins/agent/workspace/jakartaee-tck_master/tags-tckwork/tags-tck/com/sun/ts/tests/jstl/compat/onedotzero #section:script_messages ----------messages:(0/0)---------- #section:TestRun ----------messages:(1/1891)---------- command: com.sun.ts.lib.harness.ExecTSTestCmd CLASSPATH=:/opt/jdk-11.0.7/lib/rt.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/tags-tck/bin/xml/../../lib/tsharness.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/tags-tck/bin/xml/../../lib/jstltck.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/tags-tck/bin/xml/../../lib/javatest.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/tags-tck/bin/xml/../../classes:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/jakarta.servlet.jsp.jstl.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/jakarta.servlet.jsp.jstl-api.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/jakarta.servlet-api.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/jakarta.servlet.jsp.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/jakarta.servlet.jsp-api.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/jakarta.el.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/jakarta.el-api.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/../javadb/lib/derbyclient.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/tags-tck/bin/xml/../../lib/commons-httpclient-3.1.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/tags-tck/bin/xml/../../lib/commons-codec-1.9.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/tags-tck/bin/xml/../../lib/commons-logging-1.1.3.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/tags-tck/bin/xml/../../lib/sigtest.jar HOME=? windir= SYSTEMROOT= /opt/jdk-11.0.7/bin/java com.sun.ts.tests.jstl.compat.onedotzero.JSTLClient -p /home/jenkins/agent/workspace/jakartaee-tck_master/tags-tck/bin/xml/../../tmp/tstest.jte -t positiveParseVarTest ----------log:(71/5408)*---------- ************************************************************ * props file set to "/tmp/?-cts-props.txt" ************************************************************ 03-26-2021 03:30:43: TRACE: ####### Value of harness.socket.retry.count is "10" 03-26-2021 03:30:43: TRACE: ####### Value of harness.log.port is "2000" 03-26-2021 03:30:43: TRACE: ####### Actual bind value of harness.log.port is "2000" 03-26-2021 03:30:43: TRACE: *** in EETest.run(argv,p) 03-26-2021 03:30:43: TRACE: TESTCLASS=com.sun.ts.tests.jstl.compat.onedotzero.JSTLClient 03-26-2021 03:30:43: TRACE: ** IN getRunMethod: testClass=com.sun.ts.tests.jstl.compat.onedotzero.JSTLClient 03-26-2021 03:30:43: TRACE: ** IN getRunMethod: testname=positiveParseVarTest 03-26-2021 03:30:43: TRACE: ** GOT RUN METHOD! 03-26-2021 03:30:43: TRACE: **runmethod=positiveParseVarTest 03-26-2021 03:30:43: TRACE: ABOUT TO GET SETUP METHOD! 03-26-2021 03:30:43: TRACE: No setupMethod annotation present 03-26-2021 03:30:43: TRACE: getSetupMethod - checking for testcase specific setup method: positiveParseVarTest_setup 03-26-2021 03:30:43: TRACE: getSetupMethod - checking for default class specific setup method 03-26-2021 03:30:43: TRACE: GOT SETUP METHOD! 03-26-2021 03:30:43: TRACE: No cleanupMethod annotation present 03-26-2021 03:30:43: TRACE: getCleanupMethod - checking for testcase specific cleanup method: positiveParseVarTest_cleanup 03-26-2021 03:30:43: TRACE: getCleanupMethod - checking for default class specific cleanup method 03-26-2021 03:30:43: TRACE: GOT CLEANUP METHOD! 03-26-2021 03:30:43: TRACE: ABOUT TO INVOKE SETUP METHOD! 03-26-2021 03:30:43: [BaseUrlClient] Test setup OK 03-26-2021 03:30:43: TRACE: INVOKED SETUP METHOD! 03-26-2021 03:30:43: TRACE: ABOUT TO INVOKE EETEST RUN METHOD! 03-26-2021 03:30:43: TRACE: [HttpRequest] Added request header: jstl.db.user: cts1 03-26-2021 03:30:43: TRACE: [HttpRequest] Added request header: jstl.db.driver: org.apache.derby.jdbc.ClientDriver 03-26-2021 03:30:43: TRACE: [HttpRequest] Added request header: jstl.db.password: cts1 03-26-2021 03:30:43: TRACE: [HttpRequest] Added request header: jstl.db.url: jdbc:derby://localhost:1527/derbyDB;create=true 03-26-2021 03:30:43: TRACE: [BaseUrlClient] EXECUTING 03-26-2021 03:30:43: [HttpRequest] Dispatching request: 'GET /jstl_1_0_compat_web/positiveParseVarTest.jsp HTTP/1.1' to target server at 'localhost:8080' 03-26-2021 03:30:43: TRACE: ########## The real value set: false 03-26-2021 03:30:43: TRACE: [WIRE] - >> "GET /jstl_1_0_compat_web/positiveParseVarTest.jsp HTTP/1.1[\\r][\\n]" 03-26-2021 03:30:43: TRACE: [WIRE] - >> "jstl.db.user: cts1[\\r][\\n]" 03-26-2021 03:30:43: TRACE: [WIRE] - >> "jstl.db.driver: org.apache.derby.jdbc.ClientDriver[\\r][\\n]" 03-26-2021 03:30:43: TRACE: [WIRE] - >> "jstl.db.password: cts1[\\r][\\n]" 03-26-2021 03:30:43: TRACE: [WIRE] - >> "jstl.db.url: jdbc:derby://localhost:1527/derbyDB;create=true[\\r][\\n]" 03-26-2021 03:30:43: TRACE: [WIRE] - >> "User-Agent: Jakarta Commons-HttpClient/3.1[\\r][\\n]" 03-26-2021 03:30:43: TRACE: [WIRE] - >> "Host: localhost:8080[\\r][\\n]" 03-26-2021 03:30:43: TRACE: [WIRE] - >> "[\\r][\\n]" 03-26-2021 03:30:43: TRACE: [WIRE] - << "HTTP/1.1 404 Not Found[\\r][\\n]" 03-26-2021 03:30:43: TRACE: [WIRE] - << "HTTP/1.1 404 Not Found[\\r][\\n]" 03-26-2021 03:30:43: TRACE: [WIRE] - << "Server: Eclipse GlassFish 6.1.0 [\\r][\\n]" 03-26-2021 03:30:43: TRACE: [WIRE] - << "X-Powered-By: Servlet/5.0 JSP/3.0(Eclipse GlassFish 6.1.0 Java/Oracle Corporation/11)[\\r][\\n]" 03-26-2021 03:30:43: TRACE: [WIRE] - << "Content-Language: [\\r][\\n]" 03-26-2021 03:30:43: TRACE: [WIRE] - << "Content-Type: text/html[\\r][\\n]" 03-26-2021 03:30:43: TRACE: [WIRE] - << "Content-Length: 1048[\\r][\\n]" 03-26-2021 03:30:43: TRACE: [WIRE] - << "[\\r][\\n]" 03-26-2021 03:30:43: ERROR: [WebValidatorBase] Unexpected 404 received from target server! Request path: /jstl_1_0_compat_web/positiveParseVarTest.jsp 03-26-2021 03:30:43: ERROR: Test case throws exception: [BaseUrlClient] positiveParseVarTest failed! Check output for cause of failure. 03-26-2021 03:30:43: ERROR: Exception at: 03-26-2021 03:30:43: ERROR: com.sun.ts.tests.common.webclient.TestFailureException: Test FAILED! at com.sun.ts.tests.common.webclient.WebTestCase.execute(WebTestCase.java:180) at com.sun.ts.tests.common.webclient.BaseUrlClient.invoke(BaseUrlClient.java:455) at com.sun.ts.tests.jstl.compat.onedotzero.JSTLClient.positiveParseVarTest(JSTLClient.java:346) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at com.sun.ts.lib.harness.EETest.run(EETest.java:596) at com.sun.ts.lib.harness.EETest.getPropsReady(EETest.java:486) at com.sun.ts.lib.harness.EETest.run(EETest.java:337) at com.sun.ts.tests.jstl.compat.onedotzero.JSTLClient.run(JSTLClient.java:65) at com.sun.ts.tests.jstl.compat.onedotzero.JSTLClient.main(JSTLClient.java:51) 03-26-2021 03:30:43: [BaseUrlClient] Test cleanup OK STATUS:Failed.Test case throws exception: [BaseUrlClient] positiveParseVarTest failed! Check output for cause of failure. result: Failed. Test case throws exception: [BaseUrlClient] positiveParseVarTest failed! Check output for cause of failure. test result: Failed. Test case throws exception: [BaseUrlClient] positiveParseVarTest failed! Check output for cause of failure.