Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run tests from testing repo using Packit/TMT #3452

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion plans/all.fmf → plans/python-based.fmf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
summary: top level management
summary: whole install Python-based tests
prepare:
- name: Install packages
how: install
Expand Down
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 --log-level=debug 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 --log-level=debug stratisd_cert
--verify-devices --monitor-dbus --highest-revision-number=6
execute:
how: tmt
exit-first: false