From: Zack Cerza Date: Fri, 16 Jan 2026 00:38:35 +0000 (-0700) Subject: supervisor: Avoid prematurely pushing some jobs X-Git-Tag: 1.2.3~4^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=650391ffdf37bd1d981cd5c43075c4950a1c9fd8;p=teuthology.git supervisor: Avoid prematurely pushing some jobs This is a follow-up to ff615aae541032c647e78d3959d368f595c93e31; it caused us to submit the first-in-suite and last-in-suite jobs to paddles. Those present has having 'unknown' status, which will be confusing to users. Signed-off-by: Zack Cerza --- diff --git a/teuthology/dispatcher/supervisor.py b/teuthology/dispatcher/supervisor.py index b235d4041..dbcaea512 100644 --- a/teuthology/dispatcher/supervisor.py +++ b/teuthology/dispatcher/supervisor.py @@ -42,11 +42,12 @@ def main(args): except SkipJob: return 0 - report.try_push_job_info({ - 'name': job_config['name'], - 'job_id': job_config['job_id'], - 'pid': os.getpid(), - }) + if not (job_config.get('first_in_suite') or job_config.get('last_in_suite')): + report.try_push_job_info({ + 'name': job_config['name'], + 'job_id': job_config['job_id'], + 'pid': os.getpid(), + }) # reimage target machines before running the job if 'targets' in job_config: