Failed
com.sun.ts.tests.jstl.spec.xml.xmlcore.parse.JSTLClient.negativeParseDocNullEmptyTest (from tags-tck)
Error Message
test result: Failed. Test case throws exception: [BaseUrlClient] negativeParseDocNullEmptyTest failed! Check output for cause of failure.
Stacktrace
test result: Failed. Test case throws exception: [BaseUrlClient] negativeParseDocNullEmptyTest failed! Check output for cause of failure.
Standard Output
#Test Results (version 2) #Fri Mar 26 03:42:57 UTC 2021 #-----testdescription----- $file=/home/jenkins/agent/workspace/jakartaee-tck_master/tags-tck/src/com/sun/ts/tests/jstl/spec/xml/xmlcore/parse/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. classname=com.sun.ts.tests.jstl.spec.xml.xmlcore.parse.JSTLClient direction=forward finder=cts id=negativeParseDocNullEmptyTest keywords=all jstl javaee javaee_web_profile negativeParseDocNullEmptyTest novehicle forward service_eetest=no testName=negativeParseDocNullEmptyTest testProps=\ webServerHost webServerPort ts_home test_directory=com/sun/ts/tests/jstl/spec/xml/xmlcore/parse #-----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 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/spec/xml/xmlcore/parse/JSTLClient.java\#negativeParseDocNullEmptyTest end=Fri Mar 26 03\:42\:57 UTC 2021 environment=ts_unix execStatus=Failed. Test case throws exception\: [BaseUrlClient] negativeParseDocNullEmptyTest 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\:42\:56 UTC 2021 test=com/sun/ts/tests/jstl/spec/xml/xmlcore/parse/JSTLClient.java\#negativeParseDocNullEmptyTest timeoutSeconds=600 totalTime=1509 work=/home/jenkins/agent/workspace/jakartaee-tck_master/tags-tckwork/tags-tck/com/sun/ts/tests/jstl/spec/xml/xmlcore/parse #section:script_messages ----------messages:(0/0)---------- #section:TestRun ----------messages:(1/1905)---------- 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.spec.xml.xmlcore.parse.JSTLClient -p /home/jenkins/agent/workspace/jakartaee-tck_master/tags-tck/bin/xml/../../tmp/tstest.jte -t negativeParseDocNullEmptyTest ----------log:(59/4736)*---------- ************************************************************ * props file set to "/tmp/?-cts-props.txt" ************************************************************ 03-26-2021 03:42:56: TRACE: ####### Value of harness.socket.retry.count is "10" 03-26-2021 03:42:56: TRACE: ####### Value of harness.log.port is "2000" 03-26-2021 03:42:56: TRACE: ####### Actual bind value of harness.log.port is "2000" 03-26-2021 03:42:56: TRACE: *** in EETest.run(argv,p) 03-26-2021 03:42:56: TRACE: TESTCLASS=com.sun.ts.tests.jstl.spec.xml.xmlcore.parse.JSTLClient 03-26-2021 03:42:56: TRACE: ** IN getRunMethod: testClass=com.sun.ts.tests.jstl.spec.xml.xmlcore.parse.JSTLClient 03-26-2021 03:42:56: TRACE: ** IN getRunMethod: testname=negativeParseDocNullEmptyTest 03-26-2021 03:42:56: TRACE: ** GOT RUN METHOD! 03-26-2021 03:42:56: TRACE: **runmethod=negativeParseDocNullEmptyTest 03-26-2021 03:42:56: TRACE: ABOUT TO GET SETUP METHOD! 03-26-2021 03:42:56: TRACE: No setupMethod annotation present 03-26-2021 03:42:56: TRACE: getSetupMethod - checking for testcase specific setup method: negativeParseDocNullEmptyTest_setup 03-26-2021 03:42:56: TRACE: getSetupMethod - checking for default class specific setup method 03-26-2021 03:42:56: TRACE: GOT SETUP METHOD! 03-26-2021 03:42:56: TRACE: No cleanupMethod annotation present 03-26-2021 03:42:56: TRACE: getCleanupMethod - checking for testcase specific cleanup method: negativeParseDocNullEmptyTest_cleanup 03-26-2021 03:42:56: TRACE: getCleanupMethod - checking for default class specific cleanup method 03-26-2021 03:42:56: TRACE: GOT CLEANUP METHOD! 03-26-2021 03:42:56: TRACE: ABOUT TO INVOKE SETUP METHOD! 03-26-2021 03:42:56: [BaseUrlClient] Test setup OK 03-26-2021 03:42:56: TRACE: INVOKED SETUP METHOD! 03-26-2021 03:42:56: TRACE: ABOUT TO INVOKE EETEST RUN METHOD! 03-26-2021 03:42:56: TRACE: [BaseUrlClient] EXECUTING 03-26-2021 03:42:56: [HttpRequest] Dispatching request: 'GET /jstl_xml_parse_web/negativeParseDocNullEmptyTest.jsp HTTP/1.1' to target server at 'localhost:8080' 03-26-2021 03:42:56: TRACE: ########## The real value set: false 03-26-2021 03:42:56: TRACE: [WIRE] - >> "GET /jstl_xml_parse_web/negativeParseDocNullEmptyTest.jsp HTTP/1.1[\\r][\\n]" 03-26-2021 03:42:56: TRACE: [WIRE] - >> "User-Agent: Jakarta Commons-HttpClient/3.1[\\r][\\n]" 03-26-2021 03:42:56: TRACE: [WIRE] - >> "Host: localhost:8080[\\r][\\n]" 03-26-2021 03:42:56: TRACE: [WIRE] - >> "[\\r][\\n]" 03-26-2021 03:42:56: TRACE: [WIRE] - << "HTTP/1.1 404 Not Found[\\r][\\n]" 03-26-2021 03:42:56: TRACE: [WIRE] - << "HTTP/1.1 404 Not Found[\\r][\\n]" 03-26-2021 03:42:56: TRACE: [WIRE] - << "Server: Eclipse GlassFish 6.1.0 [\\r][\\n]" 03-26-2021 03:42:56: 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:42:56: TRACE: [WIRE] - << "Content-Language: [\\r][\\n]" 03-26-2021 03:42:56: TRACE: [WIRE] - << "Content-Type: text/html[\\r][\\n]" 03-26-2021 03:42:56: TRACE: [WIRE] - << "Content-Length: 1048[\\r][\\n]" 03-26-2021 03:42:56: TRACE: [WIRE] - << "[\\r][\\n]" 03-26-2021 03:42:56: ERROR: [WebValidatorBase] Unexpected 404 received from target server! Request path: /jstl_xml_parse_web/negativeParseDocNullEmptyTest.jsp 03-26-2021 03:42:56: ERROR: Test case throws exception: [BaseUrlClient] negativeParseDocNullEmptyTest failed! Check output for cause of failure. 03-26-2021 03:42:56: ERROR: Exception at: 03-26-2021 03:42:56: 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.spec.xml.xmlcore.parse.JSTLClient.negativeParseDocNullEmptyTest(JSTLClient.java:266) 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.spec.xml.xmlcore.parse.JSTLClient.run(JSTLClient.java:64) at com.sun.ts.tests.jstl.spec.xml.xmlcore.parse.JSTLClient.main(JSTLClient.java:50) 03-26-2021 03:42:56: [BaseUrlClient] Test cleanup OK STATUS:Failed.Test case throws exception: [BaseUrlClient] negativeParseDocNullEmptyTest failed! Check output for cause of failure. result: Failed. Test case throws exception: [BaseUrlClient] negativeParseDocNullEmptyTest failed! Check output for cause of failure. test result: Failed. Test case throws exception: [BaseUrlClient] negativeParseDocNullEmptyTest failed! Check output for cause of failure.