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 2014/01/14 22:07:19 UTC
[jira] [Resolved] (QPID-5454) Sporadic core dump in
ha_tests.ReplicationTests.test_auto_delete_failover
[ https://issues.apache.org/jira/browse/QPID-5454?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alan Conway resolved QPID-5454.
-------------------------------
Resolution: Fixed
Fixed on trunk and 0.26
> Sporadic core dump in ha_tests.ReplicationTests.test_auto_delete_failover
> -------------------------------------------------------------------------
>
> Key: QPID-5454
> URL: https://issues.apache.org/jira/browse/QPID-5454
> Project: Qpid
> Issue Type: Bug
> Components: C++ Clustering
> Affects Versions: 0.24
> Reporter: Alan Conway
> Assignee: Alan Conway
>
> ha_tests.ReplicationTests.test_auto_delete_failover sporadically dumps core.
> This can be easily reproduced on RHEL5, but does not seem to be easy to reproduce on other platforms:
> {noformat}
> To reproduce:
> cd src/tests; source test_env.sh; while ha_tests.py *test_auto_delete_failover; do true; done; find -name core*
> Result: eventual failure with core dump
> aconway1@mrg29 debug (trunk $%)$ cd src/tests; source test_env.sh; while ha_tests.py *test_auto_delete_failover; do true; done; find -name core*
> ha_tests.ReplicationTests.test_auto_delete_failover .................................. fail
> Error during test: Traceback (most recent call last):
> File "/home/aconway1/qpid/debug/src/tests/python/commands/qpid-python-test", line 340, in run
> phase()
> File "/home/aconway1/qpid/qpid/cpp/src/tests/ha_tests.py", line 762, in test_auto_delete_failover
> cluster[i].wait_no_queue(q,timeout=2) # auto-deleted
> File "/home/aconway1/qpid/qpid/cpp/src/tests/ha_test.py", line 217, in wait_no_queue
> assert retry(lambda: agent.getQueue(queue) is None, timeout=timeout)
> File "/home/aconway1/qpid/qpid/cpp/src/tests/brokertest.py", line 88, in retry
> ret = function()
> File "/home/aconway1/qpid/qpid/cpp/src/tests/ha_test.py", line 217, in <lambda>
> assert retry(lambda: agent.getQueue(queue) is None, timeout=timeout)
> File "/home/aconway1/qpid/qpid/tools/src/py/qpidtoollibs/broker.py", line 183, in getQueue
> return self._getBrokerObject(Queue, "org.apache.qpid.broker:queue:%s" % name)
> File "/home/aconway1/qpid/qpid/tools/src/py/qpidtoollibs/broker.py", line 127, in _getBrokerObject
> obj = self._doNameQuery(oid)
> File "/home/aconway1/qpid/qpid/tools/src/py/qpidtoollibs/broker.py", line 101, in _doNameQuery
> correlator = self._sendRequest('_query_request', query)
> File "/home/aconway1/qpid/qpid/tools/src/py/qpidtoollibs/broker.py", line 77, in _sendRequest
> self.tx.send(message)
> File "<string>", line 6, in send
> File "/home/aconway1/qpid/debug/src/tests/python/qpid/messaging/endpoints.py", line 863, in send
> self._ecwait(lambda: self.linked, timeout=timeout)
> File "/home/aconway1/qpid/debug/src/tests/python/qpid/messaging/endpoints.py", line 50, in _ecwait
> result = self._ewait(lambda: self.closed or predicate(), timeout)
> File "/home/aconway1/qpid/debug/src/tests/python/qpid/messaging/endpoints.py", line 814, in _ewait
> result = self.session._ewait(lambda: self.error or predicate(), timeout)
> File "/home/aconway1/qpid/debug/src/tests/python/qpid/messaging/endpoints.py", line 580, in _ewait
> result = self.connection._ewait(lambda: self.error or predicate(), timeout)
> File "/home/aconway1/qpid/debug/src/tests/python/qpid/messaging/endpoints.py", line 219, in _ewait
> self.check_error()
> File "/home/aconway1/qpid/debug/src/tests/python/qpid/messaging/endpoints.py", line 212, in check_error
> raise e
> ConnectionError: connection aborted
> Totals: 1 tests, 0 passed, 0 skipped, 0 ignored, 1 failed
> ./ha_tests.tmp/ha_tests.ReplicationTests.test_auto_delete_failover/core.27906
> Expected result: passes indefinitely
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org