job.delete()
-def run_with_watchdog(process, job_config, teuth_bin_path):
+def run_with_watchdog(process, job_config):
# Only push the information that's relevant to the watchdog, to save db
# load
job_info = dict(
# 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.
- args = [os.path.join(teuth_bin_path, 'teuthology-report'),
+ args = ['teuthology-report',
'-r',
job_info['name'],
'-j',
if teuth_config.results_server:
log.info("Running with watchdog")
- run_with_watchdog(p, job_config, teuth_bin_path)
+ run_with_watchdog(p, job_config)
else:
log.info("Running without watchdog")
p.wait()