]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
suite/run.py: Added seed and subset to base_config 1831/head
authorKamoltat <ksirivad@redhat.com>
Mon, 3 Apr 2023 18:35:01 +0000 (18:35 +0000)
committerKamoltat <ksirivad@redhat.com>
Mon, 3 Apr 2023 18:48:25 +0000 (18:48 +0000)
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 <ksirivad@redhat.com>
teuthology/suite/run.py

index 5c95668b94b0a81d27b90273cf68682f30100285..02803e9ebf26e4a6aaae20a07e47c68006fcbe4c 100644 (file)
@@ -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: