Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-4052

HAClusterTwoNodeTest.testSecondaryDesignatedAsPrimaryAfterOrginalPrimaryStopped occasionally fails on Apache CI

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.17
    • Fix Version/s: 0.17
    • Component/s: Broker-J, Java Tests
    • Labels:
      None

      Description

      New HA test is showing occasionally failures on Apache CI e.g. builds 297 and 298.

      https://builds.apache.org/view/M-R/view/Qpid/job/Qpid-Java-Java-BDB-TestMatrix/297/jdk=JDK%201.6%20%28latest%29,label=Ubuntu,profile=java-bdb.0-10/testReport/junit/org.apache.qpid.server.store.berkeleydb/HAClusterTwoNodeTest/testSecondaryDesignatedAsPrimaryAfterOrginalPrimaryStopped/

      https://builds.apache.org/view/M-R/view/Qpid/job/Qpid-Java-Java-BDB-TestMatrix/298/jdk=JDK%201.6%20%28latest%29,label=Ubuntu,profile=java-bdb.0-10/testReport/org.apache.qpid.server.store.berkeleydb/HAClusterTwoNodeTest/testSecondaryDesignatedAsPrimaryAfterOrginalPrimaryStopped/

      javax.jms.JMSException: Error creating connection: Connection refused
      	at org.apache.qpid.client.AMQConnectionFactory.createConnection(AMQConnectionFactory.java:159)
      	at org.apache.qpid.client.AMQConnectionFactory.createConnection(AMQConnectionFactory.java:134)
      	at org.apache.qpid.test.utils.QpidBrokerTestCase.getConnection(QpidBrokerTestCase.java:1038)
      	at org.apache.qpid.server.store.berkeleydb.HAClusterTwoNodeTest.testSecondaryDesignatedAsPrimaryAfterOrginalPrimaryStopped(HAClusterTwoNodeTest.java:189)
      	at org.apache.qpid.test.utils.QpidBrokerTestCase.runBare(QpidBrokerTestCase.java:237)
      	at org.apache.qpid.test.utils.QpidTestCase.run(QpidTestCase.java:139)
      Caused by: org.apache.qpid.AMQConnectionFailureException: Connection refused
      	at org.apache.qpid.client.AMQConnection.<init>(AMQConnection.java:444)
      	at org.apache.qpid.client.AMQConnectionFactory.createConnection(AMQConnectionFactory.java:155)
      Caused by: org.apache.qpid.transport.TransportException: Error connecting to broker
      	at org.apache.qpid.transport.network.io.IoNetworkTransport.connect(IoNetworkTransport.java:82)
      	at org.apache.qpid.transport.Connection.connect(Connection.java:235)
      	at org.apache.qpid.client.AMQConnectionDelegate_0_10.makeBrokerConnection(AMQConnectionDelegate_0_10.java:219)
      	at org.apache.qpid.client.AMQConnection.makeBrokerConnection(AMQConnection.java:588)
      	at org.apache.qpid.client.AMQConnection.<init>(AMQConnection.java:367)
      Caused by: java.net.ConnectException: Connection refused
      	at java.net.PlainSocketImpl.socketConnect(Native Method)
      	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
      	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
      	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
      	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
      	at java.net.Socket.connect(Socket.java:529)
      	at org.apache.qpid.transport.network.io.IoNetworkTransport.connect(IoNetworkTransport.java:78)
      

        Attachments

          Activity

            People

            • Assignee:
              philharveyonline Philip Harvey
              Reporter:
              k-wall Keith Wall
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: