Details
Description
Full test name:
com/sun/ts/tests/jaxrs/api/rs/core/linkbuilder/JAXRSClient#buildNoArgsThrowsUriBuilderExceptionTest_from_standalone
Running it locally:
git clone git@github.com:tckwork/cxf.git cd cxf ./runtests com/sun/ts/tests/jaxrs/api/rs/core/linkbuilder/JAXRSClient#buildNoArgsThrowsUriBuilderExceptionTest_from_standalone
At the time this issue was filed, the test failed with the following output.
[javatest.batch] 04-15-2021 21:20:30: Harness - harness.executeMode is set to "0" [javatest.batch] 04-15-2021 21:20:30: Harness - keywords (to be passed to tests) set to: all [javatest.batch] 04-15-2021 21:20:30: 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 buildNoArgsThrowsUriBuilderExceptionTest -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:20:30: [JAXRSCommonClient] Test setup OK [javatest.batch] 04-15-2021 21:20:31: ERROR: No exception has been thrown for link <http://:@> [javatest.batch] 04-15-2021 21:20:31: ERROR: Test case throws exception: No exception has been thrown for link <http://:@> [javatest.batch] 04-15-2021 21:20:31: ERROR: Exception at: [javatest.batch] 04-15-2021 21:20:31: ERROR: com.sun.ts.lib.harness.EETest$Fault: No exception has been thrown for link <http://:@> [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.common.JAXRSCommonClient.assertFault(JAXRSCommonClient.java:645) [javatest.batch] at com.sun.ts.tests.jaxrs.api.rs.core.linkbuilder.JAXRSClient.buildNoArgsThrowsUriBuilderExceptionTest(JAXRSClient.java:81) [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:20:31: [JAXRSCommonClient] Test cleanup OK [javatest.batch] STATUS:Failed.Test case throws exception: No exception has been thrown for link <http://:@> [javatest.batch] Failed. Test case throws exception: No exception has been thrown for link <http://:@> [javatest.batch] Apr 15, 2021 9:20:32 PM Finished executing all tests, wait for cleanup... [javatest.batch] ********************************************************************************Apr 15, 2021 9:20:32 PM Harness done with cleanup from test run. [javatest.batch] [javatest.batch] Finished Test: FAILED........com/sun/ts/tests/jaxrs/api/rs/core/linkbuilder/JAXRSClient.java#buildNoArgsThrowsUriBuilderExceptionTest_from_standalone
See the attached javatest.log and jtr file for full test details
Attachments
Attachments
Issue Links
- is fixed by
-
CXF-8688 Accomodate some RFC 3986 checks to filter out invalid URIs
- Closed