1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-09-16 21:07:22 +00:00
os-autoinst-distri-fedora/tests
Adam Williamson 56936df7a5 Update live install tests: handle awkward install ordering
There's this awkward path for the live image install tests on
updates. We run the 'are the correct versions of all the packages
installed' check on these tests to ensure the right versions
actually made it onto the live image. So we don't run
`dnf -y update` at the end of repo_setup_updates on that path,
because if we did that, even if the packages on the live image
were old, we'd update them there and hide the problem.

However, this causes a bit of an ordering issue, because in
order to set up the advisory repo, we need to install a few
packages. What if the update under test includes one of those
packages, or a dependency that wasn't already installed? In
that case, we wind up with the older stable version of the
package (because obviously we can't install the newer version
from the advisory repo *before we've set up the advisory repo*),
don't update it later, and so the 'correct version' check at
the end of the test fails. See:
https://openqa.fedoraproject.org/tests/1778707 for a case of
this happening with a python-cryptography update.

Up till now I was trying to handle this by just updating the
specific packages we install, but that doesn't account for
*dependencies* of them. I looked down the path of trying to
generate a list of all those dependencies and update all of
them but it looks a bit mad. So instead let's try this. On that
specific path, we'll generate the "all installed packages" list
*before* we run repo_setup, so it just doesn't include anything
that gets installed during repo_setup. The implementation is a
bit icky but not too horrible.

We *could* just *always* generate the all installed packages
list earlier, but then that would mean we *wouldn't* catch dep
issues in this kind of package on the other test paths, whereas
currently we do. I don't want to lose that.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-02-22 14:54:18 -08:00
..
applications Contacts: handle menu changes in 44 2023-02-22 12:38:02 -08:00
apps_startstop apps_startstop: tweak print theme editor launch to avoid #2165657 2023-01-30 09:31:28 -08:00
_addrepo_metalink_post.pm Add a perltidy check and apply it to the entire codebase 2022-07-28 14:38:38 -07:00
_advisory_post.pm Update live install tests: handle awkward install ordering 2023-02-22 14:54:18 -08:00
_advisory_update.pm Revert "_advisory_update: stop the graphical desktop at the start" 2022-11-18 12:23:33 -08:00
_anaconda_network_static.pm Add a perltidy check and apply it to the entire codebase 2022-07-28 14:38:38 -07:00
_boot_to_anaconda.pm Handle a persistent overlay warning on live boot (#2170544) 2023-02-16 09:12:36 -08:00
_check_install_source.pm _check_install_source: drop branches for EOL releases 2022-12-13 12:45:20 -08:00
_collect_data.pm Add a perltidy check and apply it to the entire codebase 2022-07-28 14:38:38 -07:00
_console_avc_crash.pm Don't snapshot after wait_login tests (usually) 2022-12-08 09:59:23 -08:00
_console_login.pm Add a perltidy check and apply it to the entire codebase 2022-07-28 14:38:38 -07:00
_console_shutdown.pm Add a perltidy check and apply it to the entire codebase 2022-07-28 14:38:38 -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 Don't snapshot after wait_login tests (usually) 2022-12-08 09:59:23 -08:00
_coreos_install.pm Add a perltidy check and apply it to the entire codebase 2022-07-28 14:38:38 -07:00
_do_install_and_reboot.pm Update notes about clicking root password screen in anaconda 2022-12-13 14:34:34 -08: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 graphical_input: try typing 'hotkey' 2023-02-22 13:57:33 -08: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 Expect KDE welcome screen on F37 too 2023-02-22 14:11:07 -08:00
_installer_build.pm Use buildroot repo for Rawhide image builds also 2022-12-12 08:42:18 -08:00
_iot_zezere_remote.pm Add a perltidy check and apply it to the entire codebase 2022-07-28 14:38:38 -07:00
_iot_zezere_server.pm Add a perltidy check and apply it to the entire codebase 2022-07-28 14:38:38 -07:00
_live_build.pm Give some long-running package install operations a bit longer 2023-02-03 09:04:48 -08:00
_memcheck.pm Add a perltidy check and apply it to the entire codebase 2022-07-28 14:38:38 -07:00
_ostree_build.pm Give _ostree_build lorax command a bit longer 2023-02-16 20:36:14 -08:00
_podman_client.pm Add a perltidy check and apply it to the entire codebase 2022-07-28 14:38:38 -07:00
_post_network_static.pm Add a perltidy check and apply it to the entire codebase 2022-07-28 14:38:38 -07:00
_setup_browser.pm Drop all handling of MODULAR 2022-12-15 11:10:40 -08:00
_snapshot_only.pm Don't snapshot after wait_login tests (usually) 2022-12-08 09:59:23 -08:00
_software_selection.pm Drop all handling of MODULAR 2022-12-15 11:10:40 -08:00
_support_server.pm Revert "Use older grub for _support_server tftp to fix PXE (#2152763)" 2022-12-23 11:17:00 -08:00
_vnc_client_connect_pre.pm Add a perltidy check and apply it to the entire codebase 2022-07-28 14:38:38 -07:00
_vnc_client_connect.pm Add a perltidy check and apply it to the entire codebase 2022-07-28 14:38:38 -07:00
_vncconnect_client_setup_pre.pm Add a perltidy check and apply it to the entire codebase 2022-07-28 14:38:38 -07:00
_vncconnect_client_setup.pm Add a perltidy check and apply it to the entire codebase 2022-07-28 14:38:38 -07:00
anaconda_help.pm Update notes about clicking root password screen in anaconda 2022-12-13 14:34:34 -08:00
apps_gnome_preset.pm Add a perltidy check and apply it to the entire codebase 2022-07-28 14:38:38 -07:00
autocloud.pm Add a perltidy check and apply it to the entire codebase 2022-07-28 14:38:38 -07:00
base_package_install_remove.pm Add a perltidy check and apply it to the entire codebase 2022-07-28 14:38:38 -07:00
base_reboot_unmount.pm Add a perltidy check and apply it to the entire codebase 2022-07-28 14:38:38 -07:00
base_selinux.pm Add a perltidy check and apply it to the entire codebase 2022-07-28 14:38:38 -07:00
base_service_manipulation.pm Add a perltidy check and apply it to the entire codebase 2022-07-28 14:38:38 -07:00
base_services_start.pm Add a perltidy check and apply it to the entire codebase 2022-07-28 14:38:38 -07:00
base_system_logging.pm Add a perltidy check and apply it to the entire codebase 2022-07-28 14:38:38 -07:00
base_update_cli.pm Add a perltidy check and apply it to the entire codebase 2022-07-28 14:38:38 -07:00
btrfs_preserve_home_check_content.pm Add a perltidy check and apply it to the entire codebase 2022-07-28 14:38:38 -07:00
check_default_fonts.pm tidy lukas' change to the arabic fonts test 2022-10-24 14:56:30 -07:00
database_client.pm Add a perltidy check and apply it to the entire codebase 2022-07-28 14:38:38 -07:00
desktop_background.pm Add a perltidy check and apply it to the entire codebase 2022-07-28 14:38:38 -07:00
desktop_browser.pm desktop_browser: handle addon add button not always being visible 2023-01-26 22:58:14 -08:00
desktop_fprint.pm Add a perltidy check and apply it to the entire codebase 2022-07-28 14:38:38 -07:00
desktop_login.pm desktop_login: also give assert_shutdown longer 2023-02-18 12:27:52 -08:00
desktop_notifications.pm desktop_notifications: handle KDE welcome screen on lives 2023-02-21 18:28:28 -08:00
desktop_printing.pm desktop_printing: drop gedit, F35 is EOL 2022-12-13 14:34:34 -08:00
desktop_terminal.pm Add a perltidy check and apply it to the entire codebase 2022-07-28 14:38:38 -07:00
desktop_update_graphical.pm Fix up the Ignore button clicking 2023-01-09 11:45:03 -08:00
disk_custom_blivet_btrfs_preserve_home.pm Add a perltidy check and apply it to the entire codebase 2022-07-28 14:38:38 -07:00
disk_custom_blivet_btrfs.pm Create biosboot partitions in blivet tests 2022-08-16 15:39:38 -04:00
disk_custom_blivet_lvm_ext4.pm Create biosboot partitions in blivet tests 2022-08-16 15:39:38 -04:00
disk_custom_blivet_lvmthin.pm Create biosboot partitions in blivet tests 2022-08-16 15:39:38 -04:00
disk_custom_blivet_resize_lvm.pm Add a perltidy check and apply it to the entire codebase 2022-07-28 14:38:38 -07:00
disk_custom_blivet_software_raid.pm Create biosboot partitions in blivet tests 2022-08-16 15:39:38 -04:00
disk_custom_blivet_standard_partition_ext4_postinstall.pm Create biosboot partitions in blivet tests 2022-08-16 15:39:38 -04:00
disk_custom_blivet_standard_partition_ext4.pm Create biosboot partitions in blivet tests 2022-08-16 15:39:38 -04:00
disk_custom_blivet_with_swap.pm Create biosboot partitions in blivet tests 2022-08-16 15:39:38 -04:00
disk_custom_blivet_xfs.pm Create biosboot partitions in blivet tests 2022-08-16 15:39:38 -04:00
disk_custom_btrfs_postinstall.pm Add a perltidy check and apply it to the entire codebase 2022-07-28 14:38:38 -07:00
disk_custom_btrfs_preserve_home.pm Add a perltidy check and apply it to the entire codebase 2022-07-28 14:38:38 -07:00
disk_custom_btrfs.pm Add a perltidy check and apply it to the entire codebase 2022-07-28 14:38:38 -07:00
disk_custom_iscsi_postinstall.pm Add a perltidy check and apply it to the entire codebase 2022-07-28 14:38:38 -07:00
disk_custom_iscsi.pm Add a perltidy check and apply it to the entire codebase 2022-07-28 14:38:38 -07:00
disk_custom_lvm_ext4_postinstall.pm Create biosboot partitions in blivet tests 2022-08-16 15:39:38 -04:00
disk_custom_lvm_ext4.pm Add a perltidy check and apply it to the entire codebase 2022-07-28 14:38:38 -07:00
disk_custom_lvmthin_postinstall.pm Add a perltidy check and apply it to the entire codebase 2022-07-28 14:38:38 -07:00
disk_custom_lvmthin.pm Add a perltidy check and apply it to the entire codebase 2022-07-28 14:38:38 -07:00
disk_custom_resize_lvm_postinstall.pm Add a perltidy check and apply it to the entire codebase 2022-07-28 14:38:38 -07:00
disk_custom_resize_lvm.pm Add a perltidy check and apply it to the entire codebase 2022-07-28 14:38:38 -07:00
disk_custom_software_raid_postinstall.pm Add a perltidy check and apply it to the entire codebase 2022-07-28 14:38:38 -07:00
disk_custom_software_raid.pm Add a perltidy check and apply it to the entire codebase 2022-07-28 14:38:38 -07:00
disk_custom_standard_partition_ext4_postinstall.pm Create biosboot partitions in blivet tests 2022-08-16 15:39:38 -04:00
disk_custom_standard_partition_ext4.pm Add a perltidy check and apply it to the entire codebase 2022-07-28 14:38:38 -07:00
disk_custom_with_swap_postinstall.pm Add a perltidy check and apply it to the entire codebase 2022-07-28 14:38:38 -07:00
disk_custom_with_swap.pm Add a perltidy check and apply it to the entire codebase 2022-07-28 14:38:38 -07:00
disk_custom_xfs_postinstall.pm Add a perltidy check and apply it to the entire codebase 2022-07-28 14:38:38 -07:00
disk_custom_xfs.pm Add a perltidy check and apply it to the entire codebase 2022-07-28 14:38:38 -07:00
disk_guided_delete_all.pm Add a perltidy check and apply it to the entire codebase 2022-07-28 14:38:38 -07:00
disk_guided_delete_partial_postinstall.pm Add a perltidy check and apply it to the entire codebase 2022-07-28 14:38:38 -07:00
disk_guided_delete_partial.pm Add a perltidy check and apply it to the entire codebase 2022-07-28 14:38:38 -07:00
disk_guided_empty.pm Add a perltidy check and apply it to the entire codebase 2022-07-28 14:38:38 -07: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 Add a perltidy check and apply it to the entire codebase 2022-07-28 14:38:38 -07:00
disk_guided_encrypted.pm Add a perltidy check and apply it to the entire codebase 2022-07-28 14:38:38 -07:00
disk_guided_free_space_postinstall.pm Add a perltidy check and apply it to the entire codebase 2022-07-28 14:38:38 -07:00
disk_guided_multi_empty_all_postinstall.pm Add a perltidy check and apply it to the entire codebase 2022-07-28 14:38:38 -07:00
disk_guided_multi_empty_all.pm Add a perltidy check and apply it to the entire codebase 2022-07-28 14:38:38 -07:00
disk_guided_multi_postinstall.pm Add a perltidy check and apply it to the entire codebase 2022-07-28 14:38:38 -07:00
disk_guided_multi.pm Add a perltidy check and apply it to the entire codebase 2022-07-28 14:38:38 -07:00
disk_guided_shrink_postinstall.pm Add a perltidy check and apply it to the entire codebase 2022-07-28 14:38:38 -07:00
disk_guided_shrink.pm Add a perltidy check and apply it to the entire codebase 2022-07-28 14:38:38 -07:00
fedora_release.pm Revert "Fix the os_release.pm and fedora_release.pm." 2022-02-09 09:59:45 -08:00
firewall_configured.pm Add a perltidy check and apply it to the entire codebase 2022-07-28 14:38:38 -07:00
firewall_disabled.pm Add a perltidy check and apply it to the entire codebase 2022-07-28 14:38:38 -07:00
freeipa_client.pm Add a perltidy check and apply it to the entire codebase 2022-07-28 14:38:38 -07:00
freeipa_password_change.pm Add a perltidy check and apply it to the entire codebase 2022-07-28 14:38:38 -07:00
freeipa_webui.pm Add a perltidy check and apply it to the entire codebase 2022-07-28 14:38:38 -07:00
install_source_graphical.pm More fixes to anaconda additional repository flow 2023-01-23 15:32:07 -08:00
install_text.pm Add a perltidy check and apply it to the entire codebase 2022-07-28 14:38:38 -07:00
iot_clevis.pm Add a perltidy check and apply it to the entire codebase 2022-07-28 14:38:38 -07:00
iot_greenboot.pm Add a perltidy check and apply it to the entire codebase 2022-07-28 14:38:38 -07:00
iot_zezere_ignition.pm Add a perltidy check and apply it to the entire codebase 2022-07-28 14:38:38 -07:00
mediakit_fileconflicts.pm Add a perltidy check and apply it to the entire codebase 2022-07-28 14:38:38 -07:00
mediakit_repoclosure.pm Add a perltidy check and apply it to the entire codebase 2022-07-28 14:38:38 -07:00
modularity_checkdefaults.pm Add a perltidy check and apply it to the entire codebase 2022-07-28 14:38:38 -07:00
modularity_enable_disable_module.pm Fix the modularity tests by selecting existing modules. 2022-08-17 14:18:39 +02:00
modularity_install_module.pm Fix the modularity tests by selecting existing modules. 2022-08-17 14:18:39 +02:00
modularity_module_list.pm Add a perltidy check and apply it to the entire codebase 2022-07-28 14:38:38 -07:00
modularity_update_norepo.pm Add a perltidy check and apply it to the entire codebase 2022-07-28 14:38:38 -07:00
os_release.pm os_release: drop a now-unneeded > 34 conditional 2022-12-13 12:45:20 -08:00
podman.pm Add a perltidy check and apply it to the entire codebase 2022-07-28 14:38:38 -07:00
preinstall_iso_in_hd.pm Add a perltidy check and apply it to the entire codebase 2022-07-28 14:38:38 -07:00
realmd_join_cockpit.pm cockpit: don't try and get admin privs when re-logging in 2022-11-25 11:24:52 -08:00
realmd_join_sssd.pm Re-enable dnssec for all FreeIPA tests 2022-09-19 12:28:17 -07:00
rescue_mode_encrypted.pm Add a perltidy check and apply it to the entire codebase 2022-07-28 14:38:38 -07:00
role_deploy_database_server.pm Add a perltidy check and apply it to the entire codebase 2022-07-28 14:38:38 -07:00
role_deploy_domain_controller_check.pm Add a perltidy check and apply it to the entire codebase 2022-07-28 14:38:38 -07:00
role_deploy_domain_controller.pm Simplify condition for disabling dnssec on FreeIPA upgrade test 2022-12-13 12:45:20 -08:00
rpmostree_overlay.pm rpmostree_overlay: try to cancel running operations 2023-01-26 17:02:49 -08:00
rpmostree_rebase.pm Revert "rpmostree_rebase: avoid rebasing Silverblue to 38 for now" 2023-02-16 20:36:03 -08:00
server_cockpit_autoupdate.pm cockpit_autoupdate: update note on the 30s sleep workaround 2022-12-13 14:34:05 -08:00
server_cockpit_basic.pm cockpit: don't try and get admin privs when re-logging in 2022-11-25 11:24:52 -08:00
server_cockpit_default.pm cockpit: don't try and get admin privs when re-logging in 2022-11-25 11:24:52 -08:00
server_cockpit_updates.pm cockpit: don't try and get admin privs when re-logging in 2022-11-25 11:24:52 -08:00
server_filesystem_default.pm Add a perltidy check and apply it to the entire codebase 2022-07-28 14:38:38 -07:00
server_firewall_default.pm Add a perltidy check and apply it to the entire codebase 2022-07-28 14:38:38 -07:00
server_remote_logging_client.pm ...and in the other file too. 2022-12-24 13:42:16 -08:00
server_remote_logging_server.pm remote_logging_server: sleep at the end 2022-12-24 14:30:03 -08:00
text_login_gui.pm Add a perltidy check and apply it to the entire codebase 2022-07-28 14:38:38 -07:00
uefi_postinstall.pm Add a perltidy check and apply it to the entire codebase 2022-07-28 14:38:38 -07:00
unwanted_packages.pm Add a perltidy check and apply it to the entire codebase 2022-07-28 14:38:38 -07:00
upgrade_boot.pm Add a perltidy check and apply it to the entire codebase 2022-07-28 14:38:38 -07:00
upgrade_postinstall.pm Add a perltidy check and apply it to the entire codebase 2022-07-28 14:38:38 -07:00
upgrade_preinstall.pm Disable updates-testing during upgrade_preinstall 2022-09-15 10:18:26 -07:00
upgrade_run.pm Add a perltidy check and apply it to the entire codebase 2022-07-28 14:38:38 -07:00
workstation_core_applications.pm Add a perltidy check and apply it to the entire codebase 2022-07-28 14:38:38 -07:00