Skip to content

tentacle: test/ceph-helpers: Pass timeout and add timeout for commands in test_pg_scrub - #66888

Merged
batrick merged 1 commit into
ceph:tentaclefrom
NitzanMordhai:wip-74375-tentacle
Jul 14, 2026
Merged

batrick merged 1 commit into
ceph:tentaclefrom
NitzanMordhai:wip-74375-tentacle

Conversation

@NitzanMordhai

Copy link
Copy Markdown
Contributor

…pg_scrub

In test_pg_scrub, after killing an OSD, subsequent pg_scrub checks and calls to flush_pg_stats
can hang or timeout with the default time because the OSD is no longer running.
This was causing test failures.

This fix addresses two issues:
1.  test_pg_scrub: Explicitly pass the WAIT_FOR_CLEAN_TIMEOUT and TIMEOUT variables (both set to 2)
    to the pg_scrub call after the OSD is killed. This prevents a hang in the wait_for_clean
    check within pg_scrub.
2.  flush_pg_stats: Add an explicit timeout to the ceph tell osd.$osd flush_pg_stats command,
    allowing it to fail quickly when an OSD is unresponsive.

Fixes: https://tracker.ceph.com/issues/74004
Signed-off-by: Nitzan Mordechai <[email protected]>
(cherry picked from commit 118c5be)
@NitzanMordhai

Copy link
Copy Markdown
Contributor Author

@batrick batrick added the releng-audit-fail Release engineering: failed backport verification audit. label Jul 11, 2026
@github-actions github-actions Bot removed the releng-audit-fail Release engineering: failed backport verification audit. label Jul 11, 2026
@batrick batrick added the releng-audit-fail Release engineering: failed backport verification audit. label Jul 11, 2026
@github-actions github-actions Bot added releng-audit-pass Release engineering: passed backport verification audit. and removed releng-audit-fail Release engineering: failed backport verification audit. releng-audit-pass Release engineering: passed backport verification audit. labels Jul 11, 2026
@batrick
batrick merged commit 7caa350 into ceph:tentacle Jul 14, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core needs-qa releng-audit-pass Release engineering: passed backport verification audit. tests wip-bharath17-testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants