You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Alan Conway (JIRA)" <ji...@apache.org> on 2013/05/15 23:55:15 UTC

[jira] [Resolved] (QPID-4850) HA Sporadic stall in ha_tests.test_failover_send_receive

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

Alan Conway resolved QPID-4850.
-------------------------------

    Resolution: Fixed

------------------------------------------------------------------------
r1483107 | aconway | 2013-05-15 17:53:55 -0400 (Wed, 15 May 2013) | 6 lines

QPID-4850: HA Sporadic stall in ha_tests.test_failover_send_receive

Fixed a deadlock in the test: test was killing a backup broker then waiting to
pass a checkpoint: however if the backup was expected by the primary, the primary
holds queues till it connects, so we deadlock.

------------------------------------------------------------------------

                
> HA Sporadic stall in ha_tests.test_failover_send_receive
> --------------------------------------------------------
>
>                 Key: QPID-4850
>                 URL: https://issues.apache.org/jira/browse/QPID-4850
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Clustering
>    Affects Versions: 0.22
>            Reporter: Alan Conway
>            Assignee: Alan Conway
>
> To reproduce: in a loop call
>   ha_tests.py *.test_failover_send_receive
> The test occasionally fails with a message like:
> ha_tests.LongTests.test_failover_send_receive .................................................... start
>   Traceback (most recent call last):
>     File "/home/aconway/qpid/qpid/cpp/src/tests/ha_tests.py", line 978, in test_failover_send_receive
>       map(wait_passed, receivers, checkpoint)
>     File "/home/aconway/qpid/qpid/cpp/src/tests/ha_tests.py", line 946, in wait_passed
>       assert retry(check), "Stalled %s at %s"%(r.queue, n)
>   AssertionError: Stalled test8 at 2107
> ha_tests.LongTests.test_failover_send_receive .................................................... fail
> Error during test:  Traceback (most recent call last):
>     File "/home/aconway/qpid/build2/src/tests/python/commands/qpid-python-test", line 340, in run
>       phase()
>     File "/home/aconway/qpid/qpid/cpp/src/tests/ha_tests.py", line 993, in test_failover_send_receive
>       for r in receivers: r.stop()
>     File "/home/aconway/qpid/qpid/cpp/src/tests/brokertest.py", line 625, in stop
>       join(self)
>     File "/home/aconway/qpid/qpid/cpp/src/tests/brokertest.py", line 485, in join
>       if thread.isAlive(): raise Exception("Timed out joining thread %s"%thread)
>   Exception: Timed out joining thread <NumberedReceiver(Thread-20, started 140175095092992)>

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org