From 0832e85eb66c9d6e5ef556af1fcdfaec6fe1d676 Mon Sep 17 00:00:00 2001 From: Kamoltat Date: Mon, 3 Apr 2023 18:35:01 +0000 Subject: [PATCH] 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 --- teuthology/suite/run.py | 3 +++ 1 file changed, 3 insertions(+) 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: -- 2.39.5