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

3243 Commits

Author SHA1 Message Date
Adam Williamson
b228af2f76 Sigh, declare $mockver
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-08-09 14:27:38 -07:00
Adam Williamson
98bb256950 live_build: tweak mock config used for Rawhide
The numbered config file won't always exist right after branch
(there is no fedora-40-x86_64 now, for e.g.) But the named one
always does. This additional variable is a small price to pay for
making the test more robust.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-08-09 14:26:02 -07:00
Adam Williamson
53bd47d909 Disable modular repos for upgrades to F39 as well (#2230720)
We know this is broken and we don't want it to fail on every
update, so we need to work around the problem for now.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-08-09 14:25:24 -07:00
Lukas Ruzicka
babc8ef87a Add fixes to make some tests pass on F39 2023-08-09 13:20:05 +02:00
Adam Williamson
14205c3acd Update several needles for GNOME 45
The 'global' app menu is no longer shown, which affects the
apps_run_terminal needle (it will affect many others for the
compose tests, but this is just for updates tests). It seems we
sometimes have the cursor over the Activities button and it
looks slightly different in that case, so add a variant needle
for that. Finally, the password input box in GDM is no longer
highlighted in blue as it probably should be to indicate that
it's active, so add a workaround needle to handle that.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-08-08 11:11:37 -07:00
Lukas Ruzicka
8ac3885897 Make various fixes in Workstation product to make tests pass. 2023-08-08 14:50:03 +02:00
Adam Williamson
475b875bc0 Forcibly install dnf for FEDORA-2023-5fd964c1bf
Per https://bodhi.fedoraproject.org/updates/FEDORA-2023-5fd964c1bf#comment-3149533
we kinda need to do this to allow this update through, so long as
we're not going to have dnf obsolete dnf5 or anything like that.
It's a bit unfortunate but I don't see an alternative.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-08-07 15:34:20 -07:00
Adam Williamson
ae7d5011df Fixes for Active Directory client tests
abbra told me where I was going wrong with the 'expected' target
of the getent command ("AD/" is not a magic string, it's just
"(netbiosname)/", and our netbios name is "SAMDOM"...) so this
fixes that too, trying to avoid hard-coding stuff.

For the kickstart test, it seems like it's a timing issue. We
added this 'install sssd-tools and enable debugging' step to try
and debug it, and instead it fixed it. So...let's just stick
with this, for now, because it's useful to have this debugging
anyway. If the problem starts happening again, we can fiddle
about with it more.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-08-05 11:22:37 +01:00
Adam Williamson
601d0c4f96 Disable modular repos for Rawhide upgrades to avoid #2228827
As 'real' upgrades (using releases/development/rawhide on the
mirrors) do not hit this bug because it has a stale Modular
tree, it makes sense to work around the bug in testing so we can
see if upgrades are broken in any *other* way.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-08-05 09:44:13 +01:00
Adam Williamson
4cf48547bf Apply LVM resize disk change to correct test
The affected tests start after install_lvm_ext4, so we need to
bump HDDSIZEGB there, not in the downstream tests.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-08-03 09:08:29 +01:00
Adam Williamson
b7be0bd064 Bump HDD size for LVM resize tests
With the 2G ESP change, we need bigger disks for these tests to
work correctly. On BIOS the test still just about works because
anaconda rounds the remaining space after BIOS boot partition
and /boot to 14G, but it seems fragile to rely on this. On UEFI
(aarch64), anaconda sees a max of 12G remaining after 2G ESP
and 1G /boot, so the test fails because we cannot size to 13G.
Give the test an extra 2G, this should be sufficient to make
sure it's valid on all platforms.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-08-03 09:01:44 +01:00
Adam Williamson
99aa641b79 Update French-translated 'accept fate' needle
The verb was changed in the translation, so we need a new needle.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-08-03 01:11:55 +01:00
Adam Williamson
1ab5fabf8f Update printing sentence needle for some KDE change in F37
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-08-03 01:09:42 +01:00
Adam Williamson
92dbd802e8 koji-rawhide: set skip_if_unavailable=1 for now due to 404 issues
We're seeing a lot of tests fail on 404s when trying to access
the koji-rawhide repo (the repo for the Rawhide build tag, which
we use to get packages tagged since the last compose. nirik is
trying to figure this out from the server end, but for now at
least, let's mark the repo as skip_if_unavailable. This should
mean that if we hit a 404, the test will continue, it just won't
have access to the packages from that repo. Occasionally this
will cause a problem - a false failure or false pass - but this
still seems better than every test that hits it failing. The
false pass case is the most concerning, but I would hope in that
case some other tests from the same update would fail, making it
not an issue.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-08-02 09:10:55 +01:00
Adam Williamson
15c709c504 Fix up Turkish needles a bit
They all should have LANGUAGE-turkish tag so they aren't used
on any other language. One got put in the wrong place and not
named clearly. And install_lang_english_selected-20230619.json
doesn't seem like it would ever be used.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-07-28 18:41:51 -07:00
Adam Williamson
6f0480727f Make sure live image volume ID isn't longer than 32 chars
This can happen now we allow working on multiple Koji tasks.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-07-28 15:10:37 -07:00
Adam Williamson
87c97f246d Update bootloader_uefi needle for some recent change
Probably to edk2? Not sure. Anyhow, the font rendering changed
a bit, it seems.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-07-28 10:58:52 -07:00
Adam Williamson
2e572d72b6 Add --http1.1 to one curl command that didn't have it
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-07-28 10:50:15 -07:00
Adam Williamson
0e01e4e659 Use fXX-build in the koji-rawhide repo definition, not rawhide
Per nirik, 'repos/rawhide' is just a symlink to 'repos/fXX-build'
and this could possibly be part of our 404 problem. So let's
try using fXX-build directly instead of the symlink.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-07-28 10:31:32 -07:00
Adam Williamson
74b468b949 Add Samba AD tests
This adds a Samba AD server test, and client enrolment tests via
sssd, Cockpit and kickstart. Requires the matching createhdds
commit to add the kickstart to the disk_ks image.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-07-27 16:14:30 -07:00
Lukáš Růžička
f528904344 Add the Turkish installation test.
Add turkish console to console_loadkeys_us
2023-07-27 21:18:15 +00:00
Adam Williamson
ba1d492416 ostree: only use --unified-core on F39+
I think it's breaking F37 and F38 tests, not surprisingly as we
didn't do all the fixes there.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-07-27 12:26:23 -07:00
Adam Williamson
bf4a8ec454 Enable unified core for ostree composes
It got enabled in production, so we should do the same here.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-07-25 18:35:58 -07:00
Adam Williamson
9f49acdd61 Update Maps walking route needle for a route change
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-07-25 18:12:39 -07:00
Adam Williamson
b6b99c798e Update GNOME Activities menu buttons for 45~alpha
We actually untagged 45~alpha due to a bug, but presumably it'll
still look like this when that bug is fixed, so let's just have
these needles ready.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-07-25 18:09:19 -07:00
Adam Williamson
08040d91b6 Update anaconda Help needles for changes in recent Rawhide
Seems to be a different font from before.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-07-25 18:08:50 -07:00
Adam Williamson
38a2d39aba Update GNOME Characters needle for some change in Rawhide
Background color changed a bit, not sure what did it.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-07-25 18:05:27 -07:00
Adam Williamson
c00e0283dd Set very low metadata expiry for koji-rawhide repo
This repo gets regenerated a lot, so we should be very aggressive
about metadata expiry. Hopefully this will forestall most of
the cases where we get a 404 trying to access this repo's
metadata files.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-07-25 11:09:27 -07:00
Adam Williamson
2d6180b25e Try forcing HTTP/1.1 for pagure.io git clones
The change to the curl commands to force HTTP/1.1 seems to have
stopped them failing, so let's try doing it for the git clones
too and see if that avoids the problem till we can work out
what is causing it.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-07-24 11:56:28 -07:00
Adam Williamson
94773cd726 Try --http1.1 for curl as well
Still trying to debug the mysterious pagure connection issues.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-07-22 12:00:32 -07:00
Adam Williamson
f2fc758051 Add --verbose to curl commands for Pagure
We're still getting failures from pagure.io even with the retry
stuff. nirik asked us to add this to help figure out what the
heck is going on there.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-07-22 09:50:03 -07:00
Lukas Ruzicka
0a10727a7a Remove modularity tests.
Modularity will be retired in Fedora 39 and the modular repository
removed. Also, the upcoming version of DNF that is default in
Rawhide, does not support modularity, so the tests are currently
failing anyway.
2023-07-20 10:23:44 +02:00
Adam Williamson
d5a9e4777e Retry all pagure.io downloads
This tweaks all pagure.io downloads to be retried a few times,
since we seem to be getting failures quite often. We use curl
for this as it has nice options for it.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-07-19 13:37:29 -07:00
Adam Williamson
daf092398a Update several needles for an icon theme change in Rawhide
Looks like the GNOME icon theme changed a bit in Rawhide, here
are several required needle updates.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-07-19 11:59:54 -07:00
Adam Williamson
b9e3b859f6 Update apps_run_files needle for some change from two weeks ago
Somehow I had this needle lying around prod but hadn't committed
it, oops.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-07-19 11:58:54 -07:00
Lukas Ruzicka
3e7936fd01 Replace the dropped pactl with amixer to manipulate audio levels. 2023-07-17 14:30:05 +02:00
Lukas Ruzicka
c322924826 Add stormy needle for the Weather test. 2023-07-17 13:57:53 +02:00
Lukas Ruzicka
e807286805 Add a new walking route needle to make Maps pass. 2023-07-17 13:22:59 +02:00
Lukas Ruzicka
04c4417a13 Add the needle to cover for zoom-in button in Maps
The zoom-in button were not correctly recognized. This adds a needle
to recognize it again.
2023-07-07 14:06:37 +02:00
Adam Williamson
8039934123 Update several gnome-text-editor needles for 45 alpha
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-07-05 12:21:44 -07:00
Adam Williamson
f49c8bc66b gnome-text-editor: only handle spellcheck language if needed
The Flatpak build doesn't have the spellcheck issue at the
moment, and it may be fixed soon in the RPM build. Trying to
'fix' the issue on the flatpak build actually makes the test
fail. So, let's only do the fix if we actually have a misspelled
word.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-07-05 12:19:41 -07:00
Adam Williamson
ba9a36d10e g-t-e: mark 'new_file' test as fatal
The tests after it assume new_file ran - they rely on the file
it creates - so it should be considered fatal.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-07-05 11:39:18 -07:00
Adam Williamson
7dc1299d9f Update a bunch of needles for GNOME 45 Alpha builds
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-07-05 10:57:52 -07:00
Adam Williamson
1f24f84bb1 Support testing a side tag instead of an update or task
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-07-04 19:10:03 -07:00
Adam Williamson
d8c374044a Add more safety to the fullscreen for Archiver
We can't really just hit super-up and then immediately go on our
merry way clicking on stuff...

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-07-04 17:25:52 -07:00
Adam Williamson
2f709ed28e Update a lot more needles for new libadwaita
Aside from g-t-e which requires some more logic change I'll do
in the morning, this should be everything.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-07-03 23:10:20 -07:00
Adam Williamson
20a2d161ca Add some safety to g-t-e language setup
Seems in Rawhide the menu is loading without dividers briefly,
we match there, then the dividers load in and make the menu
longer, so when we click, we hit a different entry in the menu.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-07-03 11:31:48 -07:00
Adam Williamson
557b6f2fc1 Update some GNOME needles for a change in libadwaita
Looks like a shade of grey changed a bit. There will be more
changes for the compose tests, but this fixes the update tests
at least.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-07-02 15:03:13 -07:00
Adam Williamson
f31e3d192f Add F38 variant of the new gnome-text-editor needle
This is needed for the respin tests to pass.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-06-30 16:50:38 -07:00
Adam Williamson
bb7c7d42d0 Drop now-unused needles for Photos
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-06-30 10:13:48 -07:00