Details
Description
Full test name:
com/sun/ts/tests/jaxrs/jaxrs21/ee/sse/sseeventsource/JAXRSClient#reconnectByEventMethodTest_from_standalone
Running it locally:
git clone git@github.com:tckwork/cxf.git cd cxf ./runtests com/sun/ts/tests/jaxrs/jaxrs21/ee/sse/sseeventsource/JAXRSClient#reconnectByEventMethodTest_from_standalone
At the time this issue was filed, the test failed with the following output.
[javatest.batch] 04-15-2021 21:52:29: Harness - keywords (to be passed to tests) set to: all [javatest.batch] 04-15-2021 21:52:29: Harness - sClassPathFromExecProps = [javatest.batch] command: com.sun.ts.lib.harness.ExecTSTestCmd CLASSPATH=:/Users/dblevins/work/tckwork/cxf/restful-ws-tck/bin/xml/../../lib/tsharness.jar:/Users/dblevins/work/tckwork/cxf/restful-ws-tck/bin/xml/../../lib/javatest.jar:/lib/ant.jar:/Users/dblevins/work/tckwork/cxf/restful-ws-tck/bin/xml/../../lib/jaxrstck.jar:/Users/dblevins/work/tckwork/cxf/restful-ws-tck/bin/xml/../../lib/jaxb-xjc.jar:/Users/dblevins/work/tckwork/cxf/restful-ws-tck/bin/xml/../../classes:/Library/Java/JavaVirtualMachines/jdk1.8.0_151.jdk/Contents/Home/jre/../lib/tools.jar:/Users/dblevins/work/tckwork/cxf/restful-ws-tck/bin/xml/../../lib/commons-httpclient-3.1.jar:/Users/dblevins/work/tckwork/cxf/restful-ws-tck/bin/xml/../../lib/commons-logging-1.1.3.jar:/Users/dblevins/work/tckwork/cxf/restful-ws-tck/bin/xml/../../lib/commons-codec-1.9.jar:/Users/dblevins/work/tckwork/cxf/restful-ws-tck/bin/xml/../../lib/sigtest.jar:/Users/dblevins/work/tckwork/cxf/glassfish5/glassfish/modules/jakarta.ws.rs-api.jar:/Users/dblevins/work/tckwork/cxf/glassfish5/glassfish/modules/endorsed/jakarta.annotation-api.jar:/Users/dblevins/work/tckwork/cxf/glassfish5/glassfish/modules/bean-validator.jar:/Users/dblevins/work/tckwork/cxf/glassfish5/glassfish/modules/jakarta.json.jar:/Users/dblevins/work/tckwork/cxf/glassfish5/glassfish/modules/jakarta.interceptor-api.jar:/Users/dblevins/work/tckwork/cxf/glassfish5/glassfish/modules/jakarta.ejb-api.jar:/Users/dblevins/work/tckwork/cxf/glassfish5/glassfish/modules/jakarta.inject.jar:/Users/dblevins/work/tckwork/cxf/glassfish5/glassfish/modules/cdi-api.jar:/Users/dblevins/work/tckwork/cxf/glassfish5/glassfish/modules/jakarta.json.bind-api.jar:/Users/dblevins/work/tckwork/cxf/glassfish5/glassfish/lib/woodstox-core-5.2.1.jar:/Users/dblevins/work/tckwork/cxf/glassfish5/glassfish/lib/cxf-rt-rs-client-3.4.4-SNAPSHOT.jar:/Users/dblevins/work/tckwork/cxf/glassfish5/glassfish/lib/cxf-core-3.4.4-SNAPSHOT.jar:/Users/dblevins/work/tckwork/cxf/glassfish5/glassfish/lib/cxf-rt-transports-http-3.4.4-SNAPSHOT.jar:/Users/dblevins/work/tckwork/cxf/glassfish5/glassfish/lib/cxf-rt-frontend-jaxrs-3.4.4-SNAPSHOT.jar:/Users/dblevins/work/tckwork/cxf/glassfish5/glassfish/lib/cxf-rt-rs-sse-3.4.4-SNAPSHOT.jar DISPLAY=:0.0 HOME=/Users/dblevins windir= SYSTEMROOT= PATH=/Users/dblevins/work/tckwork/cxf/glassfish5/glassfish/nativelib /Library/Java/JavaVirtualMachines/jdk1.8.0_151.jdk/Contents/Home/jre/bin/java -Dcts.tmp=/Users/dblevins/work/tckwork/cxf/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 /Users/dblevins/work/tckwork/cxf/restful-ws-tck/bin/xml/../../tmp/tstest.jte -t reconnectByEventMethodTest -vehicle standalone [javatest.batch] ************************************************************ [javatest.batch] * props file set to "/var/folders/bd/f9ntqy1m8xj_fs006s6crtjh0000gn/T/dblevins-cts-props.txt" [javatest.batch] ************************************************************ [javatest.batch] 04-15-2021 21:52:30: [JAXRSCommonClient] Test setup OK [javatest.batch] 04-15-2021 21:52:31: ERROR: SseEventSource#isOpen returns false [javatest.batch] 04-15-2021 21:52:31: ERROR: Test case throws exception: SseEventSource#isOpen returns false [javatest.batch] 04-15-2021 21:52:31: ERROR: Exception at: [javatest.batch] 04-15-2021 21:52:31: ERROR: com.sun.ts.lib.harness.EETest$Fault: SseEventSource#isOpen returns false [javatest.batch] at com.sun.ts.tests.jaxrs.common.JAXRSCommonClient.fault(JAXRSCommonClient.java:767) [javatest.batch] at com.sun.ts.tests.jaxrs.common.JAXRSCommonClient.assertTrue(JAXRSCommonClient.java:662) [javatest.batch] at com.sun.ts.tests.jaxrs.jaxrs21.ee.sse.SSEJAXRSClient.querySSEEndpoint(SSEJAXRSClient.java:58) [javatest.batch] at com.sun.ts.tests.jaxrs.jaxrs21.ee.sse.SSEJAXRSClient.querySSEEndpoint(SSEJAXRSClient.java:44) [javatest.batch] at com.sun.ts.tests.jaxrs.jaxrs21.ee.sse.sseeventsource.JAXRSClient.reconnectByEventMethodTest(JAXRSClient.java:238) [javatest.batch] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [javatest.batch] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [javatest.batch] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [javatest.batch] at java.lang.reflect.Method.invoke(Method.java:498) [javatest.batch] at com.sun.ts.lib.harness.EETest.run(EETest.java:596) [javatest.batch] at com.sun.ts.lib.harness.ServiceEETest.run(ServiceEETest.java:115) [javatest.batch] at com.sun.ts.tests.common.vehicle.EmptyVehicleRunner.run(EmptyVehicleRunner.java:40) [javatest.batch] at com.sun.ts.lib.harness.ServiceEETest.run(ServiceEETest.java:105) [javatest.batch] at com.sun.ts.lib.harness.EETest.getPropsReady(EETest.java:486) [javatest.batch] at com.sun.ts.lib.harness.ServiceEETest.run(ServiceEETest.java:209) [javatest.batch] at com.sun.ts.lib.harness.EETest.run(EETest.java:285) [javatest.batch] at com.sun.ts.tests.common.vehicle.VehicleClient.main(VehicleClient.java:38) [javatest.batch] [javatest.batch] 04-15-2021 21:52:31: [JAXRSCommonClient] Test cleanup OK [javatest.batch] STATUS:Failed.Test case throws exception: SseEventSource#isOpen returns false [javatest.batch] Apr 15, 2021 9:52:32 PM Finished executing all tests, wait for cleanup...Failed. Test case throws exception: SseEventSource#isOpen returns false [javatest.batch] [javatest.batch] Apr 15, 2021 9:52:32 PM Harness done with cleanup from test run.******************************************************************************** [javatest.batch] [javatest.batch] Finished Test: FAILED........com/sun/ts/tests/jaxrs/jaxrs21/ee/sse/sseeventsource/JAXRSClient.java#reconnectByEventMethodTest_from_standalone
See the attached javatest.log and jtr file for full test details