1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2025-12-19 15:15:59 +00:00
Commit Graph

4053 Commits

Author SHA1 Message Date
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
Adam Williamson
2309cb14ad TEMPORARY: Remove needles for the cockpit services test
See previous commit. When we put the test back we'll need to put
these back too.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-12-12 13:24:02 -08:00
Adam Williamson
535976986c check-needles: handle repeat_click needles better
Instead of adding the tags to the 'allow list', let's just add
the 'repeat_click' utility function to our list of functions we
look for when deciding what tags are actually used in the tests.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-12-12 13:19:15 -08:00
Adam Williamson
be41d88d29 TEMPORARY: drop services section of cockpit test
This is broken with latest Firefox, but @stransky has requested
we ignore it and allow the update to go stable as it's a security
fix. To do this we have to remove this part of the test, or else
it will fail for all subsequent updates once we allow the Firefox
updates to go stable.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-12-12 13:15:01 -08:00
Adam Williamson
672916955f Add a French needle needed for the recent plasma-setup changes
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-12-10 18:08:41 -08:00
Adam Williamson
cf242cb348 Update a Maps needle for Brno region description change
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-12-10 18:07:51 -08:00
Adam Williamson
3dc046c69b Add yet another new type of weather needle
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-12-10 18:07:19 -08:00
Adam Williamson
53a24b9e72 Shrink another KDE app needle match area
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-12-10 12:02:27 -08:00
Adam Williamson
9e8ec7b93e Shrink match area on a few KDE needles to fix matches
We don't need to match on the icon *and* the text. It seems
something changed in Rawhide recently which changed the spacing
between the icon and the text and made all these fail. Instead
of creating new needles, let's adjust these to only match on
the text.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-12-10 12:01:04 -08:00
Adam Williamson
fcb4dcbd98 check_default_fonts: use --loose-comparison for fontquery-diff
As recommended in
https://github.com/fedora-i18n/fontquery/issues/11 .

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-12-09 11:12:23 -08:00
Adam Williamson
d143eb2b91 Tweak the handling of the moving anaconda 'do the install' button
I'm still seeing tests fail on this, e.g.
https://openqa.fedoraproject.org/tests/4053311 , despite our
existing attempt to handle the animation with waits. So let's try
something heavier duty: as well as waiting for still screen,
we'll retry a few times if the button still seems to be there.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-12-09 10:46:48 -08:00
Adam Williamson
dd231d18ee Adapt to KDE plasma-setup switch
KDE is switching to a Workstation-like model where the user and
root password screens in the installer are suppressed, and a
KDE-specific initial setup wizard runs on first boot. This adapts
to handle that.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-12-08 16:54:08 -08:00
Adam Williamson
4a3689b3bf Revert "Use 2M not 4M UEFI firmware images to workaround #2417734"
This reverts commit 9af30427e8. We
think we've got the bug fixed in edk2 too now, so let's revert
this and keep an eye out to make sure the hangs don't come back.
2025-12-08 09:39:00 -08:00
Adam Williamson
9e21258b6f Update another i3 needle for font change
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-12-05 17:07:35 -08:00
Adam Williamson
bae9f4ed04 Update a Maps needle for upstream map change
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-12-05 17:07:00 -08:00
Adam Williamson
a014eeea69 Tweak nmcli connection name discovery
This seems to be going wrong quite often in the remote desktop
client test - we're getting 'lo' and trying to do a static config
on the loopback interface, which clearly isn't going to work.
This should either fix it or at least give us some idea why it's
going wrong (maybe we don't have any ethernet connections?)

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-12-05 14:45:44 -08:00
Adam Williamson
08b22ff7f9 blivet custom: bump /boot and /boot/efi sizes
All the blivet custom tests are failing because anaconda is
warning about /boot being too small. Let's bump the sizes to
something more modern. 2G is the current /boot/efi default, 1G
is the floor to avoid the warning for /boot it seems like.

For software RAID we have to go 1 higher than the size we really
want as it seems like some kinda RAID overhead means we get a
partition 1 MiB smaller than we requested:
https://bugzilla.redhat.com/show_bug.cgi?id=2419063

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-12-04 17:21:45 -08:00
Adam Williamson
a472448fa4 Add a magic wait for the Active Directory kickstart enrol test
We get quite a few failures where the getent passwd
'SAMDOM\Administrator' check just returns nothing for some
reason. It seems like it might be a network race or something,
and this magic wait looks like it helps after a few days testing
on staging, so let's try it in prod too.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-12-04 17:04:30 -08:00
Adam Williamson
9af30427e8 Use 2M not 4M UEFI firmware images to workaround #2417734
https://bugzilla.redhat.com/show_bug.cgi?id=2417734 is about a
bug we've seen with edk2 20250812 and later where VMs quite often
seem to hang on boot, or at least boot extremely slowly so the
test times out waiting for them to reach a login screen.

We found out in testing that using the smaller-sized edk2 images
seems to avoid the problem, so let's do that until it can be
fixed properly.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-12-04 11:25:33 -08:00
Adam Williamson
6a83d8a901 Fix precedence in previous commit
Looks like we need some brackets? I dunno, whatever.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-12-03 18:30:20 -08:00
Adam Williamson
e310f6ed16 desktop_update_graphical: don't hit download twice
We already try to only hit download once by dropping it out of
the tags after the first time we hit it, but because we need
this check_screen to catch when *both* apply and download are
visible, we will click download twice if both apply and download
are visible on later loop iterations. So, let's guard against
that.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-12-03 09:08:12 -08:00
Adam Williamson
712ca067a8 Add variant GNOME Terminal icon needle for Arabic
Icons are smaller in Arabic for some reason.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-12-01 23:33:49 -08:00
Adam Williamson
b59f79be40 Update apps_run_gvim needle for some kinda font change
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-12-01 18:38:26 -08:00
Adam Williamson
0606685dfb Bump a magic wait in custom_blivet_add_partition
Looks like it wasn't long enough on aarch64:
https://openqa.fedoraproject.org/tests/4022475

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-12-01 17:03:44 -08:00
Adam Williamson
fdc8463935 Bump INSTALL_RETRY to 3 on i3 and KDE, apply to uefi_no_fallback
This is all about
https://bugzilla.redhat.com/show_bug.cgi?id=2417493 . That is
causing KDE and i3 install tests to fail very often. It also
affects uefi_no_fallback because that needs to at least launch
the installer.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-12-01 16:45:14 -08:00
Adam Williamson
25d1998b87 Handle known failure of vkcube --validate on Fedora 42
The new vkcube --validate test fails on Fedora 42:
https://bugzilla.redhat.com/show_bug.cgi?id=2418077
while we wait for a response to that bug, let's go with treating
this as a soft failure. We use an md5sum check to try and ensure
that the output is *exactly* what we're expecting; if there are
any unexpected messages, we'll still fail.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-12-01 16:11:06 -08:00
Adam Williamson
85f20242cb Add desktop_graphics_validation test with vulkan layer check (#464)
This is a follow-up to the recent broken mesa update kerfuffle:
https://discussion.fedoraproject.org/t/173585
one outcome of that is we determined the vulkan layer validation
check actually works in a VM with llvmpipe. The command we run
here completes successfully with mesa 25.2.7-3.fc43, but crashes
with mesa 25.2.7-2.fc43. So it seems like a good idea to add this
test. I'll probably backfill a manual test case and add it to the
wiki matrix later.

I gave it a generic name in case we come up with more similar
checks we can add later. I've asked airlied for any suggestions
he might have.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-11-28 15:37:00 -08:00
Adam Williamson
2f5e3dcbe0 Set desktop_update_graphical RETRY to 3 on KDE (RHBZ #2404267)
This test is currently failing quite often on KDE:
https://bugzilla.redhat.com/show_bug.cgi?id=2404267
To mitigate the flakiness, let's set RETRY to 3, using a variable
to target it as tightly as we can.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-11-28 13:59:02 -08:00
Adam Williamson
3d8ff3ce3a Set updates-kde-live-iso RETRY to 3 (RHBZ #2417493)
To try and mitigate flakes from
https://bugzilla.redhat.com/show_bug.cgi?id=2417493 let's bump
the RETRY value for this flavor, so we'll retry the install test
several times if we hit the slitherer crash.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-11-28 12:22:02 -08:00
Adam Williamson
76a1104637 Use start_with_launcher for desktop_launch_terminal on GNOME
Lately quite a lot of tests are failing here on GNOME because we
don't type terminal properly (we wind up with 'trminal' or
'teminal' usually). At first I thought my os-autoinst typing
delay change might be causing this, but it actually seems to have
started before I deployed that, so no idea what's going on. Let's
click instead of typing, to avoid the problem.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-11-27 18:31:28 -08:00
Adam Williamson
93606be074 More missing ;, sigh
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-11-27 12:08:43 -08:00
Lukáš Růžička
1c59d9b7cc Update the commit reference to older app version
The remote repository for testing flatpaks has changed.
Now, it not only contains the x86_64 version of the application,
but also the aarch64 version.

The commit numbers of the specific application version have changed,
too, therefore we need to update this file and also make the difference
between the architectures.

Fixes: https://pagure.io/fedora-qa/os-autoinst-distri-fedora/issue/461
2025-11-27 18:10:41 +01:00
Adam Williamson
2180324cce Whoops, missing ;
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-11-27 08:20:26 -08:00
Adam Williamson
e47e711b77 _repo_setup_updates: provide debugging hints for dnf failure
The failure message here isn't very helpful unless you know what
is going on and where to look for the errors. Let's improve it
so packagers have a better chance of understanding failures.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-11-27 08:19:02 -08:00
Adam Williamson
9a451c32a2 Add a restorecon after the post-install chpasswd
In https://bugzilla.redhat.com/show_bug.cgi?id=2417302 it seems
like the post-install chpasswd we use to set the root password
on install paths where the installer doesn't let us do it can
cause /etc/shadow to have the wrong SELinux context, which can
then cause denials later, at least with new shadow-utils. This
should avoid the problem.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-11-26 11:24:04 -08:00
Adam Williamson
20a0e5ec67 Revert "Add my latest shadow-utils revert as a workaround for now"
This reverts commit c28427425a.
The update is stable now.
2025-11-25 14:38:41 -08:00
Adam Williamson
c28427425a Add my latest shadow-utils revert as a workaround for now
It's still going through gating tests but I want to be able to
start restarting other failures with the fix.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-11-25 13:54:34 -08:00
Adam Williamson
3bb03d3fe8 select_rescue_mode: wait a bit longer for bootloader
It can take quite a while to show up with UEFI firmware on aarch64.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-11-21 15:30:21 -08:00
Adam Williamson
ad8a1243df Use type_safely not type_very_safely for encryption passphrase
Thanks to @jlinton , who worked out that the repeated inputs on
aarch64 seem to be caused by the relatively lengthy delay on
key down that we get when typing very slowly. Typing a bit faster
is actually more reliable in this case. I'm working on an
os-autoinst tweak that would avoid the lengthy key holds when
typing very slowly, which would allow us to revert this.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-11-21 10:40:23 -08:00
Adam Williamson
ecc096bedd Enable install_usb on aarch64 server DVD ISO
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-11-20 16:26:05 -08:00
Adam Williamson
74b6b1fb9c Only run flatpak test on x86_64 for now
It fails on aarch64 because we don't have an aarch64 build of the
dummy flatpak, I think:

https://openqa.stg.fedoraproject.org/tests/5589805#step/flatpak_update/9
https://pagure.io/fedora-qa/os-autoinst-distri-fedora/issue/461

We can put this back once the test repo is updated.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-11-20 16:23:40 -08:00
Adam Williamson
554337ab67 Enable Silverblue tests (update and compose) on aarch64
We don't have a Silverblue disk image AFAIK, so let's just run
the ISO tests on aarch64 for composes.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-11-20 15:50:03 -08:00
Adam Williamson
c41b40e984 Run KDE upgrade tests on aarch64
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-11-19 16:55:14 -08:00
Adam Williamson
b0bc6025de Enable remote_desktop tests more widely, robustify and refactor
No reason these should only be run on the x86_64 live. Also
refactor the remote_desktop_client test to share the code for
opening a connection in GNOME Connections with the RDP install
test. The shared code is a combination of the two which should be
more robust than the previous remote_desktop_client version, which
was relying far too much on timings working out. This caused it to
fail often on x86_64 as well as on aarch64.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-11-19 16:55:14 -08:00
Adam Williamson
ff408db6a5 Enable a few missing Server-dvd-iso tests on aarch64
No reason I can see for any of these not to be run on aarch64.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-11-19 16:55:14 -08:00
Adam Williamson
f539809de4 Enable desktop_notifications_postinstall on aarch64
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-11-19 16:55:14 -08:00
Adam Williamson
4c9d946ffa Drop a no-longer-needed needle
This was used by one of the workarounds we dropped recently. CI
was broken so I missed this.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-11-19 16:54:40 -08:00