Compare commits
10 Commits
4ac3eb71f9
...
74178d5fd5
Author | SHA1 | Date |
---|---|---|
Adam Williamson | 74178d5fd5 | |
Adam Williamson | 1739f38061 | |
Adam Williamson | 66aa587755 | |
Adam Williamson | cc832a4ad8 | |
Adam Williamson | 5332b99076 | |
Adam Williamson | 8ebf3bdddb | |
Adam Williamson | 37150e430f | |
Adam Williamson | f6273425ee | |
Adam Williamson | 92c822a719 | |
Adam Williamson | 222223309e |
|
@ -476,7 +476,7 @@ sub get_workarounds {
|
|||
my %workarounds = (
|
||||
"38" => [],
|
||||
"39" => [],
|
||||
"40" => ["FEDORA-2024-b8e524ffdd"],
|
||||
"40" => ["FEDORA-2024-01fd5aa621"],
|
||||
"41" => [],
|
||||
);
|
||||
my $advortasks = $workarounds{$version};
|
||||
|
|
8
main.pm
|
@ -310,10 +310,6 @@ sub load_postinstall_tests() {
|
|||
}
|
||||
autotest::loadtest $storagepost if ($storagepost);
|
||||
|
||||
if (get_var("UEFI") && !get_var("NO_UEFI_POST") && !get_var("START_AFTER_TEST")) {
|
||||
autotest::loadtest "tests/uefi_postinstall.pm";
|
||||
}
|
||||
|
||||
# console avc / crash check
|
||||
# it makes no sense to run this after logging in on most post-
|
||||
# install tests (hence ! BOOTFROM) and we do not want it
|
||||
|
@ -362,6 +358,10 @@ sub load_postinstall_tests() {
|
|||
}
|
||||
}
|
||||
|
||||
if (get_var("UEFI") && !get_var("NO_UEFI_POST") && !get_var("START_AFTER_TEST")) {
|
||||
autotest::loadtest "tests/uefi_postinstall.pm";
|
||||
}
|
||||
|
||||
# we should shut down before uploading disk images
|
||||
if (get_var("STORE_HDD_1") || get_var("STORE_HDD_2") || get_var("PUBLISH_HDD_1")) {
|
||||
autotest::loadtest "tests/_console_shutdown.pm";
|
||||
|
|
|
@ -0,0 +1,20 @@
|
|||
{
|
||||
"area": [
|
||||
{
|
||||
"width": 74,
|
||||
"type": "match",
|
||||
"height": 16,
|
||||
"xpos": 465,
|
||||
"ypos": 577
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"ENV-DISTRI-fedora",
|
||||
"ENV-FLAVOR-server_boot",
|
||||
"ENV-FLAVOR-workstation_live",
|
||||
"ENV-UEFI-1",
|
||||
"bootloader_uefi",
|
||||
"bootloader"
|
||||
]
|
||||
}
|
After Width: | Height: | Size: 9.6 KiB |
|
@ -0,0 +1,23 @@
|
|||
{
|
||||
"area": [
|
||||
{
|
||||
"width": 17,
|
||||
"height": 18,
|
||||
"ypos": 89,
|
||||
"xpos": 88,
|
||||
"type": "match"
|
||||
},
|
||||
{
|
||||
"width": 17,
|
||||
"xpos": 991,
|
||||
"ypos": 88,
|
||||
"height": 18,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"firefox",
|
||||
"browser"
|
||||
]
|
||||
}
|
After Width: | Height: | Size: 1017 KiB |
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"area": [
|
||||
{
|
||||
"width": 102,
|
||||
"xpos": 231,
|
||||
"ypos": 106,
|
||||
"type": "match",
|
||||
"height": 28
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"clocks_alarm_snooze_confirmed"
|
||||
]
|
||||
}
|
After Width: | Height: | Size: 39 KiB |
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"area": [
|
||||
{
|
||||
"width": 87,
|
||||
"xpos": 468,
|
||||
"ypos": 367,
|
||||
"height": 25,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"clocks_timer_page"
|
||||
]
|
||||
}
|
After Width: | Height: | Size: 44 KiB |
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"area": [
|
||||
{
|
||||
"type": "match",
|
||||
"height": 24,
|
||||
"ypos": 718,
|
||||
"xpos": 974,
|
||||
"width": 24
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"maps_button_zoom_in"
|
||||
]
|
||||
}
|
After Width: | Height: | Size: 1.1 MiB |
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"area": [
|
||||
{
|
||||
"height": 22,
|
||||
"type": "match",
|
||||
"ypos": 718,
|
||||
"xpos": 923,
|
||||
"width": 19
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"maps_button_zoom_out"
|
||||
]
|
||||
}
|
After Width: | Height: | Size: 628 KiB |
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"area": [
|
||||
{
|
||||
"ypos": 389,
|
||||
"height": 102,
|
||||
"type": "match",
|
||||
"xpos": 446,
|
||||
"width": 141
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"maps_exported_map"
|
||||
]
|
||||
}
|
After Width: | Height: | Size: 1.1 MiB |
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"area": [
|
||||
{
|
||||
"width": 137,
|
||||
"xpos": 443,
|
||||
"type": "match",
|
||||
"height": 117,
|
||||
"ypos": 374
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"maps_found_brno"
|
||||
]
|
||||
}
|
After Width: | Height: | Size: 1.1 MiB |
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"area": [
|
||||
{
|
||||
"width": 146,
|
||||
"xpos": 431,
|
||||
"ypos": 389,
|
||||
"height": 107,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"maps_found_denali"
|
||||
]
|
||||
}
|
After Width: | Height: | Size: 84 KiB |
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"area": [
|
||||
{
|
||||
"ypos": 398,
|
||||
"height": 129,
|
||||
"type": "match",
|
||||
"xpos": 453,
|
||||
"width": 150
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"maps_found_poysdorf"
|
||||
]
|
||||
}
|
After Width: | Height: | Size: 658 KiB |
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"area": [
|
||||
{
|
||||
"height": 128,
|
||||
"type": "match",
|
||||
"ypos": 327,
|
||||
"xpos": 374,
|
||||
"width": 212
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"maps_found_pune"
|
||||
]
|
||||
}
|
After Width: | Height: | Size: 454 KiB |
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"area": [
|
||||
{
|
||||
"height": 140,
|
||||
"type": "match",
|
||||
"ypos": 371,
|
||||
"xpos": 412,
|
||||
"width": 192
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"maps_found_vilnius"
|
||||
]
|
||||
}
|
After Width: | Height: | Size: 952 KiB |
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"area": [
|
||||
{
|
||||
"type": "match",
|
||||
"height": 119,
|
||||
"ypos": 379,
|
||||
"width": 198,
|
||||
"xpos": 379
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"maps_found_wellington"
|
||||
]
|
||||
}
|
After Width: | Height: | Size: 377 KiB |
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 377,
|
||||
"ypos": 191,
|
||||
"width": 98,
|
||||
"height": 60,
|
||||
"type": "match"
|
||||
},
|
||||
{
|
||||
"xpos": 456,
|
||||
"ypos": 104,
|
||||
"width": 52,
|
||||
"height": 36,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"maps_info_vilnius"
|
||||
]
|
||||
}
|
After Width: | Height: | Size: 588 KiB |
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
"area": [
|
||||
{
|
||||
"type": "match",
|
||||
"height": 91,
|
||||
"ypos": 516,
|
||||
"xpos": 468,
|
||||
"width": 173
|
||||
},
|
||||
{
|
||||
"width": 117,
|
||||
"xpos": 374,
|
||||
"ypos": 644,
|
||||
"type": "match",
|
||||
"height": 60
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"maps_info_wellington"
|
||||
]
|
||||
}
|
After Width: | Height: | Size: 374 KiB |
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"area": [
|
||||
{
|
||||
"ypos": 362,
|
||||
"type": "match",
|
||||
"height": 162,
|
||||
"xpos": 415,
|
||||
"width": 197
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"maps_map_zoomed"
|
||||
]
|
||||
}
|
After Width: | Height: | Size: 628 KiB |
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"area": [
|
||||
{
|
||||
"type": "match",
|
||||
"height": 318,
|
||||
"ypos": 354,
|
||||
"width": 102,
|
||||
"xpos": 347
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"maps_route_bike_shown"
|
||||
]
|
||||
}
|
After Width: | Height: | Size: 460 KiB |
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"area": [
|
||||
{
|
||||
"ypos": 371,
|
||||
"height": 309,
|
||||
"type": "match",
|
||||
"xpos": 355,
|
||||
"width": 80
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"maps_route_car_shown"
|
||||
]
|
||||
}
|
After Width: | Height: | Size: 287 KiB |
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"area": [
|
||||
{
|
||||
"ypos": 417,
|
||||
"height": 147,
|
||||
"type": "match",
|
||||
"width": 73,
|
||||
"xpos": 319
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"maps_route_walk_shown"
|
||||
]
|
||||
}
|
After Width: | Height: | Size: 425 KiB |
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 11,
|
||||
"width": 151,
|
||||
"ypos": 720,
|
||||
"type": "match",
|
||||
"height": 38
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"maps_scale_on"
|
||||
]
|
||||
}
|
After Width: | Height: | Size: 1.1 MiB |
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 0,
|
||||
"ypos": 109,
|
||||
"height": 53,
|
||||
"type": "match",
|
||||
"width": 148
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"sysmon_fsystems_shown"
|
||||
]
|
||||
}
|
After Width: | Height: | Size: 108 KiB |
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 333,
|
||||
"width": 20,
|
||||
"ypos": 43,
|
||||
"type": "match",
|
||||
"height": 22
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"sysmon_processes_button"
|
||||
]
|
||||
}
|
After Width: | Height: | Size: 47 KiB |
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 78,
|
||||
"width": 41,
|
||||
"ypos": 206,
|
||||
"height": 22,
|
||||
"type": "match"
|
||||
},
|
||||
{
|
||||
"type": "match",
|
||||
"height": 21,
|
||||
"ypos": 353,
|
||||
"xpos": 113,
|
||||
"width": 63
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"sysmon_resources_shown"
|
||||
]
|
||||
}
|
After Width: | Height: | Size: 104 KiB |
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
"area": [
|
||||
{
|
||||
"width": 89,
|
||||
"xpos": 171,
|
||||
"ypos": 58,
|
||||
"height": 202,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"desktop_update_notification_only",
|
||||
"desktop_update_notification",
|
||||
"DESKTOP-gnome"
|
||||
]
|
||||
}
|
After Width: | Height: | Size: 546 KiB |
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"area": [
|
||||
{
|
||||
"width": 53,
|
||||
"xpos": 691,
|
||||
"ypos": 114,
|
||||
"type": "match",
|
||||
"height": 37
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"gnome_button_toggle"
|
||||
]
|
||||
}
|
After Width: | Height: | Size: 8.1 KiB |
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"area": [
|
||||
{
|
||||
"width": 92,
|
||||
"xpos": 589,
|
||||
"ypos": 467,
|
||||
"type": "match",
|
||||
"height": 17
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"grant_access"
|
||||
]
|
||||
}
|
After Width: | Height: | Size: 566 KiB |
|
@ -5,7 +5,7 @@
|
|||
"distri": "fedora",
|
||||
"flavor": "updates-container",
|
||||
"settings": {
|
||||
"+HDD_1": "disk_f%VERSION%_server_3_%ARCH%.qcow2",
|
||||
"+HDD_1": "disk_f%VERSION%_server_4_%ARCH%.qcow2",
|
||||
"NUMDISKS": "2",
|
||||
"RETRY": "1"
|
||||
},
|
||||
|
@ -16,7 +16,7 @@
|
|||
"distri": "fedora",
|
||||
"flavor": "updates-container",
|
||||
"settings": {
|
||||
"+HDD_1": "disk_f%VERSION%_server_3_%ARCH%.qcow2",
|
||||
"+HDD_1": "disk_f%VERSION%_server_4_%ARCH%.qcow2",
|
||||
"NUMDISKS": "2",
|
||||
"RETRY": "1"
|
||||
},
|
||||
|
@ -27,7 +27,7 @@
|
|||
"distri": "fedora",
|
||||
"flavor": "updates-container",
|
||||
"settings": {
|
||||
"+HDD_1": "disk_f%VERSION%_server_3_%ARCH%.qcow2",
|
||||
"+HDD_1": "disk_f%VERSION%_server_4_%ARCH%.qcow2",
|
||||
"NUMDISKS": "2",
|
||||
"RETRY": "1"
|
||||
},
|
||||
|
@ -48,7 +48,7 @@
|
|||
"distri": "fedora",
|
||||
"flavor": "updates-kde",
|
||||
"settings": {
|
||||
"+HDD_1": "disk_f%VERSION%_kde_4_%ARCH%.qcow2",
|
||||
"+HDD_1": "disk_f%VERSION%_kde_5_%ARCH%.qcow2",
|
||||
"DESKTOP": "kde",
|
||||
"NUMDISKS": "2",
|
||||
"RETRY": "1"
|
||||
|
@ -60,7 +60,7 @@
|
|||
"distri": "fedora",
|
||||
"flavor": "updates-server",
|
||||
"settings": {
|
||||
"+HDD_1": "disk_f%VERSION%_server_3_%ARCH%.qcow2",
|
||||
"+HDD_1": "disk_f%VERSION%_server_4_%ARCH%.qcow2",
|
||||
"NUMDISKS": "2",
|
||||
"RETRY": "1"
|
||||
},
|
||||
|
@ -71,7 +71,7 @@
|
|||
"distri": "fedora",
|
||||
"flavor": "updates-server",
|
||||
"settings": {
|
||||
"+HDD_1": "disk_f%VERSION%_server_3_%ARCH%.qcow2",
|
||||
"+HDD_1": "disk_f%VERSION%_server_4_%ARCH%.qcow2",
|
||||
"NUMDISKS": "2",
|
||||
"RETRY": "1"
|
||||
},
|
||||
|
@ -82,7 +82,7 @@
|
|||
"distri": "fedora",
|
||||
"flavor": "updates-server-upgrade",
|
||||
"settings": {
|
||||
"+HDD_1": "disk_f%VERSION%_server_3_%ARCH%.qcow2",
|
||||
"+HDD_1": "disk_f%VERSION%_server_4_%ARCH%.qcow2",
|
||||
"NUMDISKS": "2",
|
||||
"RETRY": "1"
|
||||
},
|
||||
|
@ -113,7 +113,7 @@
|
|||
"distri": "fedora",
|
||||
"flavor": "updates-server",
|
||||
"settings": {
|
||||
"+HDD_1": "disk_f%VERSION%_server_3_%ARCH%.qcow2",
|
||||
"+HDD_1": "disk_f%VERSION%_server_4_%ARCH%.qcow2",
|
||||
"NUMDISKS": "2",
|
||||
"RETRY": "1"
|
||||
},
|
||||
|
@ -182,7 +182,7 @@
|
|||
"flavor": "updates-workstation",
|
||||
"settings": {
|
||||
"DESKTOP": "gnome",
|
||||
"+HDD_1": "disk_f%VERSION%_desktop_4_%ARCH%.qcow2",
|
||||
"+HDD_1": "disk_f%VERSION%_desktop_5_%ARCH%.qcow2",
|
||||
"NUMDISKS": "2",
|
||||
"RETRY": "1"
|
||||
},
|
||||
|
@ -206,8 +206,8 @@
|
|||
"machine": "64bit",
|
||||
"product": "fedora-updates-everything-boot-iso-x86_64-*"
|
||||
},
|
||||
"fedora-updates-everything-boot-iso-x86_64-*-uefi": {
|
||||
"machine": "uefi",
|
||||
"fedora-updates-everything-boot-iso-x86_64-*-bios": {
|
||||
"machine": "bios",
|
||||
"product": "fedora-updates-everything-boot-iso-x86_64-*"
|
||||
},
|
||||
"fedora-updates-kde-x86_64-*-64bit": {
|
||||
|
@ -238,24 +238,24 @@
|
|||
"machine": "64bit",
|
||||
"product": "fedora-updates-kde-live-iso-x86_64-*"
|
||||
},
|
||||
"fedora-updates-kde-live-iso-x86_64-*-uefi": {
|
||||
"machine": "uefi",
|
||||
"fedora-updates-kde-live-iso-x86_64-*-bios": {
|
||||
"machine": "bios",
|
||||
"product": "fedora-updates-kde-live-iso-x86_64-*"
|
||||
},
|
||||
"fedora-updates-silverblue-dvd_ostree-iso-x86_64-*-64bit": {
|
||||
"machine": "64bit",
|
||||
"product": "fedora-updates-silverblue-dvd_ostree-iso-x86_64-*"
|
||||
},
|
||||
"fedora-updates-silverblue-dvd_ostree-iso-x86_64-*-uefi": {
|
||||
"machine": "uefi",
|
||||
"fedora-updates-silverblue-dvd_ostree-iso-x86_64-*-bios": {
|
||||
"machine": "bios",
|
||||
"product": "fedora-updates-silverblue-dvd_ostree-iso-x86_64-*"
|
||||
},
|
||||
"fedora-updates-workstation-live-iso-x86_64-*-64bit": {
|
||||
"machine": "64bit",
|
||||
"product": "fedora-updates-workstation-live-iso-x86_64-*"
|
||||
},
|
||||
"fedora-updates-workstation-live-iso-x86_64-*-uefi": {
|
||||
"machine": "uefi",
|
||||
"fedora-updates-workstation-live-iso-x86_64-*-bios": {
|
||||
"machine": "bios",
|
||||
"product": "fedora-updates-workstation-live-iso-x86_64-*"
|
||||
},
|
||||
"fedora-updates-workstation-upgrade-x86_64-*-64bit": {
|
||||
|
@ -367,10 +367,10 @@
|
|||
},
|
||||
"install_default_update_live": {
|
||||
"profiles": {
|
||||
"fedora-updates-kde-live-iso-x86_64-*-bios": 5,
|
||||
"fedora-updates-kde-live-iso-x86_64-*-64bit": 5,
|
||||
"fedora-updates-kde-live-iso-x86_64-*-uefi": 5,
|
||||
"fedora-updates-workstation-live-iso-x86_64-*-64bit": 5,
|
||||
"fedora-updates-workstation-live-iso-x86_64-*-uefi": 5
|
||||
"fedora-updates-workstation-live-iso-x86_64-*-bios": 5,
|
||||
"fedora-updates-workstation-live-iso-x86_64-*-64bit": 5
|
||||
},
|
||||
"settings": {
|
||||
"+START_AFTER_TEST": "live_build@%ARCH_BASE_MACHINE%",
|
||||
|
@ -381,8 +381,8 @@
|
|||
},
|
||||
"install_default_update_netinst": {
|
||||
"profiles": {
|
||||
"fedora-updates-everything-boot-iso-x86_64-*-64bit": 5,
|
||||
"fedora-updates-everything-boot-iso-x86_64-*-uefi": 5
|
||||
"fedora-updates-everything-boot-iso-x86_64-*-bios": 5,
|
||||
"fedora-updates-everything-boot-iso-x86_64-*-64bit": 5
|
||||
},
|
||||
"settings": {
|
||||
"+START_AFTER_TEST": "installer_build@%ARCH_BASE_MACHINE%",
|
||||
|
@ -410,7 +410,7 @@
|
|||
},
|
||||
"install_default_ostree": {
|
||||
"profiles": {
|
||||
"fedora-updates-silverblue-dvd_ostree-iso-x86_64-*-uefi": 5
|
||||
"fedora-updates-silverblue-dvd_ostree-iso-x86_64-*-bios": 5
|
||||
},
|
||||
"settings": {
|
||||
"INSTALL": "1",
|
||||
|
@ -425,7 +425,7 @@
|
|||
},
|
||||
"settings": {
|
||||
"BOOTFROM": "c",
|
||||
"HDD_1": "disk_f%VERSION%_minimal_3_%ARCH%.qcow2",
|
||||
"HDD_1": "disk_f%VERSION%_minimal_4_%ARCH%.qcow2",
|
||||
"NUMDISKS": "2",
|
||||
"POSTINSTALL": "_installer_build",
|
||||
"ROOT_PASSWORD": "weakpassword",
|
||||
|
@ -442,7 +442,7 @@
|
|||
"+LIVE": "",
|
||||
"BOOTFROM": "c",
|
||||
"GRUB_POSTINSTALL": "selinux=0",
|
||||
"HDD_1": "disk_f%VERSION%_minimal_3_%ARCH%.qcow2",
|
||||
"HDD_1": "disk_f%VERSION%_minimal_4_%ARCH%.qcow2",
|
||||
"HDDSIZEGB_3": "25",
|
||||
"MAX_JOB_TIME": "10800",
|
||||
"+NUMDISKS": "3",
|
||||
|
@ -459,7 +459,7 @@
|
|||
"+DESKTOP": "",
|
||||
"+CANNED": "",
|
||||
"BOOTFROM": "c",
|
||||
"HDD_1": "disk_f%VERSION%_minimal_3_%ARCH%.qcow2",
|
||||
"HDD_1": "disk_f%VERSION%_minimal_4_%ARCH%.qcow2",
|
||||
"HDDSIZEGB_3": "30",
|
||||
"MAX_JOB_TIME": "12600",
|
||||
"+NUMDISKS": "3",
|
||||
|
|
|
@ -8,6 +8,10 @@ sub run {
|
|||
assert_screen "user_console", 300;
|
||||
type_string "sudo su\n";
|
||||
assert_script_run "coreos-installer install /dev/vda --ignition-url https://www.happyassassin.net/temp/openqa.ign", 600;
|
||||
# the CoreOS installer does not write an efibootmgr entry, so to
|
||||
# ensure we boot from hard disk on next boot, wipe the entry for
|
||||
# the optical drive
|
||||
assert_script_run('efibootmgr -b $(efibootmgr | grep CD-ROM | head -1 | cut -f1 | sed -e "s,[^0-9],,g") -B') if (get_var("UEFI"));
|
||||
type_string "reboot\n";
|
||||
}
|
||||
|
||||
|
|
|
@ -130,6 +130,12 @@ sub run {
|
|||
# just like non-lives). And if we're already doing something
|
||||
# else at a console, we may as well reboot from there too
|
||||
push(@actions, 'reboot') if (!get_var("MEMCHECK") && ((get_var("LIVE") && !$webui) || @actions));
|
||||
# check whether install is affected by
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=2268505 ,
|
||||
# soft fail and work around it if so
|
||||
if (get_var("CANNED") && get_var("UEFI")) {
|
||||
push(@actions, 'checkefibootmgr') if (get_var("UEFI"));
|
||||
}
|
||||
# our approach for taking all these actions doesn't work on VNC
|
||||
# installs, fortunately we don't need any of them in that case
|
||||
# yet, so for now let's just flush the list here if we're VNC
|
||||
|
@ -191,6 +197,16 @@ sub run {
|
|||
if (grep { $_ eq 'noplymouth' } @actions) {
|
||||
assert_script_run "chroot $mount dnf -y remove plymouth";
|
||||
}
|
||||
if (grep { $_ eq 'checkefibootmgr' } @actions) {
|
||||
if (script_run 'efibootmgr | grep fedora') {
|
||||
record_soft_failure "No EFI boot manager entry created - likely RHBZ #2268505";
|
||||
# delete the optical drive entry, if there is one, so hopefully
|
||||
# we'll boot via fallback path
|
||||
unless (script_run 'efibootmgr | grep CD-ROM') {
|
||||
assert_script_run('efibootmgr -b $(efibootmgr | grep CD-ROM | head -1 | cut -f1 | sed -e "s,[^0-9],,g") -B');
|
||||
}
|
||||
}
|
||||
}
|
||||
type_string "reboot\n" if (grep { $_ eq 'reboot' } @actions);
|
||||
}
|
||||
|
||||
|
|
|
@ -0,0 +1,30 @@
|
|||
use base "installedtest";
|
||||
use strict;
|
||||
use testapi;
|
||||
use utils;
|
||||
|
||||
sub run {
|
||||
my $self = shift;
|
||||
if (not(check_screen "root_console", 0)) {
|
||||
$self->root_console(tty => 4);
|
||||
}
|
||||
# now try deleting the "Fedora" boot entry and rebooting, to check the fallback path
|
||||
assert_script_run('efibootmgr -b $(efibootmgr | grep Fedora | head -1 | cut -f1 | sed -e "s,[^0-9],,g") -B');
|
||||
# check that worked
|
||||
validate_script_output('efibootmgr', sub { $_ !~ m/.*Fedora.*/s });
|
||||
type_string("reboot\n");
|
||||
boot_to_login_screen;
|
||||
$self->root_console(tty => 3);
|
||||
# Fedora entry should have been recreated
|
||||
validate_script_output('efibootmgr', sub { m/Fedora/ });
|
||||
# SB should still be enabled
|
||||
validate_script_output('mokutil --sb-state', sub { m/SecureBoot enabled/ });
|
||||
}
|
||||
|
||||
sub test_flags {
|
||||
return {fatal => 1};
|
||||
}
|
||||
|
||||
1;
|
||||
|
||||
# vim: set sw=4 et:
|
|
@ -30,14 +30,25 @@ sub run {
|
|||
# After another minute or so, the alarm should ring again.
|
||||
# This time we will use the stop button to stop it.
|
||||
assert_and_click("clocks_button_alarm_stop", timeout => 120);
|
||||
# The alarm should switch off but should stay listed active.
|
||||
assert_screen("clocks_alarm_active");
|
||||
# Now toggle the switch to inactivate it.
|
||||
# Up to 46.0, the alarm would stay active after being stopped; from
|
||||
# 46.0 onwards it goes inactive. FIXME this can be simplified to
|
||||
# assume it starts at 'inactive' once we are no longer testing
|
||||
# < 46.0 anywhere
|
||||
assert_screen(["clocks_alarm_active", "clocks_alarm_inactive"]);
|
||||
my $wasactive = match_has_tag("clocks_alarm_active");
|
||||
# Now toggle the switch to change its state
|
||||
assert_and_click("gnome_button_toggle");
|
||||
assert_screen("clocks_alarm_inactive");
|
||||
# whichever state it was in, check it's now in the other
|
||||
if ($wasactive) {
|
||||
assert_screen("clocks_alarm_inactive");
|
||||
}
|
||||
else {
|
||||
assert_screen("clocks_alarm_active");
|
||||
}
|
||||
# Delete alarm using the delete button.
|
||||
assert_and_click("gnome_button_cross_remove");
|
||||
if (check_screen("clocks_alarm_inactive")) {
|
||||
sleep 2;
|
||||
if (check_screen(["clocks_alarm_active", "clocks_alarm_inactive"])) {
|
||||
die("The alarm should have been deleted but it is still visible in the GUI");
|
||||
}
|
||||
|
||||
|
|
|
@ -13,6 +13,10 @@ sub run {
|
|||
console_loadkeys_us;
|
||||
# this test shows if the system is booted with efi
|
||||
assert_script_run '[ -d /sys/firmware/efi/ ]';
|
||||
# if Secure Boot should be enabled, check it is; if it isn't,
|
||||
# that *probably* indicates a test system issue not a distro bug,
|
||||
# but we want to know either way
|
||||
validate_script_output('mokutil --sb-state', sub { m/SecureBoot enabled/ }) if (get_var("UEFI_SECURE"));
|
||||
}
|
||||
|
||||
sub test_flags {
|
||||
|
|