Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-7996 Jakarta EE TCKs and compatibility
  3. CXF-8475

jaxrs.ee.rs.client.syncinvoker traceWithStringClassTest

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.4.3
    • 3.4.6
    • None
    • None
    • Unknown

    Description

      Full test name:

      com/sun/ts/tests/jaxrs/ee/rs/client/syncinvoker/JAXRSClient#traceWithStringClassTest_from_standalone
      

      Running it locally:

      git clone git@github.com:tckwork/cxf.git
      cd cxf
      ./runtests com/sun/ts/tests/jaxrs/ee/rs/client/syncinvoker/JAXRSClient#traceWithStringClassTest_from_standalone
      

      At the time this issue was filed, the test failed with the following output.

      [javatest.batch] connection: keep-alive
      [javatest.batch] 04-15-2021 21:31:52:  ERROR: Test case throws exception: expected value trace differes from acquired value TRACE /jaxrs_ee_rs_client_syncinvoker_web/resource/trace HTTP/1.1 content-type: */* accept: */* user-agent: Apache-CXF/3.4.4-SNAPSHOT cache-control: no-cache pragma: no-cache host: localhost:8080 connection: keep-alive
      [javatest.batch] 04-15-2021 21:31:52:  ERROR: Exception at:  
      [javatest.batch] 04-15-2021 21:31:52:  ERROR: com.sun.ts.lib.harness.EETest$Fault: expected value trace differes from acquired value TRACE /jaxrs_ee_rs_client_syncinvoker_web/resource/trace HTTP/1.1
      [javatest.batch] content-type: */*
      [javatest.batch] accept: */*
      [javatest.batch] user-agent: Apache-CXF/3.4.4-SNAPSHOT
      [javatest.batch] cache-control: no-cache
      [javatest.batch] pragma: no-cache
      [javatest.batch] host: localhost:8080
      [javatest.batch] connection: keep-alive
      [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.assertResponseString(JAXRSClient.java:2000)
      [javatest.batch] 	at com.sun.ts.tests.jaxrs.ee.rs.client.syncinvoker.JAXRSClient.traceWithStringClassTest(JAXRSClient.java:1786)
      [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:31:52:  [JAXRSCommonClient] Test cleanup OK
      [javatest.batch] STATUS:Failed.Test case throws exception: expected value trace differes from acquired value TRACE /jaxrs_ee_rs_client_syncinvoker_web/resource/trace HTTP/1.1 content-type: */* accept: */* user-agent: Apache-CXF/3.4.4-SNAPSHOT cache-control: no-cache pragma: no-cache host: localhost:8080 connection: keep-alive
      [javatest.batch] Apr 15, 2021 9:31:54 PM Finished executing all tests, wait for cleanup...
      [javatest.batch] Apr 15, 2021 9:31:54 PM Harness done with cleanup from test run.
      [javatest.batch] Failed. Test case throws exception: expected value trace differes from acquired value TRACE /jaxrs_ee_rs_client_syncinvoker_web/resource/trace HTTP/1.1 content-type: */* accept: */* user-agent: Apache-CXF/3.4.4-SNAPSHOT cache-control: no-cache pragma: no-cache host: localhost:8080 connection: keep-alive
      [javatest.batch] ********************************************************************************
      [javatest.batch] Finished Test:  FAILED........com/sun/ts/tests/jaxrs/ee/rs/client/syncinvoker/JAXRSClient.java#traceWithStringClassTest_from_standalone
      

      See the attached javatest.log and jtr file for full test details

      Attachments

        1. JAXRSClient_traceWithStringClassTest_from_standalone.jtr
          11 kB
          David Blevins
        2. test.txt
          0.1 kB
          David Blevins
        3. javatest.log
          12 kB
          David Blevins

        Issue Links

          Activity

            People

              reta Andriy Redko
              dblevins David Blevins
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: