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

2860 Commits

Author SHA1 Message Date
Adam Williamson
37412b95a8 ostree_build: bump timeout on ISO build
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-12-03 11:10:37 -08:00
Adam Williamson
9d050b8501 Add missing console_in_toolbox needle for ostree tests
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-12-02 23:09:17 -08:00
Adam Williamson
55721ae690 Drop match levels on the akonadi migration needle
To catch minor variations.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-12-02 15:53:10 -08:00
Adam Williamson
ba88dac325 Handle chunked ADVISORY_NVRS_N settings
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-12-01 15:52:20 -08:00
Adam Williamson
3c957de6d8 Update needles for Cockpit 281 (workaround)
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-12-01 15:49:56 -08:00
Adam Williamson
03b6663339 Add tests to build a Silverblue installer image and install it
This is like the existing tests that build network install and
live images then install them, only for Silverblue. First we
build an ostree, using the standard configuration for the release
and subvariant but with the 'advisory' and 'workarounds' repos
included, so it will contain current stable packages plus the
packages from the update and any workarounds. Then we build an
ostree installer image with the ostree embedded, again including
advisory and workarounds repos in the installer build config so
packages from them will be included in the installer environment.
The image is uploaded, which completes the _ostree_build test.
Then an install_default_update_ostree test runs, which does a
standard install and boot from the installer image.

We do make a change that affects other tests, too. We now run
_advisory_post on live image install tests, as well as this new
ostree install image install test. It was skipped before because
of an exception that's really only needed for the netinst image
install test. In that test, packages from the update won't be
included in the installed system, so we can't run _advisory_post
on it. But for ostree and live image build/install tests, the
installed system *should* include packages from the update, so
we should check and make sure that it does.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-11-30 13:17:28 -08:00
Adam Williamson
4f3a5acea7 Update an anaconda help needle for some change in Rawhide KDE
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-11-29 09:49:34 -08:00
Adam Williamson
7a25ad7023 Add a variant nautilus app needle for F36 (respin tests)
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-11-29 09:48:35 -08:00
Adam Williamson
137f2a2176 nautilus: check app started *before* trying to fullscreen it
Seems to make a lot more sense this way around.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-11-29 09:41:47 -08:00
Adam Williamson
1429e5b1c8 Give all update tests the same priority, ahead of compose tests
It doesn't make sense for update tests to have different
priorities. We gate on all update tests, so they are all equally
important. With varying priorities we get a problem: if 10
updates are created quite close together, first we do all the
prio 30 and prio 40 tests for all of them, and only after all of
those are done do we get to the prio 41 and 42 tests for the
earliest of the updates, which means they can be waiting longer
than they should to have all the tests done. If all the tests
have the same priority, openQA should always use creation time
to order them, so it should prioritize finishing tests for
earlier updates, which is what we want.

