]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
teuthology/suite: print base config before config merge
authorPatrick Donnelly <pdonnell@redhat.com>
Thu, 17 Oct 2024 19:58:30 +0000 (15:58 -0400)
committerPatrick Donnelly <pdonnell@redhat.com>
Fri, 18 Oct 2024 14:19:18 +0000 (10:19 -0400)
So it's easier to see its value before any configs are generated.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
teuthology/suite/run.py

index 9b2b6fa701f1aeef8867a7cedfd4ab0bd55b49d7..7f5a1c94b8bd7a811a03ef3fc4f4725abb613ad9 100644 (file)
@@ -622,6 +622,9 @@ Note: If you still want to go ahead, use --job-threshold 0'''
         log.debug('Suite %s in %s' % (suite_name, suite_path))
         log.debug(f"subset = {self.args.subset}")
         log.debug(f"no_nested_subset = {self.args.no_nested_subset}")
+        if self.args.dry_run:
+            log.debug("Base job config:\n%s" % self.base_config)
+
         configs = build_matrix(suite_path,
                                subset=self.args.subset,
                                no_nested_subset=self.args.no_nested_subset,
@@ -636,9 +639,6 @@ Note: If you still want to go ahead, use --job-threshold 0'''
             seed=self.args.seed,
             suite_name=suite_name))
 
-        if self.args.dry_run:
-            log.debug("Base job config:\n%s" % self.base_config)
-
         # create, but do not write, the temp file here, so it can be
         # added to the args in collect_jobs, but not filled until
         # any backtracking is done