From: Ilya Dryomov Date: Fri, 30 Jan 2026 16:17:52 +0000 (+0100) Subject: qa/tasks/daemonwatchdog: fix unbound variable in bark_reason message X-Git-Tag: testing/wip-vshankar-testing-20260218.045142~17^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=b4c0377d44068151bfcb766a3cf73e75d82134ae;p=ceph-ci.git qa/tasks/daemonwatchdog: fix unbound variable in bark_reason message Introduced in commit 783f0e3a9903 ("qa: Adding a new class for the daemonwatchdog to monitor"). Signed-off-by: Ilya Dryomov --- diff --git a/qa/tasks/daemonwatchdog.py b/qa/tasks/daemonwatchdog.py index 7003a6b7985..18b85ac6b1d 100644 --- a/qa/tasks/daemonwatchdog.py +++ b/qa/tasks/daemonwatchdog.py @@ -153,7 +153,7 @@ class DaemonWatchdog(Greenlet): for thrasher in self.thrashers: if thrasher.exception is not None: self.log("{name} failed".format(name=thrasher.name)) - bark_reason = f"Thrasher {name} threw exception {thrasher.exception}" + bark_reason = f"Thrasher {thrasher.name} threw exception {thrasher.exception}" bark = True for proc in self.watched_processes: