[
https://issues.apache.org/jira/browse/QPID-4080?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13397952#comment-13397952
]
Keith Wall commented on QPID-4080:
----------------------------------
This is a test issue. The test establishes a cluster then kills the master.
The test then goes on to try and reconnect to the newly elected master. It is
this reconnection that sometimes fails. This is happening because the client
exhausts all its connection attempts before the node has completed its
activation.
{{egrep "(Received BDB|kill|connecting to host|ACTIVATE)"
testClusterLosingNodeRetainsData.out}} shows the pertinent information.
You can see that broker at port 10004 completes its activation at:
{code}
BDBHANodeActivationThread-test 2012-06-20 15:07:42,962 DEBUG
[qpid.server.store.EventManager] Received event AFTER_ACTIVATE
{code}
but the client had already given up trying broker on port 10004. This was its
last attempt:
{code}
2012-06-20 15:07:42,141 DEBUG [apache.qpid.client.AMQConnectionDelegate_0_10]
connecting to host: localhost port: 10004 vhost: test username: guest password:
********
{code}
> HAClusterWhiteboxTest#testClusterLosingNodeRetainsData fails occasionally on
> Apache CI
> --------------------------------------------------------------------------------------
>
> Key: QPID-4080
> URL: https://issues.apache.org/jira/browse/QPID-4080
> Project: Qpid
> Issue Type: Bug
> Components: Java Tests
> Affects Versions: 0.17
> Reporter: Keith Wall
> Assignee: Keith Wall
> Labels: HA
>
> Test HAClusterWhiteboxTest#testClusterLosingNodeRetainsData has been seen to
> fail on Apache CI (profile java-bdb.0-10).
> https://builds.apache.org/view/M-R/view/Qpid/job/Qpid-Java-Java-BDB-TestMatrix/337/jdk=JDK%201.6%20(latest),label=Ubuntu,profile=java-bdb.0-10/testReport/junit/org.apache.qpid.server.store.berkeleydb/HAClusterWhiteboxTest/testClusterLosingNodeRetainsData/
> {code}
> Error Message
> no valid connection obtained
> Stacktrace
> junit.framework.AssertionFailedError: no valid connection obtained
> at
> org.apache.qpid.server.store.berkeleydb.HAClusterWhiteboxTest.testClusterLosingNodeRetainsData(HAClusterWhiteboxTest.java:164)
> at
> org.apache.qpid.test.utils.QpidBrokerTestCase.runBare(QpidBrokerTestCase.java:239)
> at org.apache.qpid.test.utils.QpidTestCase.run(QpidTestCase.java:137)
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]