1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2025-11-30 21:06:01 +00:00
Commit Graph

3966 Commits

Author SHA1 Message Date
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
Adam Williamson
13d8965212 Slow type commands at graphical console in keyring tests
It's not safe to fast-type things at graphical consoles. This is
failing quite a lot on aarch64 currently due to heavy load on
the worker hosts. Slow typing should help.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-09-19 12:49:48 -07:00
Adam Williamson
f818c0c38e give podman tests even longer temporarily
still getting some failures at 1800, so let's bump to 3600 and
also bump MAX_JOB_TIME to accommodate.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-09-19 11:12:35 -07:00
Adam Williamson
8caf3f9c80 Bump timeouts for podman tests
These seem to be timing out a lot currently on aarch64, probably
due to the heavy load caused by the Python update flood.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-09-19 08:11:28 -07:00
Adam Williamson
c344af14d5 static network: disable greenboot on IoT (#2396605)
In IoT F43 and F44 at present, greenboot is failing if networking
is not immediately available on boot. Well, on our tests that use
static networking, it isn't. So that's a problem. Let's have the
static networking setup test stop greenboot if it's running on
IoT, that should get around this.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-09-18 16:09:27 -07:00
Adam Williamson
04cadc2257 Replace gis_tz_search_active needles with a non-cursor one
Matching on the cursor isn't reliable as it flashes and animates
a bit. Let's just match on an area to the right - this is
sufficient because the box doesn't have the blue surround unless
it's active.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-09-17 12:50:18 -07:00
Lukáš Růžička
b862803104 Comment on sleeps to make AI happy 2025-09-17 13:35:59 +02:00
Lukáš Růžička
ae9e757384 Change subroutine to test Functions
Calculator changed the way functions are organized within the
application which broke the current Calculator test.

This fixes the subroutine to test for Functions and makes the
test reliable again.

Fixes: https://pagure.io/fedora-qa/os-autoinst-distri-fedora/issue/428
2025-09-16 23:30:07 -07:00
Adam Williamson
fa8e16aff8 desktop_login: slow type the 'whoami' check
Now we can slow type in assert_script_run, let's do it, and make
this more reliable (I hope). It gets mistyped a lot currently,
especially on aarch64.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-09-16 23:28:05 -07:00
Adam Williamson
94d36a1e13 Retry more dnf commands
I'm seeing more test failures due to
https://github.com/rpm-software-management/dnf5/issues/2435 .
This retries more common dnf commands to try and workaround the
problem.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-09-16 10:27:37 -07:00
Adam Williamson
6d36010207 setup_repos: retry createrepo_c install up to 4 times
See https://github.com/rpm-software-management/dnf5/issues/2435 .
Lately this is sometimes failing because something else holds a
lock on the RPM database. To work around that, let's try again a
few times if it fails, with a bit of a wait.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-09-12 17:42:57 -07:00
Adam Williamson
ed817bf0f3 desktop_update_graphical: handle multiple key import prompts
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-09-12 16:29:24 -07:00
Adam Williamson
4c0e889e05 Fix install_rdp_server on aarch64 by passing console=tty0
This is a bit ugly but I can't think of another way to pass it
only on aarch64. Could try and factor out the other various
instances of the string against this variable, I guess, but I
don't feel like it right now.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-09-11 17:01:04 -07:00
Adam Williamson
aedc74e3b1 Enable apps_startstop on aarch64 etc.
Similarly to desktop_login, now we have more (and more reliable)
aarch64 resources, we should run this test everywhere. We need
a variant apps_run_kfind needle for some reason.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-09-11 16:03:40 -07:00
Adam Williamson
7a89077ecb Enable desktop_login test on aarch64
This test isn't run on aarch64 (probably because it was too slow
or unreliable on the old hardware). Let's turn it on. We still
can't run it on Silverblue because the background hacks don't
work there.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-09-11 15:58:57 -07:00
Adam Williamson
831edb906b Add a variant Cockpit logs entry needle
When systemd is at the top of the list there's a bit of a grey
highlight that throws off the match.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-09-10 19:00:30 -07:00
Adam Williamson
184d13e391 Update Papers annotations needles
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-09-10 19:00:05 -07:00
Adam Williamson
9e22524b35 Update a bunch of gnome-calculator needles for a cursor change
The cursor in gnome-calculator somehow changed between the 1.1
and 1.2 Beta candidates. It now looks a bit weird and slanted
(it's an optical illusion caused by odd anti-aliasing).

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-09-10 18:55:08 -07:00
Adam Williamson
97705ecbc0 Enable KDE update tests on aarch64
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-09-10 08:13:12 -07:00
Lukáš Růžička
46133ad5a3 Prolong wait time for flscr enabled in terminal
In a virtual machine, it takes a couple of seconds for the
upper panel to go away and show the terminal prompt.
Let's make it wait 60 seconds to be absolutely sure.
2025-09-10 15:25:35 +02:00
Lukáš Růžička
b8f71506f1 Add various needles to make tests pass 2025-09-10 15:22:57 +02:00