From f8d3265c033a61f0f8740b197dbff7be603a55c2 Mon Sep 17 00:00:00 2001 From: Zack Cerza Date: Mon, 9 Nov 2015 16:41:02 -0700 Subject: [PATCH] Run jobs even if 'roles' is empty They will fail immediately, but at least we'll know about them. Signed-off-by: Zack Cerza --- teuthology/worker.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/teuthology/worker.py b/teuthology/worker.py index 843df9a3e..48befffcd 100644 --- a/teuthology/worker.py +++ b/teuthology/worker.py @@ -169,9 +169,8 @@ def main(ctx): else: log.info('Creating archive dir %s', archive_path_full) safepath.makedirs(ctx.archive_dir, safe_archive) - if 'roles' in job_config: - log.info('Running job %d', job.jid) - run_job(job_config, teuth_bin_path, ctx.verbose) + log.info('Running job %d', job.jid) + run_job(job_config, teuth_bin_path, ctx.verbose) job.delete() -- 2.47.3