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] [Created] (QPID-6722) Failover conflicts with session#close() (0-10)
Date Tue, 01 Sep 2015 15:23:46 GMT
Keith Wall created QPID-6722:
--------------------------------

             Summary: Failover conflicts with session#close() (0-10)
                 Key: QPID-6722
                 URL: https://issues.apache.org/jira/browse/QPID-6722
             Project: Qpid
          Issue Type: Bug
          Components: Java Client
            Reporter: Keith Wall


Running the tests on Jenkins box I got the following test failures:
{code}
Tests run: 37, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 144.839 sec <<<
FAILURE! - in org.apache.qpid.client.failover.FailoverBehaviourTest
testConnectionCloseInterruptsFailover(org.apache.qpid.client.failover.FailoverBehaviourTest)
 Time elapsed: 3.446 sec  <<< ERROR!
javax.jms.JMSException: Error closing connection: javax.jms.JMSException: Error closing session:
org.apache.qpid.AMQException: Command was interrupted because of failover, before being sent
[error code 541: internal error]
        at org.apache.qpid.client.AMQSession_0_10.setCurrentException(AMQSession_0_10.java:1063)
        at org.apache.qpid.client.AMQSession_0_10.sendClose(AMQSession_0_10.java:420)
        at org.apache.qpid.client.AMQSession.close(AMQSession.java:756)
        at org.apache.qpid.client.AMQSession.close(AMQSession.java:728)
        at org.apache.qpid.client.AMQConnection.closeAllSessions(AMQConnection.java:1176)
        at org.apache.qpid.client.AMQConnection.doClose(AMQConnection.java:1103)
        at org.apache.qpid.client.AMQConnection.doClose(AMQConnection.java:1092)
        at org.apache.qpid.client.AMQConnection.close(AMQConnection.java:1076)
        at org.apache.qpid.client.AMQConnection.close(AMQConnection.java:1057)
        at org.apache.qpid.client.failover.FailoverBehaviourTest.testConnectionCloseInterruptsFailover(FailoverBehaviourTest.java:1163)
{code}
{code}
Tests run: 37, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 144.301 sec <<<
FAILURE! - in org.apache.qpid.client.failover.AddressBasedFailoverBehaviourTest
testConnectionCloseInterruptsFailover(org.apache.qpid.client.failover.AddressBasedFailoverBehaviourTest)
 Time elapsed: 3.468 sec  <<< ERROR!
javax.jms.JMSException: Error closing connection: javax.jms.JMSException: Error closing session:
org.apache.qpid.AMQException: Command was interrupted because of failover, before being sent
[error code 541: internal error]
        at org.apache.qpid.client.AMQConnection.doClose(AMQConnection.java:1113)
        at org.apache.qpid.client.AMQConnection.doClose(AMQConnection.java:1092)
        at org.apache.qpid.client.AMQConnection.close(AMQConnection.java:1076)
        at org.apache.qpid.client.AMQConnection.close(AMQConnection.java:1057)
        at org.apache.qpid.client.failover.FailoverBehaviourTest.testConnectionCloseInterruptsFailover(FailoverBehaviourTest.java:1163)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at junit.framework.TestCase.runTest(TestCase.java:176)
        at org.apache.qpid.test.utils.QpidTestCase.runTest(QpidTestCase.java:171)
        at junit.framework.TestCase.runBare(TestCase.java:141)
        at org.apache.qpid.test.utils.QpidBrokerTestCase.runBare(QpidBrokerTestCase.java:332)
        at junit.framework.TestResult$1.protect(TestResult.java:122)
        at junit.framework.TestResult.runProtected(TestResult.java:142)
        at junit.framework.TestResult.run(TestResult.java:125)
        at junit.framework.TestCase.run(TestCase.java:129)
        at org.apache.qpid.test.utils.QpidTestCase.run(QpidTestCase.java:156)
        at junit.framework.TestSuite.runTest(TestSuite.java:255)
        at junit.framework.TestSuite.run(TestSuite.java:250)
        at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84)
        at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264)
        at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
        at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124)
        at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)
        at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
        at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
