Compare commits

...

148 Commits

Author SHA1 Message Date
Lukas Ruzicka 02c1e4d530 Add a 'navigation' test for GNOME.
This PR partly solves the issue #301 when it adds the navigation
testing for Gnome. It uses the keyboard combinations to cycle through
running applications and checks that applications could be switched
accordingly. It also tests that you can switch between workspaces
and that you can move an applications to another workspace.
2024-04-05 14:54:51 -07:00
Deborah Brouwer 4eec75bec3 Get dns server address if host isn’t using systemd-resolved
The worker containers aren’t using systemd-resolved so
get_host_dns() can’t find the dns server causing tests that need
it to fail. Add an alternative place to look for the dns server address
that doesn’t rely on systemd-resolved.

Signed-off-by: Deborah Brouwer <deborah.brouwer@collabora.com>
2024-04-05 21:10:11 +00:00
Adam Williamson c3baa66465 Bump retry count on some flaky tests
The silverblue tests are flaky because of
https://github.com/fedora-silverblue/issue-tracker/issues/548 .
The desktop_upgrade_encrypted test is flaky on Rawhide (so, when
booting from F40 initially) since we switched to UEFI, not sure
if it's because of UEFI somehow or just a timing coincidence.
Am going to look into it, but for now this should save lots of
manual restarting.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-04-05 08:01:16 -07:00
Lukáš Růžička f48dc5a0d5 Add wait_still_screen to menu_launch_type.
This is actually a very useful to wait a little bit before
we try to operate with the started application, especially
if we want to send keys.

Having this wait time here can save us doing this every time,
we start an application.
2024-04-05 14:09:28 +02:00
Lukáš Růžička d2238360b8 Revert "Add needles"
This reverts commit bde855b343.
2024-04-05 10:04:17 +02:00
Adam Williamson 5701d1a5a5 Try and robustify menu_launch_type a bit
The mistypes on KDE are bugging me. Let's see if this - mainly
the wait_screen_change, the other just seems like a logical
tweak - helps at all.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-04-04 11:19:16 -07:00
Lukáš Růžička bde855b343 Add needles 2024-04-03 09:19:30 +02:00
Adam Williamson 64f06b6415 Don't run secure_boot_fallback on ELN for now
As we're not running on UEFI, it of course fails.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-04-02 21:16:39 -07:00
Adam Williamson af7705f47b Run ELN tests on BIOS
ELN can't boot with Secure Boot enabled currently:
https://github.com/fedora-eln/eln/issues/183

Until that's resolved, let's go back to testing on BIOS (this is
easier than testing on non-SB UEFI for...reasons).

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-04-02 15:39:42 -07:00
Adam Williamson 7e0cd0898e Make UEFI testing the default, add Secure Boot testing
This essentially inverts the x86_64 machines so that '64bit' is
UEFI and instead of a variant 'uefi' machine we have a variant
'bios' machine that is BIOS. The point is to make UEFI testing
the default. We also enable Secure Boot in the UEFI testing,
and add a test of UEFI fallback booting on various products.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-04-02 09:24:52 -07:00
Adam Williamson 85943b9aeb Update a GNOME needle for a slightly changed icon
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-04-02 09:20:07 -07:00
Adam Williamson 615be43cd5 Drop match level on KDE menu button needles
For some reason we keep getting not-quite matches on this, even
though we added two new needles. Let's drop the match level on
all existing needles as a coping mechanism.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-04-02 09:15:25 -07:00
Adam Williamson cf51484b2e Update several KDE needles for Plasma 6 changes
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-04-02 09:13:54 -07:00
Adam Williamson eaf7c48e0b Update several Arabic needles to translated versions
Someone's knocking out the Arabic translation, yay.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-04-02 09:12:38 -07:00
Adam Williamson f1c23be409 Fix #2268505 workaround - move the actions push earlier
Oops, all other actions pushes need to happen *before* the reboot
action push, or the logic breaks.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-03-26 08:29:25 -07:00
Adam Williamson 1739f38061 Add a workaround for RHBZ #2268505
My anaconda patch for ensuring we get an EFI boot manager entry
on installs using bootupd (currently only 'canned', i.e. Atomic,
installs - IoT and Atomic Desktops - are affected) was rejected
and dropped in the latest Rawhide build. It'll probably also be
lost in the next F40 build. So install tests of affected images
have started failing. This is a kinda awkward workaround: on
UEFI canned installs, we check whether it looks like there is no
"Fedora" efibootmgr entry, and if so, we delete the entry for the
optical drive, so hopefully we'll boot via fallback path from
the hard disk on reboot.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-03-25 17:25:10 -07:00
Adam Williamson 66aa587755 Updated/variant Firefox main screen needle
Old one was a 96% match. Not really sure what changed.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-03-25 08:56:43 -07:00
Adam Williamson cc832a4ad8 Fix new logic in Clocks test
Whoops, we can't just use a straight match_has_tag there as we
did another assert in the middle...

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-03-25 08:22:53 -07:00
Adam Williamson 5332b99076 Update a bunch of GNOME needles for 46.0 changes
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-03-24 18:12:25 -07:00
Adam Williamson 8ebf3bdddb Tweak Clocks alarm test for change in upstream code
Upstream now sets an alarm with no explicit recurrence inactive
after it is stopped (previously it assumed recurrence every day).
We need the test to handle both behaviours for a while (until
we are no longer testing < 46.0 anywhere).

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-03-24 09:47:21 -07:00
Adam Williamson 37150e430f Add yet another variant 'updates available' needle
GNOME seems to be growing a bunch of different variants of this
alert. Annoying.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-03-24 09:23:38 -07:00
Adam Williamson f6273425ee Add FEDORA-2024-01fd5aa621 to workarounds
gvfs from the GNOME 46 megaupdate needs it. It's been pushed
stable but not included in a compose, yet.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-03-23 17:12:40 -07:00
Adam Williamson 92c822a719 Clear no-longer-needed update from workarounds
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-03-23 17:12:11 -07:00
Adam Williamson 222223309e Update another GNOME needle for 46
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-03-21 12:15:12 -07:00
Adam Williamson c097516599 Update several GNOME needles for 46 RC/Final
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-03-20 20:44:58 -07:00
Adam Williamson 83d26b6945 Add variant update notification needle for GNOME
We see this when there's a *critical* update pending.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-03-20 20:38:30 -07:00
Adam Williamson a0eb2827b8 aarch64 kernel arg fixup: fix for bootupd
We now have some images using bootupd, at least Fedora IoT images
from F40 onwards do. These don't have a /etc/default/grub and
don't really intend you to run grub2-mkconfig. As advised at
https://github.com/ostreedev/ostree/pull/3150#issuecomment-1998768240
let's just add our required arguments directly in the BLS snippet
files.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-03-15 09:30:52 -07:00
Adam Williamson b20aac5373 Add FEDORA-2024-b8e524ffdd as F40 workaround
It's queued for stable but blocked by the freeze, and
FEDORA-2024-9c9174f3dd requires it. Let's just make it a
workaround to clear the other update's tests.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-03-15 09:22:56 -07:00
Adam Williamson 30a71127c0 Clear F40 workarounds list
All updates are now stable.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-03-15 09:21:55 -07:00
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
Adam Williamson 0aba13ec8f Bump disk size on ostree build test to 30 GB
Seems we need more space on the scratch disk used by the ostree
build test, it's failing due to lack of space. Tested on lab, it
worked.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-20 20:14:34 -08:00
Adam Williamson 15037690cc Add FEDORA-2024-5feb9b58f5 to F40 workarounds
Needed to make the tests for FEDORA-2024-039bae341c pass, I
don't wanna wait for a compose.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-20 18:20:16 -08:00
Adam Williamson 2c520e47c8 Drop update that's gone stable and into a compose from workarounds
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-20 18:19:44 -08:00
Adam Williamson 8e929f079f Try and make the archiver test more robust
These are some changes @lruzicka left lying around uncommitted
on openqa01.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-20 17:40:55 -08:00
Adam Williamson 21887eae3d Add tests for the Workstation live osbuild image
We should test this image to make sure it works as well as the
official image.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-20 16:50:28 -08:00
Adam Williamson 3f6a052666 Update a bunch of needles for GNOME 46-beta
This also rolls in a few Arabic translations, I think, cos I
can't be bothered going through and picking them out.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-20 16:49:40 -08:00
Adam Williamson 33b49655cf Update "rescue mode" needle for an anaconda change
They capitalized a word, I think.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-20 16:49:07 -08:00
Lukáš Růžička 3b4c94bb55 Add some more fixes for Nautilus. 2024-02-20 15:58:25 +01:00
Lukáš Růžička d656bc45a6 Wait until the dialogue settles 2024-02-20 15:01:14 +01:00
Lukáš Růžička d775ef53c4 Change needle are and lower threshold a bit to make it pass more easily. 2024-02-20 14:16:52 +01:00
Adam Williamson 47e9f576c0 CoreOS: tweak rpmostree_rebase test to work from OCI remote
The rpmostree_rebase test has been failing on CoreOS 40+ for a
while. Per
https://github.com/coreos/fedora-coreos-tracker/issues/1672
it turns out this is because FCOS actually deploys OCI remotes
by default now. Rebasing from an OCI remote to an ostree
remote (as we are trying to do here) requires specifying the
registry, so let's do that.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-19 15:00:34 -08:00
Lukáš Růžička e2e22341d3 Fix nautilus issues. 2024-02-19 14:19:52 +01:00
Lukáš Růžička 99b4d6ec17 Run scripts with assertions.
Creating the .invisible.txt file was done using non-assertion commands.
The tests have been failing for some and it seems like the commands
did not run correctly. Running them with assertions will make sure
that they will run (or fail correctly).
2024-02-19 11:26:39 +01:00
Adam Williamson 6ea99de13b Consolidate Firefox launcher needles
apps_menu_firefox and firefox/launcher are matching on the same
thing. Also, launcher-kde actually happens to match current
GNOME, so rename it to be generic. Give the launcher needles
the apps_menu_firefox tags and wipe the apps_menu_firefox
needle.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-17 11:16:07 -08:00
Adam Williamson 98513a0185 archive: be safer about the 'archive' dialog appearing
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-16 17:53:42 -08:00
Adam Williamson caa4353fe0 maps: add some sleeps to the zoom test
These loops make us click extremely fast. This may cause
unreliable results, I think. At least, the test is failing a
lot lately, with results that look like it's not always getting
the expected four levels of zoom. Let's try a short sleep
between clicks.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-16 17:52:19 -08:00
Adam Williamson 106a63f101 Maps: try and be a bit safer with the export screen
It seems like the export screen takes a while to appear on 40 and
Rawhide ATM, and we might start typing before it's there. Let's
assert it's actually there before we start doing stuff.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-16 17:22:22 -08:00
Adam Williamson e4a8dc4047 Add another variant Loupe zoom needle
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-16 14:31:20 -08:00
Adam Williamson 8e85bc5b7b Update some GNOME needles for Shell and Mutter 46-beta
Just ones the update tests hit, for now, there will be more in
the compose tests.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-16 14:30:31 -08:00
Adam Williamson 6c47319930 Add FEDORA-2024-11ba4726a4 as workaround for F40
The new gnome-shell from FEDORA-2024-f543e8595c requires this.
We don't use a buildroot repo for Branched even in the short
period where it acts like Rawhide (no karma or time requirements)
so let's just use a workaround.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-16 13:05:54 -08:00
Adam Williamson 06de92375f Clear workarounds that have reached composes
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-16 13:05:22 -08:00
Adam Williamson b3e5dd41cb desktop_update_graphical: try to workaround GGO #2442
In current F40 and Rawhide, this test is frequently failing
because gnome-software is behaving weirdly at startup - the
third-party software dialog moves around even more than before,
the app seems to get stuck in the "not responding" state
briefly sometimes, and there's a very weird state it gets into
sometimes where the window is shorter than usual and clicks
don't seem to register in the right place. While I'm trying to
bisect these bugs, these magic voodoo incantations (tested on
the staging instance) seem to mostly work around the weird
behaviour, and setting RETRY=2 should backstop it a bit further.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-16 12:50:05 -08:00
Lukáš Růžička 58544fcbce Wait until Loupe responds correctly. 2024-02-16 17:22:52 +01:00
Lukáš Růžička 8c027c9e10 Unbreak the /etc/release test by fixing a spelling typo in the function. 2024-02-16 13:32:01 +01:00
Adam Williamson d4c39fb37f setup_repos: print the reason, if download failed
It happened a few times lately and I realized it's dumb that I
can't see why.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-14 15:40:47 -08:00
Adam Williamson 7aeced3988 Add webui variant of version 41 ident needle
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-14 15:39:03 -08:00
Adam Williamson bd25bdac69 g-i-s: we always need two tabs to get to password confirm now
F38 is the oldest thing we test, and it has this flow. So let's
just drop the check here and always hit tab twice.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-14 15:24:32 -08:00
Adam Williamson 9ffd181bbd Don't expect g-i-s online accounts page on F40+
It was removed upstream:
https://gitlab.gnome.org/GNOME/gnome-initial-setup/-/merge_requests/221

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-14 15:19:46 -08:00
Adam Williamson 401e929555 Update various GNOME needles for changes in recent 46 builds
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-14 14:52:44 -08:00
Adam Williamson 80d0f71720 Update another KDE Vault needle for Plasma 6
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-14 14:50:13 -08:00
Adam Williamson 5eedf2fdb6 Add translated "accept fate" needle for Arabic
It got translated! Yay, thanks, Arabic translator(s).

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-14 14:49:20 -08:00
Adam Williamson c891b5c5d5 Add a Fedora 41 version identification needle
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-14 14:47:00 -08:00
Adam Williamson edcbf6a524 Wipe the openh264 repo a bit harder
We should wipe it both before and after running repo_setup to
really get rid of it. Ideally we should stop doing this at all,
but for right now the repo isn't there for Rawhide post-F40
branching yet, so let's keep this until that's done.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-14 14:22:44 -08:00
Adam Williamson d998a56383 Add 41 to the workarounds table
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-14 13:35:32 -08:00
Adam Williamson 541d637726 Revert local testing change to setup_repos.py
Er, whoops, that was *not* meant to get rolled into an unrelated
commit and break every test on the public instance. Sorry.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-14 12:48:36 -08:00
Adam Williamson b371331436 _ostree_build: handle change to repos in workstation-ostree-config
The place where repos are defined changed on the F40+ branches
of workstation-ostree-config, this handles both possibilities.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-14 12:29:51 -08:00
Adam Williamson f8f1d0d433 Add mock and mock-core-configs to F40 workarounds
I'm hoping this will fix live image builds.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-14 11:58:43 -08:00
Adam Williamson 6d4a8a9fb7 setup_repos: fix a logic bug
we might be on a non-update waonly path here, we can't bail in
that case.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-14 11:45:37 -08:00
Adam Williamson de4735f6f1 Soft fail on missing background for F40
...we know there isn't one yet.
https://bugzilla.redhat.com/show_bug.cgi?id=2230720

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-14 00:43:46 -08:00
Adam Williamson e6dabfa0df f40 workarounds: drop old anaconda build, add new lorax
We don't need this anaconda scratch build any more (the official
build has the fix now), but we *do* need the new lorax update I
just built to fix installer image builds with branched F40. See
https://github.com/weldr/lorax/pull/1379

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-14 00:15:09 -08:00
Adam Williamson 375250000f Add a wait_still_screen to update_graphical for an animation
GNOME Software seems to be doing some kind of animation between
the third party dialog and the main UI, and we're clicking on
a banner instead of the update button. Try a wait_still_screen
to deal with this.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-12 09:55:31 -08:00
Adam Williamson 2148674ed4 Update a couple more KDE needles for Plasma 6
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-10 00:07:56 -08:00
Adam Williamson 7e33a327f1 Update gnome-software refresh needle for 46~beta
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-10 00:07:04 -08:00
Adam Williamson b1cb7a04ad Drop match level on gnome-software refreshing needle
Updating this needle is a pain, and we have a 0.95 match. This
is easier!

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-09 23:47:11 -08:00
Adam Williamson 6e719d0f93 Fine, just drop the match level on the Updates needle then
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-09 17:28:23 -08:00
Adam Williamson fb5e5a22a7 Tweak GNOME Software Updates needle match area slightly
It kinda looks like the text has been moved closer to the icon
in the latest gnome-software, such that the little '1' bubble
is now in the needle match area if it's present. Obviously that
may vary, so let's tweak the needle match area a bit to the
right so it's hopefully consistent and still matches on older
versions.
2024-02-09 15:41:40 -08:00
Adam Williamson 965dc99ef5 Give ostree_build another half hour again
Another bunch of these timed out. Not sure why. Maybe it's when
I run a lot of them at the same time? Let's try this, again.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-06 23:07:25 -08:00
Adam Williamson fa5cedc63a Add anaconda workaround build for #2262892
This adds a scratch build with my proposed patch:
https://github.com/rhinstaller/anaconda/pull/5460
to get the tests to start passing again, so we don't have the
flood of red which makes it hard to spot other problems.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-06 16:51:55 -08:00
Adam Williamson 811ff708d2 Update a KDE notification needle
Different shade of grey again or something.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-03 09:26:59 -08:00
Adam Williamson 61910e7610 Make tidy happy with how we disabled accounts.fp.o check
Sigh, this is less obvious but we need the tests to pass.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-03 09:25:44 -08:00
Adam Williamson e805837597 Update a system monitoring needle for Silverblue
This got missed in the big GNOME 46 needle update because
Silverblue wasn't composing.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-03 09:08:23 -08:00
Adam Williamson 2238723977 Add yet another bike route variant for Maps
Seriously, Google, figure out where people in the UK should ride
their bikes already.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-03 09:06:39 -08:00
Adam Williamson 73c6e7fc8a Update several Arabic needles
The font has changed a bit, I think, and the Done button is now
translated.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-03 09:05:01 -08:00
Adam Williamson f8de09df24 desktop_browser: temporarily disable FAS homepage check again
accounts.fp.o seems to be unreliable again today, let's drop this
again so tests don't fail on it.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-01-31 13:28:53 -08:00
Adam Williamson 09e4f526a8 Revert "Give ostree_build another half hour"
This reverts commit 56c9e80f60.
Things seem to have settled down with the mass rebuild and this
test seems to be back to consistently taking about 90 minutes.
2024-01-30 09:47:44 -08:00
Adam Williamson 56c9e80f60 Give ostree_build another half hour
It seems to be timing out a lot on Rawhide lately. Not sure if
it's just mass rebuild stuff, but anyhow...

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-01-29 17:03:30 -08:00
Adam Williamson ce6beac5a6 Revert "base_services_start: temporarily allow colord to fail (#2260663)"
This reverts commit ab5b1a4367. A
new colord build has been pushed which should resolve the issue,
so I'm disabling the workaround to ensure that's the case.
2024-01-29 08:30:08 -08:00
Adam Williamson fdb008ad65 Update a bunch of GNOME app needles for GNOME 46
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-01-27 13:58:24 -08:00
Adam Williamson 96256be7a3 Add a workaround needle for Japanese input source selection
There's an untranslated string here, so this has to be a
workaround needle. I didn't get to reporting the missing
translation yet.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-01-27 13:55:13 -08:00
Adam Williamson 6e872d4126 Update the Turkish 'accept your fate' anaconda needle
Translation changed.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-01-27 13:54:40 -08:00
Adam Williamson ab5b1a4367 base_services_start: temporarily allow colord to fail (#2260663)
Somehow, colord is sometimes failing to start in stable Rawhide
ATM - I don't know how this problem got through testing. It's
now blocking other updates.

Doing this only on x86_64 is lazy and wrong, but the logic gets
way more complicated if we need to allow potentially *two* things
to fail on aarch64 and ppc64le, and it's the weekend and we
don't gate updates on those arches so I'm not doing it. Hopefully
this will be resolved quite quickly.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-01-27 13:50:58 -08:00
Adam Williamson 1fbe886229 Add one more color logged_in needle variant
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-01-25 23:10:48 -08:00
Adam Williamson f799a2c5af Add another addon_install needle for Firefox
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-01-25 16:30:58 -08:00
Adam Williamson c9a5f67d21 Update logged_in needles for color shell prompt
The color shell prompt feature just got applied to VTs in Rawhide.
That broke...everything. Here, new needles!

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-01-25 16:15:51 -08:00
Adam Williamson afaa8284d9 Update a Maps route needle for a route change
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-01-24 13:46:22 -08:00
Adam Williamson 3889a6f009 Update Firefox needles for 122.0
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-01-24 13:45:47 -08:00
Adam Williamson 4ad5834023 Various Plasma 6 needle updates that were lying around prod
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-01-24 13:45:22 -08:00
Adam Williamson 5379850780 setup_repos: fix setup_repos.py call for KOJITASK case
I forgot to actually set the string in this case. Whoops.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-01-24 11:16:07 -08:00
Adam Williamson b40ab389b7 Revert "desktop_browser: temporarily disable FAS homepage check"
This reverts commit a9c6111499. The
system is more or less working again, so it should be safe now.
2024-01-24 08:45:23 -08:00
484 changed files with 4384 additions and 453 deletions

View File

@ -218,7 +218,10 @@ testtags.extend(f"anaconda_help_{fsys}" for fsys in ('install_destination',
'installation_progress', 'keyboard_layout', 'language_support', 'network_host_name',
'root_password', 'select_packages', 'installation_source', 'time_date', 'user_creation',
'language_selection', 'language', 'summary_link'))
# for Gnome navigation test
for app in ("clocks", "firefox", "fonts", "terminal", "editor"):
testtags.append(f"navigation_navibar_{app}")
testtags.append("navigation_terminal_fullscreen")
testtags.extend(f"anaconda_main_hub_{fsys}" for fsys in ('language_support', 'selec_packages',
'time_date', 'create_user','keyboard_layout'))

View File

@ -62,6 +62,17 @@ sub get_host_dns {
# FIXME this is gonna break when we have IPv6 DNS servers on the
# worker hosts
my @forwards = split(' ', $result);
# Alternatively, for hosts that aren't running systemd, read /etc/resolv.conf
if (!@forwards && open(my $fh, '<', "/etc/resolv.conf")) {
while (<$fh>) {
next if /:/; # ignore ipv6 addresses
if ($_ =~ m/^nameserver +(.+)/) {
push @forwards, $1;
}
}
close($fh);
}
return @forwards;
}

View File

@ -476,7 +476,8 @@ sub get_workarounds {
my %workarounds = (
"38" => [],
"39" => [],
"40" => [],
"40" => ["FEDORA-2024-01fd5aa621"],
"41" => [],
);
my $advortasks = $workarounds{$version};
return @$advortasks;
@ -582,6 +583,9 @@ sub setup_repos {
get_setup_repos_script;
my $wastring = join(',', @was);
my $udstring;
# this will be the timeout for the download command, we set it now
# so we can make it longer for really big updates below
my $timeout = 600;
# work out the list of update/task NVRs to test
if (get_var("ADVISORY_NVRS") || get_var("ADVISORY_NVRS_1")) {
# regular update case
@ -601,14 +605,17 @@ sub setup_repos {
}
}
$udstring = join(',', @nvrs);
# bump the timeout if we have a huge update
$timeout = 1800 if (scalar(@nvrs) > 100);
}
elsif (get_var("KOJITASK")) {
# Koji task case (KOJITASK will be set). If multiple tasks,
# they're concatenated with underscores, switch to commas
$udstring = get_var("KOJITASK");
$udstring =~ s/_/,/;
}
else {
die "Neither ADVISORY_NVRS nor KOJITASK set! Don't know what to do";
die "Neither ADVISORY_NVRS nor KOJITASK set! Don't know what to do" unless ($args{waonly});
}
my $cmd = "/usr/local/bin/setup_repos.py";
# don't download updates if we're in workarounds-only mode or testing a tag
@ -617,7 +624,7 @@ sub setup_repos {
# write repo config files if asked
$cmd .= " -c" if ($args{configs});
$cmd .= " $arch";
assert_script_run $cmd, 600;
assert_script_run $cmd, $timeout;
unless ($args{waonly} || $tag) {
upload_logs "/mnt/updatepkgnames.txt";
upload_logs "/mnt/updatepkgs.txt";
@ -626,12 +633,20 @@ sub setup_repos {
sub _repo_setup_updates {
# Appropriate repo setup steps for testing a Bodhi update
my $tag = get_var("TAG");
# Check if we already ran, bail if so
return unless script_run "test -f /mnt/updatepkgs.txt";
if ($tag) {
# for TAG case, check for the repo file
return unless script_run "test -f /etc/yum.repos.d/openqa-testtag.repo";
}
else {
# otherwise, run unless both the update repo and the update
# package list are present already
return unless (script_run "test -d /mnt/update_repo/repodata && test -f /mnt/updatepkgs.txt");
}
my $version = get_var("VERSION");
my $currrel = get_var("CURRREL", "0");
my $arch = get_var("ARCH");
my $tag = get_var("TAG");
# this can be used for debugging repo config if something is wrong
# unless (script_run 'pushd /etc/yum.repos.d && tar czvf yumreposd.tar.gz * && popd') {
# upload_logs "/etc/yum.repos.d/yumreposd.tar.gz";
@ -710,13 +725,15 @@ sub _repo_setup_updates {
}
sub repo_setup {
# Run the appropriate sub-function for the job
get_var("ADVISORY_OR_TASK") ? _repo_setup_updates : _repo_setup_compose;
# This repo does not always exist for Rawhide or Branched, and
# some things (at least realmd) try to update the repodata for
# it even though it is disabled, and fail. At present none of the
# tests needs it, so let's just unconditionally nuke it.
assert_script_run "rm -f /etc/yum.repos.d/fedora-cisco-openh264.repo";
# Run the appropriate sub-function for the job
get_var("ADVISORY_OR_TASK") ? _repo_setup_updates : _repo_setup_compose;
# wipe the openh264 file again in case it came back during repo setup
assert_script_run "rm -f /etc/yum.repos.d/fedora-cisco-openh264.repo";
}
sub console_initial_setup {
@ -843,7 +860,7 @@ sub gnome_initial_setup {
# https://fedoraproject.org//wiki/Changes/ReduceInitialSetupRedundancy
# https://bugzilla.redhat.com/show_bug.cgi?id=1474787 ,
# except 'language' was never *really* skipped (see above)
if ($relnum < 40) {
if ($relnum < 41) {
@nexts = grep { $_ ne 'keyboard' } @nexts;
@nexts = grep { $_ ne 'timezone' } @nexts;
}
@ -916,12 +933,16 @@ sub gnome_initial_setup {
wait_screen_change { assert_and_click ["next_button"]; };
}
}
unless (get_var("VNC_CLIENT") || $args{live}) {
unless (get_var("VNC_CLIENT") || $args{live} || $relnum > 39) {
# We should be at the GOA screen, except on VNC_CLIENT case
# where network isn't working yet. click 'Skip' one time. If
# it's not visible we may have hit
# https://bugzilla.redhat.com/show_bug.cgi?id=1997310 , which
# we'll handle as a soft failure
# This screen was removed from g-i-s in Jan 2024:
# https://gitlab.gnome.org/GNOME/gnome-initial-setup/-/merge_requests/221
# so we don't see it on F40+, and can drop this block when
# F39 is EOL
mouse_set(100, 100);
if (check_screen "skip_button", 60) {
wait_screen_change { click_lastmatch; };
@ -941,14 +962,9 @@ sub gnome_initial_setup {
my $user_password = get_var("USER_PASSWORD") || "weakpassword";
type_very_safely $user_login;
wait_screen_change { assert_and_click "next_button"; };
# temporarily (until the versions are stable) we need to check
# whether we're on 43 or 44 here
my $extratab = 0;
$extratab = 1 if (check_screen 'initial_setup_44', 5);
type_very_safely $user_password;
send_key "tab";
# on GNOME 44+ we need a second tab here to reach the confirm box
send_key "tab" if ($extratab);
# two tabs to get to the confirm box since GNOME 44
type_string "\t\t";
type_very_safely $user_password;
wait_screen_change { assert_and_click "next_button"; };
send_key "ret";
@ -1340,13 +1356,14 @@ sub menu_launch_type {
diag("Moving the mouse away from the launcher.");
mouse_set(1, 1);
}
send_key 'super';
wait_screen_change { send_key 'super'; };
# srsly KDE y u so slo
wait_still_screen 3;
type_very_safely $app;
# Wait for KDE to place focus correctly.
sleep 2;
wait_still_screen 2;
send_key 'ret';
wait_still_screen 3;
}
sub tell_source {
@ -1509,7 +1526,7 @@ sub spell_version_number {
my %tens = (
"2" => "Twenty",
"3" => "Thirty",
"4" => "Fourty",
"4" => "Forty",
"5" => "Fifty",
"6" => "Sixty",
"7" => "Seventy",
@ -1692,4 +1709,23 @@ sub set_update_notification_timestamp {
type_very_safely("gsettings set org.gnome.software update-notification-timestamp $ep_time\n");
}
# This routine takes a list of applications. It will then use the terminal
# to start all these applications in the background and then it will exit the
# terminal. This is useful when we want to start multiple applications quickly.
sub start_applications {
my @applications = @_;
# Open the terminal
menu_launch_type("terminal");
wait_still_screen(2);
# Iterate over the application list
# and start each application from it.
foreach (@applications) {
assert_script_run("$_ &");
# Take some time for things to settle.
wait_still_screen(1);
}
# Exit the terminal.
enter_cmd("exit");
}
1;

View File

@ -310,10 +310,6 @@ sub load_postinstall_tests() {
}
autotest::loadtest $storagepost if ($storagepost);
if (get_var("UEFI") && !get_var("NO_UEFI_POST") && !get_var("START_AFTER_TEST")) {
autotest::loadtest "tests/uefi_postinstall.pm";
}
# console avc / crash check
# it makes no sense to run this after logging in on most post-
# install tests (hence ! BOOTFROM) and we do not want it
@ -362,6 +358,10 @@ sub load_postinstall_tests() {
}
}
if (get_var("UEFI") && !get_var("NO_UEFI_POST") && !get_var("START_AFTER_TEST")) {
autotest::loadtest "tests/uefi_postinstall.pm";
}
# we should shut down before uploading disk images
if (get_var("STORE_HDD_1") || get_var("STORE_HDD_2") || get_var("PUBLISH_HDD_1")) {
autotest::loadtest "tests/_console_shutdown.pm";

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 808,
"width": 159,
"type": "match",
"height": 17,
"ypos": 34
}
],
"properties": [],
"tags": [
"prerelease_note"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 148 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 812,
"ypos": 12,
"width": 85,
"height": 20,
"type": "match"
}
],
"properties": [],
"tags": [
"version_41_ident"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 154 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"width": 85,
"xpos": 812,
"height": 20,
"type": "match",
"ypos": 12
}
],
"properties": [],
"tags": [
"version_41_ident"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 146 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"width": 173,
"type": "match",
"ypos": 56,
"xpos": 54,
"height": 25
}
],
"properties": [],
"tags": [
"version_41_ident"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 75 KiB

View File

@ -0,0 +1,16 @@
{
"area": [
{
"ypos": 629,
"height": 23,
"xpos": 928,
"type": "match",
"width": 77
}
],
"properties": [],
"tags": [
"anaconda_install_destination_encrypt_data",
"LANGUAGE-arabic"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 148 KiB

View File

@ -0,0 +1,16 @@
{
"area": [
{
"ypos": 520,
"height": 18,
"type": "match",
"xpos": 235,
"width": 104
}
],
"properties": [],
"tags": [
"anaconda_install_destination_save_passphrase",
"LANGUAGE-arabic"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 180 KiB

View File

@ -0,0 +1,16 @@
{
"area": [
{
"type": "match",
"height": 16,
"ypos": 730,
"xpos": 63,
"width": 45
}
],
"properties": [],
"tags": [
"anaconda_install_done",
"LANGUAGE-arabic"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 78 KiB

View File

@ -0,0 +1,20 @@
{
"area": [
{
"click_point": {
"xpos": 139,
"ypos": 9.5
},
"ypos": 317,
"width": 148,
"type": "match",
"height": 19,
"xpos": 613
}
],
"properties": [],
"tags": [
"anaconda_install_root_password_screen",
"LANGUAGE-arabic"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 115 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 66 KiB

View File

@ -0,0 +1,16 @@
{
"area": [
{
"width": 49,
"type": "match",
"xpos": 218,
"height": 31,
"ypos": 194
}
],
"properties": [],
"tags": [
"LANGUAGE-arabic",
"anaconda_select_install_lang_filtered"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 105 KiB

View File

@ -0,0 +1,16 @@
{
"area": [
{
"ypos": 730,
"height": 19,
"type": "match",
"width": 39,
"xpos": 28
}
],
"properties": [],
"tags": [
"anaconda_select_install_lang_continue",
"LANGUAGE-arabic"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 135 KiB

View File

@ -0,0 +1,16 @@
{
"area": [
{
"width": 92,
"type": "match",
"ypos": 220,
"height": 22,
"xpos": 711
}
],
"properties": [],
"tags": [
"LANGUAGE-arabic",
"anaconda_select_install_lang_selected"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 136 KiB

View File

@ -0,0 +1,16 @@
{
"area": [
{
"width": 69,
"type": "match",
"xpos": 21,
"height": 16,
"ypos": 703
}
],
"properties": [],
"tags": [
"LANGUAGE-arabic",
"anaconda_main_hub_begin_installation"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 140 KiB

View File

@ -0,0 +1,16 @@
{
"area": [
{
"xpos": 247,
"ypos": 304,
"width": 35,
"height": 31,
"type": "match"
}
],
"properties": [],
"tags": [
"anaconda_main_hub",
"anaconda_main_hub_keyboard_layout_incomplete"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 135 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 247,
"ypos": 440,
"width": 35,
"height": 38,
"type": "match"
}
],
"properties": [],
"tags": [
"anaconda_main_hub_time_date_incomplete"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 74 KiB

View File

@ -0,0 +1,16 @@
{
"area": [
{
"width": 73,
"type": "match",
"ypos": 537,
"height": 20,
"xpos": 262
}
],
"properties": [],
"tags": [
"anaconda_rawhide_accept_fate",
"LANGUAGE-arabic"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 202 KiB

View File

@ -0,0 +1,16 @@
{
"area": [
{
"width": 32,
"type": "match",
"xpos": 959,
"height": 21,
"ypos": 60
}
],
"properties": [],
"tags": [
"LANGUAGE-arabic",
"anaconda_spoke_done"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 329 KiB

View File

@ -0,0 +1,16 @@
{
"area": [
{
"type": "match",
"width": 139,
"height": 16,
"xpos": 619,
"ypos": 560
}
],
"properties": [],
"tags": [
"LANGUAGE-turkish",
"anaconda_rawhide_accept_fate"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 87 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 822,
"ypos": 315,
"width": 85,
"height": 108,
"type": "match"
}
],
"properties": [],
"tags": [
"40_background"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 MiB

View File

@ -0,0 +1,16 @@
{
"area": [
{
"xpos": 827,
"ypos": 318,
"width": 92,
"height": 117,
"type": "match"
}
],
"properties": [],
"tags": [
"40_background",
"40_background_dark"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 872 KiB

View File

@ -0,0 +1,22 @@
{
"area": [
{
"ypos": 146,
"xpos": 31,
"height": 13,
"type": "match",
"width": 48
},
{
"ypos": 386,
"xpos": 55,
"height": 12,
"width": 127,
"type": "match"
}
],
"properties": [],
"tags": [
"rescue_select"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

View File

@ -0,0 +1,20 @@
{
"area": [
{
"width": 74,
"type": "match",
"height": 16,
"xpos": 465,
"ypos": 577
}
],
"properties": [],
"tags": [
"ENV-DISTRI-fedora",
"ENV-FLAVOR-server_boot",
"ENV-FLAVOR-workstation_live",
"ENV-UEFI-1",
"bootloader_uefi",
"bootloader"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.6 KiB

View File

@ -0,0 +1,29 @@
{
"area": [
{
"ypos": 592,
"type": "match",
"height": 14,
"xpos": 352,
"width": 62
},
{
"xpos": 353,
"width": 65,
"height": 12,
"type": "match",
"ypos": 626
},
{
"ypos": 658,
"height": 11,
"type": "match",
"xpos": 25,
"width": 65
}
],
"properties": [],
"tags": [
"console_initial_setup_done"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

View File

@ -0,0 +1,25 @@
{
"area": [
{
"ypos": 160,
"xpos": 1,
"height": 16,
"width": 38,
"type": "match"
},
{
"type": "match",
"width": 10,
"height": 14,
"xpos": 104,
"ypos": 161
}
],
"properties": [],
"tags": [
"root_logged_in",
"root_console",
"ENV-DISTRI-fedora",
"ENV-FLAVOR-server"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

View File

@ -0,0 +1,25 @@
{
"area": [
{
"type": "match",
"width": 38,
"ypos": 160,
"height": 16,
"xpos": 1
},
{
"width": 10,
"type": "match",
"xpos": 128,
"height": 14,
"ypos": 161
}
],
"properties": [],
"tags": [
"root_logged_in",
"root_console",
"ENV-DISTRI-fedora",
"ENV-FLAVOR-server"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

View File

@ -0,0 +1,18 @@
{
"area": [
{
"width": 16,
"type": "match",
"height": 14,
"xpos": 130,
"ypos": 145
}
],
"properties": [],
"tags": [
"user_logged_in",
"user_console",
"ENV-DISTRI-fedora",
"ENV-FLAVOR-server"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

View File

@ -0,0 +1,18 @@
{
"area": [
{
"width": 16,
"type": "match",
"ypos": 128,
"xpos": 402,
"height": 15
}
],
"properties": [],
"tags": [
"user_logged_in",
"user_console",
"ENV-DISTRI-fedora",
"ENV-FLAVOR-server"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

View File

@ -0,0 +1,22 @@
{
"area": [
{
"width": 24,
"type": "match",
"ypos": 121,
"xpos": 512,
"height": 39
},
{
"width": 26,
"type": "match",
"ypos": 282,
"xpos": 922,
"height": 16
}
],
"properties": [],
"tags": [
"firefox_addon_install"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 208 KiB

View File

@ -0,0 +1,22 @@
{
"area": [
{
"type": "match",
"width": 24,
"height": 39,
"xpos": 512,
"ypos": 121
},
{
"ypos": 283,
"height": 16,
"xpos": 922,
"width": 26,
"type": "match"
}
],
"properties": [],
"tags": [
"firefox_addon_install"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 209 KiB

View File

@ -0,0 +1,22 @@
{
"area": [
{
"width": 24,
"type": "match",
"xpos": 554,
"height": 39,
"ypos": 89
},
{
"ypos": 244,
"height": 16,
"xpos": 924,
"type": "match",
"width": 26
}
],
"properties": [],
"tags": [
"firefox_addon_install"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 208 KiB

View File

@ -0,0 +1,22 @@
{
"area": [
{
"ypos": 89,
"height": 39,
"xpos": 554,
"width": 24,
"type": "match"
},
{
"width": 26,
"type": "match",
"xpos": 925,
"height": 16,
"ypos": 242
}
],
"properties": [],
"tags": [
"firefox_addon_install"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 210 KiB

View File

@ -0,0 +1,22 @@
{
"area": [
{
"width": 24,
"type": "match",
"xpos": 554,
"height": 39,
"ypos": 89
},
{
"type": "match",
"width": 26,
"xpos": 925,
"height": 16,
"ypos": 242
}
],
"properties": [],
"tags": [
"firefox_addon_install"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 208 KiB

View File

@ -25,6 +25,7 @@
"properties": [],
"tags": [
"firefox",
"browser"
"browser",
"apps_run_firefox"
]
}
}

View File

@ -0,0 +1,30 @@
{
"area": [
{
"width": 17,
"type": "match",
"ypos": 89,
"xpos": 88,
"height": 18
},
{
"width": 17,
"type": "match",
"ypos": 88,
"xpos": 991,
"height": 18
},
{
"type": "match",
"width": 19,
"ypos": 124,
"height": 17,
"xpos": 380
}
],
"properties": [],
"tags": [
"firefox",
"browser"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 MiB

View File

@ -0,0 +1,23 @@
{
"area": [
{
"width": 17,
"height": 18,
"ypos": 89,
"xpos": 88,
"type": "match"
},
{
"width": 17,
"xpos": 991,
"ypos": 88,
"height": 18,
"type": "match"
}
],
"properties": [],
"tags": [
"firefox",
"browser"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1017 KiB

View File

@ -11,6 +11,7 @@
"properties": [],
"tags": [
"browser_launcher",
"firefox_launcher"
"firefox_launcher",
"apps_menu_firefox"
]
}
}

View File

Before

Width:  |  Height:  |  Size: 633 KiB

After

Width:  |  Height:  |  Size: 633 KiB

View File

@ -12,6 +12,7 @@
"tags": [
"DESKTOP-gnome",
"browser_launcher",
"firefox_launcher"
"firefox_launcher",
"apps_menu_firefox"
]
}
}

View File

@ -0,0 +1,15 @@
{
"area": [
{
"width": 39,
"type": "match",
"xpos": 397,
"height": 37,
"ypos": 696
}
],
"properties": [],
"tags": [
"apps_menu_calendar"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 84 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"ypos": 693,
"xpos": 462,
"height": 40,
"type": "match",
"width": 34
}
],
"properties": [],
"tags": [
"apps_menu_files"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 84 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 37 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 524,
"height": 33,
"ypos": 701,
"type": "match",
"width": 40
}
],
"properties": [],
"tags": [
"apps_menu_software"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 84 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"type": "match",
"width": 35,
"ypos": 697,
"xpos": 592,
"height": 37
}
],
"properties": [],
"tags": [
"apps_menu_texteditor"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 84 KiB

View File

@ -12,4 +12,4 @@
"tags": [
"apps_run_clocks"
]
}
}

View File

@ -1,15 +1,15 @@
{
"area": [
{
"height": 19,
"type": "match",
"ypos": 386,
"width": 81,
"xpos": 26
"width": 51,
"ypos": 162,
"height": 19,
"xpos": 486
}
],
"properties": [],
"tags": [
"anaconda_add_dropdown"
"apps_run_monitor"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 156 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"width": 131,
"type": "match",
"ypos": 131,
"height": 19,
"xpos": 446
}
],
"properties": [],
"tags": [
"apps_run_scan"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

View File

@ -10,6 +10,7 @@
],
"properties": [],
"tags": [
"apps_run_texteditor"
"apps_run_texteditor",
"apps_run_editor"
]
}
}

View File

@ -10,6 +10,7 @@
],
"properties": [],
"tags": [
"apps_run_texteditor"
"apps_run_texteditor",
"apps_run_editor"
]
}
}

View File

@ -0,0 +1,15 @@
{
"area": [
{
"height": 22,
"xpos": 996,
"ypos": 43,
"width": 22,
"type": "match"
}
],
"properties": [],
"tags": [
"apps_stop"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 161 KiB

View File

@ -0,0 +1,20 @@
{
"area": [
{
"width": 137,
"type": "match",
"height": 64,
"xpos": 229,
"ypos": 159
}
],
"properties": [
{
"name": "workaround",
"value": "icon seems wrong, will report"
}
],
"tags": [
"archiver_archive_created"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 83 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"ypos": 84,
"height": 24,
"xpos": 233,
"width": 255,
"type": "match"
}
],
"properties": [],
"tags": [
"chars_website_opened"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 215 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"height": 38,
"xpos": 686,
"ypos": 113,
"type": "match",
"width": 59
}
],
"properties": [],
"tags": [
"clocks_alarm_active"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"width": 509,
"type": "match",
"ypos": 115,
"xpos": 234,
"height": 18
}
],
"properties": [],
"tags": [
"clocks_alarm_inactive"
]
}

Some files were not shown because too many files have changed in this diff Show More