-
Notifications
You must be signed in to change notification settings - Fork 270
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
Move the vagrant tests out of the virtualization group #8883
Move the vagrant tests out of the virtualization group #8883
Conversation
dcermak
commented
Nov 11, 2019
•
edited by DimStar77
Loading
edited by DimStar77
- Related ticket: https://progress.opensuse.org/issues/59333
- Needles: not required
- Verification run: TODO
Ok, I have honestly no idea how to make a test run for this. openqa-clone-custom-refspec doesn't work here, because I cannot clone this job. Help? |
I guess you can't clone it, because the job doesn't exist yet right? if so you can always start off a pre existing job:
As for how to make sure it is properly added, by using the extra_tests mechanism: You will need to create the test suite in o3, After this is done, rename and move To verify that it works, you can use again the openqa-clone-custom-git-refspec:
Note that you could chain up multiple extratests in the same run
Ping me here or IRC :) |
extra_tests_vagrant sounds reasonable as a name for the new test |
oh - preferably we would chain that behind create_hdd_textmode, as vagrant, as far as I understood so far, does not require a X Server/GUI - so having it behind GNOME (like virtualization) can be avoided |
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'm against moving the vagrant tests out of the physical directory.
tests/vagrant/boxes/tumbleweed.pm
Outdated
@@ -50,7 +50,7 @@ sub run() { | |||
# | |||
# get Vagrantfile template and replace the distro name & insert box filenames | |||
# | |||
assert_script_run("wget --quiet " . data_url("virtualization/Vagrantfile")); | |||
assert_script_run("wget --quiet " . data_url("vagrant/Vagrantfile")); |
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 would rather recommend to move your files to virtualization/vagrant
so that the scope is clearer, the same applies for the .pm files. At this moment most of the directories under /tests/
help to organize the test modules by domain (although this seems to be an unwritten rule), and to me, vagrant falls inside the virtualization domain :).
Can we not move it? (At the test suite level/job group, I don't care much)
As a bonus: https://openqa.opensuse.org/tests/1084439# |
1c89241
to
cfc8047
Compare
I think the tests should work in the current state (local test run is currently in progress), but they require the following prerequisites on o3:
and the description:
- upgrade_Leap_42.3_cryptlvm:
machine: uefi
+ - extra_tests_vagrant
- virtualization
|
I set this up in o3 and added the scenario to the Tumbleweed Development Group. |
products/opensuse/main.pm
Outdated
@@ -429,6 +429,7 @@ else { | |||
|| load_qam_install_tests() | |||
|| load_extra_tests() | |||
|| load_virtualization_tests() | |||
|| load_vagrant_tests() |
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.
You should add to your test suite:
EXTRATEST=vagrant
and this line won't be needed (And also VAGRANT=1 can be removed). Please re-read my comment from my previous review regarding the extratests mechanism or give it a look here to se how it works :)
If you decide to not use the extratests mechanism, please document the variable in variables.md.
cfc8047
to
4df09e0
Compare
4df09e0
to
4aa8128
Compare
@foursixnine I've tried to use a declarative schedule instead and it appears to do the right thing (TM) on my local machine (the test run didn't finish yet though, it just scheduled the right tests). |
Even better :D |
My local testrun was successful and I have updated the test suite settings for |
@dcermak I guess this is done & ready to merge? |
I have anything to add to this PR, beside my sincere apologies if it breaks something ;-). |
Test is scheduled to run on o3: https://openqa.opensuse.org/tests/1096936 |