8.6 release fixes #92

Merged
akatch merged 14 commits from 8.6_release_fixes into develop 2022-06-09 23:15:17 +00:00
28 changed files with 243 additions and 23 deletions

View File

@ -101,6 +101,13 @@ It is very important, therefore, that needles have the correct tags. Any needle
Note that tags of the form `ENV-INSTLANG-(anything)` are useless artefacts and should be removed.
## Contribution Approval Guidelines
Use the following guidelines to understand the level of approval needed to merge your contributions:
1. Pull requests and merge requests to a non-default branch will require 1 visual inspection approval to merge, provided all comments are addressed and no requests for followup are outstanding.
1. Pull and merge requests to the default branch (`rocky`) require 2 visual inspection approvals **and** 1 openQA automation approval to merge.
1. When public openQA infrastructure is available, all pull requests should initiate an openQA build, which must pass prior to merge.
## Licensing and credits
The contents of this repository are available under the GPL, version 3 or any later version. A copy is included as COPYING. Note that we do not include the full GPL header in every single test file as they are quite short and this would waste a lot of space.

View File

@ -5,7 +5,7 @@ BUILD_NAME=$1
printf '# Build%s\n' "$BUILD_NAME"
printf "| Test | Result | Failure Reason | Effort to Fix | Notes |\n"
printf "| ---- | ------ | -------------- | ------------ | ----- |\n"
printf "| ---- | ------ | -------------- | ------------- | ----- |\n"
openqa-cli api -X GET jobs build="$BUILD_NAME" | \
jq -r '.jobs[] | {name,result} | join(" | ") | split("-") | last' | \

16
main.pm
View File

@ -175,14 +175,6 @@ sub load_install_tests() {
autotest::loadtest "tests/_anaconda_network_enable.pm";
}
## Kdump
if (get_var('ANACONDA_KDUMP') eq 'enabled') {
autotest::loadtest "tests/_anaconda_kdump_enable.pm";
}
else {
autotest::loadtest "tests/_anaconda_kdump_disable.pm";
}
## Installation source
if (get_var('MIRRORLIST_GRAPHICAL') || get_var("REPOSITORY_GRAPHICAL")) {
autotest::loadtest "tests/install_source_graphical.pm";
@ -215,6 +207,14 @@ sub load_install_tests() {
autotest::loadtest "tests/disk_guided_encrypted.pm";
}
## Kdump
if (get_var('ANACONDA_KDUMP') eq 'enabled') {
autotest::loadtest "tests/_anaconda_kdump_enable.pm";
}
else {
autotest::loadtest "tests/_anaconda_kdump_disable.pm";
}
# Start installation, set user & root passwords, reboot
# install and reboot phase is loaded automatically every time (except when KICKSTART is set)
autotest::loadtest "tests/_do_install_and_reboot.pm";

View File

@ -0,0 +1,17 @@
{
"area": [
{
"xpos": 912,
"ypos": 510,
"width": 90,
"height": 38,
"type": "match"
}
],
"properties": [],
"tags": [
"ENV-DISTRI-rocky",
"LANGUAGE-english",
"anaconda_install_destination_delete_all_btn_selected"
]
}

View File

@ -0,0 +1,17 @@
{
"area": [
{
"xpos": 878,
"ypos": 615,
"width": 124,
"height": 37,
"type": "match"
}
],
"properties": [],
"tags": [
"ENV-DISTRI-rocky",
"LANGUAGE-english",
"anaconda_install_destination_reclaim_space_btn_selected"
]
}

View File

@ -0,0 +1,17 @@
{
"area": [
{
"type": "match",
"height": 19,
"width": 105,
"ypos": 210,
"xpos": 56
}
],
"properties": [],
"tags": [
"ENV-DISTRI-rocky",
"ENV-FLAVOR-server",
"anaconda_install_source_selected"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

View File

@ -0,0 +1,31 @@
{
"area": [
{
"width": 33,
"type": "match",
"ypos": 410,
"height": 33,
"xpos": 721
},
{
"xpos": 242,
"height": 34,
"ypos": 199,
"type": "match",
"width": 41
},
{
"height": 37,
"ypos": 337,
"xpos": 244,
"width": 34,
"type": "match"
}
],
"properties": [],
"tags": [
"ENV-DISTRI-rocky",
"LANGUAGE-english",
"anaconda_main_hub"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

View File

@ -0,0 +1,16 @@
{
"area": [
{
"width": 73,
"type": "match",
"height": 21,
"xpos": 429,
"ypos": 477
}
],
"properties": [],
"tags": [
"ENV-DISTRI-rocky",
"autoupdate_planned_day"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

View File

@ -0,0 +1,16 @@
{
"area": [
{
"xpos": 531,
"ypos": 475,
"width": 40,
"height": 21,
"type": "match"
}
],
"properties": [],
"tags": [
"ENV-DISTRI-rocky",
"autoupdate_planned_time"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

View File

@ -0,0 +1,16 @@
{
"area": [
{
"type": "match",
"height": 27,
"width": 213,
"ypos": 548,
"xpos": 262
}
],
"properties": [],
"tags": [
"ENV-DISTRI-rocky",
"cockpit_main"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 76 KiB

View File

@ -0,0 +1,16 @@
{
"area": [
{
"xpos": 639,
"ypos": 241,
"width": 172,
"height": 30,
"type": "match"
}
],
"properties": [],
"tags": [
"ENV-DISTRI-rocky",
"cockpit_updates_updated"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

View File

@ -0,0 +1,16 @@
{
"area": [
{
"ypos": 374,
"xpos": 944,
"type": "match",
"height": 15,
"width": 52
}
],
"properties": [],
"tags": [
"ENV-DISTRI-rocky",
"cockpit_logs_entry"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 93 KiB

View File

@ -0,0 +1,16 @@
{
"area": [
{
"height": 14,
"type": "match",
"width": 145,
"ypos": 745,
"xpos": 263
}
],
"properties": [],
"tags": [
"ENV-DISTRI-rocky",
"cockpit_logs_detail"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 69 KiB

View File

@ -0,0 +1,16 @@
{
"area": [
{
"ypos": 585,
"xpos": 263,
"type": "match",
"height": 28,
"width": 133
}
],
"properties": [],
"tags": [
"ENV-DISTRI-rocky",
"cockpit_services_detail"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 67 KiB

View File

@ -57,6 +57,7 @@
"settings": {
"GRUB": "ip=dhcp",
"+QEMURAM": 3072,
"HDDSIZEGB": "15",
"TEST_TARGET": "ISO"
},
"version": "*"
@ -68,6 +69,7 @@
"settings": {
"GRUB": "ip=dhcp",
"+QEMURAM": 3072,
"HDDSIZEGB": "15",
"TEST_TARGET": "ISO"
},
"version": "*"
@ -79,6 +81,7 @@
"settings": {
"+QEMURAM": 3072,
"DEPLOY_UPLOAD_TEST": "install_minimal_upload",
"HDDSIZEGB": "15",
"TEST_TARGET": "ISO"
},
"version": "*"
@ -90,6 +93,7 @@
"settings": {
"+QEMURAM": 3072,
"DEPLOY_UPLOAD_TEST": "install_minimal_upload",
"HDDSIZEGB": "15",
"TEST_TARGET": "ISO"
},
"version": "*"
@ -100,6 +104,7 @@
"flavor": "dvd-iso",
"settings": {
"DEPLOY_UPLOAD_TEST": "install_default_upload",
"HDDSIZEGB": "15",
"TEST_TARGET": "ISO"
},
"version": "*"
@ -110,6 +115,7 @@
"flavor": "dvd-iso",
"settings": {
"DEPLOY_UPLOAD_TEST": "install_default_upload",
"HDDSIZEGB": "15",
"TEST_TARGET": "ISO"
},
"version": "*"
@ -119,6 +125,7 @@
"distri": "rocky",
"flavor": "package-set",
"settings": {
"HDDSIZEGB": "15",
"TEST_TARGET": "ISO"
},
"version": "*"
@ -128,6 +135,7 @@
"distri": "rocky",
"flavor": "package-set",
"settings": {
"HDDSIZEGB": "15",
"TEST_TARGET": "ISO"
},
"version": "*"
@ -137,6 +145,7 @@
"distri": "rocky",
"flavor": "universal",
"settings": {
"HDDSIZEGB": "15",
"TEST_TARGET": "ISO"
},
"version": "*"
@ -146,6 +155,7 @@
"distri": "rocky",
"flavor": "universal",
"settings": {
"HDDSIZEGB": "15",
"TEST_TARGET": "ISO"
},
"version": "*"
@ -348,7 +358,6 @@
"settings": {
"DESKTOP": "gnome",
"ENCRYPT_PASSWORD": "weakpassword",
"HDDSIZEGB": "15",
"LANGUAGE": "arabic",
"PACKAGE_SET": "workstation",
"POSTINSTALL": "_console_login",
@ -367,7 +376,6 @@
"settings": {
"DESKTOP": "gnome",
"ENCRYPT_PASSWORD": "weakpassword",
"HDDSIZEGB": "15",
"INPUT_METHOD": "1",
"LANGUAGE": "japanese",
"PACKAGE_SET": "workstation",
@ -386,6 +394,7 @@
},
"settings": {
"PARTITIONING": "custom_gui_lvm_ext4",
"HDDSIZEGB": "15",
"POSTINSTALL": "disk_custom_lvm_ext4_postinstall",
"ROOT_PASSWORD": "weakpassword"
}
@ -434,7 +443,6 @@
"settings": {
"DESKTOP": "gnome",
"ENCRYPT_PASSWORD": "weakpassword",
"HDDSIZEGB": "15",
"LANGUAGE": "russian",
"PACKAGE_SET": "workstation",
"POSTINSTALL": "_console_login",
@ -455,7 +463,6 @@
},
"settings": {
"DESKTOP": "gnome",
"HDDSIZEGB": "15",
"PACKAGE_SET": "default",
"POSTINSTALL": "_collect_data"
}
@ -513,6 +520,7 @@
"settings": {
"HDDMODEL": "ide-hd",
"HDD_1": "disk_full_mbr.img",
"HDDSIZEGB": "20",
"PARTITIONING": "guided_delete_all"
}
},
@ -524,7 +532,6 @@
"settings": {
"DESKTOP": "gnome",
"ENCRYPT_PASSWORD": "weakpassword",
"HDDSIZEGB": "15",
"LANGUAGE": "french",
"NO_UEFI_POST": "1",
"PACKAGE_SET": "workstation",
@ -553,7 +560,6 @@
"rocky-dvd-iso-x86_64-*-uefi": 41
},
"settings": {
"HDDSIZEGB": "15",
"PARTITIONING": "custom_lvm_ext4",
"ROOT_PASSWORD": "weakpassword",
"STORE_HDD_1": "disk_%FLAVOR%_%MACHINE%.qcow2"
@ -566,7 +572,6 @@
"rocky-dvd-iso-x86_64-*-uefi": 31
},
"settings": {
"HDDSIZEGB": "15",
"PARTITIONING": "custom_standard_partition_ext4",
"ROOT_PASSWORD": "weakpassword"
}
@ -655,7 +660,6 @@
"settings": {
"DESKTOP": "gnome",
"ENCRYPT_PASSWORD": "weakpassword",
"HDDSIZEGB": "15",
"PACKAGE_SET": "graphical-server",
"POSTINSTALL": "_console_login",
"ROOT_PASSWORD": "weakpassword",
@ -672,7 +676,6 @@
"settings": {
"DESKTOP": "gnome",
"ENCRYPT_PASSWORD": "weakpassword",
"HDDSIZEGB": "15",
"PACKAGE_SET": "workstation",
"POSTINSTALL": "_console_login",
"ROOT_PASSWORD": "weakpassword",
@ -759,7 +762,7 @@
},
"settings": {
"CDMODEL": "scsi-cd",
"GRUB": "inst.updates=https://rockypeople.org/groups/qa/updates/updates-openqa.img",
"GRUB": "inst.updates=https://fedorapeople.org/groups/qa/updates/updates-openqa.img",
"HDDMODEL": "scsi-hd",
"SCSICONTROLLER": "virtio-scsi-pci",
"TEST_UPDATES": "1"
@ -818,6 +821,7 @@
},
"settings": {
"HDD_1": "disk_freespace_%PART_TABLE_TYPE%.img",
"HDDSIZEGB": "20",
"PARTITIONING": "guided_free_space",
"ROOT_PASSWORD": "weakpassword"
}

View File

@ -18,6 +18,7 @@ sub run {
assert_and_click "anaconda_install_destination_reclaim_space_delete_btn";
# If this fails with a disabled button, we didn't reclaim enough space to perform installation
assert_and_click "anaconda_install_destination_reclaim_space_btn";
# Anaconda hub

View File

@ -31,6 +31,20 @@ sub run {
assert_and_click "anaconda_spoke_done";
# if we get the "Reclaim Space" dialog, hit enter to reclaim space
if (check_screen("anaconda_install_destination_reclaim_space_btn", 5)) {
# hit enter to reclaim space
send_key "ret";
# select 'delete all' button and hit enter to delete existing data
send_key_until_needlematch("anaconda_install_destination_delete_all_btn_selected", "tab", 5);
send_key "ret";
# send tab 5 times to select "Reclaim Space" button
send_key_until_needlematch("anaconda_install_destination_reclaim_space_btn_selected", "tab", 5);
send_key "ret";
}
# Anaconda hub
assert_screen "anaconda_main_hub", 300; #