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

1500 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
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
20870fc561 Use date not timedatectl for clocks and gnome-panel
timedatectl now refuses to set the date to before the date when
systemd was built, so let's just use date instead.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-08-29 11:13:05 -07:00
Adam Williamson
4e3bc57a03 Build and test cloud image in updates tests
This makes us create a generic cloud disk image and then run
tests on it, just like we do for Workstation and KDE lives,
everything netinst, Silverblue, and a container image. This is
intended to help avoid anything like
https://bugzilla.redhat.com/show_bug.cgi?id=2390898 happening
again - if we'd had these tests set up and gating enabled, the
update that caused that bug would've been gated.

This requires some changes that affect other things: bind mounting
the whole of /dev in our mock config when using simple isolation,
and forcing START_AFTER_TEST to "" for kiwi_build (this is needed
to override the setting of it in the updates-cloud flavor). bind
mounting is what koji does for 'real' kiwi build jobs so it's fine
(in fact, better); previously the mock config was shared with
livemedia-creator, but we don't use that any more so it's not a
problem.

It's a bit icky when we get to the point of having *multiple*
+START_AFTER_TEST settings, but I can't see another way to get
everything right here and still share the test suite definition
with compose tests.

Moving the definition of KIWI_PROFILE for container tests is not
strictly related, but I noticed it was weird while working on
this and couldn't leave it alone.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-08-28 16:43:07 -07:00
Adam Williamson
29b065dd65 Replace ftp with autofs in the package install test (#413)
As reported by @yselkowitz , ftp is no longer in ELN, so this
test fails on ELN composes. autofs is in ELN, has minimal
dependencies and doesn't change often, so it looks like a good
option.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-08-28 14:18:09 -07:00
Adam Williamson
d2ffcf5512 podman: filter flaking test "larger transfer, tap" test
Test "TCP/IPv4 larger transfer, tap" is flaking currently, so
let's disable it. Paul has reproduced the issue and is working on
the fix so no further purpose is served by failing on it.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-08-28 09:50:58 -07:00
Adam Williamson
d1d6b0340a Revert #2334165 workaround
The security fix has been removed for now; we're removing this
workaround so we'll notice if it gets broken again.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-08-28 08:50:17 -07:00
Adam Williamson
9153204111 papers: don't check multiple pages of shortcuts
we really don't need to, and the new design that's currently in
Workstation but not yet Silverblue makes it awkward. Just check
one page.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-08-25 16:10:37 -07:00
Adam Williamson
58e96dc16b papers: only hit apply if it's there
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-08-25 15:57:18 -07:00
Adam Williamson
0f4e91c993 menu_launch_type: don't wait_still_screen for animated apps
This is intended for things like system monitor where there's
constant motion on the app screen so we can't wait_still_screen.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-08-25 15:02:03 -07:00
Adam Williamson
ef0c7892b5 whoops, add a wait
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-08-25 14:38:04 -07:00
Adam Williamson
e803dae04d maps: tweak export test steps to get correct filename
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-08-25 14:37:39 -07:00
Adam Williamson
2fe8338f8c webui: uncheck "Use local account" when appropriate
If the test settings indicate not to create a local user account,
let's uncheck the relevant box. This should fix the KDE
install_no_user test.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-08-25 12:45:48 -07:00
Adam Williamson
b7c03d20ae Drop kgpg start/stop test
It's been removed:
https://pagure.io/fedora-comps/c/f475b5a50d029d307324a43186a182c3c0bdc74c?branch=main
same on F43. We don't run this test on older branches.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-08-21 11:59:06 -07:00
Adam Williamson
ae72f8f954 Drop rhythmbox start/stop test, it was removed from comps
See https://pagure.io/fedora-comps/pull-request/1147 - rhythmbox
was dropped from the default Workstation package set.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-08-20 10:28:46 -07:00
Adam Williamson
57518db365 Enable desktop background test on F43 except for KDE
KDE needs a kde-settings update, but everything else should be
showing the new background now. Add a needle for it.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-08-18 09:44:45 +02:00
Adam Williamson
edf9b2515f desktop_login: update lock screen bug link
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-08-08 23:19:31 +02:00
Adam Williamson
0bf2003526 desktop_update_graphical: deal with annoying notification
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-08-07 23:23:54 +02:00
Lukas Ruzicka
e4bb6f5ecf Inform about not testing for F43 2025-08-06 12:12:01 +02:00
Lukas Ruzicka
3f1c43e0ca Do not test for background for 43 2025-08-06 12:07:31 +02:00
Lukas Ruzicka
531a7899e4 Increase wait time for Third Party check 2025-08-06 11:22:11 +02:00
Adam Williamson
8e77d8f35d Correct a bug reference
This bug number was just wrong.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-08-01 10:52:02 -07:00
Adam Williamson
d43b28bb9a Tweak _boot_to_anaconda web UI flow
We never get direct to installmethod any more, I'm pretty sure -
we always go through language selection. This may change if we
ever fix up the gnome-initial-setup stuff, but for now let's
simplify.

However, web UI now has a date/time page that shows on KDE but
apparently not on GNOME. So if we hit that, click through it.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-07-31 23:21:27 -07:00
Adam Williamson
bb75e1a425 gnome-software: handle dnf5 key import prompt
GNOME Software with the dnf5 backend prompts for GPG key import
if it hasn't already happened. We need to handle that. Luckily
I don't think we can get both this *and* the 'download unsigned'
needle, so we just make them alternates.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-07-30 16:56:40 -07:00
Adam Williamson
597658b47f Reapply "Run desktop_login test on updates"
This reverts commit 0b58c35eb6.
Now we worked around the other lock screen bug, this should be OK.
2025-07-30 15:11:10 -07:00
Adam Williamson
ff256eb741 Work around another lock screen issue in desktop_login
We don't crash on the lock screen in Rawhide GNOME now, but my
fix isn't perfect - the pointer is somehow broken on the lock
screen, so we can't click anything. tab doesn't work either, so
we just can't switch user from the lock screen till this is
fixed better. So for GNOME on Rawhide, we'll skip switching from
the lock screen and just do another 'normal' switch.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-07-30 15:05:00 -07:00
Adam Williamson
0b58c35eb6 Revert "Run desktop_login test on updates"
This reverts commit 6b734bd9fa. It
seems the test still fails at a later stage due to issues with
the lock screen, even though I was sure it passed on staging. Gr.
2025-07-29 23:35:36 -07:00
Adam Williamson
6b734bd9fa Run desktop_login test on updates
It's a useful test. We have to skip the final power down, though,
so _advisory_post can run.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-07-29 11:52:51 -07:00
Lukáš Růžička
188fe0f006 Update PR after review 2025-07-29 15:07:35 +00:00