Repository navigation
Add fstab=no to PXE testing and documentation (HMS-11074) - #2732
Conversation
f1ea8e8 to
0753ecb
Compare
|
Oh, thank you! I retried the failed test jobs. One looked like a spot instance being killed but the second one might be relevant. Let's see. |
|
|
c5b47e5 to
955b7e0
Compare
|
This should now result in the c10s and f43 pxe tests passing, and the iso install tests passing. Also, do we want to add f44 tests in addition to f43? Switch to f44? |
955b7e0 to
5b7116a
Compare
|
iso tests don't all pass, and take FOREVER to run, so I removed that commit -- this is just about PXE boot testing. |
Update the derived container to match the docs.
The rootfs.img gets built with an /etc/fstab file for the boot partition and filesystem. This is created by bootc itself because we set up a /boot mount when running 'install to-filesystem', otherwise the installation fails. However the /boot partition isn't relevant for PXE images.
bootc has started adding a /boot entry to fstab which causes problems with booting, it times out while waiting for the non-existent device to appear and the boot fails. Add a note to the troubleshooting section of the pxe README, and add it to the PXE grub.cfg example template.
The boot tests require nested kvm in order to run faster than the timeout :) This adds a new "bootc-kvm" image type to the Schutzfile gitlab section, previously it was using "*" for all the BOOTC_IMAGE_BUILDER_TEMPLATE tests.
When running in the CI environment the combined.img test consistently hangs early in the kernel boot sequence without outputting additional debugging information. When run on a Fedora 45 development VM it passes just fine. When the order of the tests was change it was also observed to fail in the EFI stub kernel code. This behavior was observed once in the F45 development environment, but no additional debugging information was revealed. So for now disable this test and see if the F43 test and the centos10 tests are stable.
5b7116a to
d775e43
Compare
|
Rebased for conflicts. Thanks for taking care of this. The plan is to convert these bootc tests into "regular" build and boot tests with dynamic pipelines like we do for everything else. @avitova did the first conversion as a PoC in #2571 (#2671 was also relevant). Let's not worry about the CS9 failure until we've moved it over, I think. That might make troubleshooting simpler if the problem persists. |
Small tweak to #2635 that may fix things.
Using systemd masking interferes with ostree mounting, resulting in /root pointing to a copy of /roothome without the authorized_keys file.