]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commit
results,schedule,woker: persist --seed and --subset in results.log
authorKefu Chai <kchai@redhat.com>
Mon, 9 Jul 2018 06:15:12 +0000 (14:15 +0800)
committerKefu Chai <kchai@redhat.com>
Mon, 9 Jul 2018 12:07:19 +0000 (20:07 +0800)
commit6e58583a0a5768ce219eb4fa397b21d21c126733
treeeb8b0c979464f8922f2493efd7104c8546d84fea
parenta04be70b78292ae08858bc7914a1f4c920762c28
results,schedule,woker: persist --seed and --subset in results.log

to create a repeatable test suite, in addition to `--seed <SEED>`, we also
need to pass the same `--subset <SUBSET>` to teuthology-suite when
rerunning the failed tests. but it would be handy if teuthology-suite
could remember these settings and recall them when `--rerun <RUN>`.

in this change, we repurpose the last job sending the email to report
the test result to note down the subset and seed used for scheduling the
test suite. these variables are stored in results.log at this moment.

Signed-off-by: Kefu Chai <kchai@redhat.com>
scripts/results.py
scripts/schedule.py
scripts/suite.py
teuthology/report.py
teuthology/results.py
teuthology/schedule.py
teuthology/suite/__init__.py
teuthology/suite/run.py
teuthology/worker.py