Bug 955718

Summary: HA tests fail when run in a loop.
Product: Red Hat Enterprise MRG Reporter: Mike Cressman <mcressma>
Component: qpid-cppAssignee: Mike Cressman <mcressma>
Status: CLOSED CURRENTRELEASE QA Contact: MRG Quality Engineering <mrgqe-bugs>
Severity: high Docs Contact:
Priority: high    
Version: 2.3CC: aconway, iboverma, jross, lzhaldyb
Target Milestone: ---Keywords: OtherQA
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: qpid-cpp-0.18-15 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 906060 Environment:
Last Closed: 2014-06-12 18:49:50 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 906060    
Bug Blocks:    

Description Mike Cressman 2013-04-23 15:48:36 UTC
+++ This bug was initially created as a clone of Bug #906060 +++

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

--- Additional comment from Alan Conway on 2013-01-30 13:31:38 EST ---

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 3 Justin Ross 2014-06-12 18:49:50 UTC
This is an internal engineering work item. -> CLOSED (CURRENTRELEASE)