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

3362 Commits

Author SHA1 Message Date
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
Adam Williamson
1bea573fec Bump RETRY for updates-kde to 2 while we have oom kill issues
https://bugzilla.redhat.com/show_bug.cgi?id=2133829 is a real
problem for Rawhide KDE update tests right now, despite all
I've tried to do to work around it. I'm going to regenerate the
base image again tomorrow, but for now, let's bump RETRY to 2
as a mitigation.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-10-23 09:14:35 -07:00
Adam Williamson
6b341097f2 Add some missing underscores to a variable check
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-10-22 14:10:13 -07:00
Adam Williamson
ebe42ef1e3 Add a system monitor variant needle for ARM
Different filesystems on ARM as it's a UEFI install.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-10-21 09:08:08 -07:00
Adam Williamson
5d4292e419 Update cockpit needle for fontconfig change
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-10-21 09:07:26 -07:00
Adam Williamson
734c75fb23 _advisory_update: add a wait_still_screen too...
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-10-21 09:04:32 -07:00
Adam Williamson
9c8fb47484 _advisory_update: ensure we're back on tty3
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-10-21 08:55:27 -07:00
Adam Williamson
41d8d5923a Retry tests affected by #2119970 three times
We keep running into 2119970 and it's really a pain restarting
tests manually all the time. So let's just retry the affected
tests three times. Big hammer time!

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-10-20 18:11:41 -07:00
Adam Williamson
3208d15725 _advisory_update: stop the graphical desktop at the start
We have a big problem with Rawhide KDE update tests getting OOM
killed during this phase. Stopping the desktop before we install
updates should save some RAM and help avoid this.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-10-20 18:10:23 -07:00
Lukáš Růžička
5ea921b17b Create tests for Gnome Contacts. 2022-10-18 14:22:52 -07:00
Adam Williamson
13d3fedcd6 Drop dupe version_37 needle and just make the original shorter
I think the reason the match failed is the pixels under the text
changed when the pre-release warning disappeared. We don't really
need a new needle, we just need to make the existing one less
tall so no part of the text underneath is included.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-10-18 09:28:25 -07:00
Adam Williamson
b84125d4f5 Replace scratch build override for mock with official update
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-10-18 09:21:54 -07:00
Lukas Ruzicka
8f9b1e72aa Fix a failing version needle. 2022-10-18 15:51:36 +02:00
Lukas Ruzicka
1f153b6591 Fix a needle for the log out menu entry. 2022-10-18 15:15:03 +02:00
Adam Williamson
a98671a670 Give install_default_update_live 4G of RAM too
This test seems to be struggling with 3G of RAM also.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-10-17 14:19:50 -07:00
Adam Williamson
b6fdb4c3fa Add a mock build that works as root to Rawhide workarounds
mock 3.2 does not allow running as root. This breaks the live
image build tests. It's being reverted upstream, this scratch
build has the reversion backported.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-10-17 07:18:40 -07:00
Adam Williamson
9f1c136c37 Clear pushed workarounds for Rawhide
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-10-17 16:17:43 +02:00
Adam Williamson
dd6b502b04 server_cockpit_basic: more defensive waiting
Boy this seems slow in Rawhide currently. This has the effect
of being more defensive around the services page load.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-10-14 10:20:15 +02:00
Adam Williamson
25ed1e236d weather: settle before snapshotting in aaa_setup
We've seen some failures of the weather test at the start of
weather_report, where the test expects to be at the hourly view,
and instead it seems to be at a sort of broken state:
https://openqa.fedoraproject.org/tests/1505080#step/weather_report/3
I'm guessing this may be because currently aaa_setup clicks the
city name then is immediately complete, so it will immediately
snapshot. I guess this can result in things being stuck in a kind
of intermediate state on snapshot restore. So, to try and avoid
this, let's assert that we reach the hourly view after clicking
the city name, then wait_still_screen for a few seconds to make
sure things are settled down, before we complete and snapshot.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-10-13 10:35:38 +02:00
Adam Williamson
05c38f3023 Give more desktop update tests 4G of RAM
Looking through more openQA failures I saw other desktop update
tests which were clearly caused by OOM kills, so let's give all
the desktop tests we run on updates 4G for now.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-10-13 10:12:53 +02:00
Adam Williamson
fe383fcec5 Give desktop_browser 4G of RAM
We're seeing a lot of failures recently in desktop_browser caused
by the browser or desktop getting OOM killed. I've filed a bug
on this: https://bugzilla.redhat.com/show_bug.cgi?id=2133829
but we need to try and work around it, having the test failing
constantly is no good. Let's see if 4G of RAM is enough.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-10-13 09:50:22 +02:00
Adam Williamson
baf9c10424 Increase QEMU_MAX_MIGRATION_TIME to avoid incomplete tests
We see tests periodically come up incomplete with this:
"Migrate to file failed, it has been running for more than 240 seconds"
Turns out there's a setting for this, so...let's set it. I don't
think there's really a bug here, just when our workers are busy,
these migrations can take longer than expected.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-10-12 10:35:02 +02:00
Adam Williamson
20ef09d4f4 Protect against long load times in Cockpit
We seem to be hitting very long loads on the Services and Logs
pages of Cockpit in recent Rawhide testing especially. As I don't
have time to deeply debug this at the moment, let's just give it
longer (but make it a soft failure when it takes longer than
expected).

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-10-12 10:21:34 +02:00
Lukas Ruzicka
5d3fc244eb Create the test for system monitor. 2022-10-10 15:14:21 +02:00
Adam Williamson
baedbd22aa Run tidy to fix some syntax errors that creeped in recently
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-10-10 15:04:06 +02:00
Adam Williamson
dff0bf6f41 Add bash 5.2 root console needle
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-10-10 13:54:53 +02:00
Adam Williamson
cc5e223029 Update arabic user creation screen needle for font change
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-10-10 13:53:38 +02:00
Adam Williamson
d27b60919c Update GNOME switch user icon for Rawhide change
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-10-10 13:53:23 +02:00
Adam Williamson
15e7d17fa2 Add abrt_runs bigwindow variant when there *are* problems
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-10-10 13:52:52 +02:00
Adam Williamson
b26a17cf91 Update the KDE 'no notifications' needle
Not sure what changed, background or something.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-10-10 13:51:07 +02:00
Adam Williamson
e57f0d82a3 Update SDDM login screen for recent Rawhide changes
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-10-09 07:25:57 +02:00
Adam Williamson
1c819304d2 F38 workarounds: replace desktop-backgrounds with f37-backgrounds
desktop-backgrounds update went stable, but we also need an
f37-backgrounds update which was only just submitted to fix the
problem.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-10-08 23:13:33 +02:00
Adam Williamson
6b31f622d8 Add podman update as Rawhide workaround
podman tests are currently failing for all Rawhide updates. Not
sure what triggered this, but this update seems to fix it, though
it's failing its own test suite so not yet being pushed stable.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-10-08 10:25:47 +02:00
Adam Williamson
fb774a7326 Rawhide workaround: desktop_backgrounds with symlink fix
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-10-07 18:55:14 +02:00
Lukas Ruzicka
5038dcaab0 Fix the logic in Kmail startstop test
Sometimes the windows are displayed in the reversed order, which
prevents the checks to find the needles and the test fail
even if it should pass. This change should address this case.
2022-10-06 09:51:16 +02:00
Adam Williamson
0a55d92dcd Update bootloader UEFI needle
I think this is slightly different on openQA stg with current
qemu with the EDID settings, for some reason.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-10-05 18:21:04 +02:00
Adam Williamson
e95a1009c2 Add a bash 5.2 noprofile user needle
We need one of these for each new version of bash.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-10-05 18:16:34 +02:00
Adam Williamson
79d14edfe9 Add another weather variant needle
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-10-05 18:15:43 +02:00
Adam Williamson
3a96ef8501 kmouth: also give the first run wizard longer to appear
It seems to consistently take a bit more than 30 seconds.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-09-29 13:17:29 -07:00
Adam Williamson
5592e2ac93 desktop_login: handle backgrounds in WebP format
...which we just started doing.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-09-28 08:41:45 -07:00
Adam Williamson
59c52453fe Fix an erroneous result of over-enthusiastic sed'ing
Whoops.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-09-27 23:46:55 -07:00
Adam Williamson
f1fc1a13ba Update F37 background needle to final version
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-09-27 23:20:34 -07:00
Adam Williamson
7675e99fcc Make internal state marker variables upper-case
We use variables to track test state across modules, sometimes.
As this is all internal to the test logic I didn't bother always
making these variables upper-case, but os-autoinst now treats
lower-case variables as a fatal error, so we have to change.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-09-27 23:18:42 -07:00
Lukáš Růžička
c4443b0298 Add a needle to cope with a changed design. 2022-09-27 10:47:08 +02:00
Adam Williamson
5abfc00e4a Update several KDE and KDE app needles for theme changes
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-09-26 18:04:06 -07:00
Lukas Ruzicka
ba0062e5be Create a test case for Archiver. 2022-09-22 08:59:07 +02:00
Adam Williamson
507a44a6bf Update konversation_runs needle for Rawhide
Some change to background color or something.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-09-20 16:25:03 -07:00
Adam Williamson
31db440396 Update Japanese install done needle for minor text change
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-09-20 16:23:20 -07:00
Adam Williamson
3c209fe1e8 Update some GNOME needles for minor changes in 43.0
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-09-20 16:22:36 -07:00