From: Zack Cerza Date: Fri, 25 Apr 2014 20:22:30 +0000 (-0500) Subject: Post last_in_suite jobs, but delete when run X-Git-Tag: v0.94.10~27^2^2~364^2~231 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=f102e4943d315a1efe2727d4297f853354b73a5a;p=ceph.git Post last_in_suite jobs, but delete when run Signed-off-by: Zack Cerza --- diff --git a/teuthology/schedule.py b/teuthology/schedule.py index f79021b309ca1..a147e3d16458b 100644 --- a/teuthology/schedule.py +++ b/teuthology/schedule.py @@ -69,7 +69,5 @@ def main(ctx): print 'Job scheduled with name {name} and ID {jid}'.format( name=ctx.name, jid=jid) job_config['job_id'] = str(jid) - # Let paddles know the job is queued, but only for 'real' jobs - if not job_config.get('last_in_suite', False): - report.try_push_job_info(job_config, dict(status='queued')) + report.try_push_job_info(job_config, dict(status='queued')) num -= 1 diff --git a/teuthology/worker.py b/teuthology/worker.py index 52337c4504475..91d6434af6813 100644 --- a/teuthology/worker.py +++ b/teuthology/worker.py @@ -184,6 +184,9 @@ def main(ctx): if job_config.get('last_in_suite'): log.info('Generating coverage for %s', job_config['name']) + if teuth_config.results_server: + report.try_delete_jobs(job_config['name'], + job_config['job_id']) args = [ os.path.join(teuth_bin_path, 'teuthology-results'), '--timeout',