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:
Adam Williamson 2015-09-29 11:36:11 -07:00
parent 533dd806e2
commit d4ddfe167a
10 changed files with 115 additions and 33 deletions

17
main.pm
View File

@ -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

View 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"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

View 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"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

View File

@ -3,7 +3,7 @@
"anaconda_main_hub",
"ENV-DISTRI-fedora",
"ENV-LANGUAGE-ALL",
"ENV-INSTALLER-live"
"INSTALLER-smallhub"
],
"area": [
{

View File

@ -1,18 +1,18 @@
{
"area": [
{
"width": 103,
"xpos": 207,
"height": 45,
"height": 25,
"type": "match",
"ypos": 196
"width": 58,
"xpos": 222,
"ypos": 206
},
{
"width": 79,
"height": 54,
"height": 21,
"type": "match",
"xpos": 483,
"ypos": 195
"width": 66,
"xpos": 490,
"ypos": 210
}
],
"tags": [

View 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"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

View File

@ -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",