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: [email protected]
For additional commands, e-mail: [email protected]