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

New consumer does not invoke rebalance callbacks as expected in consumer_test.py system test

    XMLWordPrintableJSON

Details

    Description

      The consumer_test.py system test fails with the following error:

      test_id:    kafkatest.tests.client.consumer_test.OffsetValidationTest.test_static_consumer_bounce.clean_shutdown=True.static_membership=False.bounce_mode=all.num_bounces=5.metadata_quorum=ISOLATED_KRAFT.use_new_coordinator=True.group_protocol=consumer
      status:     FAIL
      run time:   1 minute 29.511 seconds
      
      
          AssertionError('Total revoked count 0 does not match the expectation of having 0 revokes as 0')
      Traceback (most recent call last):
        File "/home/jenkins/workspace/system-test-kafka-branch-builder/kafka/venv/lib/python3.7/site-packages/ducktape/tests/runner_client.py", line 184, in _do_run
          data = self.run_test()
        File "/home/jenkins/workspace/system-test-kafka-branch-builder/kafka/venv/lib/python3.7/site-packages/ducktape/tests/runner_client.py", line 262, in run_test
          return self.test_context.function(self.test)
        File "/home/jenkins/workspace/system-test-kafka-branch-builder/kafka/venv/lib/python3.7/site-packages/ducktape/mark/_mark.py", line 433, in wrapper
          return functools.partial(f, *args, **kwargs)(*w_args, **w_kwargs)
        File "/home/jenkins/workspace/system-test-kafka-branch-builder/kafka/tests/kafkatest/tests/client/consumer_test.py", line 254, in test_static_consumer_bounce
          (num_revokes_after_bounce, check_condition)
      AssertionError: Total revoked count 0 does not match the expectation of having 0 revokes as 0
      

      Attachments

        Issue Links

          Activity

            People

              lianetm Lianet Magrans
              kirktrue Kirk True
              Lucas Brutschy Lucas Brutschy
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: