Failed

com.sun.ts.tests.websocket.ee.jakarta.websocket.clientendpointconfig.WSClient.preferredSubprotocolsTest_from_standalone (from websocket-tck)

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

Error Message

test result: Failed. Test case throws exception: Test failed with incorrect values,

Stacktrace

test result: Failed. Test case throws exception: Test failed with incorrect values,

Standard Output

#Test Results (version 2)
#Mon Oct 19 15:10:18 UTC 2020
#-----testdescription-----
$file=/home/jenkins/agent/workspace/jakartaee-tck_master/websocket-tck/src/com/sun/ts/tests/websocket/ee/jakarta/websocket/clientendpointconfig/WSClient.java
$root=/home/jenkins/agent/workspace/jakartaee-tck_master/websocket-tck/src
assertion_ids=WebSocket\:JAVADOC\:8  See assertion html documents.\nWebSocket\:JAVADOC\:10  See assertion html documents.\nWebSocket\:JAVADOC\:14  See assertion html documents.\nWebSocket\:JAVADOC\:28  See assertion html documents.\nWebSocket\:JAVADOC\:69  See assertion html documents.\nWebSocket\:JAVADOC\:70  See assertion html documents.\nWebSocket\:JAVADOC\:71  See assertion html documents.\nWebSocket\:JAVADOC\:79  See assertion html documents.\nWebSocket\:JAVADOC\:112  See assertion html documents.\nWebSocket\:JAVADOC\:121  See assertion html documents.\nWebSocket\:JAVADOC\:123  See assertion html documents.\nWebSocket\:JAVADOC\:128  See assertion html documents.\nWebSocket\:JAVADOC\:135  See assertion html documents.\nWebSocket\:JAVADOC\:136  See assertion html documents.\nWebSocket\:JAVADOC\:159  See assertion html documents.\nWebSocket\:SPEC\:WSC-2  See assertion html documents.\nWebSocket\:SPEC\:WSC-2.2  See assertion html documents.\nWebSocket\:SPEC\:WSC-2.2.3-1  See assertion html documents.
classname=com.sun.ts.tests.websocket.ee.jakarta.websocket.clientendpointconfig.WSClient
direction=forward
finder=cts
id=preferredSubprotocolsTest_from_standalone
keywords=all websocket javaee preferredSubprotocolsTest standalone_vehicle forward
service_eetest=yes
testName=preferredSubprotocolsTest
testProps=\ webServerHost  webServerPort  ws_wait  ts_home
test_directory=com/sun/ts/tests/websocket/ee/jakarta/websocket/clientendpointconfig

#-----environment-----
JAVA_HOME=/opt/jdk1.8.0_191/jre
JAVA_OPTIONS=
LOCAL_CLASSES=/home/jenkins/agent/workspace/jakartaee-tck_master/websocket-tck/bin/xml/../../classes\:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/jakarta.websocket-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.enterprise.cdi-api.jar\:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/tyrus-websocket-core.jar\:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/tyrus-client.jar\:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/tyrus-core.jar\:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/tyrus-container-grizzly.jar\:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/glassfish-grizzly-extra-all.jar\:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/nucleus-grizzly-all.jar\:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/tyrus-server.jar\:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/tyrus-container-servlet.jar\:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/tyrus-container-grizzly-client.jar\:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/tyrus-spi.jar\:/home/jenkins/agent/workspace/jakartaee-tck_master/websocket-tck/bin/xml/../../lib/commons-httpclient-3.1.jar\:/home/jenkins/agent/workspace/jakartaee-tck_master/websocket-tck/bin/xml/../../lib/commons-logging-1.1.3.jar\:/home/jenkins/agent/workspace/jakartaee-tck_master/websocket-tck/bin/xml/../../lib/commons-codec-1.9.jar\:/home/jenkins/agent/workspace/jakartaee-tck_master/websocket-tck/bin/xml/../../lib/sigtest.jar\:/home/jenkins/agent/workspace/jakartaee-tck_master/websocket-tck/bin/xml/../../lib/javatest.jar\:/home/jenkins/agent/workspace/jakartaee-tck_master/websocket-tck/bin/xml/../../lib/tsharness.jar\:/home/jenkins/agent/workspace/jakartaee-tck_master/websocket-tck/bin/xml/../../lib/websockettck.jar
SYSTEMROOT=${env.SystemRoot}
TS_HOME=/home/jenkins/agent/workspace/jakartaee-tck_master/websocket-tck/bin/xml/../..
bin.dir=/home/jenkins/agent/workspace/jakartaee-tck_master/websocket-tck/bin/xml/../../bin
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 -Dbytecheck\=true -Djavax.net.ssl.keyStorePassword\=changeit -Djavax.net.ssl.keyStore\=${bin.dir}/certificates/clientcert.jks -Djavax.net.ssl.trustStore\=${web.home}/domains/domain1/config/cacerts.jks ${JAVA_OPTIONS} $testExecuteClass $testExecuteArgs
harness.executeMode=2
harness.log.delayseconds=1 
harness.log.port=2000
harness.log.traceflag=false
harness.socket.retry.count=10
harness.temp.directory=${TS_HOME}
pathsep=\:
porting.ts.url.class.1=com.sun.ts.lib.implementation.sun.common.SunRIURL
ts.home=/home/jenkins/agent/workspace/jakartaee-tck_master/websocket-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}
ws_wait=5

#-----testresult-----
description=file\:/home/jenkins/agent/workspace/jakartaee-tck_master/websocket-tck/src/com/sun/ts/tests/websocket/ee/jakarta/websocket/clientendpointconfig/WSClient.java\#preferredSubprotocolsTest_from_standalone
end=Mon Oct 19 15\:10\:18 UTC 2020
environment=ts_unix
execStatus=Failed. Test case throws exception\: Test failed with incorrect values,
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 19 15\:10\:16 UTC 2020
test=com/sun/ts/tests/websocket/ee/jakarta/websocket/clientendpointconfig/WSClient.java\#preferredSubprotocolsTest_from_standalone
timeoutSeconds=600
totalTime=1725
work=/home/jenkins/agent/workspace/jakartaee-tck_master/websocket-tckwork/websocket-tck/com/sun/ts/tests/websocket/ee/jakarta/websocket/clientendpointconfig

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

#section:TestRun
----------messages:(1/2824)----------
command: com.sun.ts.lib.harness.ExecTSTestCmd CLASSPATH=:/opt/jdk1.8.0_191/jre/lib/rt.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/websocket-tck/bin/xml/../../classes:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/jakarta.websocket-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.enterprise.cdi-api.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/tyrus-websocket-core.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/tyrus-client.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/tyrus-core.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/tyrus-container-grizzly.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/glassfish-grizzly-extra-all.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/nucleus-grizzly-all.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/tyrus-server.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/tyrus-container-servlet.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/tyrus-container-grizzly-client.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/tyrus-spi.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/websocket-tck/bin/xml/../../lib/commons-httpclient-3.1.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/websocket-tck/bin/xml/../../lib/commons-logging-1.1.3.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/websocket-tck/bin/xml/../../lib/commons-codec-1.9.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/websocket-tck/bin/xml/../../lib/sigtest.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/websocket-tck/bin/xml/../../lib/javatest.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/websocket-tck/bin/xml/../../lib/tsharness.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/websocket-tck/bin/xml/../../lib/websockettck.jar HOME=? windir= SYSTEMROOT= /opt/jdk1.8.0_191/jre/bin/java -Dbytecheck=true -Djavax.net.ssl.keyStorePassword=changeit -Djavax.net.ssl.keyStore=/home/jenkins/agent/workspace/jakartaee-tck_master/websocket-tck/bin/xml/../../bin/certificates/clientcert.jks -Djavax.net.ssl.trustStore=/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/domains/domain1/config/cacerts.jks com.sun.ts.tests.common.vehicle.VehicleClient -p /home/jenkins/agent/workspace/jakartaee-tck_master/websocket-tck/bin/xml/../../tmp/tstest.jte -t preferredSubprotocolsTest -vehicle standalone
----------log:(71/5523)----------
************************************************************
* props file set to "/tmp/?-cts-props.txt"
************************************************************
10-19-2020 15:10:17:  [WebSocketCommonClient] Test setup OK
jakarta.websocket.DeploymentException: Connection failed.
	at org.glassfish.tyrus.container.grizzly.client.GrizzlyClientSocket._connect(GrizzlyClientSocket.java:413)
	at org.glassfish.tyrus.container.grizzly.client.GrizzlyClientSocket.access$000(GrizzlyClientSocket.java:81)
	at org.glassfish.tyrus.container.grizzly.client.GrizzlyClientSocket$1.call(GrizzlyClientSocket.java:212)
	at org.glassfish.tyrus.container.grizzly.client.GrizzlyClientSocket$1.call(GrizzlyClientSocket.java:208)
	at org.glassfish.tyrus.container.grizzly.client.GrizzlyClientSocket.connect(GrizzlyClientSocket.java:226)
	at org.glassfish.tyrus.container.grizzly.client.GrizzlyClientContainer.openClientSocket(GrizzlyClientContainer.java:72)
	at org.glassfish.tyrus.client.ClientManager$3$1.run(ClientManager.java:647)
	at org.glassfish.tyrus.client.ClientManager$3.run(ClientManager.java:696)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at org.glassfish.tyrus.client.ClientManager$SameThreadExecutorService.execute(ClientManager.java:849)
	at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:112)
	at org.glassfish.tyrus.client.ClientManager.connectToServer(ClientManager.java:493)
	at org.glassfish.tyrus.client.ClientManager.connectToServer(ClientManager.java:318)
	at com.sun.ts.tests.websocket.ee.jakarta.websocket.clientendpointconfig.WSClient.preferredSubprotocolsTest(WSClient.java:149)
	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
	at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
	at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
10-19-2020 15:10:17:  ERROR: Test failed with incorrect values, 
	at org.glassfish.grizzly.nio.transport.TCPNIOConnectorHandler.onConnectedAsync(TCPNIOConnectorHandler.java:175)
	at org.glassfish.grizzly.nio.transport.TCPNIOConnectorHandler$1.connected(TCPNIOConnectorHandler.java:132)
	at org.glassfish.grizzly.nio.transport.TCPNIOConnection.onConnect(TCPNIOConnection.java:220)
10-19-2020 15:10:17:  ERROR: Test case throws exception: Test failed with incorrect values,
10-19-2020 15:10:17:  ERROR: Exception at:  
	at org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:502)
10-19-2020 15:10:17:  ERROR: com.sun.ts.lib.harness.EETest$Fault: Test failed with incorrect values, 
	at org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:82)
	at com.sun.ts.tests.websocket.ee.jakarta.websocket.clientendpointconfig.WSClient.preferredSubprotocolsTest(WSClient.java:192)
	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)

	at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:83)
10-19-2020 15:10:17:  [WebSocketCommonClient] Test cleanup OK
	at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.executeIoEvent(WorkerThreadIOStrategy.java:73)
	at org.glassfish.grizzly.strategies.AbstractIOStrategy.executeIoEvent(AbstractIOStrategy.java:66)
	at org.glassfish.grizzly.nio.SelectorRunner.iterateKeyEvents(SelectorRunner.java:381)
	at org.glassfish.grizzly.nio.SelectorRunner.iterateKeys(SelectorRunner.java:353)
	at org.glassfish.grizzly.nio.SelectorRunner.doSelect(SelectorRunner.java:319)
	at org.glassfish.grizzly.nio.SelectorRunner.run(SelectorRunner.java:248)
	at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:535)
	at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:515)
	at java.lang.Thread.run(Thread.java:748)
STATUS:Failed.Test case throws exception: Test failed with incorrect values,
result: Failed. Test case throws exception: Test failed with incorrect values,


test result: Failed. Test case throws exception: Test failed with incorrect values,