qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Keith Wall (JIRA)" <j...@apache.org>
Subject [jira] [Reopened] (QPID-7080) MultiNodeTest#testQuorumOverride may fail sporadically
Date Thu, 03 Mar 2016 09:23:18 GMT

     [ https://issues.apache.org/jira/browse/QPID-7080?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Keith Wall reopened QPID-7080:

> MultiNodeTest#testQuorumOverride may fail sporadically
> ------------------------------------------------------
>                 Key: QPID-7080
>                 URL: https://issues.apache.org/jira/browse/QPID-7080
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker, Java Tests
>            Reporter: Keith Wall
>            Assignee: Alex Rudyy
>            Priority: Minor
>             Fix For: qpid-java-6.1
> Tes MultiNodeTest#testQuorumOverride is racey.    The test verifies the behaviour of
a group when all the replicas are killed and quorum override is applied to allow the master
to continue in isolation.
> The test currently assumes that failover doesn't occur.  This is wrong, failover may
occur if the master discovers itself alone before the quorum override is applied.  This discovery
is asynchronous.  The test cannot predict if failover will occur of not.
> In the unlucky case where failure occurs, the the failover happens whilst the test is
committing a transaction. The transaction will correctly.  The test does include code to retry
failed transactions. 
> Error Message
> Session exception occurred while trying to commit: sender for socket /
is closed
> Stacktrace
> javax.jms.JMSException: Session exception occurred while trying to commit: sender for
socket / is closed
> 	at org.apache.qpid.transport.network.io.IoSender.checkNotAlreadyClosed(IoSender.java:377)
> 	at org.apache.qpid.transport.network.io.IoSender.send(IoSender.java:122)
> 	at org.apache.qpid.client.AMQProtocolHandler.writeFrame(AMQProtocolHandler.java:563)
> 	at org.apache.qpid.client.AMQSession_0_8.acknowledgeMessage(AMQSession_0_8.java:177)
> 	at org.apache.qpid.client.AMQSession_0_8.commitImpl(AMQSession_0_8.java:271)
> 	at org.apache.qpid.client.AMQSession.commit(AMQSession.java:866)
> 	at org.apache.qpid.test.utils.QpidBrokerTestCase.assertProducingConsuming(QpidBrokerTestCase.java:1265)
> 	at org.apache.qpid.server.store.berkeleydb.replication.MultiNodeTest.testQuorumOverride(MultiNodeTest.java:483)

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org

View raw message