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

New consumer fails with stop within allotted timeout in consumer_test.py 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_bounce.clean_shutdown=True.bounce_mode=rolling.metadata_quorum=ISOLATED_KRAFT.use_new_coordinator=True.group_protocol=consumer
      status:     FAIL
      run time:   2 minutes 35.925 seconds
      
      
          AssertionError('Node ubuntu@worker5: did not stop within the specified timeout of 30 seconds')
      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 176, in test_consumer_bounce
          self.rolling_bounce_consumers(consumer, clean_shutdown=clean_shutdown)
        File "/home/jenkins/workspace/system-test-kafka-branch-builder/kafka/tests/kafkatest/tests/client/consumer_test.py", line 39, in rolling_bounce_consumers
          consumer.stop_node(node, clean_shutdown)
        File "/home/jenkins/workspace/system-test-kafka-branch-builder/kafka/tests/kafkatest/services/verifiable_consumer.py", line 419, in stop_node
          (str(node.account), str(self.stop_timeout_sec))
      AssertionError: Node ubuntu@worker5: did not stop within the specified timeout of 30 seconds
      

      Affected tests:

      • test_broker_failure
      • test_consumer_bounce

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: