Skip to content

tmt: Add opt-in aarch64 composefs install smoke plan - #100

Draft
cgwalters-bot wants to merge 1 commit into
cgwalters-forge:mainfrom
cgwalters-bot:dispatch/implement/agent-run-42071983515
Draft

cgwalters-bot wants to merge 1 commit into
cgwalters-forge:mainfrom
cgwalters-bot:dispatch/implement/agent-run-42071983515

Conversation

@cgwalters-bot

Copy link
Copy Markdown
Collaborator

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 #54
Part of cgwalters-forge/tracker#260

Generated by dispatch · ◷

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
@cgwalters-bot

cgwalters-bot commented Dec 2, 2026 •

Copy link
Copy Markdown
Collaborator Author

Rebase round 1 of 2 for 6a6b8486a688: run.

Generated-by: https://github.com/cgwalters/#llms

@cgwalters-bot

cgwalters-bot commented Dec 2, 2026 •

Copy link
Copy Markdown
Collaborator Author

✅ dispatch ended well. Result: #100

@cgwalters-bot
cgwalters-bot force-pushed the dispatch/implement/agent-run-42071983515 branch from 6a6b848 to ce2d8d6 Compare December 2, 2026 00:14
@cgwalters-bot

Copy link
Copy Markdown
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 composefs= karg, but V1 repositories boot with composefs.digest=, so the smoke check would fail on a correct boot.

{"schema":"agent-board/recommendation/v1","pr":100,"head":"ce2d8d6423d460609aa8b4a8c3006586d6c163a6","action":"operator_question","reason":"The booted check in tmt/tests/install/composefs-smoke-aarch64/check.nu rejects the composefs.digest= karg that V1 repositories use; a fix round should accept both prefixes as test-install-outside-container.nu does.","detail":{"question":"Run a fix round for the karg check?"}}

Generated by dispatch · ◷

@cgwalters-bot

Copy link
Copy Markdown
Collaborator Author

✅ dispatch ended well. Result: #100

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