Repository navigation
tmt: Add opt-in aarch64 composefs install smoke plan - #100
Draft
cgwalters-bot wants to merge 1 commit into
Draft
cgwalters-bot wants to merge 1 commit into
cgwalters-bot wants to merge 1 commit into
Conversation
CI only covers the composefs backend on x86_64. This adds a Testing Farm plan that turns a package-mode CentOS Stream 10 aarch64 guest into a composefs GRUB/BLS system. It runs `bootc install to-existing-root --composefs-backend --allow-missing-verity` without `--cleanup`, reboots with the existing Ansible playbook, and then checks the booted system: boot ID, architecture, composefs status, root mount, network, and the evidence it collected. The plan is disabled unless the `bootc_smoke=composefs-aarch64` context is set, so Packit and `cargo xtask run-tmt` don't select it, and the existing ostree flow is unchanged unless the new `BOOTC_PACKIT_BUILD_ONLY` is set. The prepare script fails before the install if UEFI, an ESP, EROFS/overlayfs kernel support or the bootc initramfs module is missing. tmt/README.md gives the Testing Farm request. Verified locally: `tmt lint`; the `enabled:true` plan list is identical before and after, with and without the Packit context; Packit config parses with unchanged jobs; `testing-farm request --dry-run`; `cargo xtask update-generated direct --check`; shellcheck; `nu --ide-check`. It has not run on a guest: no Testing Farm token or fork dispatch was available, so aarch64 coverage is not established until a linked passing run exists. Review: one pass, no blockers. Follow-ups it raised: give the test itself the plan's opt-in `adjust`; run `lsinitrd` on the host instead of in the image; assert the root source is `composefs:<verity>` as test-49 does; drop the `SSH_CONNECTION` check; avoid `grep -q` in a pipe under pipefail; fix the `BOOTC_PACKIT_BUILD_ONLY` comment (the script installs localhost/bootc-composefs); reuse Containerfile.drop-lbis; call the derived image's `.Id` an ID, not a digest; the prepare script is longer than REVIEW.md's ~50 lines. The new script is not executable because this run cannot add executables; the plan calls it with `bash`. Part of cgwalters-forge#54 Generated-by: https://github.com/cgwalters/#llms
Collaborator
Author
|
Rebase round 1 of 2 for Generated-by: https://github.com/cgwalters/#llms |
Collaborator
Author
cgwalters-bot
force-pushed
the
dispatch/implement/agent-run-42071983515
branch
from
December 2, 2026 00:14
6a6b848 to
ce2d8d6
Compare
Collaborator
Author
|
Fix run report: Rebased onto current main (one conflict in hack/provision-packit.sh, resolved keeping main's pinned ubi9/podman tag and the build-only early exit); one review pass found a blocker that predates this round: check.nu only accepts a |
Collaborator
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
CI only covers the composefs backend on x86_64. This adds a Testing Farm plan that turns a package-mode CentOS Stream 10 aarch64 guest into a composefs GRUB/BLS system. It runs
bootc install to-existing-root --composefs-backend --allow-missing-veritywithout--cleanup, reboots with the existing Ansible playbook, and then checks the booted system: boot ID, architecture, composefs status, root mount, network, and the evidence it collected. The plan is disabled unless thebootc_smoke=composefs-aarch64context is set, so Packit andcargo xtask run-tmtdon't select it, and the existing ostree flow is unchanged unless the newBOOTC_PACKIT_BUILD_ONLYis set. The prepare script fails before the install if UEFI, an ESP, EROFS/overlayfs kernel support or the bootc initramfs module is missing. tmt/README.md gives the Testing Farm request.Verified locally:
tmt lint; theenabled:trueplan list is identical before and after, with and without the Packit context; Packit config parses with unchanged jobs;testing-farm request --dry-run;cargo xtask update-generated direct --check; shellcheck;nu --ide-check. It has not run on a guest: no Testing Farm token or fork dispatch was available, so aarch64 coverage is not established until a linked passing run exists.Review: one pass, no blockers. Follow-ups it raised: give the test itself the plan's opt-in
adjust; runlsinitrdon the host instead of in the image; assert the root source iscomposefs:<verity>as test-49 does; drop theSSH_CONNECTIONcheck; avoidgrep -qin a pipe under pipefail; fix theBOOTC_PACKIT_BUILD_ONLYcomment (the script installs localhost/bootc-composefs); reuse Containerfile.drop-lbis; call the derived image's.Idan ID, not a digest; the prepare script is longer than REVIEW.md's ~50 lines. The new script is not executable because this run cannot add executables; the plan calls it withbash.Part of #54
Part of cgwalters-forge/tracker#260