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

Flaky test ConsumerBounceTest#testRollingBrokerRestartsWithSmallerMaxGroupSizeConfigDisruptsBigGroup

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.2.0, 2.3.0
    • Fix Version/s: None
    • Component/s: clients
    • Labels:
      None

      Description

      I have seen this fail again just now. See also KAFKA-7965 and KAFKA-7936.

      https://builds.apache.org/job/kafka-pr-jdk11-scala2.12/3874/testReport/junit/kafka.api/ConsumerBounceTest/testRollingBrokerRestartsWithSmallerMaxGroupSizeConfigDisruptsBigGroup/

      Error Message
      org.scalatest.junit.JUnitTestFailedError: Should have received an class org.apache.kafka.common.errors.GroupMaxSizeReachedException during the cluster roll
      Stacktrace
      org.scalatest.junit.JUnitTestFailedError: Should have received an class org.apache.kafka.common.errors.GroupMaxSizeReachedException during the cluster roll
      	at org.scalatest.junit.AssertionsForJUnit.newAssertionFailedException(AssertionsForJUnit.scala:100)
      	at org.scalatest.junit.AssertionsForJUnit.newAssertionFailedException$(AssertionsForJUnit.scala:99)
      	at org.scalatest.junit.JUnitSuite.newAssertionFailedException(JUnitSuite.scala:71)
      	at org.scalatest.Assertions.fail(Assertions.scala:1089)
      	at org.scalatest.Assertions.fail$(Assertions.scala:1085)
      	at org.scalatest.junit.JUnitSuite.fail(JUnitSuite.scala:71)
      	at kafka.api.ConsumerBounceTest.testRollingBrokerRestartsWithSmallerMaxGroupSizeConfigDisruptsBigGroup(ConsumerBounceTest.scala:350)
      
      
      Standard Output
      [2019-04-18 18:26:47,487] ERROR [ReplicaFetcher replicaId=1, leaderId=0, fetcherId=0] Error for partition __consumer_offsets-0 at offset 0 (kafka.server.ReplicaFetcherThread:76)
      org.apache.kafka.common.errors.UnknownTopicOrPartitionException: This server does not host this topic-partition.
      [2019-04-18 18:26:47,676] ERROR [ReplicaFetcher replicaId=0, leaderId=1, fetcherId=0] Error for partition topic-0 at offset 0 (kafka.server.ReplicaFetcherThread:76)
      org.apache.kafka.common.errors.UnknownTopicOrPartitionException: This server does not host this topic-partition.
      [2019-04-18 18:26:47,677] ERROR [ReplicaFetcher replicaId=0, leaderId=2, fetcherId=0] Error for partition topic-1 at offset 0 (kafka.server.ReplicaFetcherThread:76)
      org.apache.kafka.common.errors.UnknownTopicOrPartitionException: This server does not host this topic-partition.
      [2019-04-18 18:26:47,698] ERROR [ReplicaFetcher replicaId=1, leaderId=2, fetcherId=0] Error for partition topic-1 at offset 0 (kafka.server.ReplicaFetcherThread:76)
      org.apache.kafka.common.errors.UnknownTopicOrPartitionException: This server does not host this topic-partition.
      [2019-04-18 18:26:48,023] ERROR [ReplicaFetcher replicaId=1, leaderId=0, fetcherId=0] Error for partition closetest-8 at offset 0 (kafka.server.ReplicaFetcherThread:76)
      org.apache.kafka.common.errors.UnknownTopicOrPartitionException: This server does not host this topic-partition.
      [2019-04-18 18:26:48,023] ERROR [ReplicaFetcher replicaId=1, leaderId=0, fetcherId=0] Error for partition closetest-2 at offset 0 (kafka.server.ReplicaFetcherThread:76)
      org.apache.kafka.common.errors.UnknownTopicOrPartitionException: This server does not host this topic-partition.
      [2019-04-18 18:26:48,023] ERROR [ReplicaFetcher replicaId=1, leaderId=0, fetcherId=0] Error for partition closetest-5 at offset 0 (kafka.server.ReplicaFetcherThread:76)
      org.apache.kafka.common.errors.UnknownTopicOrPartitionException: This server does not host this topic-partition.
      [2019-04-18 18:26:52,136] WARN Unable to read additional data from client sessionid 0x105058603f80001, likely client has closed socket (org.apache.zookeeper.server.NIOServerCnxn:376)
      [2019-04-18 18:27:00,021] ERROR [ReplicaFetcher replicaId=1, leaderId=0, fetcherId=0] Error for partition __consumer_offsets-0 at offset 0 (kafka.server.ReplicaFetcherThread:76)
      org.apache.kafka.common.errors.UnknownTopicOrPartitionException: This server does not host this topic-partition.
      [2019-04-18 18:27:00,025] ERROR [ReplicaFetcher replicaId=2, leaderId=0, fetcherId=0] Error for partition __consumer_offsets-0 at offset 0 (kafka.server.ReplicaFetcherThread:76)
      org.apache.kafka.common.errors.UnknownTopicOrPartitionException: This server does not host this topic-partition.
      [2019-04-18 18:27:00,198] ERROR [ReplicaFetcher replicaId=0, leaderId=1, fetcherId=0] Error for partition topic-0 at offset 0 (kafka.server.ReplicaFetcherThread:76)
      org.apache.kafka.common.errors.UnknownTopicOrPartitionException: This server does not host this topic-partition.
      [2019-04-18 18:27:00,198] ERROR [ReplicaFetcher replicaId=0, leaderId=2, fetcherId=0] Error for partition topic-1 at offset 0 (kafka.server.ReplicaFetcherThread:76)
      org.apache.kafka.common.errors.UnknownTopicOrPartitionException: This server does not host this topic-partition.
      [2019-04-18 18:27:14,032] ERROR [Consumer clientId=ConsumerTestConsumer, groupId=group2] Offset commit failed on partition topic-0 at offset 10: This is not the correct coordinator. (org.apache.kafka.clients.consumer.internals.ConsumerCoordinator:820)
      [2019-04-18 18:27:32,734] ERROR [ReplicaFetcher replicaId=2, leaderId=0, fetcherId=0] Error for partition __consumer_offsets-0 at offset 0 (kafka.server.ReplicaFetcherThread:76)
      org.apache.kafka.common.errors.UnknownTopicOrPartitionException: This server does not host this topic-partition.
      [2019-04-18 18:27:32,749] ERROR [ReplicaFetcher replicaId=1, leaderId=0, fetcherId=0] Error for partition __consumer_offsets-0 at offset 0 (kafka.server.ReplicaFetcherThread:76)
      org.apache.kafka.common.errors.UnknownTopicOrPartitionException: This server does not host this topic-partition.
      [2019-04-18 18:27:33,044] ERROR [ReplicaFetcher replicaId=2, leaderId=1, fetcherId=0] Error for partition topic-0 at offset 0 (kafka.server.ReplicaFetcherThread:76)
      org.apache.kafka.common.errors.UnknownTopicOrPartitionException: This server does not host this topic-partition.
      [2019-04-18 18:27:33,083] ERROR [ReplicaFetcher replicaId=0, leaderId=1, fetcherId=0] Error for partition topic-0 at offset 0 (kafka.server.ReplicaFetcherThread:76)
      org.apache.kafka.common.errors.UnknownTopicOrPartitionException: This server does not host this topic-partition.
      [2019-04-18 18:27:54,564] WARN Unable to read additional data from client sessionid 0x1050586b1640006, likely client has closed socket (org.apache.zookeeper.server.NIOServerCnxn:376)
      [2019-04-18 18:27:57,944] ERROR [ReplicaFetcher replicaId=1, leaderId=0, fetcherId=0] Error for partition __consumer_offsets-0 at offset 0 (kafka.server.ReplicaFetcherThread:76)
      org.apache.kafka.common.errors.UnknownTopicOrPartitionException: This server does not host this topic-partition.
      [2019-04-18 18:27:57,965] ERROR [ReplicaFetcher replicaId=2, leaderId=0, fetcherId=0] Error for partition __consumer_offsets-0 at offset 0 (kafka.server.ReplicaFetcherThread:76)
      org.apache.kafka.common.errors.UnknownTopicOrPartitionException: This server does not host this topic-partition.
      [2019-04-18 18:27:58,116] ERROR [ReplicaFetcher replicaId=1, leaderId=0, fetcherId=0] Error for partition topic-1 at offset 0 (kafka.server.ReplicaFetcherThread:76)
      org.apache.kafka.common.errors.UnknownTopicOrPartitionException: This server does not host this topic-partition.
      [2019-04-18 18:27:58,505] ERROR [ReplicaFetcher replicaId=1, leaderId=0, fetcherId=0] Error for partition fatal-exception-test-4 at offset 0 (kafka.server.ReplicaFetcherThread:76)
      org.apache.kafka.common.errors.UnknownTopicOrPartitionException: This server does not host this topic-partition.
      [2019-04-18 18:27:58,505] ERROR [ReplicaFetcher replicaId=1, leaderId=0, fetcherId=0] Error for partition fatal-exception-test-1 at offset 0 (kafka.server.ReplicaFetcherThread:76)
      org.apache.kafka.common.errors.UnknownTopicOrPartitionException: This server does not host this topic-partition.
      [2019-04-18 18:27:59,571] ERROR [Consumer clientId=ConsumerTestConsumer, groupId=fatal-exception-test] Attempt to join group failed due to fatal error: Consumer group The consumer group has reached its max size. already has the configured maximum number of members. (org.apache.kafka.clients.consumer.internals.AbstractCoordinator:556)
      [2019-04-18 18:27:59,573] ERROR [daemon-consumer-assignment]: Error due to (kafka.api.AbstractConsumerTest$ConsumerAssignmentPoller:76)
      org.apache.kafka.common.errors.GroupMaxSizeReachedException: Consumer group fatal-exception-test already has the configured maximum number of members.
      [2019-04-18 18:28:03,892] ERROR [ReplicaFetcher replicaId=0, leaderId=2, fetcherId=0] Error for partition __consumer_offsets-0 at offset 0 (kafka.server.ReplicaFetcherThread:76)
      org.apache.kafka.common.errors.UnknownTopicOrPartitionException: This server does not host this topic-partition.
      [2019-04-18 18:28:04,114] ERROR [ReplicaFetcher replicaId=0, leaderId=2, fetcherId=0] Error for partition topic-0 at offset 0 (kafka.server.ReplicaFetcherThread:76)
      org.apache.kafka.common.errors.UnknownTopicOrPartitionException: This server does not host this topic-partition.
      [2019-04-18 18:28:23,640] ERROR [ReplicaFetcher replicaId=1, leaderId=0, fetcherId=0] Error for partition group-max-size-test-3 at offset 0 (kafka.server.ReplicaFetcherThread:76)
      org.apache.kafka.common.errors.UnknownTopicOrPartitionException: This server does not host this topic-partition.
      [2019-04-18 18:28:23,640] ERROR [ReplicaFetcher replicaId=1, leaderId=0, fetcherId=0] Error for partition group-max-size-test-0 at offset 0 (kafka.server.ReplicaFetcherThread:76)
      org.apache.kafka.common.errors.UnknownTopicOrPartitionException: This server does not host this topic-partition.
      [2019-04-18 18:28:28,541] WARN Unable to read additional data from client sessionid 0x105058773690001, likely client has closed socket (org.apache.zookeeper.server.NIOServerCnxn:376)
      [2019-04-18 18:28:30,357] ERROR [Consumer clientId=ConsumerTestConsumer, groupId=group-max-size-test] Attempt to join group failed due to fatal error: Consumer group The consumer group has reached its max size. already has the configured maximum number of members. (org.apache.kafka.clients.consumer.internals.AbstractCoordinator:556)
      [2019-04-18 18:28:30,363] ERROR [daemon-consumer-assignment]: Error due to (kafka.api.AbstractConsumerTest$ConsumerAssignmentPoller:76)
      org.apache.kafka.common.errors.GroupMaxSizeReachedException: Consumer group group-max-size-test already has the configured maximum number of members.
      [2019-04-18 18:28:32,435] WARN Unable to read additional data from client sessionid 0x105058773690006, likely client has closed socket (org.apache.zookeeper.server.NIOServerCnxn:376)
      [2019-04-18 18:28:32,547] WARN Unable to read additional data from client sessionid 0x105058773690005, likely client has closed socket (org.apache.zookeeper.server.NIOServerCnxn:376)
      [2019-04-18 18:28:32,749] WARN Unable to read additional data from client sessionid 0x105058773690004, likely client has closed socket (org.apache.zookeeper.server.NIOServerCnxn:376)
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              vvcephei John Roesler
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: