Regression
com.sun.ts.tests.jstl.spec.xml.xtransform.transform.JSTLClient.positiveTransformXsltInputTest (from tags-tck)
Error Message
test result: Failed. Test case throws exception: [BaseUrlClient] null failed! Check output for cause of failure.
Stacktrace
test result: Failed. Test case throws exception: [BaseUrlClient] null failed! Check output for cause of failure.
Standard Output
#Test Results (version 2) #Tue Aug 18 13:22:42 UTC 2020 #-----testdescription----- $file=/home/jenkins/agent/workspace/jakartaee-tck_master/tags-tck/src/com/sun/ts/tests/jstl/spec/xml/xtransform/transform/JSTLClient.java $root=/home/jenkins/agent/workspace/jakartaee-tck_master/tags-tck/src assertion_ids=JSTL\: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.1 The 'xmlSystemID' attribute specifies the URL of the\n\t\t\t\t\t\tsource XML document to be transformed.\nJSTL\:SPEC\:73.1.1 The result of the evaluated expression must be\n\t\t\t\t\t\t\t\tString.\nJSTL\:SPEC\:73.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\: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.1 String\nJSTL\:SPEC\:73.2.1.2 Reader\nJSTL\:SPEC\:73.2.1.3 javax.xml.transform.Source\nJSTL\:SPEC\:73.2.1.4 An object exported by < x\:parse> or < x\:set>\nJSTL\:SPEC\:73.2.1.5 org.w3c.dom.Document\nJSTL\:SPEC\:73.2.1.6 If the evaluated expression is not of type String,\n\t\t\t\t\t\t\t\t\t\tReader, javax.xml.transform.Source, org.w3c.dom.Document, or \n\t\t\t\t\t\t\t\t\t\tan Object exported by < x\:parse> or < x\:set>, an Exception\n\t\t\t\t\t\t\t\t\t\tis thrown.\nJSTL\:SPEC\:73.3 The 'xsltSystemID' attribute specifies the URL of the\n\t\t\t\t\t\ttransformation stylesheet.\nJSTL\:SPEC\:73.3.1 The result of the evaluated expression must be of\n\t\t\t\t\t\t\t\ttype String.\nJSTL\:SPEC\:73.3.2 If the evaluated expression is not of type String,\n\t\t\t\t\t\t\t\tan Exception is thrown.\nJSTL\:SPEC\:73.4 The 'xslt' attribute specifies the transformation\n\t\t\t\t\t\tstylesheet.\nJSTL\:SPEC\:73.4.1 The type of the evaluated expression can be\:\nJSTL\:SPEC\:73.4.1.1 String\nJSTL\:SPEC\:73.4.1.2 Reader\nJSTL\:SPEC\:73.4.1.3 javax.xml.transform.Source\nJSTL\:SPEC\:73.4.1.4 If the evaluated expression is not of type String,\n\t\t\t\t\t\t\t\t\t\tReader, or javax.xml.transform.Source, an Exception is thrown.\nJSTL\:SPEC\:73.5 The 'var' attribute specifies the name of the exported\n\t\t\t\t\t\tscoped attribute to hold the result of the transformation.\nJSTL\:SPEC\:73.5.1 The type of the exported attribute must be\n\t\t\t\t\t\t\t\t'org.w3c.dom.Document'\nJSTL\:SPEC\:73.5.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\:73.6 The 'scope' attribute specifies the scope in which to\n\t\t\t\t\t\texport 'var'.\nJSTL\:SPEC\:73.6.1 A value of 'page' will export 'var' to the page\n\t\t\t\t\t\t\t\tscope.\nJSTL\:SPEC\:73.6.2 A value of 'request' will export 'var' to the\n\t\t\t\t\t\t\t\trequest scope.\nJSTL\:SPEC\:73.6.3 A value of 'session' will export 'var' to the\n\t\t\t\t\t\t\t\tsession scope.\nJSTL\:SPEC\:73.6.4 A value of 'application' will export 'var' to the\n\t\t\t\t\t\t\t\tapplication scope.\nJSTL\:SPEC\:73.6.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\:73.7 The 'result' attribute specifies how the tranformation\n\t\t\t\t\t\tresult should be processed.\nJSTL\:SPEC\:73.8 If 'doc' or 'xslt' is null or empty, a JspException is\n\t\t\t\t\t\tthrown.\nJSTL\:SPEC\:73.8.1 If the evaluated expression is not of type\n\t\t\t\t\t\t\t\tjavax.xml.transform.Result, an Exception is thrown.\nJSTL\:SPEC\:73.9 If 'var' or 'result' is not specified, the result of\n\t\t\t\t\t\tthe transformation is written to the current JspWriter.\nJSTL\:SPEC\:73.10 One and only one attribute, either 'xmlUrl' or\n\t\t\t\t\t\t'xmlText', must be present in the action, if the action has no \n\t\t\t\t\t\tbody content.\nJSTL\:SPEC\:73.11 One and only one attribute, either 'xsltUrl' or\n\t\t\t\t\t\t'xsltText', must be present in the action, across all syntax \n\t\t\t\t\t\tvariations.\nJSTL\:SPEC\:73.12 The XML document to be parsed can be specified as body\n\t\t\t\t\t\tcontent of the action.\nJSTL\:SPEC\:73.13 < x\:param> subtags can be nested after the XML\n\t\t\t\t\t\tcontent within the actions body.\nJSTL\:SPEC\:73.14 If an exception is caused by the body content, it must\n\t\t\t\t\t\tbe propagated.\nJSTL\:SPEC\:73.15 If an exception is caused by the action itself, it\n\t\t\t\t\t\tmust be propagated.\nJSTL\:SPEC\:73.16 The 'docSystemID' attribute specifies the URL of the\n\t\t\t\t\t\tsource XML document to be transformed.\nJSTL\:SPEC\:73.16.1 The result of the evaluated expression must be\n\t\t\t\t\t\t\t\tString.\nJSTL\:SPEC\:73.16.2 If the evaluated expression is not of type String,\n\t\t\t\t\t\t\t\tan Exception is thrown.\nJSTL\:SPEC\:73.17 The 'doc' attribute specifies the source XML document\n\t\t\t\t\t\tto be transformed.\nJSTL\:SPEC\:73.17.1 The type of the evaluated expression can be\:\nJSTL\:SPEC\:73.17.1.1 String\nJSTL\:SPEC\:73.17.1.2 Reader\nJSTL\:SPEC\:73.17.1.3 javax.xml.transform.Source\nJSTL\:SPEC\:73.17.1.4 An object exported by < x\:parse> or < x\:set>\nJSTL\:SPEC\:73.17.1.5 org.w3c.dom.Document\nJSTL\:SPEC\:73.17.1.6 If the evaluated expression is not of type String,\n\t\t\t\t\t\t\t\t\t\tReader, javax. xml.transform.Source, org.w3c.dom.Document, or\n\t\t\t\t\t\t\t\t\t\tan Object exported by < x\:parse> or < x\:set>, an Exception\n\t\t\t\t\t\t\t\t\t\tis thrown. classname=com.sun.ts.tests.jstl.spec.xml.xtransform.transform.JSTLClient direction=forward finder=cts id=positiveTransformXsltInputTest keywords=all jstl javaee javaee_web_profile positiveTransformXsltInputTest novehicle forward service_eetest=no testName=positiveTransformXsltInputTest testProps=\ webServerHost webServerPort ts_home test_directory=com/sun/ts/tests/jstl/spec/xml/xtransform/transform #-----environment----- JAVA_HOME=/opt/jdk1.8.0_191/jre 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/xtransform/transform/JSTLClient.java\#positiveTransformXsltInputTest end=Tue Aug 18 13\:22\:42 UTC 2020 environment=ts_unix execStatus=Failed. Test case throws exception\: [BaseUrlClient] null failed\! Check output for cause of failure. harnessLoaderMode=Classpath Loader harnessVariety=Full Bundle javatestOS=Linux 3.10.0-1062.12.1.el7.x86_64 (amd64) javatestVersion=5.0 script=com.sun.ts.lib.harness.TSScript sections=script_messages TestRun start=Tue Aug 18 13\:22\:41 UTC 2020 test=com/sun/ts/tests/jstl/spec/xml/xtransform/transform/JSTLClient.java\#positiveTransformXsltInputTest timeoutSeconds=600 totalTime=1486 work=/home/jenkins/agent/workspace/jakartaee-tck_master/tags-tckwork/tags-tck/com/sun/ts/tests/jstl/spec/xml/xtransform/transform #section:script_messages ----------messages:(0/0)---------- #section:TestRun ----------messages:(1/1925)---------- command: com.sun.ts.lib.harness.ExecTSTestCmd CLASSPATH=:/opt/jdk1.8.0_191/jre/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/jdk1.8.0_191/jre/bin/java com.sun.ts.tests.jstl.spec.xml.xtransform.transform.JSTLClient -p /home/jenkins/agent/workspace/jakartaee-tck_master/tags-tck/bin/xml/../../tmp/tstest.jte -t positiveTransformXsltInputTest ----------log:(88/6549)---------- ************************************************************ * props file set to "/tmp/?-cts-props.txt" ************************************************************ 08-18-2020 13:22:41: TRACE: ####### Value of harness.socket.retry.count is "10" 08-18-2020 13:22:41: TRACE: ####### Value of harness.log.port is "2000" 08-18-2020 13:22:41: TRACE: ####### Actual bind value of harness.log.port is "2000" 08-18-2020 13:22:41: TRACE: *** in EETest.run(argv,p) 08-18-2020 13:22:41: TRACE: TESTCLASS=com.sun.ts.tests.jstl.spec.xml.xtransform.transform.JSTLClient 08-18-2020 13:22:41: TRACE: ** IN getRunMethod: testClass=com.sun.ts.tests.jstl.spec.xml.xtransform.transform.JSTLClient 08-18-2020 13:22:41: TRACE: ** IN getRunMethod: testname=positiveTransformXsltInputTest 08-18-2020 13:22:41: TRACE: ** GOT RUN METHOD! 08-18-2020 13:22:41: TRACE: **runmethod=positiveTransformXsltInputTest 08-18-2020 13:22:41: TRACE: ABOUT TO GET SETUP METHOD! 08-18-2020 13:22:41: TRACE: No setupMethod annotation present 08-18-2020 13:22:41: TRACE: getSetupMethod - checking for testcase specific setup method: positiveTransformXsltInputTest_setup 08-18-2020 13:22:41: TRACE: getSetupMethod - checking for default class specific setup method 08-18-2020 13:22:41: TRACE: GOT SETUP METHOD! 08-18-2020 13:22:41: TRACE: No cleanupMethod annotation present 08-18-2020 13:22:41: TRACE: getCleanupMethod - checking for testcase specific cleanup method: positiveTransformXsltInputTest_cleanup 08-18-2020 13:22:41: TRACE: getCleanupMethod - checking for default class specific cleanup method 08-18-2020 13:22:41: TRACE: GOT CLEANUP METHOD! 08-18-2020 13:22:41: TRACE: ABOUT TO INVOKE SETUP METHOD! 08-18-2020 13:22:41: [BaseUrlClient] Test setup OK 08-18-2020 13:22:41: TRACE: INVOKED SETUP METHOD! 08-18-2020 13:22:41: TRACE: ABOUT TO INVOKE EETEST RUN METHOD! 08-18-2020 13:22:41: TRACE: [BaseUrlClient] EXECUTING 08-18-2020 13:22:41: ERROR: Root cause of Failure: Connection refused (Connection refused) 08-18-2020 13:22:41: ERROR: java.net.ConnectException: Connection refused (Connection refused) at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.net.Socket.connect(Socket.java:589) at java.net.Socket.connect(Socket.java:538) at java.net.Socket.<init>(Socket.java:434) at java.net.Socket.<init>(Socket.java:286) at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:80) at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:122) at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707) at com.sun.ts.tests.common.webclient.http.HttpRequest.execute(HttpRequest.java:409) at com.sun.ts.tests.common.webclient.WebTestCase.execute(WebTestCase.java:171) at com.sun.ts.tests.common.webclient.BaseUrlClient.invoke(BaseUrlClient.java:455) at com.sun.ts.tests.jstl.spec.xml.xtransform.transform.JSTLClient.positiveTransformXsltInputTest(JSTLClient.java:115) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) 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.xtransform.transform.JSTLClient.run(JSTLClient.java:66) at com.sun.ts.tests.jstl.spec.xml.xtransform.transform.JSTLClient.main(JSTLClient.java:52) 08-18-2020 13:22:41: ERROR: Test case throws exception: [BaseUrlClient] null failed! Check output for cause of failure. 08-18-2020 13:22:41: ERROR: Exception at: 08-18-2020 13:22:41: ERROR: com.sun.ts.tests.common.webclient.TestFailureException: [FATAL] Unexpected failure during test execution.Connection refused (Connection refused) at com.sun.ts.tests.common.webclient.WebTestCase.execute(WebTestCase.java:175) at com.sun.ts.tests.common.webclient.BaseUrlClient.invoke(BaseUrlClient.java:455) at com.sun.ts.tests.jstl.spec.xml.xtransform.transform.JSTLClient.positiveTransformXsltInputTest(JSTLClient.java:115) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) 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.xtransform.transform.JSTLClient.run(JSTLClient.java:66) at com.sun.ts.tests.jstl.spec.xml.xtransform.transform.JSTLClient.main(JSTLClient.java:52) Caused by: java.net.ConnectException: Connection refused (Connection refused) at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.net.Socket.connect(Socket.java:589) at java.net.Socket.connect(Socket.java:538) at java.net.Socket.<init>(Socket.java:434) at java.net.Socket.<init>(Socket.java:286) at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:80) at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:122) at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707) at com.sun.ts.tests.common.webclient.http.HttpRequest.execute(HttpRequest.java:409) at com.sun.ts.tests.common.webclient.WebTestCase.execute(WebTestCase.java:171) ... 11 more 08-18-2020 13:22:41: [BaseUrlClient] Test cleanup OK STATUS:Failed.Test case throws exception: [BaseUrlClient] null failed! Check output for cause of failure. result: Failed. Test case throws exception: [BaseUrlClient] null failed! Check output for cause of failure. test result: Failed. Test case throws exception: [BaseUrlClient] null failed! Check output for cause of failure.