Skip to content

qa/suites/rados: enable the workunit watchdog - #72010

Merged
SrinivasaBharath merged 2 commits into
ceph:mainfrom
ronen-fr:wip-rf-failwatch
Sep 30, 2026
Merged

SrinivasaBharath merged 2 commits into
ceph:mainfrom
ronen-fr:wip-rf-failwatch

Conversation

@ronen-fr

Copy link
Copy Markdown
Contributor

This is the Classic adaptation to Shraddha Agrawal's #71373:

Classic-rados counterpart of bf6b33b ("qa/suites/crimson-rados:
enable the workunit watchdog everywhere"), which turned on the
WorkunitProcess mechanism added by 1712b00.

qa/config/rados.yaml is shared by symlink across most rados
sub-suites, so one override registers their workunits with the
DaemonWatchdog. The mgr suite and objectcacher-stress.yaml do not use
that config and are set separately.

A suite-wide override also reaches workunits that run without a
cluster task (singleton/all/erasure-code-nonregression.yaml), which
have no ctx.ceph to register with; skip those with a warning rather
than failing the job.

Without this, a bark only SIGTERMs the daemons: the workunit keeps
issuing ops against a cluster that has already been declared dead
until the job hits its own 3h limit, and the failure is then reported
against the workunit rather than the daemon that failed.

@ronen-fr
ronen-fr requested a review from a team as a code owner September 23, 2026 13:26
@ronen-fr
ronen-fr requested review from perezjosibm and shraddhaag and removed request for a team September 23, 2026 13:26
@ronen-fr
ronen-fr requested a review from ljflores September 23, 2026 13:27
@ronen-fr

Copy link
Copy Markdown
Contributor Author

Classic-rados counterpart of bf6b33b ("qa/suites/crimson-rados:
enable the workunit watchdog everywhere"), which turned on the
WorkunitProcess mechanism added by 1712b00.

qa/config/rados.yaml is shared by symlink across most rados
sub-suites, so one override registers their workunits with the
DaemonWatchdog.  The mgr suite and objectcacher-stress.yaml do not use
that config and are set separately.

A suite-wide override also reaches workunits that run without a
cluster task (singleton/all/erasure-code-nonregression.yaml), which
have no ctx.ceph to register with; skip those with a warning rather
than failing the job.

Without this, a bark only SIGTERMs the daemons: the workunit keeps
issuing ops against a cluster that has already been declared dead
until the job hits its own 3h limit, and the failure is then reported
against the workunit rather than the daemon that failed.

Assisted-by: Claude
Signed-off-by: Ronen Friedman <[email protected]>
Every rados sub-suite picks up the shared qa/config/rados.yaml by
symlink, except thrash-faster-alloc-recovery, which a4cb4a2 added
as a literal copy that has since missed later edits to the original.
Replace the copy with a symlink like the rest.

Signed-off-by: Ronen Friedman <[email protected]>

@kamoltat kamoltat left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@ronen-fr I see what you're trying to do, definitely will make our test node machines turn-around faster. I want to see this against the whole rados suite though so lets have this go through QA?

@shraddhaag shraddhaag 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.

Amazing, thanks a lot @ronen-fr! Now classic can also make use of the workunit watchdog and failing tests will fail faster.

@SrinivasaBharath

Copy link
Copy Markdown
Contributor

This PR has been added to wip-bharath15-testing-20260929.043152-main.

@ljflores

Copy link
Copy Markdown
Member

@SrinivasaBharath
SrinivasaBharath merged commit 8356b49 into ceph:main Sep 30, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants