Skip to content

Regression

com.sun.ts.tests.jaxrs.ee.rs.head.JAXRSClient.headTest2_from_standalone (from restful-ws-tck)

Failing for the past 1 build (Since #51 )
Took 2 sec.

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 22:57:43 UTC 2020
#-----testdescription-----
$file=/home/jenkins/agent/workspace/jakartaee-tck_master/restful-ws-tck/src/com/sun/ts/tests/jaxrs/ee/rs/head/JAXRSClient.java
$root=/home/jenkins/agent/workspace/jakartaee-tck_master/restful-ws-tck/src
assertion_ids=JAXRS\:JAVADOC\:6  Specifies the name of a HTTP method. E.g. "GET".\nJAXRS\:JAVADOC\:8  Defines a URI template for the resource class or method, must not include matrix parameters. Embedded template parameters are allowed and are of the form\: param \= "{" *WSP name *WSP [ "\:" *WSP regex *WSP ] "}" name \= (ALPHA / DIGIT / "_")*(ALPHA / DIGIT / "." / "_" / "-" ) ; \\w[\\w\\.-] * regex \= *( nonbrace / "{" *nonbrace "}" ) ; where nonbrace is any char other than "{" and "}" See RFC 5234 for a description of the syntax used above and the expansions of WSP, ALPHA and DIGIT. In the above name is the template parameter name and the optional regex specifies the contents of the capturing group for the parameter. If regex is not supplied then a default value of [^/]+ which terminates at a path segment boundary, is used. Matching of request URIs to URI templates is performed against encoded path values and implementations will not escape literal characters in regex automatically, therefore any literals in regex should be escaped by the author according to the rules of RFC 3986 section 3.3. Caution is recommended in the use of regex, incorrect use can lead to a template parameter matching unexpected URI paths. See Pattern for further information on the syntax of regular expressions. Values of template parameters may be extracted using PathParam. The literal part of the supplied value (those characters that are not part of a template parameter) is automatically percent encoded to conform to the path production of RFC 3986 section 3.3. Note that percent encoded values are allowed in the literal part of the value, an implementation will recognize such values and will not double encode the '%' character.\nJAXRS\:JAVADOC\:10  A list of media types. Each entry may specify a single type or consist of a comma separated list of types, with any leading or trailing white-spaces in a single type entry being ignored. For example\: {"image/jpeg, image/gif ", " image/png"} Use of the comma-separated form allows definition of a common string constant for use on multiple targets.\nJAXRS\:JAVADOC\:148  Add an arbitrary header.\nJAXRS\:SPEC\:17  See assertion html documents.\nJAXRS\:SPEC\:17.1  See assertion html documents.\nJAXRS\:SPEC\:20  See assertion html documents.\nJAXRS\:SPEC\:20.1  See assertion html documents.
classname=com.sun.ts.tests.jaxrs.ee.rs.head.JAXRSClient
direction=forward
finder=cts
id=headTest2_from_standalone
keywords=all jaxrs javaee headTest2 standalone_vehicle forward
service_eetest=yes
testName=headTest2
testProps=\ webServerHost  webServerPort  ts_home
test_directory=com/sun/ts/tests/jaxrs/ee/rs/head

#-----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/head/JAXRSClient.java\#headTest2_from_standalone
end=Tue Aug 25 22\:57\:43 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 22\:57\:41 UTC 2020
test=com/sun/ts/tests/jaxrs/ee/rs/head/JAXRSClient.java\#headTest2_from_standalone
timeoutSeconds=600
totalTime=1522
work=/home/jenkins/agent/workspace/jakartaee-tck_master/restful-ws-tckwork/restful-ws-tck/com/sun/ts/tests/jaxrs/ee/rs/head

#section:script_messages
----------messages:(0/0)----------

#section:TestRun
----------messages:(1/3919)----------
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 headTest2 -vehicle standalone
----------log:(72/5178)----------
************************************************************
* props file set to "/tmp/?-cts-props.txt"
************************************************************
08-25-2020 22:57:41:  [JAXRSCommonClient] Test setup OK
08-25-2020 22:57:41:  ERROR: Root cause of Failure: Connection refused (Connection refused)
08-25-2020 22:57: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.jaxrs.common.JAXRSCommonClient.invoke(JAXRSCommonClient.java:307)
	at com.sun.ts.tests.jaxrs.ee.rs.head.JAXRSClient.headTest2(JAXRSClient.java:75)
	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 22:57:41:  ERROR: Test case throws exception: [JAXRSCommonClient] null failed! Check output for cause of failure.
08-25-2020 22:57:41:  ERROR: Exception at:  
08-25-2020 22:57: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.jaxrs.common.JAXRSCommonClient.invoke(JAXRSCommonClient.java:307)
	at com.sun.ts.tests.jaxrs.ee.rs.head.JAXRSClient.headTest2(JAXRSClient.java:75)
	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)
	... 14 more

08-25-2020 22:57:41:  [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.