1
0
mirror of https://pagure.io/fedora-qa/createhdds.git synced 2024-11-22 07:13:09 +00:00
Commit Graph

217 Commits

Author SHA1 Message Date
Adam Williamson
ff898489d0 Revert "Use a side repo to fix #2259266 for the Rawhide Server base image"
This reverts commit c6669754d4
(and the followup syntax fix). A fixed grub2 is now in Rawhide
proper so we don't need this any more.
2024-02-08 23:52:17 -08:00
Adam Williamson
c0766c7098 Add variant kde-38.ks with no @kde-pim
The kde-pim group is new in F39, so we need a variant kickstart
for F38 without it.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-01-27 10:54:10 -08:00
Adam Williamson
fce98c8413 Correct syntax for grub repo
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-01-25 11:03:04 -08:00
Adam Williamson
c6669754d4 Use a side repo to fix #2259266 for the Rawhide Server base image
All tests that use the Server base image are failing on Rawhide
now because of 2259266. This should regen the image using a side
repo with a grub2 build with the required patch put back in and
hopefully solve the problem.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-01-25 10:19:13 -08:00
Adam Williamson
d65c71c11c Resync kde.ks with the KDE live kickstart
This should give our KDE disk image a package loadout more
similar to a live install, the typical way of installing KDE.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-12-24 09:27:43 -08:00
Adam Williamson
441e8798f5 Add an Active Directory client kickstart to ks, bump version
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-07-26 16:51:50 -07:00
Adam Williamson
c946801df6 tweak 'full' disk image to avoid #2214342
With the new 2G EFI system partition size, the delete_partial
test that uses this disk image is failing. We've reported the
bug, but we don't want the test to fail the same way every day,
we want to catch any other bugs that show up. Tweaking the disk
image so it has a 6G and a 4G partition (instead of two 5G
partitions) and the test uses the 6G partition seems to work
around the problem, so let's do that.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-06-19 12:15:41 +02:00
Adam Williamson
eb89036461 Pass inst.disklabel=mbr for ppc64le virt-install image builds
Otherwise they don't boot, see:
https://bugzilla.redhat.com/show_bug.cgi?id=2209760
This is fixed from F39 onwards (it will use MBR disklabels for
ppc64le installs by default), but since we're still building F37
and F38 disk images now, we need it here.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-06-17 09:44:17 +02:00
Adam Williamson
ab12637305 Add a fallback for CPU arch detection
`platform.processor()` seems to be returning '' a lot where it
wasn't before. Not sure why, but let's add a fallback to
`platform.machine()` to give us another shot at getting a value.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-05-11 17:28:56 -07:00
Adam Williamson
03d2afb071 Drop default max image age to 3 days
We ship updates pretty fast, and after seven days, there are
hundreds being installed on every update test. It's gotta be a
better tradeoff to just regen the base images more often.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-02-16 22:13:24 -08:00
Adam Williamson
38cae9ac5f Explicitly include cracklib-dicts in desktop packages (#2158891)
This works around https://bugzilla.redhat.com/show_bug.cgi?id=2158891
for now, until the update to strengthen the dep is stable.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-02-01 15:12:20 -08:00
Adam Williamson
3fc7e1cf50 Revert "Work around #2164207 for Rawhide update base images"
This reverts commit 94d12b6394.
Not needed any more now we have a Rawhide with the updated
package in it.
2023-01-24 22:07:15 -08:00
Adam Williamson
94d12b6394 Work around #2164207 for Rawhide update base images
Rawhide update tests are all failing ATM due to
https://bugzilla.redhat.com/show_bug.cgi?id=2164207 . This should
work around the problem by including the latest version of
python3-ptyprocess in the base image.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-01-24 15:00:00 -08:00
Adam Williamson
b2c7b82ccc Drop a workaround for F35 that's no longer needed
F35 is EOL.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-01-24 14:42:24 -08:00
Adam Williamson
9a666a619d Make the 'test' user an admin for server images
We need this to switch from root to test for the Cockpit tests,
since Cockpit stopped allowing login as root.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-11-18 16:21:26 -08:00
Adam Williamson
3032315d2b Remove another #2133829 workaround
kde-38.ks with the side repo containing a non-debug kernel was
another attempt to workaround #2133829, so let's drop that too.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-11-18 12:27:42 -08:00
Adam Williamson
2428d9bf6f Revert "Drop systemd-oomd-defaults on 38 kde/desktop images (#2133829)"
This reverts commit 52709bc82f.
I'm hoping the oomd problems have been resolved upstream now -
see https://bugzilla.redhat.com/show_bug.cgi?id=2133829 - so I
hope we won't need this any more. Let's see how it goes.
2022-11-18 12:08:46 -08:00
Adam Williamson
52709bc82f Drop systemd-oomd-defaults on 38 kde/desktop images (#2133829)
I was actually already doing this for desktop only with a monkey
patch on the HDD workers which I'd forgotten about, bad me. Make
it 'official' and do it for KDE as well as desktop. This would
explain why we keep hitting bugs with this stuff in the KDE tests
but not the desktop ones...

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-11-07 10:38:57 -08:00
Adam Williamson
320e4671e0 Add a kernel side repo for KDE Rawhide
I want to rebuild the KDE Rawhide images as tests are failing
on the oomd bug due to the size of the current update set, but
I want to get a non-debug kernel into the base image rather than
a debug one...this one just missed today's compose.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-11-07 10:27:14 -08:00
Adam Williamson
df5ca172e9 Drop kde-35.ks
The update it was for went stable long ago.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-11-07 10:24:14 -08:00
Adam Williamson
bbc6d57614 Add FEDORA-2022-3a75635d6a to F35 kde disk image to fix background
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-08-24 17:03:20 -07:00
Adam Williamson
9dc38b1a71 Drop maxage default to 7 days (from 14)
Now we want to test Rawhide, 14 days is a bit too long. After
13 days, Rawhide updates are absolutely piling up, and it can
cause the `dnf update` run at the start of update tests to time
out.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-07-26 16:01:53 -07:00
Adam Williamson
22490460d7 Use release number in name of Rawhide images, not 'rawhide'
After looking at the openQA side, I think I prefer this way of
doing things overall. If we use 'rawhide' in the filenames, we
have to use 'Rawhide' as the VERSION on openQA side, and that
involves quite a lot of surgery. If we can use the release number
as the VERSION on openQA side for Rawhide updates, that seems to
work better, and tie in better with Bodhi.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-07-26 16:01:53 -07:00
Adam Williamson
a8d4bde0a6 Build Server ppc64le image for Rawhide for update testing
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-07-26 16:01:53 -07:00
Adam Williamson
467be22d00 Always build Workstation images out of Everything
We don't need the release version conditional any more as we're
well past F31. Also this way it'll work for Rawhide.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-07-26 16:01:53 -07:00
Adam Williamson
29840992d8 Add images for Rawhide x86_64 update testing to hdds.json
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-07-26 16:01:53 -07:00
Adam Williamson
1f8a15ee44 Drop long-unneeded additional repo for F35 KDE
The update went stable months ago.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-07-26 15:58:29 -07:00
Adam Williamson
c5e8d7c2f1 Enable fingerprint auth in desktop.ks
This should fix the desktop_fprint test when running on upgrade
(not fresh install). No idea how the test ever worked, but I
think this is why it's been broken since January.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-07-15 12:23:06 -07:00
Adam Williamson
b05fc8152a Make the user a member of wheel in the desktop kickstarts
This more closely matches our usual installs, and fixes a problem
in the (under-review) GNOME Software tests.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-07-12 18:13:36 -07:00
Adam Williamson
df8175a667 Drop plymouth theme on ppc64le
Not sure why, but it's the plymouth theme that's breaking update
tests on ppc64le; if it's installed, typing into the VT after
boot doesn't change the screen. Removing the plymouth theme from
the base image fixes the problem.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-06-02 09:47:36 -07:00
Adam Williamson
bd10673b08 Drop kde-33.ks
33 is EOL, so we no longer need this.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-06-02 09:47:02 -07:00
Adam Williamson
7339757f3a Use updates image for F35 installs to handle RHBZ#2019579
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-04-22 16:42:24 -07:00
Adam Williamson
a49d6af706 Drop a now-unneeded i686 blob and update a comment
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-04-22 12:39:17 -07:00
Adam Williamson
90661e5d15 Make sure we have a branched minimal image for aarch64
upgrade_minimal_64bit for Rawhide needs it. Honestly I don't
remember the logic behind all these values any more, just hitting
this with a stick.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-02-15 12:23:46 -08:00
Adam Williamson
841fdf1ffb Move the 'unknown' image check below the renaming gubbins
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-09-10 11:07:58 -07:00
Adam Williamson
6fbe122c0c Fix typo in previous commit
D'oh.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-09-10 11:00:32 -07:00
Adam Williamson
ce84310d2e Use '.qcow2' not '.img' as the extension for virt-install images
They're qcow2 images, so this is more correct, and will make
os-autoinst's new backing format autodetection work correctly.
We make the `check` function rename existing images, for
convenience.
NOTE: this requires a matching change to the templates in
os-autoinst, and you will want to run the check function to
rename all existing images to avoid wasting a ton of time
recreating them.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-09-10 10:49:55 -07:00
Adam Williamson
90c23bff6e Use 3G memory for virt-install image builds
Seems like 2G isn't enough in some cases, it's why the F34 server
and support image builds have been failing.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-09-10 09:19:13 -07:00
Adam Williamson
d9997df5f1 KDE: add workaround repo for F35 background update
This should make the desktop background test start passing on
F35 updates.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-09-02 10:53:38 -07:00
Adam Williamson
dc500293d1 Build desktop images for aarch64 upgrade tests
We want to run the desktop upgrade tests on aarch64; to do that,
we need the required base images to be built. We also need to
do the `console=tty0 quiet` boot args for the desktopencrypt
image so the decrypt prompt is visible on boot; to handle this,
we extend the existing hack for using a release-specific ks
to be more generic and allow for a more specific kickstart by
arch, release or both.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-06-28 13:51:13 -07:00
Adam Williamson
5b3cf53c25 Drop long-unneeded workaround repo from desktop ks
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-06-28 13:51:13 -07:00
Adam Williamson
707eb5e837 Update copyright statement to current RH recommendation
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-06-01 13:35:42 -07:00
Adam Williamson
fe87f40d94 Hack to avoid F33 KDE image using Wayland (#1960458)
This is a bit ugly but offhand can't think of a better way. We
are dropping plasma-workspace-wayland from the F33 KDE image to
try and avoid it using Plasma-on-Wayland as the default session,
which is #1960458.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-05-13 16:29:27 -07:00
Adam Williamson
8727e37d0f drop a fixme from kde.ks (no longer needed)
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-05-13 16:04:39 -07:00
Adam Williamson
e993ec1326 Drop F32 desktop image for aarch64/ppc64le
This was only needed while we were using it to work around
https://pagure.io/fedora-qa/os-autoinst-distri-fedora/issue/201 ,
it should no longer be necessary.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-04-30 11:41:02 -07:00
Adam Williamson
accaa3f42c Stealth bump server disk size to 7G
6 seems a bit too small for the upgrade_2_server_domain_controller
test.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-03-17 09:22:32 -07:00
Adam Williamson
c83783fde0 Add plymouth-system-theme to server.ks (workaround #1933378)
The bug where the bootsplash doesn't always clear is really
playing havoc with F34 tests right now, and dealing with it by
workaround needles isn't going so well. I'm hoping installing a
real Plymouth theme might help, and in a quick trial run on lab
it seems to, so let's try this. The bug is still a bug, but it's
no good to us for update tests to randomly fail on it.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-03-02 11:59:51 -08:00
Adam Williamson
5d6842d146 Add current minimal-uefi for aarch64, stop allowing "current"
"current" is just a synonym for "-1" but made the code more
complex. Let's ditch it and just note in a comment that -1 is
CURRREL and -2 is PREVREL. We need minimal-uefi for aarch64 as
install_blivet_btrfs_preserve_home_uefi uses it.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-02-19 11:29:25 -08:00
Adam Williamson
6eb79f76f9 Bump 'ks' image version
Since the kickstarts on it changed.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-01-19 10:04:15 -08:00
Adam Williamson
5378f166b1 Drop 'install' directive from all kickstarts
It was deprecated three years ago, apparently, and now causes
anaconda in Rawhide to die.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-01-19 09:59:28 -08:00