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

Some 0-10 system tests fail with "java.net.SocketException: Connection reset"

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 0.19
    • Fix Version/s: None
    • Component/s: Java Common
    • Labels:
      None

      Description

      We see a couple of test cases such as SubscriptionTest.testTopicDurableConsumerMessageSize and GlobalQueuesTest.testTopicConsumerMessageCount are sometimes failing with the following message:

      e.g.

      https://builds.apache.org/view/M-R/view/Qpid/job/Qpid-Java-Java-BDB-TestMatrix/531/jdk=JDK%201.6%20(latest),label=Ubuntu,profile=java-bdb.0-10/testReport/junit/org.apache.qpid.systest/GlobalQueuesTest/testTopicConsumerMessageCount/
      https://builds.apache.org/job/Qpid-Java-Java-BDB-TestMatrix/lastCompletedBuild/jdk=JDK%201.6%20(latest),label=Ubuntu,profile=java-bdb.0-10/testReport/org.apache.qpid.systest/SubscriptionTest/testTopicDurableConsumerMessageSize/

      Error Message
      
      Error closing connection: org.apache.qpid.AMQException: java.net.SocketException: Connection reset
      Stacktrace
      
      javax.jms.JMSException: Error closing connection: org.apache.qpid.AMQException: java.net.SocketException: Connection reset
      	at org.apache.qpid.client.AMQConnection.doClose(AMQConnection.java:897)
      	at org.apache.qpid.client.AMQConnection.close(AMQConnection.java:832)
      	at org.apache.qpid.client.AMQConnection.close(AMQConnection.java:823)
      	at org.apache.qpid.client.AMQConnection.close(AMQConnection.java:818)
      	at org.apache.qpid.test.utils.QpidBrokerTestCase.tearDown(QpidBrokerTestCase.java:1183)
      	at org.apache.qpid.test.utils.QpidBrokerTestCase.runBare(QpidBrokerTestCase.java:244)
      	at org.apache.qpid.test.utils.QpidTestCase.run(QpidTestCase.java:137)
      Caused by: org.apache.qpid.AMQException: java.net.SocketException: Connection reset
      	at org.apache.qpid.client.AMQConnectionDelegate_0_10.closeConnection(AMQConnectionDelegate_0_10.java:274)
      	at org.apache.qpid.client.AMQConnection.doClose(AMQConnection.java:881)
      Caused by: org.apache.qpid.transport.ConnectionException: java.net.SocketException: Connection reset
      	at org.apache.qpid.transport.Connection.close(Connection.java:634)
      	at org.apache.qpid.transport.Connection.close(Connection.java:605)
      	at org.apache.qpid.transport.Connection.close(Connection.java:580)
      	at org.apache.qpid.client.AMQConnectionDelegate_0_10.closeConnection(AMQConnectionDelegate_0_10.java:270)
      Caused by: org.apache.qpid.transport.ConnectionException: java.net.SocketException: Connection reset
      	at org.apache.qpid.transport.Connection.exception(Connection.java:528)
      	at org.apache.qpid.transport.network.Assembler.exception(Assembler.java:107)
      	at org.apache.qpid.transport.network.InputHandler.exception(InputHandler.java:199)
      	at org.apache.qpid.transport.network.io.IoReceiver.run(IoReceiver.java:169)
      	at java.lang.Thread.run(Thread.java:662)
      Caused by: org.apache.qpid.transport.SenderException: java.net.SocketException: Connection reset
      	at org.apache.qpid.transport.network.io.IoSender.close(IoSender.java:234)
      	at org.apache.qpid.transport.network.io.IoSender.close(IoSender.java:194)
      	at org.apache.qpid.transport.network.Disassembler.close(Disassembler.java:88)
      	at org.apache.qpid.transport.ConnectionDelegate.connectionCloseOk(ConnectionDelegate.java:87)
      	at org.apache.qpid.transport.ConnectionDelegate.connectionCloseOk(ConnectionDelegate.java:40)
      	at org.apache.qpid.transport.ConnectionCloseOk.dispatch(ConnectionCloseOk.java:82)
      	at org.apache.qpid.transport.ConnectionDelegate.control(ConnectionDelegate.java:49)
      	at org.apache.qpid.transport.ConnectionDelegate.control(ConnectionDelegate.java:40)
      	at org.apache.qpid.transport.Method.delegate(Method.java:163)
      	at org.apache.qpid.transport.Connection.received(Connection.java:375)
      	at org.apache.qpid.transport.Connection.received(Connection.java:67)
      	at org.apache.qpid.transport.network.Assembler.emit(Assembler.java:97)
      	at org.apache.qpid.transport.network.Assembler.assemble(Assembler.java:183)
      	at org.apache.qpid.transport.network.Assembler.frame(Assembler.java:131)
      	at org.apache.qpid.transport.network.Frame.delegate(Frame.java:128)
      	at org.apache.qpid.transport.network.Assembler.received(Assembler.java:102)
      	at org.apache.qpid.transport.network.Assembler.received(Assembler.java:44)
      	at org.apache.qpid.transport.network.InputHandler.next(InputHandler.java:189)
      	at org.apache.qpid.transport.network.InputHandler.received(InputHandler.java:105)
      	at org.apache.qpid.transport.network.InputHandler.received(InputHandler.java:44)
      	at org.apache.qpid.transport.network.io.IoReceiver.run(IoReceiver.java:152)
      Caused by: java.net.SocketException: Connection reset
      	at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:96)
      	at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
      	at org.apache.qpid.transport.network.io.IoSender.run(IoSender.java:313)
      

        Attachments

          Activity

            People

            • Assignee:
              kwall Keith Wall
              Reporter:
              kwall Keith Wall
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: