Skip to content

[CORE-16830] rptest: extend start_timeout in timely_shutdown_test#31051

Open
WillemKauf wants to merge 1 commit into
redpanda-data:devfrom
WillemKauf:timely_shutdown_fix
Open

[CORE-16830] rptest: extend start_timeout in timely_shutdown_test#31051
WillemKauf wants to merge 1 commit into
redpanda-data:devfrom
WillemKauf:timely_shutdown_fix

Conversation

@WillemKauf

Copy link
Copy Markdown
Contributor

In this test, the background failure injector repeatedly isolates a random non-leader node, which can strip the 3-node controller of quorum while the restarted node is trying to rejoin.

Give the restarting node some extra timeout slack to avoid test flakes.

Backports Required

  • none - not a bug fix
  • none - this is a backport
  • none - issue does not exist in previous branches
  • none - papercut/not impactful enough to backport
  • v26.1.x
  • v25.3.x
  • v25.2.x

Release Notes

  • none

In this test, the background failure injector repeatedly isolates a random
non-leader node, which can strip the 3-node controller of quorum while the
restarted node is trying to rejoin.

Give the restarting node some extra timeout slack to avoid test flakes.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR aims to reduce flakes in timely_shutdown_test by giving a restarting node more time to come back up in the presence of background network isolation faults that can temporarily remove controller quorum.

Changes:

  • Adds an explanatory comment about why additional restart slack is needed under the finjector.
  • Increases restart_nodes(..., start_timeout=90) for the leader restart loop.

Comment on lines +115 to +118
# The background failure injector repeatedly isolates a random
# non-leader node, which can strip the 3-node controller of
# quorum while the restarted node is trying to rejoin. Give the
# restarting node some extra timeout slack.
@vbotbuildovich

Copy link
Copy Markdown
Collaborator

CI test results

test results on build#86881
test_status test_class test_method test_arguments test_kind job_url passed reason test_history
FLAKY(PASS) NodeWiseRecoveryTest test_recovery_local_data_missing {"wait_for_final_manifest_uploads": true} integration https://buildkite.com/redpanda/redpanda/builds/86881#019f4249-7654-48b0-965a-e63400bf16a7 10/11 Test PASSES after retries.No significant increase in flaky rate(baseline=0.0517, p0=1.0000, reject_threshold=0.0100. adj_baseline=0.1473, p1=0.2032, trust_threshold=0.5000) https://redpanda.metabaseapp.com/dashboard/87-tests?tab=142-dt-individual-test-history&test_class=NodeWiseRecoveryTest&test_method=test_recovery_local_data_missing
FLAKY(PASS) ShadowLinkRoleSyncScaleTest test_role_sync_at_scale {"members_per_role": 1, "num_roles": 5000} integration https://buildkite.com/redpanda/redpanda/builds/86881#019f4248-c13c-4107-baf0-937ae7325a26 10/11 Test PASSES after retries.No significant increase in flaky rate(baseline=0.0000, p0=1.0000, reject_threshold=0.0100. adj_baseline=0.1000, p1=0.3487, trust_threshold=0.5000) https://redpanda.metabaseapp.com/dashboard/87-tests?tab=142-dt-individual-test-history&test_class=ShadowLinkRoleSyncScaleTest&test_method=test_role_sync_at_scale

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants