You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Robert Greig (JIRA)" <qp...@incubator.apache.org> on 2007/09/23 23:32:50 UTC

[jira] Commented: (QPID-589) qpid.test.unit.client.forwardall.CombinedTest fails intermittently

    [ https://issues.apache.org/jira/browse/QPID-589?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12529764 ] 

Robert Greig commented on QPID-589:
-----------------------------------

Looking at the deadlock it is hard to see a solution without significant work.

However it does seem that it is not required to send a Basic.Cancel where the Session is being closed. Not sending the Basic.Cancel avoids the deadlock.

That change has been committed as svn revision 578604, to the M2 branch.

> qpid.test.unit.client.forwardall.CombinedTest fails intermittently
> ------------------------------------------------------------------
>
>                 Key: QPID-589
>                 URL: https://issues.apache.org/jira/browse/QPID-589
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Tests
>    Affects Versions: M2
>            Reporter: Martin Ritchie
>         Attachments: QPID-589-threaddump.txt
>
>
> Currently it fails quite often via maven on XP but this it the mvn output is less than helpful, 
> Test set: org.apache.qpid.test.unit.client.forwardall.CombinedTest
> -------------------------------------------------------------------------------
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 10.047 sec <<< FAILURE!
> testForwardAll(org.apache.qpid.test.unit.client.forwardall.CombinedTest)  Time elapsed: 10.047 sec  <<< ERROR!
> java.lang.Exception: Didn't receive all messages... got 1 expected 2
>         at org.apache.qpid.test.unit.client.forwardall.Client.waitUntilComplete(Client.java:97)
>         at org.apache.qpid.test.unit.client.forwardall.Client.shutdownWhenComplete(Client.java:71)
>         at org.apache.qpid.test.unit.client.forwardall.CombinedTest.testForwardAll(CombinedTest.java:57)
> Running inside IDE : Intelji hasn't failed yet, though there is a lot of exceptions but the test still passes.
> eg. Now I'm sure the routes should be defined so this is something that shouldn't be happening.
> org.apache.qpid.client.AMQNoRouteException: Error: Routing key tmp_anonymous(19902639)_1 is not known to org.apache.qpid.server.exchange.DestNameExchange[amq.direct] [error code 312: no route]
> 	at org.apache.qpid.client.AMQSession$10.run(AMQSession.java:2493)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
> 	at java.lang.Thread.run(Thread.java:595)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.