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

transient test failure in UncleanLeaderElectionTest

    Details

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

      Description

      We have the following transient unit test failure in trunk.

      kafka.integration.UncleanLeaderElectionTest > testUncleanLeaderElectionEnabled FAILED
      org.I0Itec.zkclient.exception.ZkTimeoutException: Unable to connect to zookeeper server within timeout: 400
      at org.I0Itec.zkclient.ZkClient.connect(ZkClient.java:880)
      at org.I0Itec.zkclient.ZkClient.<init>(ZkClient.java:98)
      at org.I0Itec.zkclient.ZkClient.<init>(ZkClient.java:84)
      at kafka.consumer.ZookeeperConsumerConnector.connectZk(ZookeeperConsumerConnector.scala:169)
      at kafka.consumer.ZookeeperConsumerConnector.<init>(ZookeeperConsumerConnector.scala:125)
      at kafka.consumer.ZookeeperConsumerConnector.<init>(ZookeeperConsumerConnector.scala:141)
      at kafka.consumer.Consumer$.create(ConsumerConnector.scala:89)
      at kafka.integration.UncleanLeaderElectionTest.consumeAllMessages(UncleanLeaderElectionTest.scala:273)
      at kafka.integration.UncleanLeaderElectionTest.verifyUncleanLeaderElectionEnabled(UncleanLeaderElectionTest.scala:197)
      at kafka.integration.UncleanLeaderElectionTest.testUncleanLeaderElectionEnabled(UncleanLeaderElectionTest.scala:106)

      kafka.integration.UncleanLeaderElectionTest > testUncleanLeaderElectionDisabled PASSED

      kafka.integration.UncleanLeaderElectionTest > testUncleanLeaderElectionEnabledByTopicOverride PASSED

      kafka.integration.UncleanLeaderElectionTest > testCleanLeaderElectionDisabledByTopicOverride FAILED
      org.I0Itec.zkclient.exception.ZkTimeoutException: Unable to connect to zookeeper server within timeout: 400
      at org.I0Itec.zkclient.ZkClient.connect(ZkClient.java:880)
      at org.I0Itec.zkclient.ZkClient.<init>(ZkClient.java:98)
      at org.I0Itec.zkclient.ZkClient.<init>(ZkClient.java:84)
      at kafka.consumer.ZookeeperConsumerConnector.connectZk(ZookeeperConsumerConnector.scala:169)
      at kafka.consumer.ZookeeperConsumerConnector.<init>(ZookeeperConsumerConnector.scala:125)
      at kafka.consumer.ZookeeperConsumerConnector.<init>(ZookeeperConsumerConnector.scala:141)
      at kafka.consumer.Consumer$.create(ConsumerConnector.scala:89)
      at kafka.integration.UncleanLeaderElectionTest.consumeAllMessages(UncleanLeaderElectionTest.scala:273)
      at kafka.integration.UncleanLeaderElectionTest.verifyUncleanLeaderElectionDisabled(UncleanLeaderElectionTest.scala:214)
      at kafka.integration.UncleanLeaderElectionTest.testCleanLeaderElectionDisabledByTopicOverride(UncleanLeaderElectionTest.scala:148)

        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: