1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2025-07-19 03:41:34 +00:00
Commit Graph

3754 Commits

Author SHA1 Message Date
Adam Williamson
e65c23b6f2 Update shortcut to launch desktop settings in KDE 6.3.90
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-05-26 10:16:22 -07:00
Adam Williamson
9a9fe25b96 templates: drop workstation-osbuild
The image hasn't existed for quite some time:
https://pagure.io/pungi-fedora/c/db88826

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-05-21 11:37:17 -07:00
Adam Williamson
139815c8ae Update a KDE needle for new KDE version in Rawhide
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-05-21 11:18:40 -07:00
Adam Williamson
9f9eeb8f78 Update the Weather hourly 11am needle for new GTK
This needle is time-of-day dependent, so it got missed in the
initial sweep.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-05-21 11:17:31 -07:00
Adam Williamson
05b28b5d55 Update Characters needles for slight change in rendering
Not quite sure what changed (probably GTK?) but somehow all the
smiley renderings changed a little bit.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-05-21 11:13:03 -07:00
Adam Williamson
91ec0c86ef fifloader: rewrite the docstring
It now includes a better explanation of *why* fifloader exists,
and the fundamental design difference between fifloader and both
upstream formats. But to compensate, the other bits are made more
concise, hopefully without losing any useful information.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-05-20 18:46:29 -07:00
Adam Williamson
f966128089 fifloader: require group_name to be set via product
I've always hated the magic group name derivation in fifloader,
and it prevents it being used by anyone but Fedora. This fixes
that by requiring group_name to be set in the Products. This is
an executive decision, but it makes sense at least with how
Fedora uses openQA. If other users who might want to adopt
fifloader *don't* have a 100% assocation from products to job
groups, we can introduce more ways to set it in future, I guess.

I made it compulsory because it feels weird to have job templates
that aren't in groups...I don't even know how those get shown in
the web UI. But if there's a real use case for this we can make
it optional.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-05-20 17:59:06 -07:00
Adam Williamson
4ed3978da5 Document ProfileGroups in the mega-docstring
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-05-20 15:09:15 -07:00
Paul Holzinger
2bdd412700
podman: load null_blk module for test
It is required with podman 5.5.0 for the "podman run --device-read-bps"
test. If we don't load it the test will be skipped and we loose some
coverage.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-05-20 16:45:09 +02:00
Paul Holzinger
a6c662b653
Revert "podman: skip failing test on kernel >= 6.15-rc4"
This reverts commit 72b5d8d262.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-05-20 16:41:25 +02:00
Adam Williamson
81b5a1332d Use fifloader ProfileGroups in our templates
This reduces another chunk of duplication in the templates by
using ProfileGroups. It should produce *mostly* the same results
as before, but some inconsistencies are intentionally fixed (like
some desktop tests not running on
fedora-Workstation-upgrade-x86_64-*-64bit), and several priorities
change. It's not really possible to make all priorities match
exactly, so I took the chance to make some more consistent with
our original intent all those years ago: tests related to Basic
criteria should be 20 on blocking images, Beta criteria are 30,
and Final criteria are 40.

We're also consistent about running all the same tests on osbuild
and non-osbuild lives.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-05-16 13:59:01 -07:00
Adam Williamson
900629606b Allow nested ProfileGroups
OK, this is getting kinda close to over-engineering, but what
the heck. With this, a profile group can contain another profile
group. There is no infinite recursion protection yet.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-05-16 12:43:18 -07:00
Adam Williamson
4781fc28ce Fix profile and group merging
Any of the four might not exist. At least *one* of the four has
to exist, but we can't rely on any particular one existing, so we
have to be very defensive. The only rule is that at least one
out of profiles and groups has to exist after merge.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-05-16 11:53:53 -07:00
Lukáš Růžička
b3463c5746 Add tests for Papers to replace Evince tests.
This test suite replaces the Evince test suite and
adds altered scripts and needles to go with the
Papers applications. At the same time, it provides
the same level of functionality and testability
as the original evince test.

