[
https://issues.apache.org/jira/browse/KAFKA-17295?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Jacot resolved KAFKA-17295.
---------------------------------
Assignee: Dongnuo Lyu
Resolution: Fixed
Fixed by https://github.com/apache/kafka/pull/16845.
> New consumer fails with assert in consumer_test.py’s
> test_fencing_static_consumer system test
> ---------------------------------------------------------------------------------------------
>
> Key: KAFKA-17295
> URL: https://issues.apache.org/jira/browse/KAFKA-17295
> Project: Kafka
> Issue Type: Bug
> Components: clients, consumer, system tests
> Affects Versions: 3.8.0
> Reporter: Kirk True
> Assignee: Dongnuo Lyu
> Priority: Blocker
> Labels: kip-848-client-support, system-tests
> Fix For: 4.0.0
>
>
> I'm occasionally seeing this error in {{test_fencing_static_consumer}}:
> {code}
> AssertionError('Static consumers attempt to join with instance id in use
> should not cause a rebalance')
> Traceback (most recent call last):
> File
> "/home/semaphore/kafka-overlay/kafka/venv/lib/python3.8/site-packages/ducktape/tests/runner_client.py",
> line 184, in _do_run
> data = self.run_test()
> File
> "/home/semaphore/kafka-overlay/kafka/venv/lib/python3.8/site-packages/ducktape/tests/runner_client.py",
> line 262, in run_test
> return self.test_context.function(self.test)
> File
> "/home/semaphore/kafka-overlay/kafka/venv/lib/python3.8/site-packages/ducktape/mark/_mark.py",
> line 433, in wrapper
> return functools.partial(f, *args, **kwargs)(*w_args, **w_kwargs)
> File
> "/home/semaphore/kafka-overlay/kafka/tests/kafkatest/tests/client/consumer_test.py",
> line 366, in test_fencing_static_consumer
> assert num_rebalances == consumer.num_rebalances(), "Static consumers
> attempt to join with instance id in use should not cause a rebalance"
> AssertionError: Static consumers attempt to join with instance id in use
> should not cause a rebalance{code}
> The parameters to the test were:
> * {{num_conflict_consumers}}: {{1}}
> * {{fencing_stage}}: {{stable}}
> * {{metadata_quorum}}: {{ISOLATED_KRAFT}}
> * {{use_new_coordinator}}: {{True}}
> * {{group_protocol}}: {{consumer}}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)