Skip to content

Commit

Permalink
Run tests from testing repo on stratisd
Browse files Browse the repository at this point in the history
Signed-off-by: mulhern <[email protected]>
  • Loading branch information
mulkieran committed Oct 9, 2023
1 parent 8a00ccb commit d796441
Show file tree
Hide file tree
Showing 2 changed files with 70 additions and 0 deletions.
35 changes: 35 additions & 0 deletions plans/testing_3.5.2.fmf
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
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
- name: Show test system information
how: shell
script: free -m; lsblk -i; lscpu; cat /proc/1/sched
- name: Record mkfs.xfs version
how: shell
script: mkfs.xfs -V
discover:
url: https://github.com/stratis-storage/testing.git
ref: v3.5.2
tests:
- name: unit
test: >
RUST_LOG=stratisd=debug
python3 test_harness.py stratisd_cert
--verify-devices
execute:
how: tmt
exit-first: false
35 changes: 35 additions & 0 deletions plans/testing_HEAD.fmf
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
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
- name: Show test system information
how: shell
script: free -m; lsblk -i; lscpu; cat /proc/1/sched
- name: Record mkfs.xfs version
how: shell
script: mkfs.xfs -V
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

0 comments on commit d796441

Please sign in to comment.