From d91dd0d383f3a0fa51e0d00d284c92a726570ee8 Mon Sep 17 00:00:00 2001 From: mulhern Date: Mon, 25 Sep 2023 13:31:27 -0400 Subject: [PATCH] Run tests from testing repo on stratisd Signed-off-by: mulhern --- plans/testing_HEAD.fmf | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 plans/testing_HEAD.fmf diff --git a/plans/testing_HEAD.fmf b/plans/testing_HEAD.fmf new file mode 100644 index 0000000000..d91a194fcc --- /dev/null +++ b/plans/testing_HEAD.fmf @@ -0,0 +1,29 @@ +summary: Run testing scripts from HEAD revision +prepare: + - name: Install packages + how: install + package: + - python3-dbus-python-client-gen + - python3-gobject + - python3-psutil + - systemd + - tang + - util-linux + - name: Start tang server + how: shell + script: systemctl enable tangd.socket --now + - name: Reload udev + how: shell + script: udevadm control --reload +discover: + url: https://github.com/stratis-storage/testing.git + ref: HEAD + tests: + - name: unit + test: > + RUST_LOG=stratisd=debug + python3 test_harness.py stratisd_cert + --verify-devices --monitor-dbus --highest-revision-number=6 +execute: + how: tmt + exit-first: false