From e8bb1654b2cc217d5013c34fa7c61a8ce88eeda8 Mon Sep 17 00:00:00 2001 From: Zack Cerza Date: Fri, 17 Jan 2014 10:05:21 -0600 Subject: [PATCH] call wait() on the teuthology-results Popen object This ought to fix the issue where zombie teuthology-results processes stick around. Signed-off-by: Zack Cerza --- teuthology/queue.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/teuthology/queue.py b/teuthology/queue.py index 60b438e9aa..89f5690ede 100644 --- a/teuthology/queue.py +++ b/teuthology/queue.py @@ -200,7 +200,7 @@ def worker(ctx): '--name', job_config['name'], ] - subprocess.Popen(args=args) + subprocess.Popen(args=args).wait() else: log.debug('Creating archive dir...') safepath.makedirs(ctx.archive_dir, safe_archive) -- 2.39.5