apalan60 commented on PR #20772:
URL: https://github.com/apache/kafka/pull/20772#issuecomment-3446659843
Test command:
```
TC_PATHS="tests/kafkatest/tests/client/consumer_test.py::OffsetValidationTest.test_fencing_static_consumer"
_DUCKTAPE_OPTIONS='--parameters
'\''{"fencing_stage":"stable","group_protocol":"consumer","num_conflict_consumers":1,"metadata_quorum":"ISOLATED_KRAFT"}'\'
bash tests/docker/run_tests.sh
```
Before:
```
====================================================================================================
SESSION REPORT (ALL TESTS)
ducktape version: 0.12.0
session_id: 2025-10-25--006
run time: 2 minutes 2.210 seconds
tests run: 1
passed: 0
flaky: 0
failed: 1
ignored: 0
====================================================================================================
test_id:
kafkatest.tests.client.consumer_test.OffsetValidationTest.test_fencing_static_consumer.fencing_stage=stable.group_protocol=consumer.num_conflict_consumers=1.metadata_quorum=ISOLATED_KRAFT
status: FAIL
run time: 2 minutes 2.092 seconds
TimeoutError('Timed out waiting for the consumers to be removed from the
group.')
Traceback (most recent call last):
File
"/usr/local/lib/python3.9/dist-packages/ducktape/tests/runner_client.py", line
351, in _do_run
data = self.run_test()
File
"/usr/local/lib/python3.9/dist-packages/ducktape/tests/runner_client.py", line
411, in run_test
return self.test_context.function(self.test)
File "/usr/local/lib/python3.9/dist-packages/ducktape/mark/_mark.py", line
438, in wrapper
return functools.partial(f, *args, **kwargs)(*w_args, **w_kwargs)
File "/opt/kafka-dev/tests/kafkatest/tests/client/consumer_test.py", line
341, in test_fencing_static_consumer
wait_until(lambda: self.group_id in
self.kafka.list_consumer_groups(state="empty"),
File "/usr/local/lib/python3.9/dist-packages/ducktape/utils/util.py", line
58, in wait_until
raise TimeoutError(err_msg() if callable(err_msg) else err_msg) from
last_exception
ducktape.errors.TimeoutError: Timed out waiting for the consumers to be
removed from the group.
----------------------------------------------------------------------------------------------------
```
After:
```
====================================================================================================
SESSION REPORT (ALL TESTS)
ducktape version: 0.12.0
session_id: 2025-10-25--008
run time: 1 minute 35.257 seconds
tests run: 1
passed: 1
flaky: 0
failed: 0
ignored: 0
====================================================================================================
test_id:
kafkatest.tests.client.consumer_test.OffsetValidationTest.test_fencing_static_consumer.fencing_stage=stable.group_protocol=consumer.num_conflict_consumers=1.metadata_quorum=ISOLATED_KRAFT
status: PASS
run time: 1 minute 35.141 seconds
----------------------------------------------------------------------------------------------------
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]