You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Andriy Redko (Jira)" <ji...@apache.org> on 2021/12/04 02:08:00 UTC

[jira] [Updated] (CXF-8471) jaxrs.ee.rs.client.syncinvoker traceWithGenericTypeResponseThrowsNoWebApplicationExceptionTest

     [ https://issues.apache.org/jira/browse/CXF-8471?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andriy Redko updated CXF-8471:
------------------------------
    Fix Version/s: 3.4.6

> jaxrs.ee.rs.client.syncinvoker traceWithGenericTypeResponseThrowsNoWebApplicationExceptionTest 
> -----------------------------------------------------------------------------------------------
>
>                 Key: CXF-8471
>                 URL: https://issues.apache.org/jira/browse/CXF-8471
>             Project: CXF
>          Issue Type: Sub-task
>    Affects Versions: 3.4.3
>            Reporter: David Blevins
>            Priority: Major
>             Fix For: 3.4.6
>
>         Attachments: JAXRSClient_traceWithGenericTypeResponseThrowsNoWebApplicationExceptionTest_from_standalone.jtr, javatest.log, test.txt
>
>
> Full test name:
> {code}
> com/sun/ts/tests/jaxrs/ee/rs/client/syncinvoker/JAXRSClient#traceWithGenericTypeResponseThrowsNoWebApplicationExceptionTest_from_standalone
> {code}
> Running it locally:
> {code}
> git clone git@github.com:tckwork/cxf.git
> cd cxf
> ./runtests com/sun/ts/tests/jaxrs/ee/rs/client/syncinvoker/JAXRSClient#traceWithGenericTypeResponseThrowsNoWebApplicationExceptionTest_from_standalone
> {code}
> At the time this issue was filed, the test failed with the following output.
> {code}
> [javatest.batch] 04-15-2021 21:29:18:  TRACE: [WIRE] - >> TRACE http://localhost:8080/jaxrs_ee_rs_client_syncinvoker_web/resource/tracenotok
> [javatest.batch] 04-15-2021 21:29:18:  TRACE: [WIRE] - >> 
> [javatest.batch] 04-15-2021 21:29:18:  TRACE: [WIRE] - << 200 OK
> [javatest.batch] 04-15-2021 21:29:18:  TRACE: [WIRE] - << Content-Length: 232
> [javatest.batch] 04-15-2021 21:29:18:  TRACE: [WIRE] - << content-type: message/http
> [javatest.batch] 04-15-2021 21:29:18:  TRACE: [WIRE] - << Server: GlassFish Server Open Source Edition  5.1.0
> [javatest.batch] 04-15-2021 21:29:18:  TRACE: [WIRE] - << X-Powered-By: Servlet/3.1 JSP/2.3 (GlassFish Server Open Source Edition  5.1.0  Java/Oracle Corporation/1.8)
> [javatest.batch] 04-15-2021 21:29:18:  ERROR: Returned unexpected status 200
> [javatest.batch] 04-15-2021 21:29:18:  ERROR: Test case throws exception: Returned unexpected status 200
> [javatest.batch] 04-15-2021 21:29:18:  ERROR: Exception at:  
> [javatest.batch] 04-15-2021 21:29:18:  ERROR: com.sun.ts.lib.harness.EETest$Fault: Returned unexpected status 200
> [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.ee.rs.client.syncinvoker.JAXRSClient.assertStatusAndLog(JAXRSClient.java:1986)
> [javatest.batch] 	at com.sun.ts.tests.jaxrs.ee.rs.client.syncinvoker.JAXRSClient.traceWithGenericTypeResponseThrowsNoWebApplicationExceptionTest(JAXRSClient.java:1954)
> [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:29:18:  [JAXRSCommonClient] Test cleanup OK
> [javatest.batch] STATUS:Failed.Test case throws exception: Returned unexpected status 200
> [javatest.batch] Failed. Test case throws exception: Returned unexpected status 200Apr 15, 2021 9:29:19 PM Finished executing all tests, wait for cleanup...
> [javatest.batch] 
> [javatest.batch] Apr 15, 2021 9:29:19 PM Harness done with cleanup from test run.
> [javatest.batch] ********************************************************************************
> [javatest.batch] Finished Test:  FAILED........com/sun/ts/tests/jaxrs/ee/rs/client/syncinvoker/JAXRSClient.java#traceWithGenericTypeResponseThrowsNoWebApplicationExceptionTest_from_standalone
> {code}
> See the attached javatest.log and jtr file for full test details



--
This message was sent by Atlassian Jira
(v8.20.1#820001)