os-autoinst-distri-rocky/tests
akatch 2c427618ac
8.6 release fixes (#92)
* Handle the "reclaim space" dialog

Adds handling for the "Reclaim Space" dialog, which can appear after the
user clicks "Done" in the partitioning spoke.

* Fix indentations

* Set default HDD size to 15GB

* Remove redundant HDDSIZEGB definitions

* Add more GiBs

* Workaround for #82

* Needle with new security policy spoke icon

* Add new needles to fix cockpit tests in 8.6

* Add contribution SOP to README

* Words

* Script fixes (#99)

* Increment version

* Fix this header

* Fix URL for updates.img (#98)

* ---
title: [8.6 Release Issues] Test Suite: install_delete_partial and install_custom_gui_lvm_ext4 on rocky 8.6
labels: 'test suite'
assignees: '@akatch'

---

# Description

Running openQA test suite `install_delete_partial` as above throws `Test died: no candidate needle with tag(s) 'anaconda_install_destination_reclaim_space_btn' matched` at module `disk_guided_delete_partial`.

At this stage, the "Reclaim Space" button in the lower right corner of the dialog is disabled.

Additionally, the dialog shows that 5GB will be reclaimed by the steps taken to that point in the test, but installation requires around 9GB. Do we need to reclaim enough space for installation in order to enable that button?
_Yes, the button is enabled when enough space to install is reclaimed._

Just adding HDDSIZEGB=20 to `templates.fif.json` did not increase volume size shown in the dialog. Do we need to recreate the img file?
_Yes, recreating the img file using createhdds.py against a larger size in hdds.json resolved this error._

The Reclaim Space dialog claimed 9.06GB was required to perform installation, and after doubling the size of disk_full_XXX.img we got past the Reclaim Space dialog. However, `_do_install_and_reboot` failed to install citing not enough disk space.

Fixes #80 when merged.

# How Has This Been Tested?

```
# NOTE: was not able to reproduce for install_custom_gui_lvm_ext4
openqa-cli api -X POST isos ISO=Rocky-8.6-x86_64-dvd1.iso ARCH=x86_64 DISTRI=rocky FLAVOR=dvd-iso VERSION=8.6 BUILD=8.6_dvd-iso_$(date +%Y%m%d.%H%M%S).0 TEST=install_custom_gui_lvm_ext4 PACKAGE_SET=graphical-server

openqa-cli api -X POST isos ISO=Rocky-8.6-x86_64-dvd1.iso ARCH=x86_64 DISTRI=rocky FLAVOR=universal VERSION=8.6 BUILD=8.6_universal_$(date +%Y%m%d.%H%M%S).0 TEST=install_delete_partial PACKAGE_SET=graphical-server
```

All tests must pass `_do_install_and_reboot`.
NOTE: These tests will fail at `_console_wait_login` with the issue in #81.

# Checklist:

- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my own code
- [x] I have commented my code, particularly in hard-to-understand areas
- [x] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings
- [ ] Any dependent changes have been merged and published in downstream modules

* Add new needle to mitigate the changed default
for install source on the network from http to https

Co-authored-by: lumarel <lumarel@users.noreply.github.com>
2022-06-09 18:15:17 -05:00
..
applications/evince Open Documents folder on Silverblue 2021-07-29 12:09:34 -07:00
apps_startstop Avoid a needle duplication in KDE vault test 2021-07-17 12:40:15 -07:00
_advisory_post.pm Factor meat out of advisory_post and do it in postfail too 2018-12-12 22:17:29 -08:00
_advisory_update.pm grub2-install parm set to /dev/vda1 for PowerPC 2019-03-12 19:41:20 +00:00
_anaconda_kdump_disable.pm wait for anaconda main hub before attempting kdump spoke 2021-08-17 18:21:31 -07:00
_anaconda_kdump_enable.pm wait for anaconda main hub before attempting kdump spoke 2021-08-17 18:21:31 -07:00
_anaconda_network_enable.pm connect network during boot (#66) 2021-12-02 18:18:43 -06:00
_anaconda_network_static.pm always enable network interface 2021-08-14 22:11:53 -07:00
_boot_to_anaconda.pm Fixes install_anaconda_text@64bit on rocky-8.4-universal-x86_64 (#56) 2021-11-10 18:47:10 -06:00
_check_install_source.pm Update check_install_source checks for anaconda changes 2021-05-25 18:04:06 -07:00
_collect_data.pm add addition data collection (#45) 2021-09-09 18:12:46 -05:00
_console_avc_crash.pm Drop #1600823 workaround 2018-12-17 14:30:09 -08:00
_console_login.pm Fix some minor syntax errors in previous commit 2018-06-13 10:11:53 -07:00
_console_shutdown.pm Disable hidden grub menu for uploaded base installs 2018-10-12 15:36:55 -07:00
_console_wait_login_2.pm Workaround issues with loading same module more than once 2017-04-18 10:38:16 -07:00
_console_wait_login.pm Enable aarch64 disk image testing, related fixes 2020-10-30 12:39:49 -07:00
_coreos_install.pm Add initial CoreOS product and test templates 2020-09-02 14:49:29 -07:00
_do_install_and_reboot.pm extend timeouts for Rocky (#71) 2021-12-16 16:57:51 -06:00
_graphical_input_2.pm Workaround issues with loading same module more than once 2017-04-18 10:38:16 -07:00
_graphical_input.pm Manually add Japanese input source for install_asian_language 2021-06-15 16:19:31 -07:00
_graphical_wait_login_2.pm Workaround issues with loading same module more than once 2017-04-18 10:38:16 -07:00
_graphical_wait_login.pm Fixes multiple tests in regard of the PACKAGE_SETs graphical-server and workstation (#61) 2021-11-11 19:39:34 -06:00
_installer_build.pm Always use rootfs size of 3GiB in installer build test 2021-02-09 11:19:43 -08:00
_iot_zezere_remote.pm Try to stabilize Zezere remote test with a wait_still_screen 2021-04-08 12:28:17 -07:00
_iot_zezere_server.pm Use 'test.openqa.fedoraproject.org' not 'domain.local' 2020-12-15 14:40:30 -08:00
_live_build.pm Use --isolation=simple for all mock commands in _live_build 2021-03-09 16:02:06 -08:00
_memcheck.pm Revamp post-install Doin' Stuff 2019-06-28 14:09:55 -07:00
_podman_client.pm Drop bypass_1691487 function and usage (bug seems fixed) 2021-05-06 09:02:52 -07:00
_post_network_static.pm Drop bypass_1691487 function and usage (bug seems fixed) 2021-05-06 09:02:52 -07:00
_setup_browser.pm Drop bypass_1691487 function and usage (bug seems fixed) 2021-05-06 09:02:52 -07:00
_software_selection.pm Test Suite: install_default on rocky-8.5-[minimal|boot|dvd]-iso-x86_64 (#77) 2022-03-31 18:23:01 -05:00
_support_server.pm Update root-user-crypted-net kickstart usages 2021-01-19 15:03:48 -08:00
_vnc_client_connect_pre.pm Use Vinagre instead of Boxes as VNC client, prepare Connections 2021-05-06 16:28:49 -07:00
_vnc_client_connect.pm Tweak _vnc_client_connect to click things better 2021-05-07 09:47:35 -07:00
_vncconnect_client_setup_pre.pm Use 'test.openqa.fedoraproject.org' not 'domain.local' 2020-12-15 14:40:30 -08:00
_vncconnect_client_setup.pm Split VNC client steps in two for aarch64 timing issue 2020-10-30 12:39:52 -07:00
anaconda_help.pm Add needles and code to complete anaconda_help test suite (#76) 2022-02-03 18:25:03 -06:00
apps_gnome_preset.pm Make solidify_wallpaper more universal to handle different desktops. 2020-05-05 00:14:35 +00:00
autocloud.pm Drop bypass_1691487 function and usage (bug seems fixed) 2021-05-06 09:02:52 -07:00
base_package_install_remove.pm Add testcase to test the Package_install_remove testcase. 2021-05-01 00:11:43 +02:00
base_reboot_unmount.pm Drop bypass_1691487 function and usage (bug seems fixed) 2021-05-06 09:02:52 -07:00
base_selinux.pm Drop bypass_1691487 function and usage (bug seems fixed) 2021-05-06 09:02:52 -07:00
base_service_manipulation.pm base_service_manipulation: use chronyd not sshd 2020-06-17 16:55:55 -07:00
base_services_start.pm Allow lm_sensors service to fail on aarch64 2020-12-04 14:46:54 -08:00
base_system_logging.pm add base system logging test 2017-06-01 11:06:04 +02:00
base_update_cli.pm Remove test_flags comments, add ignore_failure flag 2017-04-10 15:00:10 -07:00
btrfs_preserve_home_check_content.pm Drop bypass_1691487 function and usage (bug seems fixed) 2021-05-06 09:02:52 -07:00
database_client.pm Use qemu host IP 172.16.2.2 not 10.0.2.2 2020-07-23 16:40:45 -07:00
desktop_background.pm Add desktop login test, revise and rename check_desktop 2020-04-17 17:27:04 -07:00
desktop_browser.pm desktop_browser: wait out animations a bit longer when launching 2020-12-04 11:55:36 -08:00
desktop_login.pm Replace check_shutdown with assert_shutdown 2021-07-21 22:41:08 +00:00
desktop_notifications.pm Handle KDE having a permanent update notification again 2021-06-15 13:56:00 -07:00
desktop_printing.pm desktop_printing: adjust for cups-pdf output filename change 2021-06-04 13:51:24 -07:00
desktop_terminal.pm Update Konsole runs needle, maximize Konsole in desktop_terminal 2021-06-02 11:07:49 -07:00
desktop_update_graphical.pm Tweak the desktop update loop again to try and be more robust 2021-06-29 10:53:37 -07:00
disk_custom_blivet_btrfs_preserve_home.pm Create testcase to recreate Btrfs layout using Blivet and preserve home. 2021-01-28 09:51:32 +01:00
disk_custom_blivet_btrfs.pm Add 'with swap' tests, drop swap parts from other tests (#180) 2020-08-11 15:09:33 -07:00
disk_custom_blivet_ext3.pm Add 'with swap' tests, drop swap parts from other tests (#180) 2020-08-11 15:09:33 -07:00
disk_custom_blivet_lvm_ext4.pm Tweak Blivet LVM device type needles 2021-06-07 18:16:46 -07:00
disk_custom_blivet_lvmthin.pm Tweak Blivet LVM device type needles 2021-06-07 18:16:46 -07:00
disk_custom_blivet_resize_lvm.pm Introduce a resize check and a postinstall test for custom and blivet 2021-06-30 11:01:50 +02:00
disk_custom_blivet_software_raid.pm Add 'with swap' tests, drop swap parts from other tests (#180) 2020-08-11 15:09:33 -07:00
disk_custom_blivet_standard_partition_ext4_postinstall.pm Create Blivet standard partitioning with ext4 testcase. 2021-02-19 13:27:45 -08:00
disk_custom_blivet_standard_partition_ext4.pm Create Blivet standard partitioning with ext4 testcase. 2021-02-19 13:27:45 -08:00
disk_custom_blivet_with_swap.pm Add 'with swap' tests, drop swap parts from other tests (#180) 2020-08-11 15:09:33 -07:00
disk_custom_blivet_xfs.pm Add 'with swap' tests, drop swap parts from other tests (#180) 2020-08-11 15:09:33 -07:00
disk_custom_btrfs_postinstall.pm add postinstalls to custom partitioning tests 2017-05-09 09:11:34 +02:00
disk_custom_btrfs_preserve_home.pm Fix btrfs_preserve_home for UEFI 2021-02-19 14:48:47 -08:00
disk_custom_btrfs.pm Add several tests to test QA:Testcase_partitioning_custom_btrfs_preserve_home. 2021-01-20 16:50:39 +00:00
disk_custom_ext3_postinstall.pm add postinstalls to custom partitioning tests 2017-05-09 09:11:34 +02:00
disk_custom_ext3.pm Remove test_flags comments, add ignore_failure flag 2017-04-10 15:00:10 -07:00
disk_custom_gui_lvm_ext4.pm Replace blivet tests with custom GUI tests (#51) 2021-10-26 08:56:01 -07:00
disk_custom_gui_software_raid.pm Replace blivet tests with custom GUI tests (#51) 2021-10-26 08:56:01 -07:00
disk_custom_gui_standard_partition_ext4.pm Replace blivet tests with custom GUI tests (#51) 2021-10-26 08:56:01 -07:00
disk_custom_gui_xfs.pm Replace blivet tests with custom GUI tests (#51) 2021-10-26 08:56:01 -07:00
disk_custom_iscsi_postinstall.pm Remove test_flags comments, add ignore_failure flag 2017-04-10 15:00:10 -07:00
disk_custom_iscsi.pm Use qemu host IP 172.16.2.2 not 10.0.2.2 2020-07-23 16:40:45 -07:00
disk_custom_lvm_ext4_postinstall.pm Fixes multiple tests in regard of the PACKAGE_SETs graphical-server and workstation (#61) 2021-11-11 19:39:34 -06:00
disk_custom_lvm_ext4.pm Add a new testcase to test creation of LVM with ext4 using Blivet. 2021-02-19 13:42:20 -08:00
disk_custom_lvmthin_postinstall.pm Fixes multiple tests in regard of the PACKAGE_SETs graphical-server and workstation (#61) 2021-11-11 19:39:34 -06:00
disk_custom_lvmthin.pm Remove test_flags comments, add ignore_failure flag 2017-04-10 15:00:10 -07:00
disk_custom_resize_lvm_postinstall.pm root partition resized size to 12G so change postinstall test to match 2021-08-14 22:59:31 -07:00
disk_custom_resize_lvm.pm update disk_custom_resize_lvm and add more partitioning needles 2021-08-14 22:30:36 -07:00
disk_custom_software_raid_postinstall.pm Fixes multiple tests in regard of the PACKAGE_SETs graphical-server and workstation (#61) 2021-11-11 19:39:34 -06:00
disk_custom_software_raid.pm Remove test_flags comments, add ignore_failure flag 2017-04-10 15:00:10 -07:00
disk_custom_standard_partition_ext4_postinstall.pm Fixes multiple tests in regard of the PACKAGE_SETs graphical-server and workstation (#61) 2021-11-11 19:39:34 -06:00
disk_custom_standard_partition_ext4.pm Add an installation test using Standard partitioning with ext4. 2020-11-27 11:48:31 +01:00
disk_custom_with_swap_postinstall.pm Add 'with swap' tests, drop swap parts from other tests (#180) 2020-08-11 15:09:33 -07:00
disk_custom_with_swap.pm Wait for screen to settle during disk_custom_with_swap 2021-03-17 12:15:44 -07:00
disk_custom_xfs_postinstall.pm add postinstalls to custom partitioning tests 2017-05-09 09:11:34 +02:00
disk_custom_xfs.pm Remove test_flags comments, add ignore_failure flag 2017-04-10 15:00:10 -07:00
disk_guided_delete_all.pm Remove test_flags comments, add ignore_failure flag 2017-04-10 15:00:10 -07:00
disk_guided_delete_partial_postinstall.pm Remove test_flags comments, add ignore_failure flag 2017-04-10 15:00:10 -07:00
disk_guided_delete_partial.pm 8.6 release fixes (#92) 2022-06-09 18:15:17 -05:00
disk_guided_empty.pm 8.6 release fixes (#92) 2022-06-09 18:15:17 -05:00
disk_guided_encrypted_postinstall_2.pm Workaround issues with loading same module more than once 2017-04-18 10:38:16 -07:00
disk_guided_encrypted_postinstall.pm Remove test_flags comments, add ignore_failure flag 2017-04-10 15:00:10 -07:00
disk_guided_encrypted.pm Replace remaining wait_idles with sleeps 2020-01-02 17:44:45 -08:00
disk_guided_free_space_postinstall.pm Remove test_flags comments, add ignore_failure flag 2017-04-10 15:00:10 -07:00
disk_guided_multi_empty_all_postinstall.pm Remove test_flags comments, add ignore_failure flag 2017-04-10 15:00:10 -07:00
disk_guided_multi_empty_all.pm Remove test_flags comments, add ignore_failure flag 2017-04-10 15:00:10 -07:00
disk_guided_multi_postinstall.pm Revert "Modify "install_multi" test for PowerPC" 2017-09-06 08:43:04 +02:00
disk_guided_multi.pm Remove test_flags comments, add ignore_failure flag 2017-04-10 15:00:10 -07:00
disk_guided_shrink_postinstall.pm Remove test_flags comments, add ignore_failure flag 2017-04-10 15:00:10 -07:00
disk_guided_shrink.pm Remove test_flags comments, add ignore_failure flag 2017-04-10 15:00:10 -07:00
fedora_release.pm Drop bypass_1691487 function and usage (bug seems fixed) 2021-05-06 09:02:52 -07:00
firewall_configured.pm Remove test_flags comments, add ignore_failure flag 2017-04-10 15:00:10 -07:00
firewall_disabled.pm Remove test_flags comments, add ignore_failure flag 2017-04-10 15:00:10 -07:00
freeipa_client.pm Use 'test.openqa.fedoraproject.org' not 'domain.local' 2020-12-15 14:40:30 -08:00
freeipa_password_change.pm Use 'test.openqa.fedoraproject.org' not 'domain.local' 2020-12-15 14:40:30 -08:00
freeipa_webui.pm Use 'test.openqa.fedoraproject.org' not 'domain.local' 2020-12-15 14:40:30 -08:00
install_source_graphical.pm Fix mirrorlist not getting recognized with double apply (#53) 2021-10-21 16:46:48 -07:00
install_text.pm extend timeouts for Rocky (#71) 2021-12-16 16:57:51 -06:00
iot_clevis.pm Add QA:Testcase_Clevis test (TPM-based automatic decryption) 2020-07-02 16:44:55 -07:00
iot_greenboot.pm Create test for IoT Greenboot. 2020-05-29 16:25:46 +00:00
iot_rpmostree_overlay.pm Add a timeout to rpm-ostree package removal. 2021-07-20 22:42:33 +00:00
iot_rpmostree_rebase.pm Add QA:Testcase_RpmOstree_Rebase for iot testing (#167) 2020-06-04 14:00:32 -04:00
iot_zezere_ignition.pm Automate QA:Testcase_Zezere_Ignition 2020-07-23 18:01:06 -07:00
mediakit_fileconflicts.pm potential_conflict: still need to call the interpreter 2019-07-22 15:00:25 -07:00
mediakit_repoclosure.pm Automate two 'mediakit' tests (repoclosure and file conflicts) 2019-07-04 13:44:20 -07:00
memtest.pm Add testcase for Memtest. 2021-06-16 18:11:01 +00:00
modularity_checkdefaults.pm Update the modularity tests. 2019-07-15 13:19:06 +02:00
modularity_enable_disable_module.pm Rewrite Modularity tests to use Perl only. 2021-05-03 19:13:09 +00:00
modularity_install_module.pm initial updates for modularity testing (incomplete) 2021-08-14 22:32:07 -07:00
modularity_module_list.pm Fixes for modularity_tests on rocky-8.4-dvd-iso-x86_64 (#46) 2021-09-23 18:04:25 -05:00
modularity_update_norepo.pm Rewrite Modularity tests to use Perl only. 2021-05-03 19:13:09 +00:00
os_release.pm add support for release_identification 2021-08-14 22:29:07 -07:00
podman.pm Extend timeout for podman container test. 2021-07-13 17:44:34 +00:00
preinstall_iso_in_hd.pm rescue_shell_prompt is really just a root console needle... 2019-04-12 15:54:26 -07:00
realmd_join_cockpit.pm Fix cockpit version check 2021-05-27 08:56:58 -07:00
realmd_join_sssd.pm Drop bypass_1691487 function and usage (bug seems fixed) 2021-05-06 09:02:52 -07:00
rescue_mode_encrypted.pm new select_rescue_mode in lib/utils from rescue_mode_encrypted.pm 2019-04-12 15:49:54 -07:00
rocky_release.pm add support for release_identification 2021-08-14 22:29:07 -07:00
role_deploy_database_server.pm Add a bit of clean up before second run of postgresql-setup 2020-09-01 15:46:10 -07:00
role_deploy_domain_controller_check.pm Drop old rolekit code from database and freeipa tests 2020-01-10 14:25:45 -08:00
role_deploy_domain_controller.pm Use 'test.openqa.fedoraproject.org' not 'domain.local' 2020-12-15 14:40:30 -08:00
server_cockpit_autoupdate.pm Drop bypass_1691487 function and usage (bug seems fixed) 2021-05-06 09:02:52 -07:00
server_cockpit_basic.pm Drop bypass_1691487 function and usage (bug seems fixed) 2021-05-06 09:02:52 -07:00
server_cockpit_default.pm incomplete support for cockpit 2021-08-14 22:14:53 -07:00
server_cockpit_updates.pm Fixes for server_cockpit_updates@64bit on rocky-8.4-dvd-iso-x86_64 (#47) 2021-09-29 19:16:17 -07:00
server_filesystem_default.pm Drop bypass_1691487 function and usage (bug seems fixed) 2021-05-06 09:02:52 -07:00
server_firewall_default.pm Remove test_flags comments, add ignore_failure flag 2017-04-10 15:00:10 -07:00
server_remote_logging_client.pm Use qemu host IP 172.16.2.2 not 10.0.2.2 2020-07-23 16:40:45 -07:00
server_remote_logging_server.pm Drop a debugging upload from server_remote_logging_server 2020-01-10 09:43:03 -08:00
text_login_gui.pm Add new testcases and methods for release identification. 2019-07-30 15:45:02 -07:00
uefi_postinstall.pm Load us console layout in uefi_postinstall too 2018-06-25 11:28:12 -07:00
unwanted_packages.pm Drop bypass_1691487 function and usage (bug seems fixed) 2021-05-06 09:02:52 -07:00
upgrade_boot.pm Factor out s/metalink/mirrorlist/ into a util function 2019-08-20 14:16:23 -07:00
upgrade_postinstall.pm Remove test_flags comments, add ignore_failure flag 2017-04-10 15:00:10 -07:00
upgrade_preinstall.pm upgrade_preinstall: use UP1REL not CURRREL 2020-05-26 19:04:57 -07:00
upgrade_run.pm Revise release variable handling, prerelease checks, os-release 2020-05-07 15:42:08 -07:00
workstation_core_applications.pm Enable tracking of executed applications in Application Start/Stop tests (FIXES #116) 2019-10-16 17:36:37 -07:00