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 (arm64 AssertionError used_ratio < 0.81) in PartitionBalancerTest.test_full_nodes #9788

Closed
andijcr opened this issue Apr 3, 2023 · 4 comments · Fixed by #13749
Labels
ci-failure kind/bug Something isn't working

Comments

@andijcr
Copy link
Contributor

andijcr commented Apr 3, 2023

https://buildkite.com/redpanda/redpanda/builds/26264#01874097-4679-4202-87dc-5eae22df602d

Module: rptest.tests.partition_balancer_test
Class:  PartitionBalancerTest
Method: test_full_nodes
test_id:    rptest.tests.partition_balancer_test.PartitionBalancerTest.test_full_nodes
status:     FAIL
run time:   7 minutes 45.480 seconds


    AssertionError()
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/partition_balancer_test.py", line 732, in test_full_nodes
    assert used_ratio < 0.81
AssertionError

given these log lines it might be a test "bug"

[DEBUG - 2023-04-02 07:18:33,359 - admin - _request - lineno:332]: Dispatching GET http://docker-rp-12:9644/v1/cluster/partition_balancer/status
[DEBUG - 2023-04-02 07:18:33,360 - admin - _request - lineno:355]: Response OK, JSON: {'status': 'ready', 'violations': {}, 'seconds_since_last_tick': 2, 'current_reassignments_count': 0}
[INFO  - 2023-04-02 07:18:33,360 - partition_balancer_test - check - lineno:166]: partition balancer status: {'status': 'ready', 'violations': {}, 'seconds_since_last_tick': 2, 'current_reassignments_count': 0}
[DEBUG - 2023-04-02 07:18:33,361 - remoteaccount - _log - lineno:166]: root@docker-rp-11: Running ssh command: df --block-size 1 /var/lib/redpanda
[DEBUG - 2023-04-02 07:18:33,364 - redpanda - get_node_disk_usage - lineno:978]: Filesystem        1B-blocks       Used    Available Use% Mounted on
[DEBUG - 2023-04-02 07:18:33,364 - redpanda - get_node_disk_usage - lineno:978]: /dev/md0p8     461805400064 8706625536 453098774528   2% /var/lib/redpanda
[INFO  - 2023-04-02 07:18:33,364 - partition_balancer_test - print_disk_usage_per_node - lineno:682]: node 1: disk used percentage: 81
[DEBUG - 2023-04-02 07:18:33,364 - remoteaccount - _log - lineno:166]: root@docker-rp-12: Running ssh command: df --block-size 1 /var/lib/redpanda
[DEBUG - 2023-04-02 07:18:33,367 - redpanda - get_node_disk_usage - lineno:978]: Filesystem        1B-blocks       Used    Available Use% Mounted on
[DEBUG - 2023-04-02 07:18:33,368 - redpanda - get_node_disk_usage - lineno:978]: /dev/md0p30    461805400064 6013632512 455791767552   2% /var/lib/redpanda
[INFO  - 2023-04-02 07:18:33,368 - partition_balancer_test - print_disk_usage_per_node - lineno:682]: node 2: disk used percentage: 56
[DEBUG - 2023-04-02 07:18:33,368 - remoteaccount - _log - lineno:166]: root@docker-rp-13: Running ssh command: df --block-size 1 /var/lib/redpanda
[DEBUG - 2023-04-02 07:18:33,371 - redpanda - get_node_disk_usage - lineno:978]: Filesystem        1B-blocks       Used    Available Use% Mounted on
[DEBUG - 2023-04-02 07:18:33,371 - redpanda - get_node_disk_usage - lineno:978]: /dev/md0p3     461805400064 8357158912 453448241152   2% /var/lib/redpanda
[INFO  - 2023-04-02 07:18:33,371 - partition_balancer_test - print_disk_usage_per_node - lineno:682]: node 3: disk used percentage: 77
[DEBUG - 2023-04-02 07:18:33,372 - remoteaccount - _log - lineno:166]: root@docker-rp-14: Running ssh command: df --block-size 1 /var/lib/redpanda
[DEBUG - 2023-04-02 07:18:33,375 - redpanda - get_node_disk_usage - lineno:978]: Filesystem        1B-blocks       Used    Available Use% Mounted on
[DEBUG - 2023-04-02 07:18:33,375 - redpanda - get_node_disk_usage - lineno:978]: /dev/md0p1     461804875776 7858184192 453946691584   2% /var/lib/redpanda
[INFO  - 2023-04-02 07:18:33,375 - partition_balancer_test - print_disk_usage_per_node - lineno:682]: node 4: disk used percentage: 73
[DEBUG - 2023-04-02 07:18:33,375 - remoteaccount - _log - lineno:166]: root@docker-rp-15: Running ssh command: df --block-size 1 /var/lib/redpanda
[DEBUG - 2023-04-02 07:18:33,379 - redpanda - get_node_disk_usage - lineno:978]: Filesystem        1B-blocks       Used    Available Use% Mounted on
[DEBUG - 2023-04-02 07:18:33,379 - redpanda - get_node_disk_usage - lineno:978]: /dev/md0p4     461805400064 8373649408 453431750656   2% /var/lib/redpanda
[INFO  - 2023-04-02 07:18:33,379 - partition_balancer_test - print_disk_usage_per_node - lineno:682]: node 5: disk used percentage: 77
[DEBUG - 2023-04-02 07:18:33,379 - remoteaccount - _log - lineno:166]: root@docker-rp-11: Running ssh command: df --block-size 1 /var/lib/redpanda
[DEBUG - 2023-04-02 07:18:33,412 - redpanda - get_node_disk_usage - lineno:978]: Filesystem        1B-blocks       Used    Available Use% Mounted on
[DEBUG - 2023-04-02 07:18:33,412 - redpanda - get_node_disk_usage - lineno:978]: /dev/md0p8     461805400064 8706625536 453098774528   2% /var/lib/redpanda
[INFO  - 2023-04-02 07:18:33,412 - partition_balancer_test - test_full_nodes - lineno:726]: node 1: disk used percentage: 81
[ERROR - 2023-04-02 07:18:33,412 - cluster - wrapped - lineno:56]: Test failed, doing failure checks on RedpandaService-0-281472131188480...
@rystsov
Copy link
Contributor

rystsov commented Sep 6, 2023

@rystsov rystsov reopened this Sep 6, 2023
ztlpn added a commit to ztlpn/redpanda that referenced this issue Sep 28, 2023
Disable leader balancer after partition balancer has finished its work,
because leadership transfers will create new segments that can cause disk
usage to go over limit again even after we've verified that everything
is stable.

Fixes redpanda-data#9788
vbotbuildovich pushed a commit to vbotbuildovich/redpanda that referenced this issue Sep 28, 2023
Disable leader balancer after partition balancer has finished its work,
because leadership transfers will create new segments that can cause disk
usage to go over limit again even after we've verified that everything
is stable.

Fixes redpanda-data#9788

(cherry picked from commit f0e69dd)
vbotbuildovich pushed a commit to vbotbuildovich/redpanda that referenced this issue Sep 28, 2023
Disable leader balancer after partition balancer has finished its work,
because leadership transfers will create new segments that can cause disk
usage to go over limit again even after we've verified that everything
is stable.

Fixes redpanda-data#9788

(cherry picked from commit f0e69dd)
vbotbuildovich pushed a commit to vbotbuildovich/redpanda that referenced this issue Sep 28, 2023
Disable leader balancer after partition balancer has finished its work,
because leadership transfers will create new segments that can cause disk
usage to go over limit again even after we've verified that everything
is stable.

Fixes redpanda-data#9788

(cherry picked from commit f0e69dd)
@ztlpn
Copy link
Contributor

ztlpn commented Sep 28, 2023

#13749 is a tentative fix, please reopen if this returns.

@vbotbuildovich
Copy link
Collaborator

*https://buildkite.com/redpanda/redpanda/builds/39497
*https://buildkite.com/redpanda/redpanda/builds/39515
*https://buildkite.com/redpanda/redpanda/builds/39521
*https://buildkite.com/redpanda/redpanda/builds/39520
*https://buildkite.com/redpanda/redpanda/builds/39521
*https://buildkite.com/redpanda/redpanda/builds/39524
*https://buildkite.com/redpanda/redpanda/builds/39534
*https://buildkite.com/redpanda/redpanda/builds/39537
*https://buildkite.com/redpanda/redpanda/builds/39538
*https://buildkite.com/redpanda/redpanda/builds/39541
*https://buildkite.com/redpanda/redpanda/builds/39542
*https://buildkite.com/redpanda/redpanda/builds/39556
*https://buildkite.com/redpanda/redpanda/builds/39557
*https://buildkite.com/redpanda/redpanda/builds/39560
*https://buildkite.com/redpanda/redpanda/builds/39561
*https://buildkite.com/redpanda/redpanda/builds/39564
*https://buildkite.com/redpanda/redpanda/builds/39598
*https://buildkite.com/redpanda/redpanda/builds/39648
*https://buildkite.com/redpanda/redpanda/builds/39652
*https://buildkite.com/redpanda/redpanda/builds/39651
*https://buildkite.com/redpanda/redpanda/builds/39655
*https://buildkite.com/redpanda/redpanda/builds/39656
*https://buildkite.com/redpanda/redpanda/builds/39746
*https://buildkite.com/redpanda/redpanda/builds/39747
*https://buildkite.com/redpanda/redpanda/builds/39750
*https://buildkite.com/redpanda/redpanda/builds/39751
*https://buildkite.com/redpanda/redpanda/builds/39754
*https://buildkite.com/redpanda/redpanda/builds/39854
*https://buildkite.com/redpanda/redpanda/builds/39855
*https://buildkite.com/redpanda/redpanda/builds/39858
*https://buildkite.com/redpanda/redpanda/builds/39900
*https://buildkite.com/redpanda/redpanda/builds/39938
*https://buildkite.com/redpanda/redpanda/builds/39939
*https://buildkite.com/redpanda/redpanda/builds/39943
*https://buildkite.com/redpanda/redpanda/builds/39950

@vbotbuildovich vbotbuildovich reopened this Jan 9, 2024
@michael-redpanda
Copy link
Contributor

The above linked builds are from October. Closing

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

Successfully merging a pull request may close this issue.

6 participants