From: Zack Cerza Date: Fri, 17 Jan 2014 16:05:21 +0000 (-0600) Subject: call wait() on the teuthology-results Popen object X-Git-Tag: 1.1.0~1691 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=e8bb1654b2cc217d5013c34fa7c61a8ce88eeda8;p=teuthology.git 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 --- diff --git a/teuthology/queue.py b/teuthology/queue.py index 60b438e9a..89f5690ed 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)