usage:
teuthology-report -h
teuthology-report [-v] [-R] [-n] [-s SERVER] [-a ARCHIVE] -r RUN ...
- teuthology-report [-v] [-R] [-n] [-s SERVER] [-a ARCHIVE] -r RUN -j JOB ...
+ teuthology-report [-v] [-s SERVER] [-a ARCHIVE] [-D] -r RUN -j JOB ...
teuthology-report [-v] [-R] [-n] [-s SERVER] [-a ARCHIVE] --all-runs
Submit test results to a web service
last successful submission in a file called
'last_successful_run'. Pass this flag to disable that
behavior.
+ -D, --dead Mark all given jobs with status 'dead'
-v, --verbose be more verbose
""".format(archive_base=teuthology.config.config.archive_base)
save=save, refresh=args['--refresh'])
run = args['--run']
job = args['--job']
- if len(run) == 1 and job:
+ dead = args['--dead']
+ if dead and len(run) == 1 and job:
+ for job_id in job:
+ try_push_job_info(dict(name=run[0], job_id=job_id, status='dead'))
+ elif len(run) == 1 and job:
reporter.report_jobs(run[0], job)
elif run and len(run) > 1:
reporter.report_runs(run)