Skip to content

WIP: run bootc-image-builder PXE tests [HMS-11073] - #2635

Draft
achilleas-k wants to merge 3 commits into
osbuild:mainfrom
achilleas-k:bib-tests/pxe
Draft

WIP: run bootc-image-builder PXE tests [HMS-11073]#2635
achilleas-k wants to merge 3 commits into
osbuild:mainfrom
achilleas-k:bib-tests/pxe

Conversation

@achilleas-k

Copy link
Copy Markdown
Member

The PXE build tests for bootc-image-builder are currently failing when booting the image. The problem seems to be that we create a filesystem layout for bootc install to-filesystem with a /boot partition. This causes bootc to write an /etc/fstab with the entry for /boot. However, when booting the PXE image, the partition isn't available (or relevant).

Removing the /boot partition from the PXE rootfs and adding the --boot-mount-spec="" option to bootc install to-filesystem also didn't work, but I'll have to dig into the details for that one.

I'm opening this PR with an added kernel option during the boot test that masks the boot.mount unit. This works around the issue, causing the test to fail at a later step. I want to see the CI runs for all base images to see if this is consistent.

@brlane-rht I think you know the most about this image type. Do you have any ideas for what's best here? Also, I don't know what changed to make this test fail. I assume it was passing when it was first written.

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.
@achilleas-k achilleas-k changed the title WIP: run bootc-image-builder PXE tests WIP: run bootc-image-builder PXE tests [HMS-11074] Aug 31, 2026
@achilleas-k

Copy link
Copy Markdown
Member Author
ip-10-0-2-15 login: Could not chdir to home directory /var/home/test: No such file or directory

huh

@achilleas-k achilleas-k changed the title WIP: run bootc-image-builder PXE tests [HMS-11074] WIP: run bootc-image-builder PXE tests [HMS-11073] Sep 1, 2026
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.

1 participant