1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-21 21:43:08 +00:00

Compare commits

...

12 Commits

Author SHA1 Message Date
Adam Williamson
19dde69eaf Add several more tests to the desktop update test set
There's no obvious reason we're not also running these tests on
updates, so let's do it. We have to skip the advisory and UEFI
post checks for desktop_login as the last step of that test is
shutting down the system.

We leave out desktop_login for now because of
https://gitlab.gnome.org/GNOME/gjs/-/issues/647

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-04 23:36:06 -07:00
Adam Williamson
9d2a6b6652 Update dracut root logged in needle
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-04 23:31:24 -07:00
Adam Williamson
3244d17d67 Update gnome-panel screen locked needle for changed icon
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-04 23:31:02 -07:00
Adam Williamson
24bbce64a3 Update a gnome-keyring needle for a recent change
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-04 23:30:42 -07:00
Adam Williamson
28dfad9743 Update various loupe needles for latest version
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-04 23:30:00 -07:00
Adam Williamson
14b48e7bca Update console-in-toolbox needle for latest toolbox
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-04 23:29:40 -07:00
Adam Williamson
b0e6f2bc0c Adapt to changed KDE upgrade flow
We have to hit a drop-down now before we can tell it to restart
automatically.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-04 23:25:51 -07:00
Adam Williamson
aebdf08eb5 clocks: tweak how we select the hour text
double-click doesn't seem very reliable.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-04 23:20:07 -07:00
Adam Williamson
70271f1397 toolbox: handle changed uname string in Rawhide
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-04 16:19:46 -07:00
Adam Williamson
91f4a24b20 Also add FEDORA-2024-cb1e9f47a3 as F41 workaround
The new NetworkManager update needs it. Lack of composes is
starting to bite us more, need to get one through.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-03 12:18:30 -07:00
Adam Williamson
31691a317b Add a higher-NVR build of FreeIPA as a workaround for F42
The freeipa package in F41 got bumped to a higher NVR than the
one in F42, which causes FreeIPA upgrades to fail.

See: https://src.fedoraproject.org/rpms/freeipa/pull-request/22

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-03 10:12:01 -07:00
Adam Williamson
0b5aabcc57 Add FEDORA-2024-e331cd53ac as a workaround for F41
Another update depends on it. It's gone stable already, but we
are having issues with composes ATM so it hasn't made a compose.
It's safe to do this as we can be sure the depended-on update
will be in the next stable compose whenever it completes, so we
can't wind up in an inconsistent state.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-02 16:26:17 -07:00
29 changed files with 221 additions and 10 deletions

View File

@ -475,8 +475,8 @@ sub get_workarounds {
my %workarounds = (
"39" => [],
"40" => [],
"41" => [],
"42" => [],
"41" => ["FEDORA-2024-e331cd53ac", "FEDORA-2024-cb1e9f47a3"],
"42" => ["124312792"],
"eln" => [],
);
my $advortasks = $workarounds{$version};

View File

@ -352,11 +352,8 @@ sub load_postinstall_tests() {
}
# load the ADVISORY / KOJITASK post-install test - this records which
# update or task packages were actually installed during the test. Don't
# do this for netinst tests; as these just use the default install repo,
# they will not get the packages from the update. But installs from live
# image and ostree installer image should get them.
if (get_var("ADVISORY_OR_TASK") && get_var("TEST") ne "install_default_update_netinst") {
# update or task packages were actually installed during the test.
if (get_var("ADVISORY_OR_TASK") && !get_var("NO_ADVISORY_POST")) {
# don't do this for support server unless the update is for the same
# release as the support server disk image, as we don't install the
# updates on support server when they differ

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 1,
"width": 20,
"ypos": 753,
"type": "match",
"height": 14
}
],
"properties": [],
"tags": [
"console_in_toolbox"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 84 KiB

View File

@ -0,0 +1,25 @@
{
"area": [
{
"xpos": 71,
"width": 72,
"ypos": 625,
"type": "match",
"height": 14
},
{
"xpos": 48,
"ypos": 753,
"width": 30,
"height": 15,
"type": "match"
}
],
"properties": [],
"tags": [
"root_logged_in",
"root_console",
"root_console_dracut",
"ENV-DISTRI-fedora"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 95 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"type": "match",
"height": 59,
"width": 52,
"xpos": 484,
"ypos": 309
}
],
"properties": [],
"tags": [
"panel_screen_locked"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 154 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"ypos": 105,
"width": 193,
"xpos": 338,
"height": 38,
"type": "match"
}
],
"properties": [],
"tags": [
"keyring_seahorse_login_details"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"width": 57,
"xpos": 793,
"ypos": 512,
"type": "match",
"height": 204
}
],
"properties": [],
"tags": [
"loupe_img_info"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 495 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"type": "match",
"height": 18,
"width": 18,
"xpos": 502,
"ypos": 750
}
],
"properties": [],
"tags": [
"loupe_shortcuts_alt_page"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 209 KiB

View File

@ -0,0 +1,22 @@
{
"area": [
{
"type": "match",
"height": 22,
"width": 116,
"xpos": 181,
"ypos": 550
},
{
"height": 20,
"type": "match",
"ypos": 66,
"width": 95,
"xpos": 441
}
],
"properties": [],
"tags": [
"loupe_shortcuts_alt_shown"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 238 KiB

View File

@ -0,0 +1,22 @@
{
"area": [
{
"type": "match",
"height": 19,
"width": 121,
"xpos": 388,
"ypos": 66
},
{
"xpos": 182,
"width": 65,
"ypos": 66,
"type": "match",
"height": 17
}
],
"properties": [],
"tags": [
"loupe_shortcuts_shown"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 209 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 793,
"width": 79,
"ypos": 190,
"type": "match",
"height": 143
}
],
"properties": [],
"tags": [
"loupe_side_panel"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 325 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"type": "match",
"height": 15,
"xpos": 501,
"width": 99,
"ypos": 690
}
],
"properties": [],
"tags": [
"desktop_package_tool_action_select"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 204 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 499,
"width": 49,
"ypos": 629,
"type": "match",
"height": 16
}
],
"properties": [],
"tags": [
"desktop_package_tool_restart_automatically"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 213 KiB

View File

@ -351,12 +351,24 @@
"fedora-updates-workstation-x86_64-*-64bit": 5
}
},
"desktop_keyring": {
"profiles": {
"fedora-updates-kde-x86_64-*-64bit": 5,
"fedora-updates-workstation-x86_64-*-64bit": 5
}
},
"desktop_printing": {
"profiles": {
"fedora-updates-kde-x86_64-*-64bit": 5,
"fedora-updates-workstation-x86_64-*-64bit": 5
}
},
"desktop_printing_builtin": {
"profiles": {
"fedora-updates-kde-x86_64-*-64bit": 5,
"fedora-updates-workstation-x86_64-*-64bit": 5
}
},
"desktop_terminal": {
"profiles": {
"fedora-updates-kde-x86_64-*-64bit": 5,
@ -395,6 +407,7 @@
"INSTALL_UNLOCK": "support_ready",
"ISO": "%ADVISORY_OR_TASK%-netinst-%ARCH%.iso",
"NICTYPE": "tap",
"NO_ADVISORY_POST": "1",
"PACKAGE_SET": "default",
"PARALLEL_WITH": "support_server@%ARCH_BASE_MACHINE%",
"WORKER_CLASS": "tap"
@ -601,6 +614,11 @@
"fedora-updates-everything-boot-iso-x86_64-*-64bit": 5
}
},
"toolbox": {
"profiles": {
"fedora-updates-workstation-x86_64-*-64bit": 5
}
},
"upgrade_desktop_encrypted_64bit": {
"profiles": {
"fedora-updates-workstation-upgrade-x86_64-*-64bit": 5

View File

@ -964,6 +964,8 @@
"settings": {
"BOOTFROM": "c",
"HDD_1": "disk_%FLAVOR%_%MACHINE%.qcow2",
"NO_ADVISORY_POST": "1",
"NO_UEFI_POST": "1",
"POSTINSTALL": "desktop_login",
"START_AFTER_TEST": "%DEPLOY_UPLOAD_TEST%"
}

View File

@ -13,7 +13,9 @@ sub run {
# Add a new alarm using the Add Alarm button
assert_and_click("clocks_button_add_alarm");
assert_and_dclick("clocks_alarm_hour");
assert_and_click("clocks_alarm_hour");
wait_still_screen 2;
send_key("ctrl-a");
wait_still_screen(2);
type_very_safely("09");
send_key("tab");

View File

@ -80,6 +80,8 @@ sub run {
assert_and_click("desktop_package_tool_update_apply", timeout => 1200);
# Once we click that button, we can check the checkbutton
# for restarting the computer automatically.
assert_screen ["desktop_package_tool_restart_automatically", "desktop_package_tool_action_select"];
click_lastmatch if (match_has_tag "desktop_package_tool_action_select");
assert_and_click("desktop_package_tool_restart_automatically");
# When we see auth_required, it means the restart has been triggered
# and we need to authorize it

View File

@ -37,8 +37,9 @@ sub run {
}
# check to see if toolbox can list container
assert_script_run "toolbox list | grep container1";
# run a specific command on a given container
validate_script_output "toolbox run --container container1 uname -a", sub { m/Linux toolbox/ };
# run a specific command on a given container, note as of 2024-10
# the output changed from "Linux toolbox" to "Linux toolbx"
validate_script_output "toolbox run --container container1 uname -a", sub { m/Linux toolbo?x/ };
# enter container to test
type_string "toolbox enter container1\n";
# holds on to the screen