]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
Post last_in_suite jobs, but delete when run
authorZack Cerza <zack@cerza.org>
Fri, 25 Apr 2014 20:22:30 +0000 (15:22 -0500)
committerZack Cerza <zack@cerza.org>
Fri, 25 Apr 2014 20:22:30 +0000 (15:22 -0500)
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
teuthology/schedule.py
teuthology/worker.py

index f79021b309ca1b16c6317c974b820e26d5bfc03b..a147e3d16458b85a63ec813bf29f86ac042c181f 100644 (file)
@@ -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
index 52337c45044758f5dc2cbe613b8c3a7807415889..91d6434af681327aad878f01d1fce37bb61da90e 100644 (file)
@@ -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',