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 (MetricCheckFailed) in RaftAvailabilityTest. test_leadership_transfer #19953

Closed
michael-redpanda opened this issue Jun 22, 2024 · 1 comment · Fixed by #20378
Closed
Assignees
Labels
area/raft ci-failure kind/bug Something isn't working

Comments

@michael-redpanda
Copy link
Contributor

michael-redpanda commented Jun 22, 2024

https://buildkite.com/redpanda/redpanda/builds/50477

Module: rptest.tests.raft_availability_test
Class:  RaftAvailabilityTest
Method: test_leadership_transfer
test_id:    rptest.tests.raft_availability_test.RaftAvailabilityTest.test_leadership_transfer
status:     FAIL
run time:   23.475 seconds


    MetricCheckFailed('vectorized_raft_leadership_changes_total', 0.0, 1.0)
Traceback (most recent call last):
  File "/opt/.ducktape-venv/lib/python3.10/site-packages/ducktape/tests/runner_client.py", line 184, in _do_run
    data = self.run_test()
  File "/opt/.ducktape-venv/lib/python3.10/site-packages/ducktape/tests/runner_client.py", line 276, in run_test
    return self.test_context.function(self.test)
  File "/root/tests/rptest/services/cluster.py", line 105, in wrapped
    r = f(self, *args, **kwargs)
  File "/root/tests/rptest/tests/raft_availability_test.py", line 402, in test_leadership_transfer
    metric_check.expect([
  File "/root/tests/rptest/services/metrics_check.py", line 141, in expect
    raise error
rptest.services.metrics_check.MetricCheckFailed: MetricCheckFailed<vectorized_raft_leadership_changes_total old=0.0 new=1.0>

JIRA Link: CORE-4272

@travisdowns
Copy link
Member

ci-ignore because links need to be the BK build link or PT is unhappy

@mmaslankaprv mmaslankaprv self-assigned this Jun 27, 2024
@mmaslankaprv mmaslankaprv removed the ci-ignore Automatic ci analysis tools ignore this issue label Jun 27, 2024
mmaslankaprv added a commit to mmaslankaprv/redpanda that referenced this issue Jun 27, 2024
The test was using an api expecting the node ordinal to query for the
node that was elected as a leader. The query was based on the node id.
This lead to the validation being invalid.

Fixes: redpanda-data#19953

Signed-off-by: Michał Maślanka <[email protected]>
vbotbuildovich pushed a commit to vbotbuildovich/redpanda that referenced this issue Jun 27, 2024
The test was using an api expecting the node ordinal to query for the
node that was elected as a leader. The query was based on the node id.
This lead to the validation being invalid.

Fixes: redpanda-data#19953

Signed-off-by: Michał Maślanka <[email protected]>
(cherry picked from commit b455334)
vbotbuildovich pushed a commit to vbotbuildovich/redpanda that referenced this issue Jun 27, 2024
The test was using an api expecting the node ordinal to query for the
node that was elected as a leader. The query was based on the node id.
This lead to the validation being invalid.

Fixes: redpanda-data#19953

Signed-off-by: Michał Maślanka <[email protected]>
(cherry picked from commit b455334)
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.

3 participants