1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-24 06:43:08 +00:00
Commit Graph

1273 Commits

Author SHA1 Message Date
Adam Williamson
20de2be255 Revert "_ostree_build: disable archive repo on 41 till it works"
This reverts commit d4d9adc463.
Dusty created the repo (empty for now), so we no longer need
the workaround.
2024-08-16 10:39:30 -04:00
Adam Williamson
d4d9adc463 _ostree_build: disable archive repo on 41 till it works
See https://pagure.io/releng/archive-repo-manager/pull-request/24

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-08-16 08:25:16 -04:00
Adam Williamson
6fe3ec37b3 Re-enable desktop_background on F41
The new background is now present on both GNOME and KDE.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-08-16 01:02:40 -04:00
Adam Williamson
0faa55586d disable desktop_background on f41 temporarily
there's a new background package pending, but we need the compose
to complete...turn off the test until then.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-08-15 11:42:16 -04:00
Adam Williamson
6cc668d4c3 upgrade_run: add a -y to the reboot command
dnf 5 seems to need it.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-08-14 22:01:15 -04:00
Adam Williamson
234f103c44 Tweak dnf log uploads in upgrade_run for dnf5-only systems
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-08-14 16:47:01 -04:00
Adam Williamson
6a9ab101bf Remove last vestiges of modularity stuff
This comes with a subtle behavioural change that we no longer
pass --nogpgcheck for upgrade tests, but we didn't really *mean*
to do that for anything but Rawhide, and it *shouldn't* be
necessary for Rawhide now, so let's see if everything is fine
without it.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-08-14 07:55:24 -04:00
Adam Williamson
4be9ce3e88 Use 'terminal' instead of 'gnome-terminal' for ptyxis switch
In several places we run 'gnome-terminal' explicitly, but as of
today's compose, the default terminal app on GNOME in Rawhide is
ptyxis, not gnome-terminal.

Running 'terminal' should launch whichever is correct, so let's
consistently do that.

Also, add an apps_run_terminal needle and navigation navbar
needle for ptyxis.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-08-13 10:39:20 -04:00
Adam Williamson
9cffe4e3d4 Fix postinstall bootloader regen with grub 2.12
We weren't really doing this right. Let's do it this way, which
is how we do it in another place, and works.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-08-09 11:57:46 -04:00
Adam Williamson
b23a52e88b check_default_fonts: use repo_setup before using dnf
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-08-07 10:33:06 -04:00
Adam Williamson
cfb3b793e3 Update check_default_fonts to match the new test case
The test case was completely changed earlier this year. Per
https://bugzilla.redhat.com/show_bug.cgi?id=2093080#c17 , atagoh
wants us to use the new test case for validation and have openQA
automate it, so, this does that. I already updated the matrix
earlier in the year, I will update fedora_openqa when this is
merged.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-08-05 10:16:29 -07:00
Adam Williamson
d515ad1195 Revert "desktop_update_graphical: try to workaround GGO #2442"
This reverts commit b3e5dd41cb.
Some testing on lab seems to indicate it's not needed any more,
at least several runs with the workarounds reverted have passed.
Will put them back if we hit failures.
2024-08-02 16:07:05 -07:00
Adam Williamson
3f951b47d8 Run update package version check on installer environments
As discussed in https://pagure.io/releng/failed-composes/issue/6538
we noticed a gap in openQA coverage here. We don't check the
versions of packages lorax installs to the installer environment,
and those packages do not make it to the installed system, so if
there's a dep issue that prevents a package in the update from
being included in the installer environment, but the same dep
issue isn't caught on any other path, we miss the problem. This
wires the updvercheck.py script into the _installer_build and
_ostree_build tests to catch this kind of problem, and makes it
capable of parsing pylorax.log files into its preferred format
to enable that.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-08-02 15:10:53 -07:00
Adam Williamson
187e3486be podman bats: tee the output to a log file and upload it
...this makes it much easier to see what's failing if it fails.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-07-17 18:22:53 -07:00
Adam Williamson
57dc6b691a maps/export: tweak for respin testing
We also need to use the old workflow for f40 respin testing.
Also, put back a wait and some comments that were left out of
the 'old' flow.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-07-15 16:30:55 -07:00
Lukáš Růžička
2356d27268 Use different workflow for Silverblue
Silverblue Rawhide contains an older version of Maps than Workstation
Rawhide. This PR allow to test both of the versions depending on the
subvariant variable. When Silverblue and Workstation will use the
same version, this should be removed.
2024-07-12 11:23:38 +02:00
Adam Williamson
0a1818263f realmd_join_cockpit: do systemctl daemon-reload before starting
In https://openqa.fedoraproject.org/tests/2724005 , it seems that
cockpit.service was restarted by a systemctl daemon reload during
install of the necessary packages to enrol to the domain, which
causes the web UI to unexpectedly show a "Server has closed the
connection" error and fail the test.

It seems like we can mitigate this by triggering a daemon reload
manually before launching cockpit - the reload seems to be sort
of 'queued' at this point, I'm not sure why - so let's do that.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-07-11 12:02:39 -07:00
Lukáš Růžička
1378039230 Fix Gnome Text Editor
The new layout needs to scroll down to reveal some of the elements.
Use send_until_needlematch to navigate in the application and
arrive at those switch buttons to enable the requested functionality.
2024-07-10 16:16:58 +02:00
Lukáš Růžička
6f9288634a Fix the Maps
- add needles
- update export.pm
2024-07-10 15:09:49 +02:00
Adam Williamson
e3b348429a calculator: handle short About screen with a soft failure
See https://gitlab.gnome.org/GNOME/gnome-calculator/-/issues/419

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-07-04 15:08:04 -07:00
Adam Williamson
5b76dd9a1e Make apps_startstop fonts always rollback, as it's crashing GNOME
This breaks subsequent modules, we need to roll back for them to
work.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-07-04 08:22:05 -07:00
Adam Williamson
2fbafd16dc Tweak clocks timer test flow a little
It doesn't make sense to wait for a still screen while a timer is
running.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-07-02 14:44:47 -07:00
Adam Williamson
99074fac96 Extend the python3-dnf thing and make it non-fatal
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-06-25 08:38:36 -07:00
Lukas Ruzicka
c056ac945b Tidy the _boot_to_anaconda.pm to stop messing with side branches. 2024-06-25 11:24:10 +02:00
Adam Williamson
f3f1299f67 ostree_build: force python3-dnf into built ostrees
This makes them diverge slightly from official ones, but...we
need it to run updvercheck.py, and doing that in a container is
a pain because we have to get the input files in. So, let's just
make sure it's in our ostrees.

It used to be in them anyway, but last night it stopped being in
Rawhide ones for some reason.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-06-24 15:22:45 -07:00
Adam Williamson
c68c215489 Handle VNC question disappearing in serial mode too
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-06-21 09:42:41 -07:00
Adam Williamson
8028586183 text mode: handle the "use VNC instead?" question going away
Intentionally or not, a recent anaconda change made it so the
"text mode sucks, use VNC instead?" question is no longer ever
shown - https://bugzilla.redhat.com/show_bug.cgi?id=2293672 .
So, we should handle the flow where we just go straight to the
hub. If they decide this was intentional and kill the question
for good we can drop the path that handles it.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-06-21 09:15:01 -07:00
Adam Williamson
5467da23b5 Revert "Plasma notifications: drop the Akonadi migration note check"
This reverts commit abc5e7c679 (and adds
a current needle).
It came back...
https://openqa.fedoraproject.org/tests/2693105#step/desktop_notifications/32
2024-06-21 08:44:00 -07:00
Adam Williamson
20051de382 Drop kmousetool from KDE app start/stop, it was removed
See https://pagure.io/fedora-comps/c/52aadae

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-06-21 08:38:38 -07:00
Adam Williamson
03cc0473ee Drop a "> 38" conditional
38 is EOL, so no longer needed.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-06-21 08:37:48 -07:00
Adam Williamson
73b8eacc2c ostree_build: fire our seds at *.yaml
These filenames changed again:
https://pagure.io/workstation-ostree-config/pull-request/523
and I'm sick of dealing with it. Let's just fire away at *.yaml,
it should be safe. If we ever need to check a file we can add
a targeted upload_log temporarily.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-06-21 08:19:45 -07:00
Lukáš Růžička
6a4ed83384 Enable start/stop tests on Silverblue. 2024-06-19 23:42:42 -07:00
Adam Williamson
3ca2598a01 container build: use transient containers for advisory_check
using podman run leaves containers and/or images lying around; if
the thing being tested is big enough, we can wind up with enough
that podman just stops working (I saw this while testing the
python 3.13 side tag). To avoid this, use podman run --rm, which
clears up the container/image after the command is run.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-06-19 12:41:52 -07:00
Deborah Brouwer
d726d73733 rpmostree_overlay: double the timeouts
Tests running in cloud instances are failing because installing
rpm-ostree packages, particularly writing the OSTree commit, is often
taking longer than the timeout maximum of five minutes.

Stop these tests from needlessly failing by doubling the allowable
time for installing each package.

Signed-off-by: Deborah Brouwer <deborah.brouwer@collabora.com>
2024-06-19 19:20:19 +00:00
Adam Williamson
3ac7b5a648 desktop_background: handle KDE post-upgrade welcome center
When we test major KDE version upgrades, we get a post-upgrade
version of the welcome center again after the upgrade, which we
don't really expect. This breaks the background test because the
welcome center is in the way of the background, it doesn't seem
to break any other update tests. So let's just handle it here.
Fortunately this version has an "OK" button we can click.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-06-19 12:17:17 -07:00
Adam Williamson
356ee975c0 d'oh, only do doublek workaround on KDE (desktop_terminal)
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-06-18 00:43:57 -07:00
Adam Williamson
b9125b9702 Use doublek workaround on desktop_terminal too
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-06-17 09:01:44 -07:00
Adam Williamson
943c4193d3 Factor out the KDE launcher double-typing workaround, use it more
There's a couple of places where we do menu_launch_type in KDE
without doing this workaround first, and they do run into the
bug sometimes. Let's factor it out from the few places it's
already repeated, and add it to the places it is missing.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-06-11 16:21:00 -07:00
Lukas Ruzicka
992e51f5c5 Create test suite for Desktop Keyring
This adds both the Gnome and the KDE tests to test the
Desktop Keyring. After a discussion with the Brno team,
how this could be tested without the need to rely on
external servers to log into, we set up a local FTP server,
we will log into it and remember the credentials and verify
that the credentials will be stored in the keyring correctly.
2024-06-11 16:04:44 -07:00
Adam Williamson
206ffc2a7e COPR / tag tests: handle GNOME "download unsigned" prompt
When using a side repo for testing a COPR or a side tag, there
may be unsigned packages. We set gpgcheck=0 to make dnf okay
with this, but gnome-software still shows a warning. Let's
click through it so the test can complete.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-06-11 14:38:18 -07:00
Adam Williamson
247c1853b4 Fix logic in live install retry loop
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-06-03 22:55:28 -07:00
Adam Williamson
e353649ed8 Try launching live installer up to 5 times (#2280840)
We already try twice, but that seems to be not enough for the
annoying #2280840, we're often seeing failures.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-06-03 17:22:39 -07:00
Adam Williamson
f14200e50d Update cockpit autoupdate test for new dnf5 service
The service cockpit enables is different when it detects dnf5,
since cockpit 317. Let's just make this an F40/F41 boundary
thing, and add the cockpit 317 update as a workaround for F41
until it goes stable.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-05-29 17:43:12 -07:00
Adam Williamson
833204e060 Re-enable FAS homepage check in desktop_browser
Let's hope it's more reliable now.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-05-28 09:14:53 -07:00
Adam Williamson
4ccdaf0236 Add some wait_still_screens to GNOME Software ignore handling
I think the lack here is sometimes causing us to click more
times than we should. Let's do this to try and make sure we
don't click once it worked.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-05-27 12:17:40 -07:00
Adam Williamson
976b37f976 Use workarounds and Rawhide tag repo for update net installs
We're getting failures in the update network install tests today
which seem to be because we're using an image built with systemd
256 to install systemd 255. This is because systemd 256 has been
tagged but isn't in a compose yet, and we use the Rawhide tag
repo when building the installer image but we don't add it as an
additional repo for the install itself.

This is obviously a hole in the process, we should use the extra
repos, where appropriate, all the way through. So this makes us
use both the Rawhide tag repo (when doing a Rawhide install test)
and the workarounds repo (when there are workarounds) for network
install tests.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-05-13 09:38:00 -07:00
Adam Williamson
3b3e00f123 flatpak: proxy the connection to flathub
This is intended to reduce the amount of traffic we generate to
flathub, particularly so we can run this test on updates as well
as composes. We have to set a proxy and trust an SSL cert.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-05-06 15:12:15 -07:00
Adam Williamson
a353caeb90 Enable testing of COPRs, fix some issues, enable package checks
This works more or less like testing side tags. We also fix up
some flow problems with this path (that also affect the side tag
case), and enable the package checks on this path - it's not too
hard really, we just need to write the updatepkgs file when we
set up the repo, which we can do with dnf repoquery.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-05-03 14:40:34 -07:00
Adam Williamson
1edde53988 Try and avoid launcher typing issues in more KDE tests
This is the same thing we do for the app_startstop tests in
aaa_setup, applied to a couple of other places we use
menu_launch_type in KDE and it's having trouble.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-05-03 14:22:59 -07:00
Adam Williamson
d142d2f4a1 zezere: update for new default ssh key algorithm
ssh-keygen now defaults to ed25519, so this test needs updating.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-04-29 10:32:14 -07:00