Skip to content

tmt: Add an opt-in boot automount profile - #113

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

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

Conversation

@cgwalters-bot

Copy link
Copy Markdown
Collaborator

Executive summary

Add a disabled-by-default profile using the existing tmt/bcvk runner so an unsupported guest layout or the regression test's skip cannot satisfy this dedicated check. Consume PR 106 at e1f8132 without changing its source, and expose the profile through the Justfile.

Part of #107

Verified: 33 xtask tests, formatting, generated metadata checks, tmt 1.80.0 profile lint, opt-in/default-off discovery, and discovery of the exact remote test passed. Clippy fails on 18 existing warnings.

VM results: unavailable, not accepted. The lane launch exits 1 because bcvk is missing; this user cannot access /dev/kvm and libvirt is absent. Baseline/fixed image builds, baseline assertion failure, fixed v2 boot, image digests and the no-idle control remain unverified. No VM result links can be supplied from this run. Ostree 00cbd2f9 is recorded as a candidate pin, not as approved review.

Workflow wiring was omitted because .github is protected by this run's policy. For #105's existing source fix flow: PR 106 always waits for idle-out, preventing an unchanged no-idle control, and its timer can activate during setup; this change does not fix either source defect.

One review pass ran; no blockers for this partial profile, with follow-ups to collect current-boot diagnostics without short-circuiting on a missing previous journal and add committed tests across the real discovery boundary.

Generated by dispatch · ◷

@cgwalters-bot

cgwalters-bot commented Nov 11, 2026 •

Copy link
Copy Markdown
Collaborator Author

✅ dispatch ended well. Result: #113

The regression test for bootc#2402 carried by upstream PR 2634 skips
itself when /boot is not an automount, so a general integration run
can go green without ever exercising the bug. This adds a separate,
disabled-by-default plan that runs the exact pinned test revision on
an ostree-backed Fedora 44 guest with /boot on the root filesystem,
rejects any other layout in prepare, and requires the updated
deployment to have booted in finish. The `just test-boot-automount`
recipe enables the plan by context and uses the new `--require-plan`
option of `cargo xtask run-tmt`, so a disabled or missing plan is an
error rather than an empty successful run.

The test source stays in PR 2634 (issue bootc-dev#105) and is consumed read-only
through tmt discovery; building images for the affected and fixed
ostree revisions and the CI job are not part of this change.

Part of bootc-dev#107

Verified with the xtask tests, `cargo xtask update-generated direct
--check`, `tmt plan lint` and a discover-only run against the pin; no
VM run was possible here.

Generated-by: AI
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