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

3434 Commits

Author SHA1 Message Date
Adam Williamson
dc7ff01f27 toolbox: handle OCI images (as produced by Kiwi)
We changed to building toolbox container images with Kiwi. These
are OCI archives, not docker archives. So we need to call skopeo
appropriately.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-03-14 14:34:38 -07:00
Adam Williamson
4ee74a0bca iot_zezere_remote: add a safety wait after adding ssh key
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-03-14 08:32:25 -07:00
Adam Williamson
41f2adaf46 os_release: update for osbuild change to ISO names
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-03-14 08:25:26 -07:00
Adam Williamson
b8fddfa265 Fix the logic for skipping _repo_setup_updates
Just checking for the package update list is wrong in a couple of
ways:

1. It goes wrong for child tests that inherit the main disk from
the parent test, but not the second disk where the actual update
repo lives. They'll have the package list, but not the repo. So
we should test for both the package list and the repo dir.

2. It goes wrong for side tag tests, because we don't write a
package list (or create an update repo) on that path. So on that
path let's check whether we already created the repo definition
we use on that path.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-03-13 10:49:05 -07:00
Adam Williamson
28b2d02b5f Update prerelease note needle for F40
The existing needle matches on bits of the keyboard layout
selector under the note and the Help button next to it, for some
reason (I don't recall why). The Help button is gone because we
killed installer help, and the keyboard layout indicator is not
always shown any more, there's no reason to match on it here
that I can recall.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-03-13 08:40:38 -07:00
Adam Williamson
128b5ff4fa Update console_initial_setup_done needle for a font change
We got a different console font affecting this needle recently.
It *may* be due to building the ARM minimal disk image (which I
think is the only image whose tests hit this needle) with osbuild,
but anyway, it's not a bug, so we should just accept it.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-03-13 08:39:18 -07:00
Adam Williamson
722da7da06 Update all KDE notification needles for F40 backgrounds
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-03-13 08:37:59 -07:00
Adam Williamson
28697a27cd Add F40 Beta night background needle
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-03-08 11:13:10 -08:00
Adam Williamson
2b51d930b9 Tweak the IoT incomplete hub workaround a bit
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-03-08 08:49:52 -08:00
Adam Williamson
460eee87bc updates: test Silverblue install on UEFI as well as BIOS
https://bugzilla.redhat.com/show_bug.cgi?id=2268505 made it
clear that this is a bit of a hole. We don't test installing the
Silverblue image we build on UEFI, only on BIOS. Add this as a
separate test so we don't uselessly upload a disk image we won't
use for any follow-on tests.

This also adds an anaconda build that fixes a bug in this path
as a workaround for F40, so the test won't fail on all F40
updates.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-03-07 16:13:02 -08:00
Adam Williamson
89686bceba desktop_background: drop F40 exemption
Now we have F40 backgrounds, we can drop this exemption and have
the test always fail on non-Rawhide again.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-03-07 16:05:51 -08:00
Adam Williamson
938dc5958b Add F40 background needle
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-03-07 16:05:51 -08:00
Adam Williamson
9d1ae2aaf7 Add kde-settings update as a workaround too
This should mean all F40 update tests get the new background,
and we can once again make that test fail if it doesn't see it.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-03-07 16:03:18 -08:00
Adam Williamson
02015ed5a0 Add F40 backgrounds update as workaround
So the kde-settings update can pass tests.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-03-07 15:54:51 -08:00
Adam Williamson
cca9f90c8a Drop workarounds that have gone stable
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-03-07 15:52:54 -08:00
Adam Williamson
8da5b7c010 Work around IoT incomplete hub issue
This is a workaround for
https://github.com/osbuild/images/issues/309 , the IoT installer
showing incomplete spokes in the main hub. We work around it by
visiting them all.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-03-06 17:52:04 -08:00
Adam Williamson
a5f9c88584 Tidy a couple of things that got missed in earlier commits
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-03-05 14:27:10 -08:00
Adam Williamson
692e33dd2a Update various needles for GNOME 46 RC
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-03-05 14:08:45 -08:00
Adam Williamson
33ea6ef506 podman: give bats test a bit longer to run
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-03-03 09:04:16 -08:00
Adam Williamson
b664178eb9 Add another variant grant_access needle
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-03-01 17:34:03 -08:00
Adam Williamson
aeac70814b Drop the addrepo_metalink_graphical test
Anaconda has dropped the ability to interactively configure
additional repositories, so this test cannot work any more.
It's now possible only with inst.addrepo or a kickstart.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-03-01 16:55:59 -08:00
Adam Williamson
d42ada609b f41 workarounds: add realmd update needed to fix FreeIPA tests
a realmd update a few hours ago broke FreeIPA enrolment. This is
the fix.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-03-01 10:23:54 -08:00
Adam Williamson
b348f47108 workarounds: drop dogtag-pki update that went stable
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-03-01 10:23:34 -08:00
Adam Williamson
246e1c02af Give FreeIPA uninstall a bit longer to run
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-29 19:23:04 -08:00
Adam Williamson
43be62ac01 Add FEDORA-2024-ff7b17cdea as workaround for FreeIPA Java issue
The Java 21 update broke FreeIPA and was waived stable. This
update rebuilds dogtag-pki and should fix it.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-29 17:43:02 -08:00
Adam Williamson
8dbcca38b0 clean up workarounds
Drop two that went stable, replace a scratch build with the
official update.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-29 17:42:27 -08:00
Adam Williamson
b1d0d448ea Give setup_repos.py longer for huge updates
Looking at you, FEDORA-2024-9b9da603e1

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-29 09:32:45 -08:00
Lukas Ruzicka
5e93dacfff Update a Map needle.
Also, make it a little more tolerant so that it does not fail on
94% matches.
2024-02-29 17:44:39 +01:00
Adam Williamson
54f69463b0 Use NUMDISKS=2 (or higher) on all update flavors
We stopped doing this on Server because it caused problems with
tests that use a disk image uploaded by another test, e.g. the
cockpit tests - they use the `/etc/fstab` from the disk image
the parent test uploaded, which says to mount the second disk as
/mnt/update_repo, but since this is a new test it has a fresh,
empty second disk with no filesystems to mount. This tries to
fix that by making _console_shutdown.pm edit that line back out
of /etc/fstab, so we can set NUMDISKS=2 again (also on the ostree
flavor, which had a similar problem with the overlay and rebase
tests using a disk image uploaded by the install test).

We need to fix this because FEDORA-2024-9b9da603e1 is so big
it causes the tests that don't use a scratch disk to run out of
disk space.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-28 15:26:01 -08:00
Adam Williamson
ec11ce7903 Add FEDORA-2024-4afc8e64b0 to F40 workarounds to fix g-i-s pages
I missed reverting the g-i-s page skip config when deferring
the webUI Change to F40. Now I changed the conditional in the
openQA test to expect F40 to behave like F39 and earlier, it's
failing because it's seeing too many pages. This should resolve
it.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-28 00:31:53 -08:00
Adam Williamson
4c83347d54 Adjust for webUI deferral to Fedora 41
Same as the deferral from 39 to 40, except one of the tests has
gone away in the mean time.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-27 19:49:40 -08:00
Adam Williamson
2bc144ad0b Add workarounds for ostree overlay issue (#2266344)
jlebon and jmarrero figured out the fix for this, while we wait
for the packager to merge it their preferred way, let's use
scratch builds to work around it so every update doesn't get a
failed test.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-27 15:16:49 -08:00
Adam Williamson
ad394a7feb Drop workarounds that have reached stable
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-27 15:13:13 -08:00
Adam Williamson
10b7f66a02 desktop_printing: wait a bit after switching back from console
This test is failing a lot recently on KDE because when we try
to launch konsole immediately after returning from a console to
the desktop, it is mistyped and we get a browser instead. Let's
try a little sleep after the switch back in case KDE just needs
to settle down a bit.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-27 10:17:38 -08:00
Lukas Ruzicka
614a2f5e5d Fix the failing KDE startstop tests. 2024-02-27 12:18:45 +01:00
Lukas Ruzicka
d8556387bd Fix various Workstation needle failures. 2024-02-26 12:37:00 +01:00
Lukas Ruzicka
18fb96c1ba Add needles to make Printing test pass for KDE. 2024-02-26 10:23:26 +01:00
Lukas Ruzicka
e069a25396 Create a workaround for Flatpak Fonts start up.
On Silverblue, Fonts cannot be started using the menu_launch_type
for the first time, or it starts and crashes immediately.
However, if Fonts are started with flatpak run org.gnome.font-viewer,
it seems that the application starts and holds.
Let's start it using this workaround and when it still crashes, let's restart.
2024-02-23 12:38:42 +01:00
Adam Williamson
777e378a0d toolbox: test image from the compose where possible
per https://pagure.io/fedora-qa/issue/766 , this is a hole in our
current test approach: we are testing whatever the current
'stable' toolbox image is for the release, not the image that
is produced as part of the compose. This enhances the test to
test both, when possible. If the var TOOLBOX_IMAGE is set, we
will first check that a 'normal' `toolbox create` works - i.e.
that all the toolbox logic works right and it can actually find
a default image to download - but then we throw that toolbox
away, download the image (the value of the var is expected to
be a URL for the image file), register it with skopeo, and then
recreate the container using that image. Then we proceed with
the rest of the test as usual.

If TOOLBOX_IMAGE is not set, the test should proceed as before,
using the 'default' downloaded image.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-22 17:17:05 -08:00
Adam Williamson
e9fd290cdc Update a couple of needles for GNOME 46 changes
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-22 16:46:45 -08:00
Adam Williamson
a254b3306b Update Firefox addon needles for a new Firefox release
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-22 16:45:21 -08:00
Adam Williamson
c956e41e50 base_update_cli: handle updates-testing not existing on ELN
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-22 16:44:21 -08:00
Adam Williamson
c146bf4384 Add a couple of needed builds to F40 workarounds
Another case where an update was submitted after its deps had
gone stable, but before they made a compose. Maybe we really need
to set up a buildroot repo for tests of updates to branched-before
-bodhi-activation too. I'll think about it.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-22 12:49:49 -08:00
Lukas Ruzicka
1cd5455eae Revert "Restart Fonts on Silverblue (bug)"
This reverts commit 5ae9926225.
Unfortunately, the fix did not work on Staging, and some
other precaution will have to be made.
2024-02-22 17:01:51 +01:00
Lukas Ruzicka
5ae9926225 Restart Fonts on Silverblue (bug) 2024-02-22 15:31:14 +01:00
Adam Williamson
4a6d52e91e Add g-i-s build with live-user mode reverted as a workaround
Now the fedora-kickstarts PR to remove anaconda-webui was merged
we need this for tests to pass. Remove after next compose.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-21 15:33:32 -08:00
Adam Williamson
cb695c7e67 drop a workaround that's gone stable and into a compose
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-21 15:33:04 -08:00
Adam Williamson
0425be0d8e live_build: hack anaconda-webui out of kickstart on g-i-s update
We need to special-case the g-i-s update to get it stable before
we can actually change this in the real kickstarts repo...

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-21 12:16:18 -08:00
Adam Williamson
b3e5f7fb54 live_build: drop a hack that should no longer be needed
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-21 12:13:43 -08:00
Adam Williamson
d85f199f13 deduplicate needle: grant_access / gnome_allow
these were duplicates. In GNOME 46-beta this dialog seems to be
in 'light mode' at least some of the time, so we'll keep the
'light mode' gnome_allow needle we added for Snapshot but
rename it and change its tags. We'll wipe the 'dark mode'
gnome_allow because it should be just the same as the existing
grant_access needle. The two tests that used gnome_allow are
changed to use grant_access.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-21 08:12:32 -08:00