You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Philip Harvey (Created) (JIRA)" <ji...@apache.org> on 2012/04/05 11:09:37 UTC

[jira] [Created] (QPID-3934) QpidBrokerTestCase.getConnection sometimes fails on a slow CI server

QpidBrokerTestCase.getConnection sometimes fails on a slow CI server
--------------------------------------------------------------------

                 Key: QPID-3934
                 URL: https://issues.apache.org/jira/browse/QPID-3934
             Project: Qpid
          Issue Type: Bug
          Components: Java Tests
    Affects Versions: 0.16
         Environment: A Jenkins instance (not the Apache one), running on a slow server.
            Reporter: Philip Harvey
            Priority: Minor


In the last few builds, two have failed because QpidBrokerTestCase.getConnection throws this exception, in each time in a different test:

{noformat}
javax.jms.JMSException: Error creating connection: connect() aborted
    at org.apache.qpid.client.AMQConnectionFactory.createConnection(AMQConnectionFactory.java:153)
    at org.apache.qpid.client.AMQConnectionFactory.createConnection(AMQConnectionFactory.java:128)
    at org.apache.qpid.test.utils.QpidBrokerTestCase.getConnection(QpidBrokerTestCase.java:1006)
    at org.apache.qpid.test.utils.QpidBrokerTestCase.getConnection(QpidBrokerTestCase.java:980)
    at org.apache.qpid.client.AsynchMessageListenerTest.setUp(AsynchMessageListenerTest.java:59)
    at org.apache.qpid.test.utils.QpidBrokerTestCase.runBare(QpidBrokerTestCase.java:242)
    at org.apache.qpid.test.utils.QpidTestCase.run(QpidTestCase.java:138)
Caused by: org.apache.qpid.AMQConnectionFailureException: connect() aborted [error code 200: reply success]
    at org.apache.qpid.client.AMQConnection.<init>(AMQConnection.java:438)
    at org.apache.qpid.client.AMQConnectionFactory.createConnection(AMQConnectionFactory.java:149)
Caused by: org.apache.qpid.AMQException: Cannot connect to broker: connect() aborted [error code 200: reply success]
    at org.apache.qpid.client.AMQConnectionDelegate_0_10.makeBrokerConnection(AMQConnectionDelegate_0_10.java:238)
    at org.apache.qpid.client.AMQConnection.makeBrokerConnection(AMQConnection.java:582)
    at org.apache.qpid.client.AMQConnection.<init>(AMQConnection.java:361)
Caused by: org.apache.qpid.transport.ConnectionException: connect() aborted
    at org.apache.qpid.transport.Connection.connect(Connection.java:274)
    at org.apache.qpid.client.AMQConnectionDelegate_0_10.makeBrokerConnection(AMQConnectionDelegate_0_10.java:219)
{noformat}



--
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: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org