Regression
com.sun.ts.tests.jaxrs.ee.rs.queryparam.sub.JAXRSSubClient.queryParamEntityWithEncodedTest_from_standalone (from restful-ws-tck)
Error Message
test result: Failed. Test case throws exception: [JAXRSCommonClient] null failed! Check output for cause of failure.
Stacktrace
test result: Failed. Test case throws exception: [JAXRSCommonClient] null failed! Check output for cause of failure.
Standard Output
#Test Results (version 2) #Tue Aug 25 23:03:19 UTC 2020 #-----testdescription----- $file=/home/jenkins/agent/workspace/jakartaee-tck_master/restful-ws-tck/src/com/sun/ts/tests/jaxrs/ee/rs/queryparam/sub/JAXRSSubClient.java $root=/home/jenkins/agent/workspace/jakartaee-tck_master/restful-ws-tck/src assertion_ids=JAXRS\:SPEC\:3 See assertion html documents.\nJAXRS\:SPEC\:3.2 See assertion html documents.\nJAXRS\:SPEC\:7 See assertion html documents.\nJAXRS\:SPEC\:12 See assertion html documents.\nJAXRS\:SPEC\:12.2 See assertion html documents.\nJAXRS\:SPEC\:20 See assertion html documents.\nJAXRS\:SPEC\:20.2 See assertion html documents. classname=com.sun.ts.tests.jaxrs.ee.rs.queryparam.sub.JAXRSSubClient direction=forward finder=cts id=queryParamEntityWithEncodedTest_from_standalone keywords=all jaxrs javaee queryParamEntityWithEncodedTest standalone_vehicle forward service_eetest=yes testName=queryParamEntityWithEncodedTest testProps=\ webServerHost webServerPort ts_home test_directory=com/sun/ts/tests/jaxrs/ee/rs/queryparam/sub #-----environment----- JAVA_HOME=/opt/jdk1.8.0_191/jre SYSTEMROOT=${env.SystemRoot} TS_HOME=/home/jenkins/agent/workspace/jakartaee-tck_master/restful-ws-tck/bin/xml/../.. command.testExecute=com.sun.ts.lib.harness.ExecTSTestCmd CLASSPATH\=${ts.harness.classpath}\:${ts.home}/classes\:${JAVA_HOME}/../lib/tools.jar\:${ts.home}/lib/commons-httpclient-3.1.jar\:${ts.home}/lib/commons-logging-1.1.3.jar\:${ts.home}/lib/commons-codec-1.9.jar\:${ts.home}/lib/sigtest.jar\:${jaxrs.classes}\:${jaxrs_impl.classes} DISPLAY\=${ts.display} HOME\="${user.home}" windir\=${windir} SYSTEMROOT\=${SYSTEMROOT} PATH\="${javaee.home}/nativelib" ${JAVA_HOME}/bin/java -Dcts.tmp\=$harness.temp.directory -Djava.endorsed.dirs\=${s1as.java.endorsed.dirs} -Ddeliverable.class\=${deliverable.class} $testExecuteClass $testExecuteArgs deliverable.class=com.sun.ts.lib.deliverable.tck.TCKDeliverable harness.executeMode=0 harness.log.delayseconds=1 harness.log.port=2000 harness.log.traceflag=false harness.socket.retry.count=10 harness.temp.directory=${ts.home}/tmp javaee.home=${web.home} jaxrs.classes=${web.home}/modules/jakarta.ws.rs-api.jar jaxrs_impl.classes=${web.home}/modules/jakarta.json.jar\:${web.home}/modules/jakarta.json.bind-api.jar\:${web.home}/modules/jakarta.json.jar\:${web.home}/modules/jsonp-jaxrs.jar\:${web.home}/modules/jersey-client.jar\:${web.home}/modules/jersey-common.jar\:${web.home}/modules/jersey-server.jar\:${web.home}/modules/jersey-container-servlet.jar\:${web.home}/modules/jersey-container-servlet-core.jar\:${web.home}/modules/jersey-media-jaxb.jar\:${web.home}/modules/jersey-media-sse.jar\:${web.home}/modules/jersey-hk2.jar\:${web.home}/modules/osgi-resource-locator.jar\:${web.home}/modules/jakarta.inject-api.jar\:${web.home}/modules/guava.jar\:${web.home}/modules/hk2-api.jar\:${web.home}/modules/hk2-locator.jar\:${web.home}/modules/hk2-utils.jar\:${web.home}/modules/javassist.jar\:${web.home}/modules/cglib.jar\:${web.home}/modules/jakarta.annotation-api.jar\:${web.home}/modules/jakarta.xml.bind-api.jar\:${web.home}/modules/jakarta.activation.jar pathsep=\: porting.ts.url.class.1=com.sun.ts.lib.implementation.sun.common.SunRIURL ts.display=\:0.0 ts.harness.classpath=${ts.home}/lib/tsharness.jar${pathsep}${ts.home}/lib/javatest.jar${pathsep}${ant.home}/lib/ant.jar${pathsep}${ts.home}/lib/jaxrstck.jar${pathsep}${ts.home}/lib/jaxb-xjc.jar ts.home=/home/jenkins/agent/workspace/jakartaee-tck_master/restful-ws-tck/bin/xml/../.. ts_home=${TS_HOME} user.home=? web.home=/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish webServerHost=localhost webServerPort=8080 windir=${env.windir} #-----testresult----- description=file\:/home/jenkins/agent/workspace/jakartaee-tck_master/restful-ws-tck/src/com/sun/ts/tests/jaxrs/ee/rs/queryparam/sub/JAXRSSubClient.java\#queryParamEntityWithEncodedTest_from_standalone end=Tue Aug 25 23\:03\:19 UTC 2020 environment=ts_unix execStatus=Failed. Test case throws exception\: [JAXRSCommonClient] 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 25 23\:03\:18 UTC 2020 test=com/sun/ts/tests/jaxrs/ee/rs/queryparam/sub/JAXRSSubClient.java\#queryParamEntityWithEncodedTest_from_standalone timeoutSeconds=600 totalTime=1507 work=/home/jenkins/agent/workspace/jakartaee-tck_master/restful-ws-tckwork/restful-ws-tck/com/sun/ts/tests/jaxrs/ee/rs/queryparam/sub #section:script_messages ----------messages:(0/0)---------- #section:TestRun ----------messages:(1/3941)---------- command: com.sun.ts.lib.harness.ExecTSTestCmd CLASSPATH=:/home/jenkins/agent/workspace/jakartaee-tck_master/restful-ws-tck/bin/xml/../../lib/tsharness.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/restful-ws-tck/bin/xml/../../lib/javatest.jar:/lib/ant.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/restful-ws-tck/bin/xml/../../lib/jaxrstck.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/restful-ws-tck/bin/xml/../../lib/jaxb-xjc.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/restful-ws-tck/bin/xml/../../classes:/opt/jdk1.8.0_191/jre/../lib/tools.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/restful-ws-tck/bin/xml/../../lib/commons-httpclient-3.1.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/restful-ws-tck/bin/xml/../../lib/commons-logging-1.1.3.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/restful-ws-tck/bin/xml/../../lib/commons-codec-1.9.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/restful-ws-tck/bin/xml/../../lib/sigtest.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/jakarta.ws.rs-api.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/jakarta.json.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/jakarta.json.bind-api.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/jakarta.json.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/jsonp-jaxrs.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/jersey-client.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/jersey-common.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/jersey-server.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/jersey-container-servlet.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/jersey-container-servlet-core.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/jersey-media-jaxb.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/jersey-media-sse.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/jersey-hk2.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/osgi-resource-locator.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/jakarta.inject-api.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/guava.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/hk2-api.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/hk2-locator.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/hk2-utils.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/javassist.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/cglib.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/jakarta.annotation-api.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/jakarta.xml.bind-api.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/jakarta.activation.jar DISPLAY=:0.0 HOME=? windir= SYSTEMROOT= PATH=/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/nativelib /opt/jdk1.8.0_191/jre/bin/java -Dcts.tmp=/home/jenkins/agent/workspace/jakartaee-tck_master/restful-ws-tck/bin/xml/../../tmp -Djava.endorsed.dirs= -Ddeliverable.class=com.sun.ts.lib.deliverable.tck.TCKDeliverable com.sun.ts.tests.common.vehicle.VehicleClient -p /home/jenkins/agent/workspace/jakartaee-tck_master/restful-ws-tck/bin/xml/../../tmp/tstest.jte -t queryParamEntityWithEncodedTest -vehicle standalone ----------log:(78/5886)---------- ************************************************************ * props file set to "/tmp/?-cts-props.txt" ************************************************************ 08-25-2020 23:03:18: [JAXRSCommonClient] Test setup OK 08-25-2020 23:03:18: ERROR: Root cause of Failure: Connection refused (Connection refused) 08-25-2020 23:03:18: 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.jaxrs.common.JAXRSCommonClient.invoke(JAXRSCommonClient.java:307) at com.sun.ts.tests.jaxrs.ee.rs.JaxrsParamClient.fieldOrParamEncodedTest(JaxrsParamClient.java:168) at com.sun.ts.tests.jaxrs.ee.rs.JaxrsParamClient.paramEntityWithEncodedTest(JaxrsParamClient.java:183) at com.sun.ts.tests.jaxrs.ee.rs.queryparam.JAXRSClient.queryParamEntityWithEncodedTest(JAXRSClient.java:460) at com.sun.ts.tests.jaxrs.ee.rs.queryparam.sub.JAXRSSubClient.queryParamEntityWithEncodedTest(JAXRSSubClient.java:345) 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.ServiceEETest.run(ServiceEETest.java:115) at com.sun.ts.tests.common.vehicle.EmptyVehicleRunner.run(EmptyVehicleRunner.java:40) at com.sun.ts.lib.harness.ServiceEETest.run(ServiceEETest.java:105) at com.sun.ts.lib.harness.EETest.getPropsReady(EETest.java:486) at com.sun.ts.lib.harness.ServiceEETest.run(ServiceEETest.java:209) at com.sun.ts.lib.harness.EETest.run(EETest.java:285) at com.sun.ts.tests.common.vehicle.VehicleClient.main(VehicleClient.java:38) 08-25-2020 23:03:18: ERROR: Test case throws exception: [JAXRSCommonClient] null failed! Check output for cause of failure. 08-25-2020 23:03:18: ERROR: Exception at: 08-25-2020 23:03:18: 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.jaxrs.common.JAXRSCommonClient.invoke(JAXRSCommonClient.java:307) at com.sun.ts.tests.jaxrs.ee.rs.JaxrsParamClient.fieldOrParamEncodedTest(JaxrsParamClient.java:168) at com.sun.ts.tests.jaxrs.ee.rs.JaxrsParamClient.paramEntityWithEncodedTest(JaxrsParamClient.java:183) at com.sun.ts.tests.jaxrs.ee.rs.queryparam.JAXRSClient.queryParamEntityWithEncodedTest(JAXRSClient.java:460) at com.sun.ts.tests.jaxrs.ee.rs.queryparam.sub.JAXRSSubClient.queryParamEntityWithEncodedTest(JAXRSSubClient.java:345) 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.ServiceEETest.run(ServiceEETest.java:115) at com.sun.ts.tests.common.vehicle.EmptyVehicleRunner.run(EmptyVehicleRunner.java:40) at com.sun.ts.lib.harness.ServiceEETest.run(ServiceEETest.java:105) at com.sun.ts.lib.harness.EETest.getPropsReady(EETest.java:486) at com.sun.ts.lib.harness.ServiceEETest.run(ServiceEETest.java:209) at com.sun.ts.lib.harness.EETest.run(EETest.java:285) at com.sun.ts.tests.common.vehicle.VehicleClient.main(VehicleClient.java:38) 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) ... 17 more 08-25-2020 23:03:18: [JAXRSCommonClient] Test cleanup OK STATUS:Failed.Test case throws exception: [JAXRSCommonClient] null failed! Check output for cause of failure. result: Failed. Test case throws exception: [JAXRSCommonClient] null failed! Check output for cause of failure. test result: Failed. Test case throws exception: [JAXRSCommonClient] null failed! Check output for cause of failure.