1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2026-07-20 21:25:59 +00:00
Commit Graph

4099 Commits

Author SHA1 Message Date
Lukáš Růžička
e9fc5d3fba Try making overlay in the variables 2026-01-15 17:22:18 +01:00
Lukáš Růžička
1248283801 Change -drive to -blockdev 2026-01-15 12:28:04 +01:00
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
Lukáš Růžička
c10f57437d Create test suite for Fedora Media Writer
This PR adds the test suite for Fedora Media Writer, which is
an application to download and copy the installation media files
to the a USB disk which can be then used for installation.
So far, we have been testing this application with manual testing,
this is an attempt to automate it. It tests the following:

* It chooses the Workstation media, downloads it, saves it locally
  and writes it to the USB disk. It also checks that the usual
  content exists on the USB disk.
* It opens the previously downloaded ISO and writes it to the USB disk.
  Then it check that the usual content exists on the USB disk.
* Removes the installation from the USB disk and restores it to its
  original state.
* This does not test any hotplugging mechanisms yet.

Fixes: https://pagure.io/fedora-qa/os-autoinst-distri-fedora/issue/450

Fix after review
2026-01-15 12:27:53 +01:00
Adam Williamson
9a97fdcaf1 Add the KDE update which fixes plasma-login as a workaround
It's going to go stable fairly soon, but I need to go out and I
don't want to wait to re-trigger all the other failed tests.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2026-01-12 16:40:49 -08:00
Adam Williamson
eae16e6751 Drop cockpit from F43 update workarounds
The update's been stable a couple of days.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2026-01-09 15:59:46 -08:00
Adam Williamson
d8cdebe87e cockpit: clean up a no-longer-needed conditional
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2026-01-07 13:37:33 -08:00
Adam Williamson
2502ba3095 nautilus: clean up a no-longer-needed conditional
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2026-01-07 13:37:33 -08:00
Adam Williamson
ee09022063 gnome-initial-setup: drop a relnum < 42 conditional
F41 is now EOL.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2026-01-07 13:37:33 -08:00
Adam Williamson
fa28040ef8 Drop a couple of 'relnum < 41' conditionals
F40 was EOL a while ago.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2026-01-07 13:37:33 -08:00
Adam Williamson
99fdb41adf rpmostree_rebase: drop multiple workarounds in rebase logic
All of these are no longer needed, now F39 and F41 are EOL. We
can go back to our 'preferred' rebase logics.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2026-01-07 13:37:33 -08:00
Adam Williamson
2488caa79a Tweak gnome/terminal comment
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2026-01-07 13:37:33 -08:00
Adam Williamson
9a6dfe5d76 desktop_login: update a FIXME
This bug is probably still around, so let's just bump the FIXME
to say F43+ for now.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2026-01-07 13:37:33 -08:00
Adam Williamson
6010a55c03 kde/firewall: drop an old FIXME
So...the bug is allegedly fixed upstream, but I just tested and
type_very_safely still doesn't work. type_safely has been working
OK, so...let's just stick with it and drop the FIXME.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2026-01-07 13:37:33 -08:00
Adam Williamson
1375e937c7 Revert "KDE apps_startstop: get rid of the akonadi notification"
This reverts commit 04fa379361. The
bug was fixed. It looks like the needle has never matched in prod
either, so we don't need it.
2026-01-07 13:37:33 -08:00
Adam Williamson
e0c2660613 GNOME Camera startstop: drop stray FIXME comment
We did actually drop the Cheese support back in F39 EOL cleanup,
but didn't remove this comment.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2026-01-07 13:37:33 -08:00
Adam Williamson
c7e4a023fc maps/export: drop pre-F41 export flow
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2026-01-07 13:37:33 -08:00
Adam Williamson
d42baea7ad clocks: simplify handling on alarm stop
As the comment noted, now we're no longer testing < 47.0, we can
simplify this to only handle the 'it goes inactive on stop' path.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2026-01-07 13:37:33 -08:00
Adam Williamson
7233550c23 Revert "blivet: workaround https://gitlab.gnome.org/GNOME/mutter/-/issues/4211"
This reverts commit 203deabe9c. The
bug was fixed upstream, so this should no longer be needed.
2026-01-07 13:37:33 -08:00
Adam Williamson
5f7aea1a0f Revert "disable gpgcheck on openh264 repo for rawhide"
This reverts commit 81e5837fda.
Pretty sure it's not been needed for months.
2026-01-07 13:37:33 -08:00
Adam Williamson
a2b813547e Add cockpit-354 for f42 and f43 to workarounds, re-enable services
Cockpit has worked around the Firefox bug with the Services page,
so let's add the fixed builds to workarounds and re-enable the
tests.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2026-01-07 13:34:06 -08:00
Adam Williamson
fa3e435b7d drop plasma-setup from workarounds, stable for a couple days
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2026-01-07 13:32:17 -08:00
Adam Williamson
1bbbb577ce Revert "CI: update os-autoinst to make it work on F41"
This reverts commit e43f7eac09. We
finally got Zuul updated, so it's no longer needed.
2026-01-07 11:19:10 -08:00
Adam Williamson
44ee704e90 Update tox and CI job Python versions
3.8 and 3.9 are EOL, 3.13 and 3.14 exist.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2026-01-07 10:51:55 -08:00
Adam Williamson
abf1ab7755 Updating print dialog needles for GTK update
The fonts got smaller. Oh well, whatever.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2026-01-07 09:44:56 -08:00
Adam Williamson
80ec5ea718 Fix CoreOS USB install test to disconnect USB before rebooting
Whoops. We only put this in _do_install_and_reboot, which is not
hit for CoreOS installs, so the CoreOS USB install test never
worked. It always boots back to the USB stick.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2026-01-05 11:25:08 -08:00
Adam Williamson
b4cd806493 Old needle cleanup 2026-01-02
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2026-01-05 10:56:52 -08:00
Adam Williamson
7f7d76c098 cleanup-needles: allowlist desktop_package_tool_update_download_unsigned
This one is only ever hit when testing COPRs or side tags.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2026-01-05 10:56:52 -08:00
Adam Williamson
bfeab75d64 cleanup-needles: allowlist emergency_rescue
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2026-01-05 10:56:52 -08:00
Adam Williamson
eb638ba6c2 cockpit: drop 'reconnect' handling in update test
This needle hasn't matched for many months (two years in prod),
suggesting the handling is no longer necessary. Let's get rid.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2026-01-05 10:56:52 -08:00
Adam Williamson
c3bf96a934 Cockpit: drop sidebar scroll handling
It looks like we haven't need to do this for some time. The search
needle doesn't match current Cockpit at all, so we'd be getting
test failures if we needed to scroll the sidebar to see the
Updates link, but we aren't. This needle hasn't matched for 8
months.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2026-01-05 10:56:52 -08:00
Adam Williamson
43ed426909 cleanup-needles: allowlist install_lang_search_field
Also explain why, in cleanup-needles and also in the test code.
This is for the "gnome-initial-setup before anaconda" flow for
Workstation live. It was temporarily implemented, which is why
we have the code and the needles, but then disabled because the
changes weren't successfully upstreamed and we didn't want to
maintain them downstream any more. It's still *supposed* to come
back at some point, so let's keep the code and the needles for a
while at least.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2026-01-05 10:56:52 -08:00
Adam Williamson
4b1639cd1d Plasma Vault: drop security notice handling
All 'Security notice' texts were dropped upstream in
ba292cce35907707cab41e651fd86b847117ed73 , in March 2025.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2026-01-05 10:56:52 -08:00
Adam Williamson
102906de69 Contacts: simplify deletion
We no longer need to support the old paths here, the flatpak was
updated long ago.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2026-01-05 10:56:52 -08:00
Adam Williamson
536f7f813e Drop handling of webUI install confirm dialog (it's gone)
Looks like webUI got rid of the extra confirm dialog at least a
year ago.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2026-01-05 10:56:52 -08:00
Adam Williamson
5254093cb0 kleopatra: drop self-check page handling
It seems to have disappeared, the last time it showed up was in
Fedora-43-20250912.n.0. Ever since then we seem to be just going
straight to apps_run_kleopatra.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2026-01-05 10:56:52 -08:00
Adam Williamson
cbfef48da0 kde start/stop: simplify krfb
It seems kinda random whether the sharing permissions and/or
kwallet flows appear on app startup, so let's give up on handling
them and just check we can see the app, whether it's behind them
or not.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2026-01-05 10:56:52 -08:00
Adam Williamson
caf41d6d9c GNOME Text Editor: drop pre-48 workarounds
The flatpak was updated to/past 48 a while ago, so we no longer
need all these conditionals and needles, yay.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2026-01-05 10:56:51 -08:00
Adam Williamson
e927ac48fa plasma-setup: handle new hostname screen
Let's not make this conditional, let's just add it, and add the
update that adds the screen as a workaround until it's stable and
in the next nightly.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2026-01-05 10:28:43 -08:00
Adam Williamson
e43f7eac09 CI: update os-autoinst to make it work on F41
It doesn't seem like anyone is getting around to bumping Zuul CI
off of F41 yet, so we're stuck with the perl test failing because
F41 os-autoinst doesn't have disconnect_usb in it. Let's hack
around it by installing an unofficial os-autoinst rebuild I just
did.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2026-01-02 13:48:09 -08:00
Adam Williamson
56bfde0f7a Add a French variant anaconda error report button needle
We had a French install test crash, so, we can do this needle.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-12-22 16:19:20 -08:00
Adam Williamson
1dca96cdc9 Update some Maps needles for data changes
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-12-22 16:18:48 -08:00
Adam Williamson
f4a8fd8fcc Update video_fullscreen_off for window move
The non-fullscreen video player window isn't centred any more.
Not sure why not, but this shouldn't really fail the test.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-12-22 16:12:30 -08:00
Adam Williamson
4bab5caa89 graphical_upgrade_run: also adjust to auth_required missing on KDE
Seems it's gone on both KDE and GNOME. KDE gets stuck in an endless
loop waiting for it, so let's fix that. Not sure why it's gone...

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-12-22 15:15:57 -08:00
Adam Williamson
b5e8386f0f graphical_upgrade_run: make auth_required on GNOME optional
Seems in recent Rawhide we no longer get an auth_required in
GNOME after hitting the 'Restart & Upgrade' button; we go
straight to the confirm dialog. So, handle both possibilities.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-12-22 15:08:33 -08:00
Adam Williamson
061f1b4581 Update some KDE config hacks to use kwriteconfig6
kwriteconfig5 is gone. KDE folks say these invocations should be
fine still, just bump to kwriteconfig6.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-12-22 13:33:08 -08:00
Adam Williamson
13811e106c _installer_build: skip hfsplus-tools on ELN
It's not reliably in ELN (it's sometimes in the buildroot repo
but we shouldn't rely on that). We already pass --nomacboot to
the actual build command on ELN, so this should be OK.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-12-15 12:25:23 -08:00
Adam Williamson
656f44641c check-needles: allow plasma-setup tags without needles
We know we need these, but I can't get them created yet because
there's a bug in plasma-setup preventing us getting that far...
when we type in the language search box, we're typing Greek, for
some reason.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-12-12 14:01:34 -08:00
Adam Williamson
238eb3c430 Add a couple of plasma-setup French needles
Can't get the rest because there appears to be a bug with the
keyboard layout; we're typing Greek.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-12-12 13:53:01 -08:00
Adam Williamson
19f431bd11 Add another webUI variant "Next" needle
This button seems to come up different colors a lot.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-12-12 13:52:18 -08:00