Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI Failure (uneven distribution of group coordinators) in ConsumerGroupBalancingTest.test_coordinator_nodes_balance #9697

Closed
abhijat opened this issue Mar 29, 2023 · 17 comments · Fixed by #16775
Labels

Comments

@abhijat
Copy link
Contributor

abhijat commented Mar 29, 2023

https://buildkite.com/redpanda/redpanda/builds/25896#018726b5-759c-4f47-945f-75913c8092ad

Module: rptest.tests.consumer_group_balancing_test
Class:  ConsumerGroupBalancingTest
Method: test_coordinator_nodes_balance

The error thrown is related to uneven distribution of group coordinators, a relevant log before the error is:

[ERROR - 2023-03-28 06:13:54,299 - consumer_group_balancing_test - test_coordinator_nodes_balance - lineno:194]: Uneven distribution of group coordinators across nodes. coordinators of groups: {1: 2, 2: 1}, groups: 3, brokers: 3, coord_density: [2, 1], expected_coord_density: [1, 1, 1]

It looks like one node was assigned two groups instead of each node having one group to coordinate.

test_id:    rptest.tests.consumer_group_balancing_test.ConsumerGroupBalancingTest.test_coordinator_nodes_balance
--
  | status:     FAIL
  | run time:   22.018 seconds
  |  
  |  
  | RuntimeError('Uneven distribution of group coordinators across brokers')
  | Traceback (most recent call last):
  | File "/usr/local/lib/python3.10/dist-packages/ducktape/tests/runner_client.py", line 135, in run
  | data = self.run_test()
  | File "/usr/local/lib/python3.10/dist-packages/ducktape/tests/runner_client.py", line 227, in run_test
  | return self.test_context.function(self.test)
  | File "/root/tests/rptest/services/cluster.py", line 49, in wrapped
  | r = f(self, *args, **kwargs)
  | File "/root/tests/rptest/tests/consumer_group_balancing_test.py", line 200, in test_coordinator_nodes_balance
  | raise RuntimeError(
  | RuntimeError: Uneven distribution of group coordinators across brokers
@rystsov
Copy link
Contributor

rystsov commented Mar 30, 2023

@rystsov rystsov changed the title CI Failure uneven distribution of group coordinators across brokers in ConsumerGroupBalancingTest.test_coordinator_nodes_balance CI Failure (uneven distribution of group coordinators) in ConsumerGroupBalancingTest.test_coordinator_nodes_balance Mar 30, 2023
@andijcr
Copy link
Contributor

andijcr commented Apr 3, 2023

https://buildkite.com/redpanda/redpanda/builds/26242#01873b74-085c-4f52-b5dc-50cbc62c0b8

FAIL test: ConsumerGroupBalancingTest.test_coordinator_nodes_balance (1/49 runs)
259   failure at 2023-04-01T07:34:49.453Z: RuntimeError('Uneven distribution of group coordinators across brokers')
260       on (amd64, container) in job https://buildkite.com/redpanda/redpanda/builds/26242#01873b74-085c-4f52-b5dc-50cbc62c0b8

@jcsp
Copy link
Contributor

jcsp commented Apr 11, 2023

@dotnwat
Copy link
Member

dotnwat commented Apr 19, 2023

@ztlpn
Copy link
Contributor

ztlpn commented May 2, 2023

@BenPope
Copy link
Member

BenPope commented May 8, 2023

@michael-redpanda
Copy link
Contributor

@VladLazar
Copy link
Contributor

FAIL test: ConsumerGroupBalancingTest.test_coordinator_nodes_balance (1/67 runs)
  failure at 2023-05-22T12:04:16.163Z: RuntimeError('Uneven distribution of group coordinators across brokers')
      on (amd64, container) in job https://buildkite.com/redpanda/redpanda/builds/29566#01884312-0d99-44f6-91d3-64e17c51bc74

@NyaliaLui
Copy link
Contributor

@NyaliaLui
Copy link
Contributor

FAIL test: ConsumerGroupBalancingTest.test_coordinator_nodes_balance (1/31 runs)
  failure at 2023-05-26T07:16:22.076Z: RuntimeError('Uneven distribution of group coordinators across brokers')
      on (amd64, container) in job https://buildkite.com/redpanda/redpanda/builds/29955#018856ae-e95d-4020-a793-ab515874ccff

@travisdowns
Copy link
Member

FAIL test: ConsumerGroupBalancingTest.test_coordinator_nodes_balance (1/13 runs)
failure at 2023-06-20T16:15:26.302Z: RuntimeError('Uneven distribution of group coordinators across brokers')
on (amd64, container) in job https://buildkite.com/redpanda/redpanda/builds/31650#0188d959-5be6-494e-9304-8f89c7e65e45

@dotnwat
Copy link
Member

dotnwat commented Jun 27, 2023

@dotnwat
Copy link
Member

dotnwat commented Jun 28, 2023

@vbotbuildovich
Copy link
Collaborator

@vbotbuildovich
Copy link
Collaborator

mmaslankaprv added a commit to mmaslankaprv/redpanda that referenced this issue Feb 28, 2024
Refactor consumer group balancing test to directly validate
`__consumer_offsets` partition replicas placement instead of validating
consumer groups coordinators.

Fixes: redpanda-data#9697

Signed-off-by: Michal Maslanka <michal@redpanda.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.