]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
suite/run: Log total number of jobs scheduled log-total-jobs
authorVallari Agrawal <val.agl002@gmail.com>
Sun, 3 Jul 2022 09:06:31 +0000 (14:36 +0530)
committerVallari Agrawal <val.agl002@gmail.com>
Thu, 7 Jul 2022 17:14:46 +0000 (22:44 +0530)
Signed-off-by: Vallari Agrawal <val.agl002@gmail.com>
teuthology/suite/run.py

index 7ae4a37646f8841f6d21c6ddb92aa89d792d2349..0b063e74630a52f948d5cce391d886ff62c740e2 100644 (file)
@@ -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