-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use Packit/TMT to run Python-based udev tests
Run all the tests defined in the udev subdirectory that should be run as continuous integration and not as part of nightly CI. Signed-off-by: mulhern <[email protected]>
- Loading branch information
Showing
5 changed files
with
32 additions
and
156 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
1 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
summary: top level management | ||
prepare: | ||
- name: Install packages | ||
how: install | ||
package: | ||
- tang | ||
- systemd | ||
- name: Start tang server | ||
how: shell | ||
script: systemctl enable tangd.socket --now | ||
discover: | ||
how: fmf | ||
execute: | ||
how: tmt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
summary: Run udev tests | ||
duration: 20m | ||
require: | ||
- clevis-luks | ||
- make | ||
- python3-dbus | ||
- python3-dbus-client-gen | ||
- python3-dbus-python-client-gen | ||
- python3-psutil | ||
- python3-pyudev | ||
test: TANG_URL=localhost RUST_LOG=stratisd=debug STRATISD=/usr/libexec/stratisd STRATIS_DUMPMETADATA=/usr/bin/stratis-dumpmetadata PYTHONPATH=./src make -f Makefile udev-tests tang-tests dump-metadata-tests | ||
path: /tests/client-dbus |