1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2025-07-19 11:51:34 +00:00
Commit Graph

3782 Commits

Author SHA1 Message Date
Adam Williamson
99638a0c25 fifloader: add ProductDefaults
This adds another new fifloader-only top-level concept,
ProductDefaults. This just contains default values for all
products (on a per-file basis; these are applied *before* file
merge happens).

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-05-10 13:48:13 -07:00
Adam Williamson
e0ca182bb2 Update templates to use new Flavors mechanism
Avoids some repetition.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-05-10 12:30:34 -07:00
Adam Williamson
9724beb60d fifloader: introduce Flavors concept
I noticed that products with the same flavor often repeat the
same settings. Let's use our intermediate format to reduce this
repetition. We'll add a top-level dict for Flavors which allows
them to have settings, then in reverse_qol, for each product,
merge in the flavor's settings. Conflicts are resolved in favor
of the product.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-05-10 12:30:30 -07:00
Adam Williamson
51aafcdab5 sigh, brackets again
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-05-09 00:57:57 -07:00
Adam Williamson
9270eb80ed upgrade_run: allowerasing has to be even later?
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-05-09 00:56:19 -07:00
Adam Williamson
31baf35106 argh, missing bracket
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-05-09 00:44:43 -07:00
Adam Williamson
f8a02ef07a upgrade_run: with dnf 5, --allowerasing has to be later
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-05-09 00:42:41 -07:00
Adam Williamson
613324a755 Add libvirt with zfs obsoletion fix as F43 workaround 2025-05-09 00:19:20 -07:00
Adam Williamson
0887eece36 Drop already-stable workarounds
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-05-09 00:19:01 -07:00
Adam Williamson
3a2fd22ab5 Update needles for cockpit 338
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-05-07 09:52:13 -07:00
Adam Williamson
8e93873ccf Update various needles for GTK 4.19
Update tests only, we'll find more when it lands in a compose.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-05-05 22:49:49 -07:00
Adam Williamson
d68950b056 Tweak kwrite_lines_numbers to use lines 2 and 3
I saw a case where line 1 had a cursor visible so the match
failed. Instead of having two needles for cursor / no cursor,
let's just match on lines 2 and 3 instead so it's not a problem.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-05-05 09:16:17 -07:00
Paul Holzinger
72b5d8d262
podman: skip failing test on kernel >= 6.15-rc4
We will fix that test upstream but for now skip it to prevent false
positives on all future kernel updates.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-04-30 13:38:33 +02:00
Adam Williamson
cf4a9b76e4 Add variant exported map needle for non-fullscreen window
This is a change in the image viewer app, or maybe fallout from
the menu_launch_type change, not sure. Anyhow, it's not really
a problem if the image viewer opens in a small window rather than
maximized, so let's just have a needle for it.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-04-28 14:57:39 -07:00
Adam Williamson
dc77f951a7 Update the akonadi notification needle
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-04-28 14:57:15 -07:00
Adam Williamson
d6733652af keyring: type/check 'kwallet', not 'kwalletmanager'
This is how the test did it before the big menu_launch_type
commit, and we use 'kwallet' in another test. Doing this needs an
additional needle or needle tag, which is pointless, let's just
be consistent that it's 'kwallet'.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-04-26 10:47:43 -07:00
Lukáš Růžička
0190f38677 Use the new features of menu_launch_type in code.
We have enhanced the menu_launch_type to allow for
start checking and maximizing applications.
This PR uses the new functions wherever it seems
logical.
If special logic was used for certain cases,
we have not touched these to preserve the
exact behaviour.

The crash workaround for the Fonts flatpak is dropped because it
no longer seems to be needed with the latest version of the
flatpak, and dropping it simplifies this migration.

Fixes: https://pagure.io/fedora-qa/os-autoinst-distri-fedora/issue/358
2025-04-25 14:40:54 -07:00
Adam Williamson
5871650446 Bump QEMU_MAX_MIGRATION_TIME again
It seems like 480 is a bit low for our oldest, slowest x86_64
worker hosts on the lab instance (worker03 and worker05), they
frequently hit this and fail. Let's bump it.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-04-25 12:20:38 -07:00
Lukáš Růžička
999b3dbd44 Replace Evince and Videos for Papers and Showtime in Rawhide.
Fedora Rawhide (to be 43) has new applications that replace
the older ones, namely Papers replacing Evince and Showtime
replacing the Totem.

We are adding a condition to run correct applications on Rawhide
while retaining the older applications for a while until the change
has been made in whole.

Fixes: https://pagure.io/fedora-qa/os-autoinst-distri-fedora/issue/375
2025-04-24 15:59:59 -07:00
Adam Williamson
37338a2325 os_release: drop PLATFORM_ID check
PLATFORM_ID is dropped in latest fedora-release, so let's just
not bother checking it any more.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-04-24 15:39:13 -07:00
Adam Williamson
3d84dae071 navigation: ensure totem is removed to fix upgrade test
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-04-23 16:44:26 -07:00
Adam Williamson
699f1b708e put back save_passphrase_arabic needles plus a new one
whoops.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-04-23 16:42:54 -07:00
Adam Williamson
9e239cf6ca yet another boot_enter_passphrase variant
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-04-23 16:41:47 -07:00
Adam Williamson
bc18660a27 Update cockpit tests and needles for cockpit 337
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-04-23 16:41:17 -07:00
Paul Holzinger
f95de0a058
podman: set PODMAN_TESTING env
The system tests need that location in order to use the right binary
path from the rpm.

ref: https://pagure.io/fedora-qa/os-autoinst-distri-fedora/issue/373

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-04-23 17:38:13 +02:00
Adam Williamson
5fdc716c32 navigation/play_video: update for showtime
Video player in Rawhide changed from Totem to Showtime, so we'd
better update for that.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-04-22 17:49:53 -07:00
Adam Williamson
d17e7d7b3f Update some overview needles for evince->papers and totem->showtime
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-04-22 14:52:06 -07:00
Adam Williamson
eb66c61e8a Update desktop_printing for Evince -> Papers switch
This test uses a document viewer, so we need to tweak it to work
with the new one.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-04-22 14:48:12 -07:00
Adam Williamson
b2aedd5f12 _boot_to_anaconda: drop installer launch retry loop
This seems to be sometimes *causing* problems now. In some cases,
the first launch actually worked but we don't wait long enough
for anaconda to show up, so we launch it twice, and that can
cause failures like https://bugzilla.redhat.com/2360859 .

I did a dry run for a few days on staging and just dropping the
loop entirely didn't seem to produce any failures-to-launch, so
maybe the various bugs we added this for in the first place have
all gone away? Let's try dropping it. If we run into failure-to
-launch problems again, we can add it back but bump the timeout
or something.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-04-19 11:29:21 -07:00
Adam Williamson
f97d967bee Update GNOME panel volume bar needles for a spacing change
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-04-17 18:17:58 -07:00
Adam Williamson
2ad64b307a Simplify RDP client flow and update needles
In two cases we don't need separate needles for identifying a
screen and then clicking something on it: we can just also use
the thing-to-click for identification purposes. Also remove the
connect_button-verify needle which has never matched (it matches
on the Verify button but has the tag for the Connect button, no
idea why), and update all the needles for the new GNOME fonts.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-04-17 18:15:30 -07:00
Adam Williamson
6381857741 Test that transient media don't create UEFI bootloader entries
Oh, no particular reason or anything. *ahem*
https://bugzilla.redhat.com/2358785
This should cover a decent range of transient bootable media,
ensuring the UEFI fallback mechanism doesn't kick in if you're
just booting the installer or live environment.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-04-16 15:50:27 -07:00
Adam Williamson
0d5adaa2d0 tweak rpmostree_rebase logic for CoreOS again
the streams changed...

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-04-15 15:12:15 -07:00
Adam Williamson
4a7e0721d4 Add FEDORA-2025-c25f31b10b as a workaround for F43
alsa-utils that requires this alsa-lib is already stable, so we
need this or all tests fail.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-04-15 07:50:01 -07:00
Adam Williamson
d6e453b665 podman: give test install command even longer to run
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-04-14 08:45:15 -07:00
Adam Williamson
d0fda5bc12 Move existing kde apps_run_abrt needles to kde/apps dir
This matches where the GNOME ones are.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-04-11 23:38:13 -07:00
Adam Williamson
faed56e2d1 Add another KDE apps_run_abrt needle
Today it has a much more KDE-y window appearance, without bold
titles. Not sure why it's different from yesterday, but never
mind.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-04-11 23:37:37 -07:00
Adam Williamson
718f41f667 De-duplicate kwalletmanager app run needles
We have apps_run_kwallet and apps_run_kwalletmanager. We do not
need both.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-04-11 10:03:15 -07:00
Adam Williamson
2a9eabc3d8 gwenview: move mouse in fullscreen test
There's now a header bar in fullscreen mode which appears until
you move the mouse away from it, and screws up the needle match.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-04-11 09:54:12 -07:00
Adam Williamson
4210ae5daf Add a gnome-panel needle variant for aarch64(?)
This screen looks very slightly different on aarch64, it seems
like, not sure why.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-04-10 17:21:08 -07:00
Adam Williamson
6785ad253e Update navigation video fullscreen off variant for new fonts
Sometimes the clock is at 14:38 not 14:37 when we hit this point
in the test, so we need two needles. The 14:38 one hadn't been
updated for the new font yet.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-04-10 17:20:14 -07:00
Adam Williamson
6d27e061ac Add a variant sysmon filesystems shown needle for aarch64
There's no optical drive on that version of the test.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-04-10 17:19:20 -07:00
Adam Williamson
2c4f6d7c9a Try to sort out abrt 'app runs' needles
This got messed up in 1e6da7019c
where the KDE needles all got renamed to apps_run_abrt* and their
tags changed to apps_run_abrt, but the KDE *test* was not changed
to look for apps_run_abrt instead of abrt_runs, so we wound up
creating a whole new bunch of abrt_runs needles so we had *three*
sets of needles...

This rationalizes it down to the needles that actually match in
current tests, properly renames them all to apps_run_abrt and
updates the KDE test to look for that tag, and adds a couple of
new needles for the recent downgrade of the app.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-04-10 17:15:42 -07:00
Adam Williamson
fedca551eb Add current 'with button' variant of KDE update notification needle
Dunno why this sometimes has a button and sometimes doesn't.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-04-10 17:02:43 -07:00
Adam Williamson
f824b1980a Update abrt_runs needle for gnome-abrt downgrade
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-04-10 17:01:56 -07:00
Adam Williamson
d9a543a707 updated GNOME tour needle for Final builds (Silverblue only?)
The image changes size a bit depending on changes to the text,
I think that's why we always need a variant of this at release
time.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-04-10 17:00:17 -07:00
Adam Williamson
b10725ce57 Yet another navigation_three_workspaces needle, sigh
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-04-10 16:56:42 -07:00
Adam Williamson
26c526bf2d os_release: Update expected edition name for KDE
I think it should be OK to do this without any fancy conditions.
It'll fail for F41 respins, but eh. May fail for F42 nightlies
until we push the update stable.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-04-09 11:59:15 -07:00
Adam Williamson
6c34e580f3 Revert "blivet_btrfs_preserve_home: tweak root deletion"
This reverts commit 41df5e63e5.
Ugh, turns out we can't delete the 'container'.
2025-04-04 12:13:18 -07:00
Adam Williamson
41df5e63e5 blivet_btrfs_preserve_home: tweak root deletion
Trying to fix the frequent failures of this test, still. I don't
think we need the loop if we make sure to select the *parent*
entry in the list, which the needle tweaks should ensure, but
we might need to click twice to ensure it's selected and not
delete the entire btrfs volume by mistake, which is what we keep
doing.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-04-04 12:05:55 -07:00