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 (partitions_rebalanced times out) in ScalingUpTest.test_on_demand_rebalancing #7756

Closed
VadimPlh opened this issue Dec 14, 2022 · 13 comments · Fixed by #9622
Closed
Assignees
Labels
area/raft ci-failure kind/bug Something isn't working

Comments

@VadimPlh
Copy link
Contributor

https://buildkite.com/redpanda/redpanda/builds/19738#01850f7e-257c-4950-be48-96aeee2ae651

TimeoutError('')
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 "/usr/local/lib/python3.10/dist-packages/ducktape/mark/_mark.py", line 476, in wrapper
    return functools.partial(f, *args, **kwargs)(*w_args, **w_kwargs)
  File "/root/tests/rptest/services/cluster.py", line 35, in wrapped
    r = f(self, *args, **kwargs)
  File "/root/tests/rptest/tests/scaling_up_test.py", line 195, in test_on_demand_rebalancing
    self.wait_for_partitions_rebalanced(total_replicas=total_replicas,
  File "/root/tests/rptest/tests/scaling_up_test.py", line 70, in wait_for_partitions_rebalanced
    wait_until(partitions_rebalanced,
  File "/usr/local/lib/python3.10/dist-packages/ducktape/utils/util.py", line 57, in wait_until
    raise TimeoutError(err_msg() if callable(err_msg) else err_msg) from last_exception
ducktape.errors.TimeoutError
@VadimPlh VadimPlh added kind/bug Something isn't working ci-failure labels Dec 14, 2022
@piyushredpanda
Copy link
Contributor

@rystsov : could you please help out here?

@jcsp jcsp added the area/raft label Dec 19, 2022
@jcsp jcsp changed the title ScalingUpTest.test_on_demand_rebalancing Failure in ScalingUpTest.test_on_demand_rebalancing Dec 19, 2022
@ZeDRoman ZeDRoman assigned ZeDRoman and unassigned rystsov Jan 31, 2023
@ZeDRoman
Copy link
Contributor

ZeDRoman commented Feb 6, 2023

Failure happend because redpana with node_id: 4 couldn't join cluster.
This happened because data on docker-rp-4 was not cleaned before the tests, so node already had data in controller log and it's controller log term was 5 on startup. So it couldn't connect to cluster.

This problem is already fixed by Michal in #7789 by adding node clean up in commit: 1f8c381

@michael-redpanda
Copy link
Contributor

@VladLazar
Copy link
Contributor

@VladLazar
Copy link
Contributor

@Lazin
Copy link
Contributor

Lazin commented Mar 27, 2023

@rystsov
Copy link
Contributor

rystsov commented Mar 27, 2023

https://buildkite.com/redpanda/redpanda/builds/25828#01871c88-1e53-4862-9fe9-aa926e17dd79

Module: rptest.tests.scaling_up_test
Class:  ScalingUpTest
Method: test_on_demand_rebalancing
Arguments:
{
  "partition_count": 20
}
test_id:    rptest.tests.scaling_up_test.ScalingUpTest.test_on_demand_rebalancing.partition_count=20
status:     FAIL
run time:   3 minutes 43.785 seconds

    TimeoutError('')
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 "/usr/local/lib/python3.10/dist-packages/ducktape/mark/_mark.py", line 481, in wrapper
    return functools.partial(f, *args, **kwargs)(*w_args, **w_kwargs)
  File "/root/tests/rptest/services/cluster.py", line 49, in wrapped
    r = f(self, *args, **kwargs)
  File "/root/tests/rptest/tests/scaling_up_test.py", line 211, in test_on_demand_rebalancing
    self.wait_for_partitions_rebalanced(total_replicas=total_replicas,
  File "/root/tests/rptest/tests/scaling_up_test.py", line 84, in wait_for_partitions_rebalanced
    wait_until(partitions_rebalanced,
  File "/usr/local/lib/python3.10/dist-packages/ducktape/utils/util.py", line 57, in wait_until
    raise TimeoutError(err_msg() if callable(err_msg) else err_msg) from last_exception
ducktape.errors.TimeoutError

@rystsov
Copy link
Contributor

rystsov commented Mar 27, 2023

@rystsov rystsov changed the title Failure in ScalingUpTest.test_on_demand_rebalancing CI Failure (partitions_rebalanced times out) in ScalingUpTest.test_on_demand_rebalancing Mar 28, 2023
@abhijat
Copy link
Contributor

abhijat commented Mar 29, 2023

@VladLazar
Copy link
Contributor

@rystsov
Copy link
Contributor

rystsov commented Mar 30, 2023

@rystsov
Copy link
Contributor

rystsov commented Mar 30, 2023

@abhijat
Copy link
Contributor

abhijat commented Mar 31, 2023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/raft ci-failure kind/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

10 participants