Caused by: javax.jms.JMSException: Error closing session: org.apache.qpid.AMQException: Command
was interrupted because of failover, before being sent [error code 541: internal error]
        at org.apache.qpid.client.AMQSession.close(AMQSession.java:762)
        at org.apache.qpid.client.AMQSession.close(AMQSession.java:728)
        at org.apache.qpid.client.AMQConnection.closeAllSessions(AMQConnection.java:1176)
        at org.apache.qpid.client.AMQConnection.doClose(AMQConnection.java:1103)
        at org.apache.qpid.client.AMQConnection.doClose(AMQConnection.java:1092)
        at org.apache.qpid.client.AMQConnection.close(AMQConnection.java:1076)
        at org.apache.qpid.client.AMQConnection.close(AMQConnection.java:1057)
        at org.apache.qpid.client.failover.FailoverBehaviourTest.testConnectionCloseInterruptsFailover(FailoverBehaviourTest.java:1163)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at junit.framework.TestCase.runTest(TestCase.java:176)
        at org.apache.qpid.test.utils.QpidTestCase.runTest(QpidTestCase.java:171)
        at junit.framework.TestCase.runBare(TestCase.java:141)
        at org.apache.qpid.test.utils.QpidBrokerTestCase.runBare(QpidBrokerTestCase.java:332)
        at junit.framework.TestResult$1.protect(TestResult.java:122)
        at junit.framework.TestResult.runProtected(TestResult.java:142)
        at junit.framework.TestResult.run(TestResult.java:125)
        at junit.framework.TestCase.run(TestCase.java:129)
        at org.apache.qpid.test.utils.QpidTestCase.run(QpidTestCase.java:156)
        at junit.framework.TestSuite.runTest(TestSuite.java:255)
        at junit.framework.TestSuite.run(TestSuite.java:250)
        at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84)
        at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264)
        at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
        at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124)
        at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)
        at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
        at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
Caused by: org.apache.qpid.AMQException: Command was interrupted because of failover, before
being sent
        at org.apache.qpid.client.AMQSession_0_10.setCurrentException(AMQSession_0_10.java:1063)
        at org.apache.qpid.client.AMQSession_0_10.sendClose(AMQSession_0_10.java:420)
        at org.apache.qpid.client.AMQSession.close(AMQSession.java:756)
        at org.apache.qpid.client.AMQSession.close(AMQSession.java:728)
        at org.apache.qpid.client.AMQConnection.closeAllSessions(AMQConnection.java:1176)
        at org.apache.qpid.client.AMQConnection.doClose(AMQConnection.java:1103)
        at org.apache.qpid.client.AMQConnection.doClose(AMQConnection.java:1092)
        at org.apache.qpid.client.AMQConnection.close(AMQConnection.java:1076)
        at org.apache.qpid.client.AMQConnection.close(AMQConnection.java:1057)
        at org.apache.qpid.client.failover.FailoverBehaviourTest.testConnectionCloseInterruptsFailover(FailoverBehaviourTest.java:1163)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at junit.framework.TestCase.runTest(TestCase.java:176)
        at org.apache.qpid.test.utils.QpidTestCase.runTest(QpidTestCase.java:171)
        at junit.framework.TestCase.runBare(TestCase.java:141)
        at org.apache.qpid.test.utils.QpidBrokerTestCase.runBare(QpidBrokerTestCase.java:332)
        at junit.framework.TestResult$1.protect(TestResult.java:122)
        at junit.framework.TestResult.runProtected(TestResult.java:142)
        at junit.framework.TestResult.run(TestResult.java:125)
        at junit.framework.TestCase.run(TestCase.java:129)
        at org.apache.qpid.test.utils.QpidTestCase.run(QpidTestCase.java:156)
        at junit.framework.TestSuite.runTest(TestSuite.java:255)
        at junit.framework.TestSuite.run(TestSuite.java:250)
        at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84)
        at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264)
        at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
        at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124)
        at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)
        at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
        at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
{code}




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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


Mime
View raw message