From: Zack Cerza Date: Fri, 13 Dec 2013 15:56:23 +0000 (-0600) Subject: Skip the 'dead' report on old branches X-Git-Tag: 1.1.0~1738 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=2e2b8feba220483acd816429eff87263a7d81515;p=teuthology.git Skip the 'dead' report on old branches Signed-off-by: Zack Cerza --- diff --git a/teuthology/queue.py b/teuthology/queue.py index 877d3e24c9..d95ea15242 100644 --- a/teuthology/queue.py +++ b/teuthology/queue.py @@ -226,12 +226,12 @@ def run_with_watchdog(process, job_config): job_info['job_id'], ] subprocess.Popen(args).wait() - - # Let's make extra sure that paddles knows the job is finished. We don't - # know the status, but if it was a pass or fail it will have already been - # reported to paddles. In that case paddles ignores the 'dead' status. If - # the job was killed, paddles will use the 'dead' status. - report.try_push_job_info(job_info, dict(status='dead')) + else: + # Let's make sure that paddles knows the job is finished. We don't know + # the status, but if it was a pass or fail it will have already been + # reported to paddles. In that case paddles ignores the 'dead' status. + # If the job was killed, paddles will use the 'dead' status. + report.try_push_job_info(job_info, dict(status='dead')) def run_job(job_config, teuth_bin_path):