From: Kamoltat Date: Mon, 3 Apr 2023 18:35:01 +0000 (+0000) Subject: suite/run.py: Added seed and subset to base_config X-Git-Tag: 1.2.0~111^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=0832e85eb66c9d6e5ef556af1fcdfaec6fe1d676;p=teuthology.git suite/run.py: Added seed and subset to base_config In addition to being stored in results.log `--seed` and `--subset` are now also stored in: `teuthlogy.log`, `config.yaml` and `orig.config.yaml`. Fixes: https://tracker.ceph.com/issues/59300 Signed-off-by: Kamoltat --- diff --git a/teuthology/suite/run.py b/teuthology/suite/run.py index 5c95668b94..02803e9ebf 100644 --- a/teuthology/suite/run.py +++ b/teuthology/suite/run.py @@ -343,6 +343,9 @@ class Run(object): job_config.user = self.user job_config.timestamp = self.timestamp job_config.priority = self.args.priority + job_config.seed = self.args.seed + if self.args.subset: + job_config.subset = '/'.join(str(i) for i in self.args.subset) if self.args.email: job_config.email = self.args.email if self.args.owner: