1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2025-07-31 14:15:44 +00:00
Commit Graph

3715 Commits

Author SHA1 Message Date
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
Adam Williamson
b40f3ff3ee Add yet another navigation_three_workspaces variant
Really don't know why this needle is so problematic...

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-04-03 17:00:40 -07:00
Adam Williamson
e2832d38b3 Update GNOME critical update notification needle for new fonts
When there are critical updates available, the message differs.
This is the first time we've had critical updates since the
font change.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-04-03 16:46:44 -07:00
Adam Williamson
3251519748 Add a couple more console encryption passphrase needle variants
Dunno what happened here, console font rendering changed again.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-04-03 16:41:55 -07:00
Adam Williamson
394249079f Stop wiping the openh264 repo
This caused problems (particularly with the more obscure package
install paths like cockpit and realmd) before, but I don't really
like removing it, as it differs from real-world usage. Tests are
currently failing because of a bug in this repo wiping - in
upgrade_preinstall, we should wipe the file again after the
dnf -y update --refresh call, in case that reinstalls it - but
instead of fixing that, let's try just leaving the file alone.

The risk here is that we run into problems when the repo doesn't
exist, again. In theory we should not because it has
skip_if_unavailable=True , and everything *should* respect that.
But if it does turn out to still be a problem we'll have to
revert this and fix upgrade_preinstall.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-04-03 12:52:30 -07:00
Adam Williamson
b14f82d002 upgrade_run: use --best
Same justification as for the main update test.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-04-02 17:13:19 -07:00
Adam Williamson
c08f08cc99 update tests: do main update with --best and fail if it fails
We currently use script_run (not assert_script_run) for the
catch-all update we run at the start of the test, and don't use
--best. This means that if a dependency issue happens at this
point, we don't catch it yet, we only catch it in _advisory_post.

By using assert_script_run and --best, we can fail on dep issues
at this point. We have to keep the _advisory_post check to catch
dep issues that crop up *later* in the test, including when
things like Cockpit or GNOME Software install updates and we
can't force them to use --best logic. But we can at least catch
*most* of them earlier this way.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-04-02 17:13:19 -07:00
Adam Williamson
0890217b9b tidy the rpmostree_rebase change
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-04-02 17:12:47 -07:00
Adam Williamson
1b8aa92df5 rpmostree_rebase: tweak coreos rebase targets
Because of the 'can't go from > 41 to <= 41' issue, we need to
tweak the coreos rebase targets to get the tests to pass.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-04-02 16:10:13 -07:00
Adam Williamson
a9daf32c5d fonts/install.pm: hit tab 60 times for the flatpak
...because every font is shown twice, sigh. See:
https://gitlab.com/fedora/sigs/flatpak/fedora-flatpaks/-/issues/48

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-04-02 15:48:48 -07:00
Adam Williamson
3a7ef807de custom_blivet_format_partition: protect against missed click
I think since the wayland port, sometimes clicks on
anaconda_blivet_part_drop_select are missed and don't open the
menu. So, if that happens, click it again.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-04-02 15:40:51 -07:00
Adam Williamson
f538b50511 blivet_btrfs_preserve_home: slow down root deletion a bit
it seems like sometimes we delete the entire btrfs volume instead
of the root device we're trying to delete; I think this is
because we click delete *immediately* after clicking the device,
and that might be too fast. Let's see if a wait_still_screen
helps. See:

https://openqa.fedoraproject.org/tests/3353598
https://openqa.fedoraproject.org/tests/3299570

etc.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-04-02 15:36:11 -07:00
Adam Williamson
d1882b9e89 Add a post-install 'are all packages signed' check (#369)
This came up in blocker bug meeting discussion today. We really
should check that all packages are signed after a default install.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-04-01 15:43:59 -07:00
Adam Williamson
97b619a6a1 Update a GNOME needle for font change
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-03-28 14:54:05 -07:00
Adam Williamson
57ea8c3163 Update a couple of loupe needles for changes in 48.0
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-03-28 14:53:52 -07:00
Adam Williamson
182572ff9c Update a Cockpit needle
This one is only needed if we don't see another log detail title
that we usually do see, so it escaped being updated for a while.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-03-28 14:52:59 -07:00
Adam Williamson
31bc51cc60 Update maps_route_walk_shown for a change to the route
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-03-28 14:52:34 -07:00
Adam Williamson
adee0041ac Update a couple of KDE needles for font/layout changes
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-03-28 14:51:58 -07:00