1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2025-02-11 02:03:08 +00:00
Commit Graph

3563 Commits

Author SHA1 Message Date
Adam Williamson
69b4ecb789 Add F43 identification needles for webui and gtkui
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-02-06 11:47:29 -08:00
Adam Williamson
d1510bbe0d Add another variant three_workspaces needle for navigation
Not sure why this seems to have so many variants, oh well.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-02-06 11:46:54 -08:00
Adam Williamson
223b80e139 Add another GNOME tour needle variant
Not sure what changed, it's a very small diff.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-02-06 11:46:27 -08:00
Adam Williamson
da8208fd03 ostree_build: give tool install a bit longer
It's timing out a lot ATM with openQA being heavily loaded...

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-02-06 11:42:37 -08:00
Adam Williamson
f8810b67b4 disable desktop_background on f42 temporarily
We don't have a new f42 background yet, so this will always fail.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-02-06 00:13:23 -08:00
Adam Williamson
1a8f7e466c disable fwupd in desktop_update_graphical
This isn't a test of fwupd, and we seem to be having issues with
it in openQA lately - I think maybe the fwupd server is blocking
openqa because we're hitting it too much? Anyway, let's disable
it for now.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-02-05 23:58:08 -08:00
Adam Williamson
52c9060bce Add 43 to the workarounds matrix
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-02-04 17:12:18 -08:00
Lukas Ruzicka
0c8af34e2e Tidy lib/utils.pm. 2025-02-04 14:25:59 +01:00
Adam Williamson
28d886fa37 Update Russian and Arabic needles for GNOME 48
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-02-03 15:31:32 -08:00
Adam Williamson
83e48505c9 Switch keyboard layouts with click, not key combo, in anaconda
With anaconda on Wayland (in F42+), switching layout by key combo
does not work and it seems like it won't be fixed any time soon,
so let's do it by clicking instead.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-02-03 13:41:34 -08:00
Adam Williamson
590ee0c90e toolbox.pm: bump tested RHEL to 9.5
9.1 is gone from UBI repo now it seems.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-02-01 10:03:30 -08:00
Adam Williamson
dfd26e0505 Add initial webUI custom install tests (xfs, ext4)
This adds two initial custom layout install tests for webUI, and
wires up some library functions for other tests to use. They may
need refining over time but this should be good enough for a
start.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-01-30 15:45:20 -08:00
Lukáš Růžička
a9397e200f Add checks for SUPPORT_END (EOL) in /etc/os-release.
Fixes #347.

This PR adds two tests to check the EOL written in the
/etc/os-release file. The first test checks that the
SUPPORT_END value lies at least 12 months in the future.
The second test checks the EOL values in Fedora Schedule,
Bodhi, and /etc/os-release if they are the same.
2025-01-29 17:07:50 +00:00
Adam Williamson
455499228b Really fix VARIABLES.md for video device changes
Whoops, the previous commit was missing half the changes.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-01-29 08:55:19 -08:00
Adam Williamson
25dc6d629c Update VARIABLES.md for modern video device handling
We've changed how video devices are handled in upstream since
this was written - there's now QEMU_VIDEO_DEVICE, QEMUVGA is
deprecated, and the defaults are different. Update this for the
new world.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-01-29 08:53:04 -08:00
Adam Williamson
bd687aab51 Update Japanese layout needles for GNOME 48
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-01-28 15:39:07 -08:00
Adam Williamson
a6cfd2b1f7 Update a GNOME navigation test needle for Shell 48
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-01-28 15:38:01 -08:00
Adam Williamson
1a6513aeca Update GNOME Utilities menu needle
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-01-28 15:37:19 -08:00
Adam Williamson
79505c6bbd Add a workaround needle for abrt on KDE being weirdly grey
With recent Rawhide KDE, abrt runs, but the UI is weirdly grey.
This workaround needle handles that.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-01-28 15:36:07 -08:00
Adam Williamson
aaf6018485 Tweak desktop_update_graphical download/apply handling for fwupd
Now fwupd is showing us dbx updates, it seems we get *both* a
"Restart & Update..." button *and* a "Download" button at the
same time. If we click Restart & Update without clicking Download
first, package updates aren't applied.

So, tweak this logic yet again so that it 'breaks the tie' in
the way we want (if both buttons are present, click the download
one, take download out of the tags, and go to the next loop
iteration). Hopefully this solves the problem without breaking
any other paths.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-01-28 15:32:55 -08:00
Adam Williamson
f473de351c webui: handle language selection screen
webui has a language selection screen as of anaconda-42.24-1, so
handle it. For now still handle it not appearing, we can drop
that path once the update is stable and in a compose.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-01-28 11:30:07 -08:00
Adam Williamson
2229d0e8f5 Drop 5 retries for live install (#2329581 is gone)
The kernel change that caused this to fail frequently got reverted
for 6.13 final, so it's not causing us trouble any more. Let's
drop the retries.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-01-27 14:34:23 -08:00
Adam Williamson
c461a11451 setup_repos: fix for case where we test 3+ tasks
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-01-27 14:24:18 -08:00
Adam Williamson
c9408e2335 select_cockpit_update: be more defensive against scrolls
This new way is working better, but a few times I've seen it fail,
I think because it's matching the 'updates' link while it's still
scrolling so when it clicks, the link has moved and the click
fails. Let's wait a bit after we see it, then match *again* and
click, instead of relying on the last match area.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-01-25 10:30:24 -08:00
Adam Williamson
10f53ea1a0 Update multiple needles for GNOME Shell 48
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-01-21 16:36:56 -08:00
Adam Williamson
617183ade6 Gah, fix typo
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-01-21 10:33:54 -08:00
Adam Williamson
e9e12b5ff8 UEFI: use 4M pflash images to fix DBX updates
fwupd 2.0.4 is offering DBX updates for openQA tests, and they
seem to fail if we use the 'regular' pflash code/vars images.
Using the 4M images - which apparently provide more space for
EFI variables - seems to work. There's no real downside to using
those images in every test, AFAIK, so let's do that.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-01-21 10:07:30 -08:00
Adam Williamson
4ff2865ff7 desktop_update_graphical: give third party screen a bit longer
I've seen several failures where this just took more than ten
seconds to appear.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-01-20 10:54:29 -08:00
Adam Williamson
45728be935 Add some ELN workarounds to try and fix ELN tests
These should make ELN image build work again. They can go again
after the next ELN compose.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-01-17 15:10:43 -08:00
Adam Williamson
5ecc674b6d Drop workarounds that are stable now
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-01-17 10:55:29 -08:00
Adam Williamson
2415f76a40 Update GDM needles for GNOME 48
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-01-17 10:26:40 -08:00
Adam Williamson
5aad236882 Add user/group ownership fix builds as workarounds for FreeIPA
A FreeIPA update failed tests because dogtag-pki and bind don't
provide the now-necessary virtual provides for users and groups
they create. These builds fix that, adding them as workarounds
before they go stable will let me rerun the FreeIPA tests and
let that update through.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-01-16 17:09:28 -08:00
Adam Williamson
40e5e23985 Drop rpm-ostree workaround (it went stable)
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-01-16 17:08:23 -08:00
Adam Williamson
077d3182d6 cockpit: use down instead of up to find the Updates page
Seems like this might work better? Up is still failing a lot.
Tested on lab and it looked good.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-01-16 12:57:24 -08:00
Adam Williamson
f8e72763da Add scratch build with rpm-ostree fix for sbin merge as workaround
This will fix the ostree build tests on Rawhide and get rid of
all those failures. See:

https://gitlab.com/fedora/bootc/tracker/-/issues/29
https://bugzilla.redhat.com/show_bug.cgi?id=2337460
https://github.com/coreos/rpm-ostree/pull/5224

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-01-14 17:22:10 -08:00
Adam Williamson
722b8c1cf1 Drop a workaround that's been stable for a month
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-01-14 17:21:35 -08:00
Adam Williamson
256731a63a ostree_build: ensure python3-rpm is available for updvercheck
We've *usually* already installed it for bodhi or koji clients
(on the update and task paths), but on the COPR path, we have
not, and updvercheck crashes. If it's already there this will
do nothing and return 0 so it's OK.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-01-13 15:13:33 -08:00
Adam Williamson
af1a85e5ea Update various KDE needles for some change in today's Rawhide
Not sure what, but a lot of KDE rendering changed slightly.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-01-08 17:36:26 -08:00
Adam Williamson
f4e3e84c08 Update various Maps needles for recent Rawhide changes
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-01-08 17:32:27 -08:00
Adam Williamson
f3dd65e0f0 Revert "ostree: use a pr branch on f40 to fix issue with rpm-ostree update"
This reverts commit d8e4e9cd97.
The fix was merged.
2025-01-08 17:21:41 -08:00
Adam Williamson
d8e4e9cd97 ostree: use a pr branch on f40 to fix issue with rpm-ostree update
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-01-08 13:47:38 -08:00
Adam Williamson
e440059247 cockpit: work around issue with selecting Update view
In recent Firefox, just pressing 'up' once doesn't seem to work
100% to scroll to the bottom of the list so we can see the Update
link. So, let's do it up to 3 times!

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-01-07 17:26:00 -08:00
Adam Williamson
e5fba0fea5 Retry live install tests 5 times
Unfortunately it doesn't look like qemu `-cpu host` really does
fully work around the grub2-mkconfig install hang issue, so we
need retries still :( As well as doing it for the update tests,
let's do it for the compose install tests. We use a substitution
to only increase the retry count for live images. We don't need
to set INSTALL_RETRY for other products - if it's not set then
RETRY winds up empty, and openQA treats that the same as it being
unset, which is fine.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-01-07 10:08:43 -08:00
Adam Williamson
08660df950 Tweak desktop_login to workaround #2335913
Close the kicker menu if it's still open.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-01-06 09:41:32 -08:00
Adam Williamson
da61368f0d Use qemu cpu "host" for most tests to avoid #2329581
Using qemu CPU "host" (match host CPU features) seems to avoid
tests. We'll keep "Nehalem" as the CPU for one test so we will
catch inadvertent baseline bumps.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-01-02 13:46:56 -08:00
Adam Williamson
a0903c995c Replace tour_start with a version with no OCR
OCR seems to be a common trigger of the mystery thread crash.
It's also not working properly anyway - the text we're trying
to match here is not in the current version of the tour but we
pass the needle match somehow. So, let's just ditch the attempt
to use OCR and go with regular area matches.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-12-24 14:48:16 -08:00
Adam Williamson
3359810887 Re-drop skip_button needle
Came back inadvertently with the RDP test.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-12-20 20:35:31 -08:00
Adam Williamson
5a8859667f Update some GNOME needles for recent Rawhide changes
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-12-20 17:14:43 -08:00
Adam Williamson
df42fb186e Update KDE auth_required needle for icon change
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-12-20 17:13:19 -08:00
Adam Williamson
98fefd18fe Update KDE app about needles for font rendering change
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-12-20 17:11:56 -08:00