Skip to content

Add fstab=no to PXE testing and documentation (HMS-11074) - #2732

Merged
supakeen merged 6 commits into
osbuild:mainfrom
brlane-rht:main-fix-pxe-test
Oct 7, 2026
Merged

supakeen merged 6 commits into
osbuild:mainfrom
brlane-rht:main-fix-pxe-test

Conversation

@brlane-rht

Copy link
Copy Markdown
Contributor

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.

@achilleas-k

Copy link
Copy Markdown
Member

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.

@brlane-rht

brlane-rht commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor Author

I'll note this here as well, I think the aws runners need 8G instead of 4G, the c9s UEFI combined image was failing for me locally until I bumped my VM to 8G and now it passes.
Runners look like they should all be 8 or 16G so ram isn't the issue.

@brlane-rht
brlane-rht force-pushed the main-fix-pxe-test branch 4 times, most recently from c5b47e5 to 955b7e0 Compare October 5, 2026 18:57
@brlane-rht
brlane-rht marked this pull request as ready for review October 5, 2026 20:04
@brlane-rht
brlane-rht requested review from a team, achilleas-k and thozza as code owners October 5, 2026 20:04
@brlane-rht

Copy link
Copy Markdown
Contributor Author

This should now result in the c10s and f43 pxe tests passing, and the iso install tests passing.
c9s is giving us problems so it has been disabled for now.

Also, do we want to add f44 tests in addition to f43? Switch to f44?

@brlane-rht

Copy link
Copy Markdown
Contributor Author

iso tests don't all pass, and take FOREVER to run, so I removed that commit -- this is just about PXE boot testing.

achilleas-k and others added 6 commits October 7, 2026 11:09
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.
@achilleas-k

Copy link
Copy Markdown
Member

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.

@achilleas-k achilleas-k changed the title Add fstab=no to PXE testing and documentation Add fstab=no to PXE testing and documentation (HMS-11074) Oct 7, 2026
@supakeen
supakeen enabled auto-merge October 7, 2026 10:16
@supakeen
supakeen added this pull request to the merge queue Oct 7, 2026
Merged via the queue into osbuild:main with commit 44d5db5 Oct 7, 2026
54 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants