Bug 906060 - HA tests fail when run in a loop.
Summary: HA tests fail when run in a loop.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: qpid-cpp
Version: 2.3
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: 3.0
: ---
Assignee: Alan Conway
QA Contact: Irina Boverman
URL:
Whiteboard:
Depends On:
Blocks: 955718
TreeView+ depends on / blocked
 
Reported: 2013-01-30 18:23 UTC by Alan Conway
Modified: 2015-01-21 12:57 UTC (History)
6 users (show)

Fixed In Version: qpid-cpp-0.22
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 955718 (view as bug list)
Environment:
Last Closed:
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Apache JIRA QPID-4555 0 None None None Never

Description Alan Conway 2013-01-30 18:23:51 UTC
Description of problem: HA tests fail when run in a loop.

Version-Release number of selected component (if applicable): 0.18-mrg

How reproducible: usually in < 10 iterations

Steps to Reproduce: while make check TESTS=ha_tests.py; do true; done
  
Actual results: A test eventually fails

Expected results: no failures

Additional info:

The following tests were observed to fail occasionally:

ha_tests.LongTests.test_failover_send_receive
ha_tests.RecoveryTests.test_expected_backup_timeout
ha_tests.ReplicationTests.test_auto_delete_timeout
ha_tests.ReplicationTests.test_queue_replica_failover
ha_tests.ReplicationTests.test_alternate_exchange
ha_tests.ReplicationTests.test_stale_response
ha_tests.ReplicationTests.test_delete_qpid_4285
ha_tests.ReplicationTests.test_failover_python
ha_tests.RecoveryTests.test_expected_backup_timeout
ha_tests.RecoveryTests.test_send_receive
ha_tests.ReplicationTests.test_delete_qpid_4285

Comment 1 Alan Conway 2013-01-30 18:31:38 UTC
Fixed by the following commits on branch http://mrg1.lab.bos.redhat.com/cgit/qpid.git/log/?h=0.18-mrg-aconway-bz906060

3dedfd0 Bug 906060: HA Fix race condition in rejecting connections.
30cee33 Bug 906060: HA fix sporadic core dump in BrokerReplicator::disconnected
d831237 Bug 906060: HA fix race condition in QueueGuard
79d034f Bug 906060: HA Test bugs causing sporadic faiulres in ha_tests.ReplicationTests.test_auto_delete_timeout

Comment 2 Irina Boverman 2013-06-03 17:48:42 UTC
<aconway> irina: they are on 0.22, they are QPID-4555


Note You need to log in before you can comment on or make changes to this bug.