From: Vallari Agrawal Date: Sun, 3 Jul 2022 09:06:31 +0000 (+0530) Subject: suite/run: Log total number of jobs scheduled X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fheads%2Flog-total-jobs;p=teuthology.git suite/run: Log total number of jobs scheduled Signed-off-by: Vallari Agrawal --- diff --git a/teuthology/suite/run.py b/teuthology/suite/run.py index 7ae4a37646..0b063e7463 100644 --- a/teuthology/suite/run.py +++ b/teuthology/suite/run.py @@ -682,6 +682,9 @@ Note: If you still want to go ahead, use --job-threshold 0''' count = len(jobs_to_schedule) missing_count = len(jobs_missing_packages) + total_count = count + if self.args.num: + total_count *= self.args.num log.info( 'Suite %s in %s scheduled %d jobs.' % (suite_name, suite_path, count) @@ -692,4 +695,5 @@ Note: If you still want to go ahead, use --job-threshold 0''' if missing_count: log.warning('Scheduled %d/%d jobs that are missing packages!', missing_count, count) + log.info('Scheduled %d jobs in total.', total_count) return count