1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2026-05-30 20:25:59 +00:00
os-autoinst-distri-fedora/tests
Lukáš Růžička 19ce5c75eb Fix the locking mechanism and add tests as requested
Improve Fedora Media Writer tests by validating written USB media
against the original ISO and by making the workflow work reliably
across classic and Silverblue variants.

The previous post-write verification relied on mounting the USB partitions
and checking for a handful of expected directory structures. This is replaced
with a stronger end-to-end check that verifies the embedded checksum on the
target device and then compares the raw device contents byte-for-byte
with the downloaded ISO, treating the expected cmp “EOF” condition as success.

To support Silverblue, where the required isomd5sum package is not installed
by default, a generic toolbox helper is introduced in utils.pm to create a toolbox,
install required packages inside it, and run the necessary command there.

The media writer test template is updated to explicitly model the USB target
as /dev/sda by enforcing a single-disk setup and adjusting that QEMU uses
a snapshot to create the device and thus not create a file lock on it to
prevent other tests from running.
2026-01-15 12:28:04 +01:00
..
applications Fix the locking mechanism and add tests as requested 2026-01-15 12:28:04 +01:00
apps_startstop Tweak gnome/terminal comment 2026-01-07 13:37:33 -08:00
_advisory_post.pm Revert "Update live install tests: handle awkward install ordering" 2023-02-22 15:55:24 -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 extra click for Network & Host Name spoke also 2024-10-22 16:35:37 -07:00
_boot_to_anaconda.pm Add a French install test on Workstation and KDE live (with webUI) 2025-10-10 18:05:45 -07:00
_check_install_source.pm _check_install_source: drop old stuff, update for dnf5 2025-07-16 15:47:42 -07:00
_cockpit_setup.pm Ensure repos are set up for cockpit tests 2024-04-25 16:52:09 -07: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 Run update repo setup steps from a serial console 2024-01-11 12:09:59 -08:00
_console_shutdown.pm Use NUMDISKS=2 (or higher) on all update flavors 2024-02-28 15:26:01 -08: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 Fix CoreOS USB install test to disconnect USB before rebooting 2026-01-05 11:25:08 -08:00
_do_install_and_reboot.pm Drop handling of webUI install confirm dialog (it's gone) 2026-01-05 10:56:52 -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: hit ctrl-c after typing garbage 2025-10-21 17:01:35 -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 Adapt to KDE plasma-setup switch 2025-12-08 16:54:08 -08:00
_installer_build.pm _installer_build: skip hfsplus-tools on ELN 2025-12-15 12:25:23 -08:00
_kiwi_build.pm Build and test cloud image in updates tests 2025-08-28 16:43:07 -07:00
_memcheck.pm Add a perltidy check and apply it to the entire codebase 2022-07-28 14:38:38 -07:00
_modify_gnome_desktop.pm Create tests for remote desktop connections. 2025-10-16 17:33:57 -07:00
_ostree_build.pm Drop a couple of 'relnum < 41' conditionals 2026-01-07 13:37:33 -08:00
_podman_client.pm podman: run the http server test rootless 2025-07-23 16:24:00 -07:00
_post_network_static.pm Create tests for remote desktop connections. 2025-10-16 17:33:57 -07:00
_rdp_client_connect_pre.pm RDP client: wait for server before pinging 2025-07-17 09:56:34 -07:00
_rdp_client_connect.pm Enable remote_desktop tests more widely, robustify and refactor 2025-11-19 16:55:14 -08:00
_secure_boot_fallback.pm Make UEFI testing the default, add Secure Boot testing 2024-04-02 09:24:52 -07:00
_setup_browser.pm Use "dnf group install" not "dnf groupinstall" (dnf5 support) 2023-06-20 12:27:30 +02:00
_software_selection.pm Tidy script 2024-11-13 16:42:30 +01:00
_support_server.pm support_server: disable more systemd-resolved bits 2025-10-29 10:36:37 -07:00
_uefi_no_fallback.pm Test that transient media don't create UEFI bootloader entries 2025-04-16 15:50:27 -07:00
apps_gnome_preset.pm Avoid update notifications in start-stop tests. 2025-03-05 14:16:08 +01:00
autocloud.pm Run update repo setup steps from a serial console 2024-01-11 12:09:59 -08:00
base_package_install_remove.pm Replace ftp with autofs in the package install test (#413) 2025-08-28 14:18:09 -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 Revert "base_services_start: temporarily allow colord to fail (#2260663)" 2024-01-29 08:30:08 -08: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 Be case-flexible in ELN version checks 2024-09-04 13:17:00 -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 check_default_fonts: use --loose-comparison for fontquery-diff 2025-12-09 11:12:23 -08:00
check_packages_signed.pm Add a post-install 'are all packages signed' check (#369) 2025-04-01 15:43:59 -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 Remove desktop_background short-circuit on F43 KDE 2025-09-05 11:18:28 -07:00
desktop_browser.pm desktop_browser: wait a bit longer to settle before launch 2025-09-19 12:53:37 -07:00
desktop_fprint.pm Factor DM login process out of _graphical_wait_login 2024-09-26 22:20:34 +00:00
desktop_graphics_validation.pm Handle known failure of vkcube --validate on Fedora 42 2025-12-01 16:11:06 -08:00
desktop_login.pm desktop_login: update a FIXME 2026-01-07 13:37:33 -08:00
desktop_notifications.pm Update some KDE config hacks to use kwriteconfig6 2025-12-22 13:33:08 -08:00
desktop_printing.pm Update desktop_printing for Evince -> Papers switch 2025-04-22 14:48:12 -07:00
desktop_terminal.pm Consistently use desktop_launch_terminal 2024-10-09 17:19:00 -07:00
desktop_update_graphical.pm Fix precedence in previous commit 2025-12-03 18:30:20 -08:00
disk_custom_blivet_btrfs_preserve_home.pm Revert "blivet_btrfs_preserve_home: tweak root deletion" 2025-04-04 12:13:18 -07:00
disk_custom_blivet_btrfs.pm blivet custom: bump /boot and /boot/efi sizes 2025-12-04 17:21:45 -08:00
disk_custom_blivet_lvm_ext4.pm blivet custom: bump /boot and /boot/efi sizes 2025-12-04 17:21:45 -08:00
disk_custom_blivet_lvmthin.pm blivet custom: bump /boot and /boot/efi sizes 2025-12-04 17:21:45 -08:00
disk_custom_blivet_resize_lvm.pm Simplify the blivet resize LVM testcase 2023-06-18 13:00:07 +02:00
disk_custom_blivet_software_raid.pm blivet custom: bump /boot and /boot/efi sizes 2025-12-04 17:21:45 -08:00
disk_custom_blivet_standard_partition_ext4_postinstall.pm Add initial webUI custom install tests (xfs, ext4) 2025-01-30 15:45:20 -08:00
disk_custom_blivet_standard_partition_ext4.pm blivet custom: bump /boot and /boot/efi sizes 2025-12-04 17:21:45 -08:00
disk_custom_blivet_with_swap.pm blivet custom: bump /boot and /boot/efi sizes 2025-12-04 17:21:45 -08:00
disk_custom_blivet_xfs.pm blivet custom: bump /boot and /boot/efi sizes 2025-12-04 17:21:45 -08: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 Move most 'universal' tests to Server-dvd-iso 2023-05-03 16:29: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 disk_custom_with_swap: drop root part size to 6G 2023-06-19 12:30:52 +02:00
disk_custom_xfs_postinstall.pm Add initial webUI custom install tests (xfs, ext4) 2025-01-30 15:45:20 -08: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 Japanese install test on Workstation live (with webUI) 2025-10-10 17:46:08 -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 Japanese install test on Workstation live (with webUI) 2025-10-10 17:46:08 -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
disk_webui_ext4.pm Add initial webUI custom install tests (xfs, ext4) 2025-01-30 15:45:20 -08:00
disk_webui_xfs.pm Add initial webUI custom install tests (xfs, ext4) 2025-01-30 15:45:20 -08:00
domain_client.pm Add a magic wait for the Active Directory kickstart enrol test 2025-12-04 17:04:30 -08:00
fedora_release.pm Allow code name Adams for Fedora 42 in fedora_release file. 2025-02-13 11:28:26 +01: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
flatpak_fedora.pm Enhance the menu_launch_type subroutine. 2025-03-05 19:59:40 +00:00
flatpak_flathub.pm Enhance the menu_launch_type subroutine. 2025-03-05 19:59:40 +00:00
flatpak_update.pm Update the commit reference to older app version 2025-11-27 18:10:41 +01:00
freeipa_password_change.pm Add Samba AD tests 2023-07-27 16:14:30 -07:00
freeipa_webui.pm Run update repo setup steps from a serial console 2024-01-11 12:09:59 -08:00
graphical_upgrade_prerequisites.pm Update some KDE config hacks to use kwriteconfig6 2025-12-22 13:33:08 -08:00
graphical_upgrade_run.pm graphical_upgrade_run: also adjust to auth_required missing on KDE 2025-12-22 15:15:57 -08:00
i3_tiling.pm Fix the I3 Tiling test 2025-09-03 16:46:39 +00:00
install_source_graphical.pm anaconda on wayland: also click on other spoke launchers 2024-10-22 16:32:45 -07:00
install_text.pm Update serial console handling for upstream changes 2023-05-02 12:24:26 -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
mediakit_fileconflicts.pm mediakit_fileconflicts: we need to install python3-dnf now 2024-11-06 12:29:30 -08:00
mediakit_repoclosure.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: add i3 variant pair 2025-11-10 23:35:59 -08:00
podman.pm give podman tests even longer temporarily 2025-09-19 11:12:35 -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 realmd_join_cockpit: do systemctl daemon-reload before starting 2024-07-11 12:02:39 -07:00
realmd_join_sssd.pm Run update repo setup steps from a serial console 2024-01-11 12:09:59 -08:00
remote_desktop_client.pm Enable remote_desktop tests more widely, robustify and refactor 2025-11-19 16:55:14 -08:00
remote_desktop_server.pm Create tests for remote desktop connections. 2025-10-16 17:33:57 -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
rmdepcheck.pm Add an rmdepcheck test for updates (WIP) 2025-09-22 12:22:23 -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 freeipa replica: allow ipa server-del to fail 2024-08-26 15:34:50 -07:00
role_deploy_domain_controller.pm Revert "workaround odd dnf issues with samba-4.19.0-0.3.rc2 updates" 2023-08-22 01:18:08 -07:00
rpmostree_overlay.pm rpmostree_overlay: double the timeouts 2024-06-19 19:20:19 +00:00
rpmostree_rebase.pm rpmostree_rebase: drop multiple workarounds in rebase logic 2026-01-07 13:37:33 -08:00
samba_domain_controller_check.pm Add Samba AD tests 2023-07-27 16:14:30 -07:00
samba_domain_controller.pm Revert "workaround odd dnf issues with samba-4.19.0-0.3.rc2 updates" 2023-08-22 01:18:08 -07:00
server_cockpit_autoupdate.pm cockpit: clean up a no-longer-needed conditional 2026-01-07 13:37:33 -08:00
server_cockpit_basic.pm Add cockpit-354 for f42 and f43 to workarounds, re-enable services 2026-01-07 13:34:06 -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: drop 'reconnect' handling in update test 2026-01-05 10:56: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
toolbox.pm toolbox.pm: bump tested RHEL to 9.5 2025-02-01 10:03:30 -08:00
uefi_postinstall.pm Make UEFI testing the default, add Secure Boot testing 2024-04-02 09:24:52 -07:00
unwanted_packages.pm Run unwanted_packages on KDE, they don't want gtk2 (#425) 2025-09-05 14:52:28 -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 Stop wiping the openh264 repo 2025-04-03 12:52:30 -07:00
upgrade_run.pm Drop a couple of 'relnum < 41' conditionals 2026-01-07 13:37:33 -08:00
workstation_core_applications.pm Use 'terminal' instead of 'gnome-terminal' for ptyxis switch 2024-08-13 10:39:20 -04:00