Bug 906060

Summary: HA tests fail when run in a loop.
Product: Red Hat Enterprise MRG Reporter: Alan Conway <aconway>
Component: qpid-cppAssignee: Alan Conway <aconway>
Status: CLOSED CURRENTRELEASE QA Contact: Irina Boverman <iboverma>
Severity: high Docs Contact:
Priority: high    
Version: 2.3CC: aconway, esammons, freznice, iboverma, jross, mtoth
Target Milestone: 3.0Keywords: OtherQA
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: qpid-cpp-0.22 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 955718 (view as bug list) Environment:
Last Closed: 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:    
Bug Blocks: 955718    

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