Failed

com.sun.ts.tests.servlet.pluggability.api.jakarta_servlet_http.httpservletresponse.URLClient.getBufferSizeTest (from servlet-tck)

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

Error Message

test result: Failed. Test case throws exception: [BaseUrlClient] getBufferSizeTest failed! Check output for cause of failure.

Stacktrace

test result: Failed. Test case throws exception: [BaseUrlClient] getBufferSizeTest failed! Check output for cause of failure.

Standard Output

#Test Results (version 2)
#Mon Oct 26 08:35:25 UTC 2020
#-----testdescription-----
$file=/home/jenkins/agent/workspace/jakartaee-tck_master/servlet-tck/src/com/sun/ts/tests/servlet/pluggability/api/jakarta_servlet_http/httpservletresponse/URLClient.java
$root=/home/jenkins/agent/workspace/jakartaee-tck_master/servlet-tck/src
assertion_ids=Servlet\:JAVADOC\:605  See assertion html documents.
classname=com.sun.ts.tests.servlet.pluggability.api.jakarta_servlet_http.httpservletresponse.URLClient
direction=forward
finder=cts
id=getBufferSizeTest
keywords=all servlet javaee javaee_web_profile getBufferSizeTest novehicle forward
service_eetest=no
testName=getBufferSizeTest
testProps=\ webServerHost  webServerPort  ts_home
test_directory=com/sun/ts/tests/servlet/pluggability/api/jakarta_servlet_http/httpservletresponse

#-----environment-----
JAVA_HOME=/opt/jdk1.8.0_191/jre
JAVA_OPTIONS=-Djava.endorsed.dirs\=/home/jenkins/agent/workspace/jakartaee-tck_master/servlet-tck/endorsedlib/
LOCAL_CLASSES=/home/jenkins/agent/workspace/jakartaee-tck_master/servlet-tck/bin/xml/../../classes\:/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.annotation-api.jar\:/home/jenkins/agent/workspace/jakartaee-tck_master/servlet-tck/bin/xml/../../lib/commons-httpclient-3.1.jar\:/home/jenkins/agent/workspace/jakartaee-tck_master/servlet-tck/bin/xml/../../lib/commons-logging-1.1.3.jar\:/home/jenkins/agent/workspace/jakartaee-tck_master/servlet-tck/bin/xml/../../lib/commons-codec-1.9.jar\:/home/jenkins/agent/workspace/jakartaee-tck_master/servlet-tck/bin/xml/../../lib/sigtest.jar\:/home/jenkins/agent/workspace/jakartaee-tck_master/servlet-tck/bin/xml/../../lib/javatest.jar\:/home/jenkins/agent/workspace/jakartaee-tck_master/servlet-tck/bin/xml/../../lib/tsharness.jar\:/home/jenkins/agent/workspace/jakartaee-tck_master/servlet-tck/bin/xml/../../lib/servlettck.jar\:/home/jenkins/agent/workspace/jakartaee-tck_master/servlet-tck/bin/xml/../../lib/http.jar
SYSTEMROOT=${env.SystemRoot}
TS_HOME=/home/jenkins/agent/workspace/jakartaee-tck_master/servlet-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 -Djava.endorsed.dirs\=${endorsedlib.dir} -Dbytecheck\=true -Djava.protocol.handler.pkgs\=javax.net.ssl -Djavax.net.ssl.keyStore\=${ts.home}/bin/certificates/clientcert.jks -Djavax.net.ssl.keyStorePassword\=changeit -Djavax.net.ssl.trustStore\=${web.home}/domains/domain1/config/cacerts.jks ${JAVA_OPTIONS} $testExecuteClass $testExecuteArgs
endorsedlib.dir=${ts.home}/endorsedlib
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}
pathsep=\:
porting.ts.HttpsURLConnection.class.1=com.sun.ts.lib.implementation.sun.javaee.SunRIHttpsURLConnection
porting.ts.url.class.1=com.sun.ts.lib.implementation.sun.common.SunRIURL
ts.home=/home/jenkins/agent/workspace/jakartaee-tck_master/servlet-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/servlet-tck/src/com/sun/ts/tests/servlet/pluggability/api/jakarta_servlet_http/httpservletresponse/URLClient.java\#getBufferSizeTest
end=Mon Oct 26 08\:35\:25 UTC 2020
environment=ts_unix
execStatus=Failed. Test case throws exception\: [BaseUrlClient] getBufferSizeTest 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=Mon Oct 26 08\:35\:23 UTC 2020
test=com/sun/ts/tests/servlet/pluggability/api/jakarta_servlet_http/httpservletresponse/URLClient.java\#getBufferSizeTest
timeoutSeconds=600
totalTime=1492
work=/home/jenkins/agent/workspace/jakartaee-tck_master/servlet-tckwork/servlet-tck/com/sun/ts/tests/servlet/pluggability/api/jakarta_servlet_http/httpservletresponse

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

