1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2025-09-28 00:48:50 +00:00
Commit Graph

3931 Commits

Author SHA1 Message Date
Lukáš Růžička
d02bf7798e Add various fixes after the review
After the review, when the requirements have been
added, the tests started to behave a little differently
and some fixes had to be added to make it pass with
no problems.

Also, this PR adds a function to change Gnome
default settings.
2025-09-15 14:19:26 +02:00
Lukáš Růžička
32d1147790 Fix remote_desktop_server after AI review 2025-09-15 14:19:26 +02:00
Lukáš Růžička
402f485963 Fix remote_desktop_client after AI review 2025-09-15 14:19:26 +02:00
Lukáš Růžička
191772f35f 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-09-15 14:19:26 +02: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
Adam Williamson
c209e568a1 Update a couple of GNOME needles for some change in Rawhide
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-09-09 18:05:20 -07:00
Adam Williamson
2115b90d66 Update a couple more KDE needles for new background
These don't show up immediately...

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-09-09 18:02:30 -07:00
Adam Williamson
e3ceaf8d33 Tweak gnome-text-editor shortcuts needles
We need to replace the existing needle with one with a match area
on the 2 button, as explained in the recent commit where we
changed the test behavior. This is for Silverblue, where the old
UI is still present for now, so we need the assert_and_click on
the first shortcut page to press the '2' button for things to
work.

