From 21b4b89e5280cfd87f4419b4c1dcc01673835e04 Mon Sep 17 00:00:00 2001 From: Nitzan Mordechai Date: Wed, 26 Jun 2024 13:04:45 +0000 Subject: [PATCH] qa/tasks: watchdog terminate thrasher If a thrasher exception occurs, the do_dump_ops thread will continue looping until the Teuthology timeout is reached. The watchdog should terminate the thrasher to free up resources. Fixes: https://tracker.ceph.com/issues/66698 Signed-off-by: Nitzan Mordechai --- qa/tasks/daemonwatchdog.py | 1 + 1 file changed, 1 insertion(+) diff --git a/qa/tasks/daemonwatchdog.py b/qa/tasks/daemonwatchdog.py index 4f5103bfa78..234a26e10ea 100644 --- a/qa/tasks/daemonwatchdog.py +++ b/qa/tasks/daemonwatchdog.py @@ -117,6 +117,7 @@ class DaemonWatchdog(Greenlet): for thrasher in self.thrashers: if thrasher.exception is not None: self.log("{name} failed".format(name=thrasher.name)) + thrasher.stop_and_join() bark = True if bark: -- 2.39.5