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

New consumer fails with assert in consumer_test.py’s test_consumer_failure system test

    XMLWordPrintableJSON

Details

    Description

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

      test_id:    kafkatest.tests.client.consumer_test.OffsetValidationTest.test_consumer_failure.clean_shutdown=True.enable_autocommit=True.metadata_quorum=ISOLATED_KRAFT.use_new_coordinator=True.group_protocol=consumer
      status:     FAIL
      run time:   42.582 seconds
      
      
          AssertionError()
      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 399, in test_consumer_failure
          assert partition_owner is not None
      AssertionError
      Notify
      

      Affected tests:

      • test_consumer_failure

      Attachments

        Activity

          People

            Unassigned Unassigned
            kirktrue Kirk True
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: