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

3754 Commits

Author SHA1 Message Date
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
Adam Williamson
5b1915b122 Update installer network config needles for font change
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-03-28 14:51:09 -07:00
Adam Williamson
20a3523b26 Update some upgrade-related needles for F42 and new fonts
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-03-28 14:50:27 -07:00
Lukas Ruzicka
8e5e88c2a1 Update some failed needles. 2025-03-27 17:48:37 +01:00
Adam Williamson
d5ac63e420 Bump flatpak runtime version in ostree-parse-pungi.py
every damn cycle I forget that we do this here.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-03-26 16:27:48 -07:00
Adam Williamson
b48db9e50a kiwi_build: give a dnf install a bit longer to run
Seems to be timing out quite often, probably a slow scriptlet.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-03-24 15:43:18 -07:00
Adam Williamson
e06c3ae483 Update several cockpit needles for Firefox change
Not quite sure what changed, but all these needed redoing when a
recent Firefox update hit.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-03-21 08:44:31 -07:00
Adam Williamson
78c90aea0d startstop contacts: be consistent with contacts aaa_setup
@lruzicka recently made this test click through the setup page,
if it sees it...but he used new needles (which he didn't commit)
even though we already have those same needles as part of the
detailed contacts app test.

This setup page always appears, we don't need to check for it,
and we don't need separate needles to identify the page and to
click on the local address book option. All we need to do is the
same as we do in aaa_setup: unconditionally look for and click
the local address book option, using the already-existing needle.
So let's do that.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-03-21 08:40:51 -07:00
Lukáš Růžička
cd6200e63b Update failed WebUI needles. 2025-03-21 16:13:31 +01:00
Adam Williamson
917e2190ac Add a few variant navigation needles (flatpak/old gtk)
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-03-20 18:34:33 -07:00
Adam Williamson
169d061f41 Add a flatpak (old GTK?) variant nautilus needle
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-03-20 18:32:51 -07:00
Adam Williamson
86c9b170c1 Update lightdm needle for different down caret icon
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-03-20 16:49:11 -07:00