From: Kyr Shatskyy Date: Fri, 2 Aug 2024 15:17:14 +0000 (+0200) Subject: kill: handle AccessDenied exception X-Git-Tag: 1.2.0~12^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F1985%2Fhead;p=teuthology.git kill: handle AccessDenied exception Fix unhandled exception psutilAccessDenied in process_matches_run(). Signed-off-by: Kyr Shatskyy --- diff --git a/teuthology/kill.py b/teuthology/kill.py index 720096a26..a18e0ac8a 100755 --- a/teuthology/kill.py +++ b/teuthology/kill.py @@ -223,6 +223,8 @@ def process_matches_run(pid, run_name): return True except psutil.NoSuchProcess: pass + except psutil.AccessDenied: + pass return False