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

3986 Commits

Author SHA1 Message Date
Adam Williamson
9ccf26185f support_server: link, don't sync, from image mount to repo dir
Drop the HDDSIZEGB change as it was no use (we're constrained by
the size of the support server disk image here, not the second
disk, that's only used for something else). Let's try symlinking
the relevant contents of the disc image to the directory we share
out via NFS, rather than rsyncing them. This should save space
and time.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-10-29 11:54:27 -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
Lukas Ruzicka
6bae9cb19a Upload failed needles found during testing 2025-10-23 16:42:44 +02:00
Adam Williamson
f9a3b10845 Disable gnome-software fwupd plugin in update notification test
It seems to prevent notifications appearing in openQA tests,
probably because we're rate-limited. I checked that I *do* get
notifications in a local VM.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-10-22 15:51:52 -07:00
Adam Williamson
ec3ce00fc5 _graphical_input: hit ctrl-c after typing garbage
This avoids breaking the font check test that follows.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-10-21 17:01:35 -07:00
Adam Williamson
fca65de651 agh, missing backtick
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-10-20 16:49:58 -07:00
Adam Williamson
198dccfcab More fwupd fiddling: wipe plugins for both KDE and GNOME
Sigh, tests are failing on GNOME now - we're seeing the DBX
update even though we mask lvfs. Software must be catching it
before we mask lvfs or something. So let's wipe the plugin for
GNOME too. And use a somewhat more robust way of doing it, I
hope.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-10-20 16:38:48 -07:00
Adam Williamson
fe654749e4 more fwupd fun: delete discover's fwupd plugin
So I'm really remembering all the fwupd/lvfs issues now. When
there's a UEFI DBX update available, we'll see it. This can cause
different issues. Right now on KDE, we're trying to install it,
but LVFS is blocking the download because it thinks we're spamming
it. So that's making tests fail.

We really need to go back to just nerfing LVFS. I think I found a
way to do it on KDE that works with current Discover: just wipe
Discover's lvfs plugin entirely. This will break if the filename
changes.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-10-17 17:36:57 -07:00
Adam Williamson
1f63cd29eb _do_install_and_reboot: defend against fr layout at console
With French install testing on lives, we *might* have a French
layout loaded when we get to the postinstall stuff we do at a
root console. Let's defend against that. If we don't, running
"loqdkeys" will fail harmlessly.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-10-17 15:26:27 -07:00
Adam Williamson
8286da9140 desktop_update_graphical: mask fwupd again, but only on GNOME
Sigh. So we stopped masking fwupd becuase it caused Discover to
blow up, but now I remember why we started doing it in the first
place: fwupd can cause another 'type' of update to appear in
GNOME Software, with an identical "Restart & Update" button,
which openQA will happily click on instead of the one for
"System Updates" which we *want* it to click on. See
https://openqa.fedoraproject.org/tests/3880370#step/desktop_update_graphical/36

So...let's go back to masking fwupd, but only on GNOME. This
should make everyone happy.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-10-17 14:18:48 -07:00
Adam Williamson
31c07c0f02 bump flatpak runtime version to 43
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-10-17 13:40:30 -07:00
Adam Williamson
c294be4e9b Fix kde apps_startstop abrt
For some reason typing 'abrt' now launches Partition Manager(?!),
so we need to type 'problem' instead, and do checkstart ourselves.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-10-17 10:36:47 -07:00
Lukáš Růžička
6154f0ccb8 Create tests for remote desktop connections.
This adds a test for remote connection. It consists of a server part
in which Gnome RDP connection is set up, enabled, and the server is run,
and the client part that uses Connections as a client to connect to the
server.
The test is considered successful when the connection is established
and the user has logged into the system.

Fixes: https://pagure.io/fedora-qa/os-autoinst-distri-fedora/issue/333
2025-10-16 17:33:57 -07:00
Adam Williamson
ae897fbe83 Update Firefox addon_add needle for a change to the addons site
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-10-16 13:50:15 -07:00
Adam Williamson
b1b021ffd6 fifloader: co-operatively merge settings from ProductDefaults
This allows us to set defaults for settings in ProductDefaults
and have the settings dicts in individual products merge with
them, not overwrite them.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-10-15 17:46:13 -07:00
Adam Williamson
4b79665c02 _ostree_build: adapt to changes in workstation-ostree-config
As of yesterday, all the *-packages.yaml files are gone. Listing
all the files that have packages: blocks in them is a pain, and
common.yaml now exists on all current branches, so let's just do
that sub in common.yaml, it should work.

Also, common.yaml no longer uses `ref: fedora/` but
`ref: ${distro}/`, so that substitution broke, which is why the
test is now failing when building the installer image (we can't
find the ostree under the ref we're expecting). Fix that.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-10-15 10:40:03 -07:00
Adam Williamson
2911c7d32b Revert "Run updvercheck.py in toolbox on atomic (CANNED)"
This reverts commit 8a657904d0.
We already had a tweak in _ostree_build to put python3-rpm in the
ostree; the real problem is that had broken with changes to
workstation-ostree-config. The next commit solves it properly.
2025-10-15 09:31:08 -07:00
Adam Williamson
8a657904d0 Run updvercheck.py in toolbox on atomic (CANNED)
This started failing in install_default_update_ostree
_advisory_post because the ostree no longer has python3-rpm baked
in, by the looks of it. Moving the execution of updvercheck.py
into a toolbox container *should* fix it with no undesirable side
effects, I hope. It looks like /tmp should be shared between the
host and the container so the file location should be OK.

The use of `toolbox run --` as a wrapper instead of interactive
toolbox entry/exit was suggested by Gemini PR review:
https://github.com/AdamWill/os-autoinst-distri-fedora-ai-test/pull/26#discussion_r2431461670

Signed-off-by: Adam Williamson <awilliam@redhat.com>
Assisted-by: Google Gemini Code Assist
2025-10-15 00:58:18 -07:00
Adam Williamson
04fa379361 KDE apps_startstop: get rid of the akonadi notification
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-10-14 12:27:38 -07:00
Adam Williamson
0b112a5b47 extend _graphical_input to also test non-switched keyboard layout
We are missing a check that the expected keyboard layout is used
at the desktop, for non-switched layouts (e.g. French). This is
actually broken for Workstation live installs at present, so we
really ought to be testing it. Along the way, let's clean up the
conditionals a bit, and let's do the actual input testing at a
console not the overview, since we want to do it on KDE as well
as GNOME now, and KDE's kicker menu is a pain to type in.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-10-10 18:05:49 -07:00
Adam Williamson
125f8f11e9 Add a French install test on Workstation and KDE live (with webUI)
Also add keyboard layout selection handling for webUI, natively
for the KDE live, via GNOME settings for Workstation live.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-10-10 18:05:45 -07:00
Adam Williamson
e26110fa89 Add a Cyrillic install test on Workstation live (with webUI)
We don't used switched keyboard layout for this test yet because
unfortunately it's just completely broken on the webUI path.
There's no viable way to set up the correct layout configuration
during install at present. So this is just a translation test
currently.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-10-10 17:46:12 -07:00
Adam Williamson
ff0428b837 Add a Japanese install test on Workstation live (with webUI)
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-10-10 17:46:08 -07:00
Adam Williamson
8ef714febf Add anaconda scratch with reboot fix as workaround for Rawhide
The bug causes a crash at boot on Silverblue installer, we need
the fix to stop all Rawhide Silverblue tests failing.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-10-09 12:32:49 -07:00
Adam Williamson
547cacb7a0 Replace FreeIPA scratch build overrides with updates
And remove the Rawhide one as that's stable already.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-10-09 12:32:16 -07:00
Adam Williamson
9313b82a75 _boot_to_anaconda: wait a bit before launching on live path
This might help with KDE install fails, I guess.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-10-08 17:00:37 -07:00
Adam Williamson
1c3abea9be setup_repos: retry downloads
We're constantly hitting errors like this ATM:
Downloading 137736545 failed: 2025-10-08 02:38:41,036 [ERROR] koji: ReadTimeout: HTTPSConnectionPool(host='kojipkgs.fedoraproject.org', port=443): Read timed out. (read timeout=10)
so let's try wiring a retry loop into download_item.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-10-08 09:07:36 -07:00
Adam Williamson
b8385d535f Default to 4G RAM for all x86_64 tests
3G is really tight these days. We were limiting this because the
old worker hosts didn't have a ton of RAM, but the new ones have
plenty.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-10-08 08:29:15 -07:00
Adam Williamson
916b83f6ea _boot_to_anaconda: couple of safety tweaks and a comment update
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-10-08 08:20:28 -07:00
Lukáš Růžička
ea86d034a1 Add working needles for Calculator 2025-10-08 12:57:59 +02:00
Adam Williamson
deedc53bb2 Revert "disable fwupd in desktop_update_graphical"
This reverts commit 1a8f7e466c.
Current Plasma Discover complains if fwupd is masked. I just hope
tests don't start failing on fwupd errors again now. Sigh.
2025-10-06 17:06:17 -07:00
Adam Williamson
ecae6fb851 Add FreeIPA bump rebuilds to workarounds to fix upgrade tests
FreeIPA team bumped the F41 NVR past the F42 one, so now upgrade
tests from F41 to F42 are broken. To workaround this we need
bumped rebuilds for F42, F43 and F44, because if only do F42 the
problem moves to F42->F43 upgrades, etc.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-10-03 13:42:07 -07:00
Adam Williamson
c0c49766c8 Enable everything-boot-iso update tests on aarch64
I did this to check the size of an image built with a lorax
scratch build I was testing, but then figured heck, why not also
do it permanently?

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-10-02 17:13:16 -07:00
Lukáš Růžička
6e860d5d2c Fix tag names on needles 2025-10-01 13:00:26 +02:00
Lukáš Růžička
5006fc935a Add needles which have been failing 2025-10-01 09:36:27 +02:00
Adam Williamson
7aaf42a220 Run desktop_keyring on KDE on updates
81d5d2f408 inadvertently dropped
this, then I carried that change over in the profile group
rewrite. I never intended to turn it off on KDE, though - it was
likely just a git rebase mishap or something. So let's turn it
on for KDE by using the "updates-desktops" profile group like we
do for all the others.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-09-29 16:27:48 -07:00
Lukáš Růžička
cbd251d65c Add mouse move and mouse click
The top panel stays in the application and does not hide. I might be
caused by the mouse being in top area which normally invokes the
panel to appear. Let's move the mouse and click into the middle
of the screen to free the top area.
2025-09-26 14:09:47 +02:00
Lukáš Růžička
6504998d0a Fix the doubled login name
For some reason, the login name is filled in double time.
Let's fix it with adding more wait time and also an extra
delete key to wipe the field properly.
2025-09-26 13:39:40 +02:00
Adam Williamson
783cdb6e03 Add an rmdepcheck test for updates (WIP)
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-09-22 12:22:23 -07:00
Adam Williamson
6a41721d5d g-i-s: also expect no 'software' page on Silverblue F43
The change is now landed on f43 workstation-ostree-config too.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-09-22 12:21:51 -07:00
Lukáš Růžička
b8f27609c4 Fix a failed needle for WebUI 2025-09-22 16:12:54 +02:00
Adam Williamson
a7fa13f2b0 g-i-s: don't expect 'software' on Rawhide Silverblue
See https://pagure.io/workstation-ostree-config/pull-request/682

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-09-20 23:02:04 -07:00
Adam Williamson
1f809d5e9b correct slow typing in keyring tests
can't just pass the value when using enter_cmd, we have to name
the arg.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-09-19 15:52:29 -07:00
Adam Williamson
e479774c25 desktop_browser: wait a bit longer to settle before launch
This is failing a few times on aarch64 ATM due to heavy load.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-09-19 12:53:37 -07:00