Skip to content

Conversation

@henrywang
Copy link
Collaborator

This PR adds CS9, Fedora 42/43/44 distros for composefs test.

@bootc-bot bootc-bot bot requested a review from jmarrero November 26, 2025 07:59
Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request refactors the OS image mapping to support different image types (base and buildroot-base) and updates the build scripts to use this new structure for composefs tests. The changes are logical and enable more flexible testing across different distributions. However, I've noted that RHEL entries were removed from the image map, which could be an unintended breaking change. Please see my specific comment on that.

Copy link
Collaborator

@cgwalters cgwalters left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks sane to me, though I see C9S failing with what looks like filesystem corruption errors though. Let's just merge as is and debug that as a followup.

BTW though, one thing we should do soon is split up a "build rpm" phase for the GHA because now we're building from source fully twice per OS.

(In general of course lots of overlap between TF and GHA as discussed)

@cgwalters
Copy link
Collaborator

Let's just merge as is and debug that as a followup.

Ah well no can't do that because that's a required job.

@henrywang
Copy link
Collaborator Author

Okey, AI tells me the issue on C9S is older kernel and older virtiofs/virtiofsd userspace. The composefs install does many small-file metadata ops (walk /etc/pki/..., copy many small cert files, systemd unit symlinks, etc.). That pattern reliably triggers older virtiofs/virtiofsd bugs that return EUCLEAN (“Structure needs cleaning”) during stat/cp operations.

@cgwalters
Copy link
Collaborator

Maybe. In this case virtiofsd is on the host, but yeah it could be the guest virtiofs support.

Anyways...well, let's skip it for now with a TODO? Or we could do this https://docs.github.com/en/actions/reference/workflows-and-actions/workflow-syntax?versionId=free-pro-team%40latest&productId=actions&search-overlay-input=continue-on-error+docs&search-overlay-ask-ai=true#example-preventing-a-specific-failing-matrix-job-from-failing-a-workflow-run

Or if we want to narrow in on if it's actually a virtiofs problem, we could run the test in TF (though we'd need to control the filesystem, which really leads to us supporting a kickstart or Ignition flow)

@henrywang
Copy link
Collaborator Author

BTW though, one thing we should do soon is split up a "build rpm" phase for the GHA because now we're building from source fully twice per OS.

Do you mean in test-integration-cfs, the workflow build rpm twice? One by - name: Build container, another by just test-composefs in - name: Run TMT tests?

@henrywang
Copy link
Collaborator Author

Yeah, I file an issue for tracking and use continue-on-error for centos-9 test.

@henrywang henrywang force-pushed the distros branch 3 times, most recently from 66637cd to 175b43a Compare November 26, 2025 15:56
And ignore test-integration-cfs failure on centos-9

Signed-off-by: Xiaofeng Wang <[email protected]>
@henrywang
Copy link
Collaborator Author

henrywang commented Nov 27, 2025

Two failures can be tracked by issues #1814 and #1812. Both of them will be debugged and fixed later.

@henrywang henrywang merged commit f687add into bootc-dev:main Nov 27, 2025
38 of 41 checks passed
@henrywang henrywang deleted the distros branch November 27, 2025 05:31
shi2wei3 added a commit to shi2wei3/bootc that referenced this pull request Nov 28, 2025
The build-sealed script introduced in PR bootc-dev#1810 referenced
BOOTC_buildroot_base which is only defined in GitHub Actions CI,
causing failures when running 'just build-sealed' manually.

Changes:
- Add buildroot_base parameter to build-sealed script with default
  value of quay.io/centos/centos:stream10
- Define buildroot_base in Justfile from BOOTC_buildroot_base env var
- Pass buildroot_base as 4th argument to all build-sealed invocations
- Reorder arguments to put buildroot_base before optional secureboot

This allows manual execution while maintaining CI compatibility.

Assisted-by: Claude Code (Sonnet 4.5)

Co-Authored-By: Claude <[email protected]>
Signed-off-by: Wei Shi <[email protected]>
shi2wei3 added a commit to shi2wei3/bootc that referenced this pull request Nov 28, 2025
The build-sealed script introduced in PR bootc-dev#1810 referenced
BOOTC_buildroot_base which is only defined in GitHub Actions CI,
causing failures when running 'just build-sealed' manually.

This allows manual execution while maintaining CI compatibility.

Signed-off-by: Wei Shi <[email protected]>
cgwalters pushed a commit that referenced this pull request Dec 1, 2025
The build-sealed script introduced in PR #1810 referenced
BOOTC_buildroot_base which is only defined in GitHub Actions CI,
causing failures when running 'just build-sealed' manually.

This allows manual execution while maintaining CI compatibility.

Signed-off-by: Wei Shi <[email protected]>
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.

2 participants