Fixes: https://pagure.io/fedora-qa/os-autoinst-distri-fedora/issue/377
2025-05-16 10:08:34 -07:00
Adam Williamson
4565945183 Add a cockpit logs entry needle for PackageKit
We got a couple of test runs with no systemd log message visible.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-05-15 14:04:33 -07:00
Adam Williamson
dc0cac6db4 Update apps_run_characters needle
The smiley rendering changed slightly. Dunno why.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-05-15 14:03:00 -07:00
Adam Williamson
a6a033b2e6 Update webUI storage needles/tests for new webui/cockpit
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-05-15 14:00:37 -07:00
Adam Williamson
f1ce7404ed Update needles for GTK 4.19.1
It changed font rendering and spacing somehow, so...all sorts of
stuff needed retaking.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-05-15 11:56:21 -07:00
Adam Williamson
466c440099 Update a kwrite line numbering needle for some Rawhide change
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-05-15 11:40:50 -07:00
Adam Williamson
bdf74e74b4 Add ProfileGroups
This is another new convenience feature. Groups of profiles let
us avoid repeating commonly-used sets. A test suite can specify
a group of profiles, with a base priority. The priority value
for each profile within the ProfileGroup is added to the base
priority in the test suite.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-05-14 17:40:38 -07:00
Adam Williamson
046d9df432 Update anaconda-webui needles for new webui and cockpit
They're both using a new PatternFly, so lots of stuff changed.
This is just the update test, we'll have to update a few more
needles for the compose later.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-05-13 18:23:53 -07:00
Adam Williamson
42798a52f6 Use new ProductDefaults in our templates
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-05-10 13:48:17 -07:00
Adam Williamson
99638a0c25 fifloader: add ProductDefaults
This adds another new fifloader-only top-level concept,
ProductDefaults. This just contains default values for all
products (on a per-file basis; these are applied *before* file
merge happens).

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-05-10 13:48:13 -07:00
Adam Williamson
e0ca182bb2 Update templates to use new Flavors mechanism
Avoids some repetition.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-05-10 12:30:34 -07:00
Adam Williamson
9724beb60d fifloader: introduce Flavors concept
I noticed that products with the same flavor often repeat the
same settings. Let's use our intermediate format to reduce this
repetition. We'll add a top-level dict for Flavors which allows
them to have settings, then in reverse_qol, for each product,
merge in the flavor's settings. Conflicts are resolved in favor
of the product.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-05-10 12:30:30 -07:00
Adam Williamson
51aafcdab5 sigh, brackets again
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-05-09 00:57:57 -07:00
Adam Williamson
9270eb80ed upgrade_run: allowerasing has to be even later?
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-05-09 00:56:19 -07:00
Adam Williamson
31baf35106 argh, missing bracket
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-05-09 00:44:43 -07:00
Adam Williamson
f8a02ef07a upgrade_run: with dnf 5, --allowerasing has to be later
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-05-09 00:42:41 -07:00
Adam Williamson
613324a755 Add libvirt with zfs obsoletion fix as F43 workaround 2025-05-09 00:19:20 -07:00
Adam Williamson
0887eece36 Drop already-stable workarounds
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-05-09 00:19:01 -07:00
Adam Williamson
3a2fd22ab5 Update needles for cockpit 338
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-05-07 09:52:13 -07:00
Adam Williamson
8e93873ccf Update various needles for GTK 4.19
Update tests only, we'll find more when it lands in a compose.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-05-05 22:49:49 -07:00
Adam Williamson
d68950b056 Tweak kwrite_lines_numbers to use lines 2 and 3
I saw a case where line 1 had a cursor visible so the match
failed. Instead of having two needles for cursor / no cursor,
let's just match on lines 2 and 3 instead so it's not a problem.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-05-05 09:16:17 -07:00
Paul Holzinger
72b5d8d262
podman: skip failing test on kernel >= 6.15-rc4
We will fix that test upstream but for now skip it to prevent false
positives on all future kernel updates.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-04-30 13:38:33 +02:00
Adam Williamson
cf4a9b76e4 Add variant exported map needle for non-fullscreen window
This is a change in the image viewer app, or maybe fallout from
the menu_launch_type change, not sure. Anyhow, it's not really
a problem if the image viewer opens in a small window rather than
maximized, so let's just have a needle for it.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-04-28 14:57:39 -07:00
Adam Williamson
dc77f951a7 Update the akonadi notification needle
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-04-28 14:57:15 -07:00
Adam Williamson
d6733652af keyring: type/check 'kwallet', not 'kwalletmanager'
This is how the test did it before the big menu_launch_type
commit, and we use 'kwallet' in another test. Doing this needs an
additional needle or needle tag, which is pointless, let's just
be consistent that it's 'kwallet'.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-04-26 10:47:43 -07:00
Lukáš Růžička
0190f38677 Use the new features of menu_launch_type in code.
We have enhanced the menu_launch_type to allow for
start checking and maximizing applications.
This PR uses the new functions wherever it seems
logical.
If special logic was used for certain cases,
we have not touched these to preserve the
exact behaviour.

