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
[PROPOSAL]Schedule systemd upstream tests dynamically #15083
Conversation
Great PR! Please pay attention to the following items before merging: Files matching
This is an automatically generated QA checklist based on modified files |
|
aa7e977
to
5df8238
Compare
5df8238
to
b5d31a8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
tests/systemd_testsuite/runner.pm
Outdated
@@ -0,0 +1,70 @@ | |||
# SUSE's openQA tests | |||
# | |||
# Copyright 2019-2020 SUSE LLC |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i think you can neglect the dates. Otherwise i think it needs update
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks nice @mloviska. just minor comments.
Hello @tblume, may I ask you for review as well? This way we can do not need to a file per test case in |
I'm happy that the systemd-testsuite code gets some maintenance from you guys! |
Should be fairly easy, I have got some examples cloning opensuse-Tumbleweed-DVD-x86_64-Build20220707-extra_tests_textmode@64bit.
|
Hm, I get a strange error when executing the tests therewith (booting from a previously created image): --< you can take a look at my testmachine at: http://knopfler.arch.suse.de/tests/8# |
I assume it happens because the VM has been shutdown. I am always using jobs that are chained after the installation as extra_tests_dracut. Installation jobs, mainly the ones that create a HDD set openQA variable |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
And thx for showing autotest::loadtest()
during runtime!!
Tests provided by systemd upstream are packaged in *systemd-testsuite*. Each test case is defined in folder with naming convention `TEST-\d{2}-$testname`. The runner schedules all test cases that are present in the provided package. Tests are preferably running in nswapn, however some of them require qemu. Users can override the default schedule either excluding certain test cases provided by a regex. For debug purposes users can provide a list of tests that will override the default schedule.
04744e7
to
aad6df6
Compare
Hello all, can we merge it if there are no objections? |
Tests provided by systemd upstream are packaged in systemd-testsuite.
Each test case is defined in folder with naming convention
TEST-\d{2}-$testname
. The runner schedules all test cases that arepresent in the provided package. Tests are preferably running in nswapn,
however some of them require qemu.
Users can override the default schedule either excluding certain test
cases provided by a regex. For debug purposes users can provide a list
of tests that will override the default schedule.