Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-1418

transient unit test failure in ProducerFailureHandlingTest

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.8.2.0
    • Fix Version/s: 0.8.2.0
    • Component/s: core
    • Labels:
      None

      Description

      Saw the following transient failure.

      kafka.api.ProducerFailureHandlingTest > testWrongBrokerList PASSED

      kafka.api.ProducerFailureHandlingTest > testNoResponse FAILED
      kafka.common.KafkaException: Socket server failed to bind to localhost:49013: Address already in use.
      at kafka.network.Acceptor.openServerSocket(SocketServer.scala:195)
      at kafka.network.Acceptor.<init>(SocketServer.scala:141)
      at kafka.network.SocketServer.startup(SocketServer.scala:68)
      at kafka.server.KafkaServer.startup(KafkaServer.scala:84)
      at kafka.utils.TestUtils$.createServer(TestUtils.scala:120)
      at kafka.api.ProducerFailureHandlingTest.setUp(ProducerFailureHandlingTest.scala:80)

      Caused by:
      java.net.BindException: Address already in use
      at sun.nio.ch.Net.bind(Native Method)
      at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:124)
      at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59)
      at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:52)
      at kafka.network.Acceptor.openServerSocket(SocketServer.scala:191)
      ... 5 more

        Attachments

          Activity

            People

            • Assignee:
              junrao Jun Rao
              Reporter:
              junrao Jun Rao
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: