From: Zack Cerza Date: Thu, 17 Apr 2014 14:43:07 +0000 (-0500) Subject: Pass -D flag to teuthology report X-Git-Tag: v0.94.10~27^2^2~364^2~245 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=e32339277899e80aa091dc37448b70f85a9ab96e;p=ceph.git Pass -D flag to teuthology report Fixes an issue where tests run on old teuthology branches that died for uncommon reasons were not being marked as dead Signed-off-by: Zack Cerza --- diff --git a/teuthology/queue.py b/teuthology/queue.py index 3ce3c0c403970..2ab2e69f658c0 100644 --- a/teuthology/queue.py +++ b/teuthology/queue.py @@ -243,7 +243,7 @@ def run_with_watchdog(process, job_config): # The job ran with a teuthology branch that may not have the reporting # feature. Let's call teuthology-report (which will be from the master # branch) to report the job manually. - cmd = "teuthology-report -v -r {run_name} -j {job_id}".format( + cmd = "teuthology-report -v -D -r {run_name} -j {job_id}".format( run_name=job_info['name'], job_id=job_info['job_id']) try: @@ -258,7 +258,6 @@ def run_with_watchdog(process, job_config): log.info("Reported results via the teuthology-report command") except Exception: log.exception("teuthology-report failed") - #log.warn("Tried to run teuthology-report but it wasn't in $PATH") 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