You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Sergey Beryozkin (JIRA)" <ji...@apache.org> on 2013/12/19 23:30:08 UTC

[jira] [Comment Edited] (CXF-5446) systests/jaxrs tests sometimes hang in CI

    [ https://issues.apache.org/jira/browse/CXF-5446?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13853395#comment-13853395 ] 

Sergey Beryozkin edited comment on CXF-5446 at 12/19/13 10:28 PM:
------------------------------------------------------------------

Hi Aki, thanks again,
I'm just slightly concerned that may be we are seeing a real bug affecting the runs.
There are probably hundreds of WebClient calls in other tests there and only these two hang. So it does not seem to be a test issue.

I'm starting thinking of the following:
- http-hc conduit is affecting it - and it can be causing the problems for two reasons, it has a bug of its own or may be because the tests or WebClient fail to release the resources properly
- or there is some bug in the way new Client API is implemented.

So the next step is to check if it is http-hc which causes it, I've temporarily removed its dependency, can you please, when you get a chance, update the source and run without http-hc ?
I will then continue narrowing down depending on what you see.

In meantime I've added an optional timeout as per your recommendation (except that is optional for now :-)), so it will let users who run builds and see the hangs get the tests running. I guess that in itself should resolve the actual issue, but may be we can trace somehow the actual cause of the problem :-)  
 
Thanks, Sergey


was (Author: sergey_beryozkin):
Hi Aki, thanks again,
I'm nearly ready to add the timeouts, I'm just slightly concerned that nay be we are seeing a real bug affecting the runs.
There are probably hundreds of WebClient calls in other tests there and only these two hang. So it does not seem to be a test issue.

I'm starting thinking of the following:
- http-hc conduit is affecting it - and it can be causing the problems for two reasons, it has a bug of its own or may be because the tests or WebClient fail to release the resources properly
- or there is some bug in the way new Client API is implemented.

So the next step is to check if it is http-hc which causes it, I've temporarily removed its dependency, can you please, when you get a chance, update the source and run without http-hc ?
I will then continue narrowing down depending on what you see.

In meantime I've added an optional timeout as per your recommendation (except that is optional for now :-)), so it will let users who run builds and see the hangs get the tests running. I guess that in itself should resolve the actual issue, but may be we can trace somehow the actual cause of the problem :-)  
 
Thanks, Sergey

> systests/jaxrs tests sometimes hang in CI
> -----------------------------------------
>
>                 Key: CXF-5446
>                 URL: https://issues.apache.org/jira/browse/CXF-5446
>             Project: CXF
>          Issue Type: Bug
>            Reporter: Kevin Earls
>            Priority: Minor
>              Labels: test
>         Attachments: CXF-5446.patch
>
>
> I've seen at least the following 2 tests hang
> JAXRS20ClientServerBookTest
> JAXRSAsyncClientTest
> I will attach a patch which adds timeouts



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)