The crash workaround for the Fonts flatpak is dropped because it
no longer seems to be needed with the latest version of the
flatpak, and dropping it simplifies this migration.

Fixes: https://pagure.io/fedora-qa/os-autoinst-distri-fedora/issue/358
2025-04-25 14:40:54 -07:00
Adam Williamson
5871650446 Bump QEMU_MAX_MIGRATION_TIME again
It seems like 480 is a bit low for our oldest, slowest x86_64
worker hosts on the lab instance (worker03 and worker05), they
frequently hit this and fail. Let's bump it.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-04-25 12:20:38 -07:00
Lukáš Růžička
999b3dbd44 Replace Evince and Videos for Papers and Showtime in Rawhide.
Fedora Rawhide (to be 43) has new applications that replace
the older ones, namely Papers replacing Evince and Showtime
replacing the Totem.

We are adding a condition to run correct applications on Rawhide
while retaining the older applications for a while until the change
has been made in whole.

Fixes: https://pagure.io/fedora-qa/os-autoinst-distri-fedora/issue/375
2025-04-24 15:59:59 -07:00
Adam Williamson
37338a2325 os_release: drop PLATFORM_ID check
PLATFORM_ID is dropped in latest fedora-release, so let's just
not bother checking it any more.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-04-24 15:39:13 -07:00
Adam Williamson
3d84dae071 navigation: ensure totem is removed to fix upgrade test
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-04-23 16:44:26 -07:00
Adam Williamson
699f1b708e put back save_passphrase_arabic needles plus a new one
whoops.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-04-23 16:42:54 -07:00
Adam Williamson
9e239cf6ca yet another boot_enter_passphrase variant
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-04-23 16:41:47 -07:00
Adam Williamson
bc18660a27 Update cockpit tests and needles for cockpit 337
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-04-23 16:41:17 -07:00
Paul Holzinger
f95de0a058
podman: set PODMAN_TESTING env
The system tests need that location in order to use the right binary
path from the rpm.

ref: https://pagure.io/fedora-qa/os-autoinst-distri-fedora/issue/373

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-04-23 17:38:13 +02:00
Adam Williamson
5fdc716c32 navigation/play_video: update for showtime
Video player in Rawhide changed from Totem to Showtime, so we'd
better update for that.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-04-22 17:49:53 -07:00
Adam Williamson
d17e7d7b3f Update some overview needles for evince->papers and totem->showtime
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-04-22 14:52:06 -07:00
Adam Williamson
eb66c61e8a Update desktop_printing for Evince -> Papers switch
This test uses a document viewer, so we need to tweak it to work
with the new one.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-04-22 14:48:12 -07:00