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 2022/01/28 18:03:00 UTC

[jira] [Resolved] (CXF-8483) jaxrs.ee.rs.core.uriinfo getMatchedURIsTest2

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

Andriy Redko resolved CXF-8483.
-------------------------------
    Resolution: Fixed

Fixed by https://github.com/apache/cxf/commit/27e235093fd3c8c435be63c39dff46fb3aa23f42

> jaxrs.ee.rs.core.uriinfo getMatchedURIsTest2 
> ---------------------------------------------
>
>                 Key: CXF-8483
>                 URL: https://issues.apache.org/jira/browse/CXF-8483
>             Project: CXF
>          Issue Type: Sub-task
>    Affects Versions: 3.4.3
>            Reporter: David Blevins
>            Assignee: Andriy Redko
>            Priority: Major
>             Fix For: 3.3.13, 3.4.6, 3.5.1
>
>         Attachments: JAXRSClient_getMatchedURIsTest2_from_standalone.jtr, javatest.log, test.txt
>
>
> Full test name:
> {code}
> com/sun/ts/tests/jaxrs/ee/rs/core/uriinfo/JAXRSClient#getMatchedURIsTest2_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/core/uriinfo/JAXRSClient#getMatchedURIsTest2_from_standalone
> {code}
> At the time this issue was filed, the test failed with the following output.
> {code}
> [javatest.batch] * props file set to "/var/folders/bd/f9ntqy1m8xj_fs006s6crtjh0000gn/T/dblevins-cts-props.txt"
> [javatest.batch] ************************************************************
> [javatest.batch] 04-15-2021 21:37:03:  [JAXRSCommonClient] Test setup OK
> [javatest.batch] 04-15-2021 21:37:03:  [HttpRequest] Dispatching request: 'GET  /jaxrs_ee_core_uriinfo_web/resource/uri2 HTTP/1.1' to target server at 'localhost:8080'
> [javatest.batch] Apr 15, 2021 9:37:04 PM org.apache.commons.httpclient.HttpConnection releaseConnection
> [javatest.batch] WARNING: HttpConnectionManager is null.  Connection cannot be released.
> [javatest.batch] 04-15-2021 21:37:04:  ERROR: [WebValidatorBase] Unable to find the following search string in the server's response: 'resource/uri2' at index: 0
> [javatest.batch] [WebValidatorBase] Server's response:
> [javatest.batch] -------------------------------------------
> [javatest.batch] /uri2=resource=number=2
> [javatest.batch] -------------------------------------------
> [javatest.batch] 
> [javatest.batch] 04-15-2021 21:37:04:  ERROR: Test case throws exception: [JAXRSCommonClient] null failed! Check output for cause of failure.
> [javatest.batch] 04-15-2021 21:37:04:  ERROR: Exception at:  
> [javatest.batch] 04-15-2021 21:37:04:  ERROR: com.sun.ts.tests.common.webclient.TestFailureException: Test FAILED!
> [javatest.batch] 	at com.sun.ts.tests.common.webclient.WebTestCase.execute(WebTestCase.java:180)
> [javatest.batch] 	at com.sun.ts.tests.jaxrs.common.JAXRSCommonClient.invoke(JAXRSCommonClient.java:307)
> [javatest.batch] 	at com.sun.ts.tests.jaxrs.ee.rs.core.uriinfo.JAXRSClient.getMatchedURIsTest2(JAXRSClient.java:352)
> [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:37:04:  [JAXRSCommonClient] Test cleanup OK
> [javatest.batch] STATUS:Failed.Test case throws exception: [JAXRSCommonClient] null failed! Check output for cause of failure.
> [javatest.batch] Failed. Test case throws exception: [JAXRSCommonClient] null failed! Check output for cause of failure.
> [javatest.batch] ********************************************************************************
> [javatest.batch] Finished Test:  FAILED........com/sun/ts/tests/jaxrs/ee/rs/core/uriinfo/JAXRSClient.java#getMatchedURIsTest2_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)