Qpid
  1. Qpid
  2. QPID-4052

HAClusterTwoNodeTest.testSecondaryDesignatedAsPrimaryAfterOrginalPrimaryStopped occasionally fails on Apache CI

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.17
    • Fix Version/s: 0.17
    • Component/s: Java Broker, 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)
      

        Activity

        Rob Godfrey made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Rob Godfrey made changes -
        Component/s Java Broker [ 12311388 ]
        Component/s Java Broker BDB Store [ 12315809 ]
        Robbie Gemmell made changes -
        Status Ready To Review [ 10006 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Keith Wall made changes -
        Assignee Keith Wall [ k-wall ] Philip Harvey [ philharveyonline ]
        Keith Wall made changes -
        Status In Progress [ 3 ] Ready To Review [ 10006 ]
        Keith Wall made changes -
        Field Original Value New Value
        Status Open [ 1 ] In Progress [ 3 ]
        Keith Wall created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development