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 <zack@cerza.org>
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: