From 299e7a1f86b44cebc5f032e33cf0da433713e9c2 Mon Sep 17 00:00:00 2001 From: Zack Cerza Date: Fri, 17 Nov 2023 13:34:21 -0700 Subject: [PATCH] dispatcher: Drop supervisor output It gets logged to its own file in the job archive. Signed-off-by: Zack Cerza --- teuthology/dispatcher/__init__.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/teuthology/dispatcher/__init__.py b/teuthology/dispatcher/__init__.py index 4aa2ca19d..02ed2ee70 100644 --- a/teuthology/dispatcher/__init__.py +++ b/teuthology/dispatcher/__init__.py @@ -180,7 +180,11 @@ def main(args): run_args.extend(["--job-config", job_config_path]) try: - job_proc = subprocess.Popen(run_args) + job_proc = subprocess.Popen( + run_args, + stdout=subprocess.DEVNULL, + stderr=subprocess.DEVNULL, + ) job_procs.add(job_proc) log.info('Job supervisor PID: %s', job_proc.pid) except Exception: -- 2.47.3