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/needles
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
..
anaconda Revert "blivet: workaround https://gitlab.gnome.org/GNOME/mutter/-/issues/4211" 2026-01-07 13:37:33 -08:00
background Old needle cleanup 2026-01-02 2026-01-05 10:56:52 -08:00
browser Old needle cleanup 2026-01-02 2026-01-05 10:56:52 -08:00
cockpit Add cockpit-354 for f42 and f43 to workarounds, re-enable services 2026-01-07 13:34:06 -08:00
console Old needle cleanup 2026-01-02 2026-01-05 10:56:52 -08:00
firefox Old needle cleanup 2026-01-02 2026-01-05 10:56:52 -08:00
freeipa Old needle cleanup 2023-04-28 2023-05-04 09:57:15 -07:00
gnome Fix the locking mechanism and add tests as requested 2026-01-15 12:28:04 +01:00
i3 Old needle cleanup 2026-01-02 2026-01-05 10:56:52 -08:00
iot Update IoT greenboot passed needle 2025-09-06 11:18:04 -07:00
kde Old needle cleanup 2026-01-02 2026-01-05 10:56:52 -08:00
.keep Decoupled tools from tests 2015-01-26 14:43:01 +01:00