From 650391ffdf37bd1d981cd5c43075c4950a1c9fd8 Mon Sep 17 00:00:00 2001 From: Zack Cerza Date: Thu, 15 Jan 2026 17:38:35 -0700 Subject: [PATCH] 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 --- teuthology/dispatcher/supervisor.py | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) 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: -- 2.47.3