From 14784ed26de0c7604b7699fff8a7c0be5d5cc5c7 Mon Sep 17 00:00:00 2001 From: Vallari Agrawal Date: Sun, 3 Jul 2022 14:36:31 +0530 Subject: [PATCH] suite/run: Log total number of jobs scheduled Signed-off-by: Vallari Agrawal --- teuthology/suite/run.py | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.39.5