#section:TestRun
----------messages:(1/2016)----------
command: com.sun.ts.lib.harness.ExecTSTestCmd CLASSPATH=:/opt/jdk1.8.0_191/jre/lib/rt.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/servlet-tck/bin/xml/../../classes:/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.annotation-api.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/servlet-tck/bin/xml/../../lib/commons-httpclient-3.1.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/servlet-tck/bin/xml/../../lib/commons-logging-1.1.3.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/servlet-tck/bin/xml/../../lib/commons-codec-1.9.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/servlet-tck/bin/xml/../../lib/sigtest.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/servlet-tck/bin/xml/../../lib/javatest.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/servlet-tck/bin/xml/../../lib/tsharness.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/servlet-tck/bin/xml/../../lib/servlettck.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/servlet-tck/bin/xml/../../lib/http.jar HOME=? windir= SYSTEMROOT= /opt/jdk1.8.0_191/jre/bin/java -Djava.endorsed.dirs=/home/jenkins/agent/workspace/jakartaee-tck_master/servlet-tck/bin/xml/../../endorsedlib -Dbytecheck=true -Djava.protocol.handler.pkgs=javax.net.ssl -Djavax.net.ssl.keyStore=/home/jenkins/agent/workspace/jakartaee-tck_master/servlet-tck/bin/xml/../../bin/certificates/clientcert.jks -Djavax.net.ssl.keyStorePassword=changeit -Djavax.net.ssl.trustStore=/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/domains/domain1/config/cacerts.jks -Djava.endorsed.dirs=/home/jenkins/agent/workspace/jakartaee-tck_master/servlet-tck/endorsedlib/ com.sun.ts.tests.servlet.pluggability.api.jakarta_servlet_http.httpservletresponse.URLClient -p /home/jenkins/agent/workspace/jakartaee-tck_master/servlet-tck/bin/xml/../../tmp/tstest.jte -t getBufferSizeTest
----------log:(89/6777)----------
************************************************************
* props file set to "/tmp/?-cts-props.txt"
************************************************************
10-26-2020 08:35:23:  TRACE: #######  Value of harness.socket.retry.count is "10"
10-26-2020 08:35:23:  TRACE: #######  Value of harness.log.port is "2000"
10-26-2020 08:35:23:  TRACE: #######  Actual bind value of harness.log.port is "2000"
10-26-2020 08:35:23:  TRACE: *** in EETest.run(argv,p)
10-26-2020 08:35:23:  TRACE: TESTCLASS=com.sun.ts.tests.servlet.pluggability.api.jakarta_servlet_http.httpservletresponse.URLClient
10-26-2020 08:35:23:  TRACE: ** IN getRunMethod: testClass=com.sun.ts.tests.servlet.pluggability.api.jakarta_servlet_http.httpservletresponse.URLClient
10-26-2020 08:35:23:  TRACE: ** IN getRunMethod: testname=getBufferSizeTest
10-26-2020 08:35:23:  TRACE: ** GOT RUN METHOD!
10-26-2020 08:35:23:  TRACE: **runmethod=getBufferSizeTest
10-26-2020 08:35:23:  TRACE: ABOUT TO GET SETUP METHOD!
10-26-2020 08:35:23:  TRACE: No setupMethod annotation present
10-26-2020 08:35:23:  TRACE: getSetupMethod - checking for testcase specific setup method:  getBufferSizeTest_setup
10-26-2020 08:35:23:  TRACE: getSetupMethod - checking for default class specific setup method
10-26-2020 08:35:23:  TRACE: GOT SETUP METHOD!
10-26-2020 08:35:23:  TRACE: No cleanupMethod annotation present
10-26-2020 08:35:23:  TRACE: getCleanupMethod - checking for testcase specific cleanup method:  getBufferSizeTest_cleanup
10-26-2020 08:35:23:  TRACE: getCleanupMethod - checking for default class specific cleanup method
10-26-2020 08:35:23:  TRACE: GOT CLEANUP METHOD!
10-26-2020 08:35:23:  TRACE: ABOUT TO INVOKE SETUP METHOD!
10-26-2020 08:35:23:  [BaseUrlClient] Test setup OK
REQUEST LINE: GET /servlet_pluh_httpservletresponse_web/TestServlet?testname=getBufferSizeTest HTTP/1.1
10-26-2020 08:35:23:  TRACE: INVOKED SETUP METHOD!
10-26-2020 08:35:23:  TRACE: ABOUT TO INVOKE EETEST RUN METHOD!
10-26-2020 08:35:23:  TRACE: [BaseUrlClient] EXECUTING
10-26-2020 08:35:23:  ERROR: Root cause of Failure: Connection refused (Connection refused)
10-26-2020 08:35:23:  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.servlet.api.common.response.ResponseClient.getBufferSizeTest(ResponseClient.java:35)
	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.servlet.pluggability.api.jakarta_servlet_http.httpservletresponse.URLClient.run(URLClient.java:51)
	at com.sun.ts.tests.servlet.pluggability.api.jakarta_servlet_http.httpservletresponse.URLClient.main(URLClient.java:37)

10-26-2020 08:35:23:  ERROR: Test case throws exception: [BaseUrlClient] getBufferSizeTest failed! Check output for cause of failure.
10-26-2020 08:35:23:  ERROR: Exception at:  
10-26-2020 08:35:23:  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.servlet.api.common.response.ResponseClient.getBufferSizeTest(ResponseClient.java:35)
	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.servlet.pluggability.api.jakarta_servlet_http.httpservletresponse.URLClient.run(URLClient.java:51)
	at com.sun.ts.tests.servlet.pluggability.api.jakarta_servlet_http.httpservletresponse.URLClient.main(URLClient.java:37)
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

10-26-2020 08:35:23:  [BaseUrlClient] Test cleanup OK
STATUS:Failed.Test case throws exception: [BaseUrlClient] getBufferSizeTest failed! Check output for cause of failure.
result: Failed. Test case throws exception: [BaseUrlClient] getBufferSizeTest failed! Check output for cause of failure.


test result: Failed. Test case throws exception: [BaseUrlClient] getBufferSizeTest failed! Check output for cause of failure.