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

4028 Commits

Author SHA1 Message Date
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
Adam Williamson
19b89b079c Run all Server update tests on all arches
Basically, add them all to aarch64. This also turns some on for
ppc64le which isn't really intended, but we aren't using ppc64le
ATM and it keeps things simple. I'll probably send a PR to get
rid of the ppc64le stuff at some point.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-11-18 16:30:28 -08:00
Adam Williamson
87f32240b2 Run container and live image build tests on aarch64
Run the remaining kiwi_build tests on aarch64 - container and
the KDE and Workstation lives. Also do the install test, for the
lives.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-11-18 14:02:10 -08:00
Adam Williamson
cdf16781fb Drop separate aarch64 job groups (#447)
As discussed in #447 I don't think these are serving a purpose
any more. Let's try dropping them and see how it looks.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-11-17 13:36:33 -08:00
Lukáš Růžička
42ba9db00d Test booting ISO as USB stick
When openQA connects the iso files, it emulates the CD-ROM drive.
In the past, issues were reported that an ISO burnt to a flash drive
would not boot properly. Forcing openQA to emulate a USB flash drive
when booting and installing a system could help us catch these issue
in the future.

However, there is a small problem here. When booting from an emulated
optical drive or USB stick, openQA gives it boot priority throughout
the life of the VM. For optical install tests this isn't a problem
because anaconda automatically ejects the 'disc' at the end of the
install process, but there's no equivalent for USB, so if we just
reboot after install, we boot back to the installer.

To resolve this, after install, we go to a console, cleanly stop the
system with `systemctl halt`, then disconnect the USB stick from the
VM using a qmp command that is now exposed by os-autoinst.

Fixes: https://pagure.io/fedora-qa/os-autoinst-distri-fedora/issue/34
2025-11-14 14:15:44 -08:00
Adam Williamson
52b41930ab Drop RHBZ #2268505 workaround
The bug was resolved long ago, this should no longer be needed.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-11-14 14:14:45 -08:00
Adam Williamson
398afd6769 Drop RHBZ #2329587 workaround
The bug was resolved by reverting the pygobject change that
caused it.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-11-14 13:18:53 -08:00
Adam Williamson
84bd4ae19b Tweak loadkeys stuff again
Extending the wait to 3 seconds in the utils.pm function probably
wasn't necessary; the problem is we were reimplementing it in
_do_install_and_reboot but without the wait. Let's revert the
wait to 3 seconds and use the function.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-11-12 16:14:23 -08:00
Adam Williamson
7b02dcd16e Update a couple of Loupe needles
The icon changed slightly, affects two needles.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-11-12 16:10:50 -08:00
Adam Williamson
1610d18f4f Update arabic layout needles
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-11-12 16:07:20 -08:00
Adam Williamson
0d68d79d12 os_release: add i3 variant pair
Since we switched to building i3 with Kiwi (I think), it's being
properly identified, so we need to add it here for the test to
pass.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-11-10 23:35:59 -08:00
Adam Williamson
7cbdf4efb1 Longer wait for console_loadkeys_us
Seems to be taking longer than 3 seconds on French installs in
Rawhide, e.g.
https://openqa.fedoraproject.org/tests/3947220#step/_do_install_and_reboot/22

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-11-10 14:41:19 -08:00
Adam Williamson
f1b2dfe536 Run upgrade tests (desktop and server) on aarch64
We do upgrade_desktop rather than encrypted because of
https://bugzilla.redhat.com/show_bug.cgi?id=2392684 (which I
still haven't managed to figure out the cause of).

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-10-30 13:54:35 -07:00
Adam Williamson
4415c3ff37 drop workarounds that have gone stable or been superseded
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-10-30 12:21:03 -07:00
Adam Williamson
ad74a52e0b tweak check_software_start to wait longer for ignore
10 seconds isn't enough, the aarch64 upgrade tests often fail
because they're still Refreshing Data after 10 seconds, then
the ignore button appears but we already quit looking for it.

Let's wait 150 seconds for *either* the ignore button *or* the
UI to appear, if the UI appears we're done instantly, if the
ignore button appears, click it and wait for the UI.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-10-30 12:16:16 -07:00
Adam Williamson
06e17bc6bf Update another i3 needle for font rendering change
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-10-29 16:23:48 -07:00
Adam Williamson
d81664d287 Update several Maps route needles
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-10-29 16:23:12 -07:00
Adam Williamson
3e46ee1b01 Run updates-cloud tests on aarch64
Continuing to broaden the scope of aarch64 testing now we have
more, better hardware.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-10-29 15:36:22 -07:00
Adam Williamson
530c753e6d Revert "bump disk size for support_server"
This reverts commit a5e69d9872. It
doesn't help, it's the wrong disk. We have to change createhdds
instead.
2025-10-29 12:58:52 -07:00
Adam Williamson
a5e69d9872 bump disk size for support_server
It seems it doesn't quite have enough space for all the ISO stuff
we do on compose tests.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-10-29 11:00:33 -07:00
Adam Williamson
974be6887d support_server: disable more systemd-resolved bits
We need to disable these sockets as well or resolved pops right
back up and interferes with dnsmasq, now.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-10-29 10:36:37 -07:00
Lukáš Růžička
8d817c964a Change the name of the flatpak
Previously the name of the application was ExtremeTuxRacer,
but it was changed to extremetuxracer. The application could
not be installed, so this should fix it.
2025-10-29 17:09:19 +01:00
Adam Williamson
4b3a595626 blivet software RAID: create ESP and /boot as RAID (#417)
As requested by @kparal in
https://pagure.io/fedora-qa/os-autoinst-distri-fedora/issue/417 ,
this matches the modified test case by creating the EFI system
partition and /boot partition on RAID devices, as well as the
root partition. Also let's make them a bit bigger; if we leave
the value at 512 they actually get created 511MB big (dunno why)
and anaconda complains. Anyway, bigger sizes are prudent these
days.

We also need to create a BIOS boot partition on the second disk
in the BIOS test now. Apparently if /boot is RAID-ed, there has
to be a BIOS boot partition on each disk. This is a bit of an
ugly implementation, oh well.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-10-24 16:39:34 -07:00
Adam Williamson
271f1f33df Set INSTALL_RETRY for all flavors, use on more tests, drop to 1
INSTALL_RETRY was introduced to try and retry live installs five
times to mitigate the effects of
https://bugzilla.redhat.com/show_bug.cgi?id=2329581 . That bug is
fixed, but we *do* still have some flakiness in live install
tests; we still occasionally hit the thing where install just
stalls for no obvious reason, we sometimes hit
https://bugzilla.redhat.com/show_bug.cgi?id=2402533 , and
(especially on KDE due to
https://bugzilla.redhat.com/show_bug.cgi?id=2404262 ) we sometimes
get failures caused by mistyping in language select or user
creation.

So let's keep INSTALL_RETRY around, and use it on more tests -
these are all webUI install tests that run on the live images -
but drop it to 1, 5 is probably overkill for the current known
issues.

Also, let's define it for all flavors. In the initial commit I
wrote that if it was not defined, RETRY would be set empty, but
that's not true. What actually happens is RETRY gets set to the
literal string %INSTALL_RETRY%, which is goofy. openQA still
seems to interpret it as "don't retry", which is good, but let's
avoid it.

Also move the workstation_live_iso definition into the flavors
with all the others, I don't know/remember why only that one
was in products.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-10-24 15:16:48 -07:00
Lukáš Růžička
05b40ff117 Add some more Map needles
The previous needle commit did not solve the situation with
routing, the error seems to be there still. However, the search
test was failing because of expired needles. This commit adds
the replacements to make that test finally pass.
2025-10-24 11:59:29 +02:00
Adam Williamson
ad9d3cb031 papers: go back to page 1 if we open on page 2
Just accepting page 2 isn't enough to fix the test, as lots of
later parts of it expect that we're on page 1. So let's try and
handle that.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-10-23 14:17:12 -07:00