Update tests are also more time-critical than compose tests,
because we gate on update tests. So we should prioritize update
tests over compose tests in all cases.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-11-28 08:43:30 -08:00
Adam Williamson
c1f0c65a3e Move some tap job groups to new 'tap2' worker class
This is intended to allow us to split the workload across
multiple tap workers, as right now, sometimes we wind up in a
situation where all non-tap jobs are done and the non-tap
workers are sitting idle, but the poor tap worker has a backlog.
This way the tap jobs for updates can be split across two
worker hosts, which should help out.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-11-25 17:33:31 -08:00
Adam Williamson
8ce76de09f Revert "Retry tests affected by #2119970 three times"
This reverts commit 41d8d5923a. The
bug seems to have magically disappeared, so hopefully we should
not need this any more.
2022-11-25 12:21:41 -08:00
Adam Williamson
173bdef5cb Revert "Try and get more detailed Firefox logs from startx"
This reverts commit f424e5bac5. It
never actually worked, and the Firefox-dying bug seems to have
magically gone away recently.
2022-11-25 12:13:08 -08:00
Adam Williamson
c9191b0d4a disable_firefox_studies: don't run twice, skip uploads
There's no need to run this twice (which can happen on some
paths), so if the first file already exists, just bail. Also,
don't bother uploading the config files any more - that was just
for debug while I was making this stuff work, now it works, and
this saves some time.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-11-25 11:39:39 -08:00
Adam Williamson
9d8a35ed39 cockpit: don't try and get admin privs when re-logging in
There's one point in the tests where we may log into cockpit for
the second time in one run (it depends how a package update
process goes). When this happens, we don't get prompted again
for admin access, so we need to *not* expect that.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-11-25 11:24:52 -08:00
Adam Williamson
2c6e1ec76b post_fail_hook: give dnf -y install tar a bit longer
It seems to time out a lot on lab but not on prod, for some
reason. Let's just give it a little longer.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-11-25 11:12:46 -08:00
Lukas Ruzicka
d4717ff090 Create test suite for Maps. 2022-11-21 18:17:11 +00:00
Adam Williamson
b388c6fc94 cockpit: enable admin mode after logging in as test
Sigh, this is a pain and adds more fragile needles.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-11-18 17:24:15 -08:00
Adam Williamson
0646dc64ad cockpit: log in as user 'test', not root
From 280, the cockpit package disabled logging in as root by
default. We could wipe that config file, but it seems better to
respect the default config and log in as the admin user 'test'
instead of as root.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-11-18 16:34:55 -08:00
Adam Williamson
c9924ecdeb Drop workaround which went stable two weeks ago
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-11-18 13:19:48 -08:00
Adam Williamson
3c13f02679 Revert "_advisory_update: stop the graphical desktop at the start"
This reverts commit 3208d15725 and
the two follow-ups. I'm hoping
https://bugzilla.redhat.com/show_bug.cgi?id=2133829 is now
resolved; this was intended to help with that (though I'm not
sure it ever really did), and so we can hopefully ditch it, which
simplifies this code.
2022-11-18 12:23:33 -08:00
Adam Williamson
604da9142e Reduce QEMURAM back to 3G for most cases
Hopefully https://bugzilla.redhat.com/show_bug.cgi?id=2133829
is fully resolved/worked around by now, and we shouldn't need
these any more. We could drop back to 2G but let's just do
3G for now.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-11-18 11:57:38 -08:00
Adam Williamson
bc20fc9147 Misc needle updates for Rawhide
The Rawhide 'accept fate' text seems to have lost its Japanese
translation for some reason (I think the string might have had
a terminating period removed). And in one test, the "Extract"
menu item in Archiver was pre-highlighted so the needle didn't
match. Not sure why, but this doesn't seem like a problem, so
let's just handle it.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-11-17 10:32:39 -08:00
Adam Williamson
ecb039cdb1 Update a KDE needle for change in recent Rawhide
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-11-09 08:46:58 -08:00
Adam Williamson
32da572cfb Update Cockpit needles for new release 279
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-11-09 08:45:49 -08:00
Adam Williamson
90f7d513a3 Remove an unneeded needle caused by merge order
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-11-04 11:03:35 -07:00
Adam Williamson
a92095e288 Add missing profile from previous commit
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-11-03 10:04:11 -07:00
Adam Williamson
84adf7262a templates: Drop special-casing of Cloud_Base on Rawhide
This was from F35 era when Cloud_Base worked on UEFI on Rawhide
but not F33 or F34. Now F34 is EOL, we can just follow the same
policy for every release (run two tests on both BIOS and UEFI,
the rest only on UEFI).

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-11-03 09:18:28 -07:00
Adam Williamson
4c49a94a66 Update zezere provision schedule needle
Some tiny font/rendering difference.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-11-02 11:09:18 -07:00
Adam Williamson
5686285b9b Update gnome-text-editor side panel needle
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-11-02 11:08:55 -07:00
Adam Williamson
55b40a5e7b Update KDE no notifications needle for latest KDE bits
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-11-02 11:08:34 -07:00
Adam Williamson
c5ef5f93db Add F36 versions of several GNOME app needles
This is for F36 live respin testing. Several tests still need
more.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-11-02 11:07:34 -07:00
Adam Williamson
946411cba4 Add layer-shell-qt workaround to make KDE work on Rawhide again
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-11-02 11:04:37 -07:00
Adam Williamson
c1d676e6ae Drop a workaround that went stable weeks ago
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-11-02 11:04:19 -07:00
Adam Williamson
82588f4a52 Revert GTK focus bug workarounds
This reverts the last few commits which worked around a focus bug
in GTK. This bug is now (I hope) fixed, so I'm dropping the
workarounds so the tests will confirm whether it's fixed.
2022-11-02 11:03:02 -07:00
Lukas Ruzicka
3e096234d9 Move cursor out of the way in the text field. 2022-11-02 08:42:14 +01:00
Lukas Ruzicka
8dfcbfee48 In Gnome-Text-Editor perform an extra click to move the focus inside the text area. 2022-11-01 18:03:29 +01:00
Lukas Ruzicka
c394603058 Make an extra click into the the list view to force correct focus. 2022-11-01 17:35:23 +01:00
Adam Williamson
f61a01548e Bump QEMURAM to 4G for kde-live-iso flavor
This is getting messy, but even the install_default_upload test
is failing out with 3G now. Let's try putting 4G here so it
reaches that test and see how that goes.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-10-31 10:56:34 -07:00
Lukas Ruzicka
aa98b12c5c Make install times longer to prevent failures on slow VMs 2022-10-31 15:56:04 +01:00
Lukas Ruzicka
ef5969b600 Wait until screen to make sure the exit shortcut is not pressed when not ready. 2022-10-31 15:56:04 +01:00
Adam Williamson
b5c8a8d5f7 Fix tell_source
OK, that last commit was just, uh, wrong.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-10-28 12:06:57 -07:00
Adam Williamson
31826f7938 utils: simply and robustify tell_source
This is simpler if we just always lowercase $iso, plus it saves
us when somebody (*cough*) messes up the casing.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-10-28 11:57:33 -07:00
Adam Williamson
b7a3d9ee1b Correct casing of SUBVARIANT variables
In moving these from fedora_openqa to here, I got the casing
wrong, which breaks `tell_source` and causes a test to fail.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-10-28 11:55:47 -07:00
Adam Williamson
73102e877a Move some update params here from fedora_openqa schedule.py
We had code in fedora_openqa schedule.py to set some params for
update tests depending on the flavor. I don't remember why I
ever wrote it that way, but that's an odd way to do it, the
obvious way to do it is just to have them here, like we already
have several others and like we do it for composes. This will
help with https://progress.opensuse.org/issues/119200 because
the params set by fedora_openqa schedule.py go in the request
URI but ones set here don't.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-10-28 09:51:38 -07:00
Adam Williamson
69dc252da9 tidy lukas' change to the arabic fonts test
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-10-24 14:56:30 -07:00
Adam Williamson
d94ffaa72e Give FreeIPA upgrade tests 3 hours to run
These can take a while.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-10-24 12:53:22 -07:00
Adam Williamson
9d04235e64 Update some FreeIPA needles for font changes
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-10-24 12:50:05 -07:00
Lukas Ruzicka
3105e88626 Softfail the check_default_fonts to prevent breaking the Install Arabic test. 2022-10-24 12:56:15 +02:00
Lukas Ruzicka
7fb70a9926 Add new needles to cope with new weather conditions on weather tests. 2022-10-24 12:25:36 +02:00