mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-11 17:34:23 +00:00
add a default_install test for cloud atomic installer image
Summary:
We have these 'atomic installer' images (so far just Cloud),
and maxamillion wanted to get them tested. Turns out it's
pretty trivial - they look much like other installs. Only
little wrinkle is they have a reduced hub (no repository
needles) like live images, but are not like live images in
any other way, so I rejigged the 'small hub needle filtering'
handling a bit.
There will be an accompanying diff for tools, and also some
changes in fedfind (these images are getting built nightly
for *current stable*, and it'd be good to test those).
Because we'd like to test the 22 nightlies, I had to add some
needles for 'olddpi' versions of a few screens. See 2e4c1c2
-
the 22 Atomic installer images still have the old GTK+ code
meaning they run at 96.09dpi. I only retook the necessary
needles for the default-install test, if we add any others we
made need to retake a few more needles.
Test Plan:
Schedule jobs for a compose with the atomic installer
image. You will need the matching openqa_fedora_tools diff and
the very latest git fedfind. Check the test for that image runs,
all other tests run as usual, excessive images are not
downloaded, and the atomic installer is not used for running
universal tests.
Reviewers: jskladan, garretraziel
Reviewed By: garretraziel
Subscribers: tflink
Differential Revision: https://phab.qadevel.cloud.fedoraproject.org/D595
This commit is contained in:
parent
533dd806e2
commit
d4ddfe167a
17
main.pm
17
main.pm
@ -45,14 +45,15 @@ sub unregister_except_tags {
|
||||
}
|
||||
|
||||
sub cleanup_needles() {
|
||||
if (!get_var('LIVE')) {
|
||||
## Unregister live-only installer needles. The main issue is the
|
||||
## hub: on non-live we want to wait for repository setup to complete,
|
||||
## but if we match that spoke's "ready" icon, it breaks live because
|
||||
## it doesn't have that spoke. So we have a live needle which doesn't
|
||||
## match on that icon, but we unregister it for non-live installs so
|
||||
## they don't match on it too soon.
|
||||
unregister_needle_tags("ENV-INSTALLER-live");
|
||||
if (!get_var('LIVE') and !get_var('CANNED')) {
|
||||
## Unregister smaller hub needles. Live and 'canned' installers have
|
||||
## a smaller hub with no repository spokes. On other images we want
|
||||
## to wait for repository setup to complete, but if we match that
|
||||
## spoke's "ready" icon, it breaks live and canned because they
|
||||
## don't have that spoke. So we have a needle which doesn't match
|
||||
## on that icon, but we unregister it for other installs so they
|
||||
## don't match on it too soon.
|
||||
unregister_needle_tags("INSTALLER-smallhub");
|
||||
}
|
||||
|
||||
# Unregister non-language-appropriate needles. Needles which are expected
|
||||
|
18
needles/anaconda_install_root_password_screen_olddpi.json
Normal file
18
needles/anaconda_install_root_password_screen_olddpi.json
Normal file
@ -0,0 +1,18 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"height": 16,
|
||||
"type": "match",
|
||||
"width": 96,
|
||||
"xpos": 241,
|
||||
"ypos": 111
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"anaconda_install_root_password_screen",
|
||||
"ENV-DISTRI-fedora",
|
||||
"ENV-LANGUAGE-ENGLISH",
|
||||
"ENV-FLAVOR-server"
|
||||
]
|
||||
}
|
BIN
needles/anaconda_install_root_password_screen_olddpi.png
Normal file
BIN
needles/anaconda_install_root_password_screen_olddpi.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 23 KiB |
25
needles/anaconda_install_user_creation_screen_olddpi.json
Normal file
25
needles/anaconda_install_user_creation_screen_olddpi.json
Normal file
@ -0,0 +1,25 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"height": 17,
|
||||
"type": "match",
|
||||
"width": 69,
|
||||
"xpos": 269,
|
||||
"ypos": 136
|
||||
},
|
||||
{
|
||||
"height": 17,
|
||||
"type": "match",
|
||||
"width": 62,
|
||||
"xpos": 277,
|
||||
"ypos": 269
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"anaconda_install_user_creation_screen",
|
||||
"ENV-DISTRI-fedora",
|
||||
"ENV-LANGUAGE-ENGLISH",
|
||||
"ENV-FLAVOR-server"
|
||||
]
|
||||
}
|
BIN
needles/anaconda_install_user_creation_screen_olddpi.png
Normal file
BIN
needles/anaconda_install_user_creation_screen_olddpi.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 32 KiB |
@ -3,7 +3,7 @@
|
||||
"anaconda_main_hub",
|
||||
"ENV-DISTRI-fedora",
|
||||
"ENV-LANGUAGE-ALL",
|
||||
"ENV-INSTALLER-live"
|
||||
"INSTALLER-smallhub"
|
||||
],
|
||||
"area": [
|
||||
{
|
||||
|
@ -1,24 +1,24 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"width": 103,
|
||||
"xpos": 207,
|
||||
"height": 45,
|
||||
"type": "match",
|
||||
"ypos": 196
|
||||
},
|
||||
{
|
||||
"width": 79,
|
||||
"height": 54,
|
||||
"type": "match",
|
||||
"xpos": 483,
|
||||
"ypos": 195
|
||||
}
|
||||
],
|
||||
"tags": [
|
||||
"anaconda_select_install_lang_filtered",
|
||||
"ENV-DESKTOP-default",
|
||||
"ENV-DISTRI-fedora",
|
||||
"ENV-LANGUAGE-ENGLISH"
|
||||
]
|
||||
}
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"height": 25,
|
||||
"type": "match",
|
||||
"width": 58,
|
||||
"xpos": 222,
|
||||
"ypos": 206
|
||||
},
|
||||
{
|
||||
"height": 21,
|
||||
"type": "match",
|
||||
"width": 66,
|
||||
"xpos": 490,
|
||||
"ypos": 210
|
||||
}
|
||||
],
|
||||
"tags": [
|
||||
"anaconda_select_install_lang_filtered",
|
||||
"ENV-DESKTOP-default",
|
||||
"ENV-DISTRI-fedora",
|
||||
"ENV-LANGUAGE-ENGLISH"
|
||||
]
|
||||
}
|
17
needles/anaconda_spoke_done_olddpi.json
Normal file
17
needles/anaconda_spoke_done_olddpi.json
Normal file
@ -0,0 +1,17 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"height": 22,
|
||||
"type": "match",
|
||||
"width": 55,
|
||||
"xpos": 23,
|
||||
"ypos": 38
|
||||
}
|
||||
],
|
||||
"tags": [
|
||||
"anaconda_spoke_done",
|
||||
"ENV-DESKTOP-default",
|
||||
"ENV-DISTRI-fedora",
|
||||
"ENV-LANGUAGE-ENGLISH"
|
||||
]
|
||||
}
|
BIN
needles/anaconda_spoke_done_olddpi.png
Normal file
BIN
needles/anaconda_spoke_done_olddpi.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 60 KiB |
21
templates
21
templates
@ -76,6 +76,16 @@
|
||||
},
|
||||
test_suite => { name => "default_install" },
|
||||
},
|
||||
{
|
||||
machine => { name => "64bit" },
|
||||
product => {
|
||||
arch => "x86_64",
|
||||
distri => "fedora",
|
||||
flavor => "cloud_atomic_canned",
|
||||
version => "*",
|
||||
},
|
||||
test_suite => { name => "default_install" },
|
||||
},
|
||||
{
|
||||
machine => { name => "64bit" },
|
||||
product => {
|
||||
@ -624,6 +634,17 @@
|
||||
variables => "",
|
||||
version => "*",
|
||||
},
|
||||
{
|
||||
arch => "x86_64",
|
||||
distri => "fedora",
|
||||
flavor => "cloud_atomic_canned",
|
||||
name => "",
|
||||
settings => [
|
||||
{ key => "CANNED", value => "1" }
|
||||
],
|
||||
variables => "",
|
||||
version => "*",
|
||||
},
|
||||
{
|
||||
arch => "x86_64",
|
||||
distri => "fedora",
|
||||
|
Loading…
Reference in New Issue
Block a user