The removed needles all have not matched for months or years, so
let's get rid of them.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-09-08 23:31:02 -07:00
Adam Williamson
3a2f45ef50 kleopatra: handle launch with no self-check page
In Rawhide we're not seeing the self-check page, we're going
straight to the app. Handle that.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-09-06 15:33:35 -07:00
Adam Williamson
60232a960d Update an anaconda-blivet needle for element being pre-selected
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-09-06 15:26:10 -07:00
Adam Williamson
4ae661a946 Update an anaconda webui needle for a UI element size change
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-09-06 15:25:36 -07:00
Adam Williamson
f27ba622f2 Update gnome-text-editor shortcut needles for 49 RC
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-09-06 15:25:00 -07:00
Adam Williamson
800a4a285b Update KDE notification needle for new background
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-09-06 15:21:54 -07:00
Adam Williamson
25f79a87ff Update various misc GNOME needles for 49 RC changes
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-09-06 15:05:52 -07:00
Adam Williamson
b1135920a3 Update GNOME panel needles for 49 RC changes
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-09-06 15:04:00 -07:00
Adam Williamson
71ae74cc8f Update GNOME Maps needles for recent 49 changes
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-09-06 15:02:59 -07:00
Adam Williamson
d5ba7a4f9e webui: use 1GB for /boot and /boot/efi
512MB is too small, we're getting size warnings on the tests with
latest Rawhide.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-09-06 15:01:29 -07:00
Adam Williamson
2dc3407547 Simplify gte shortcuts test for GNOME 49 RC
There's no 'go to 2' button any more, we'll just click a random
section (Windows) and check that. This would also work fine for
the old style if we still need that - just add the '2' button to
gte_shortcuts_one and make sure it's the click area.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-09-06 14:13:49 -07:00
Adam Williamson
8fb84cd458 _boot_to_anaconda: use welcome launcher for KDE too
This means we don't need the double-click logic, and it seems to
be more reliable on F43+.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-09-06 11:34:46 -07:00
Adam Williamson
1b0fc55758 Update IoT greenboot passed needle
The messages we get on greenboot passing changed a bit.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-09-06 11:18:04 -07:00
Adam Williamson
557c2cd781 Run unwanted_packages on KDE, they don't want gtk2 (#425)
This enables the unwanted_packages test we set up for Workstation
a while ago on KDE as well. They want to ensure gtk2 isn't on
KDE installs.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-09-05 14:52:28 -07:00
Adam Williamson
c9f73ec073 Remove desktop_background short-circuit on F43 KDE
The kde-settings fix is now stable and in the latest compose, so
we don't need this any more.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-09-05 11:18:28 -07:00
Adam Williamson
c3b2dc4e63 Update another keyring needle for GNOME 49 RC
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-09-05 11:10:46 -07:00
Adam Williamson
4ddc3450a3 gnome_initial_setup: adjust to time zone active field change in 49
In GNOME 49 RC, the Time Zone page has been changed so the search
box is active by default. Previously we had to press tab to
activate it. We need to keep working with both, so unfortunately
that means adding a needle :/

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-09-05 09:54:50 -07:00
Adam Williamson
1e245861c3 Update various needles for GNOMR 49 RC
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-09-05 09:38:11 -07:00
Adam Williamson
63d38b76f5 Update a Maps needle to get through aaa_setup
Looks like some more needles also need updating, while the app
is still kinda broken too...fun.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-09-04 17:41:15 -07:00
Adam Williamson
b8dcb561d5 Add a Firefox new tab variant that showed up in an aarch64 test
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-09-04 17:40:42 -07:00
Adam Williamson
eae6db9541 Update anaconda webui needle for a minor UI change
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-09-04 17:39:58 -07:00
Adam Williamson
b99b0e3ec1 Drop workarounds (one went stable, we untagged libiscsi)
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-09-04 17:11:26 -07:00
Adam Williamson
ba6b6200a6 Add dep issue fix builds as workarounds for F44
Two different dep issues started breaking tests today -
a libiscsi soname bump broke deps in qemu and libvirt, and a
gnome-shell-extension-background-logo update had an invalid dep.
This adds fixes for all three as workarounds so I can get the
tests of each to pass, and other tests to pass while these are
going through gating.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-09-04 15:28:01 -07:00
Adam Williamson
8bf8cb6ff0 Update maps_select_file needle (broken thumbnail?)
I think this may be needed because thumbnail generation isn't
working? Not sure.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-09-04 11:27:16 -07:00
Adam Williamson
66c898b516 Update a Cockpit needle for new Cockpit version
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-09-04 11:25:36 -07:00
Adam Williamson
a7fcfd9a77 Update a desktop update neeedle for changed X icon
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-09-04 11:24:40 -07:00
Adam Williamson
847b681949 Enable KDE compose tests on aarch64
This enables tests on the KDE aarch64 disk image. The test set
should be the equivalent of what we run on the Workstation disk
image - most of the same tests we run on x86_64, a few left out.
I might do a follow-up to enable the 'missing' tests on both
arches later, at least ones which don't seem to be left out for
any good reason beyond resources.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-09-03 17:19:48 -07:00
Adam Williamson
5da5af3852 post_fail_hook: also upload AVCs and a text journal dump (#410)
@kparal pointed out that it's a bit inconvenient to quickly check
the journal and any SELinux AVCs for a failed test. All the info
is in the /var/log tarball, but you have to download it, extract
it, and know how to run journalctl on it. For convenience, this
adds a text dump of the journal and one of any AVCs found with
ausearch.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-09-03 12:45:03 -07:00
Lukáš Růžička
a396c2f41d Add start-stop test for Kleopatra
This PR adds a start-stop test for Kleopatra that will replace
the KGpg application. It does not, however, remove the KGpg
start-stop test from the suite, as the KGpg is not gone yet.
We will remove it in a separate commit when time has come.

Fixes: https://pagure.io/fedora-qa/os-autoinst-distri-fedora/issue/405

Change the start command to kleopatra

Move needle to generic space

Remove checking the selection box
2025-09-03 17:04:30 +00:00
Lukáš Růžička
eb6bd63e01 Fix the I3 Tiling test
The test failed because one of the applications ceased to exist
on the installation media. The fix brings a different set of
applications and more to it - the applications get installed
during the test so we probably won't have to deal with similar
issue in the future. Or at least not that often.

Fixes: https://pagure.io/fedora-qa/os-autoinst-distri-fedora/issue/412
2025-09-03 16:46:39 +00:00
Adam Williamson
feda79ebfc Enable Workstation updates tests on aarch64
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-08-29 14:04:07 -07:00
Adam Williamson
e04b1bbb31 Add variant GNOME panel lock screen needle
For some reason, on aarch64, we get the 'person' icon, not the
first letter of the user's name. No idea why.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-08-29 11:27:03 -07:00
Adam Williamson
ea73f8f381 Update a Maps needle for different font height
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-08-29 11:26:37 -07:00