From 9060a26f274fd974a2d9d6f17994778565a81793 Mon Sep 17 00:00:00 2001 From: Zack Cerza Date: Fri, 26 Jul 2024 11:30:02 -0600 Subject: [PATCH] exporter: Catch psutil.AccessDenied Signed-off-by: Zack Cerza --- teuthology/exporter.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/teuthology/exporter.py b/teuthology/exporter.py index 017908f620..4c7c10a4c2 100644 --- a/teuthology/exporter.py +++ b/teuthology/exporter.py @@ -148,6 +148,8 @@ class JobProcesses(TeuthologyMetric): cmdline = proc.cmdline() except psutil.ZombieProcess: return False + except psutil.AccessDenied: + return False if not len(cmdline) > 1: return False if not cmdline[1].endswith("teuthology"): -- 2.39.5