Repository navigation
xtask: Run the readonly tmt tests through both bcvk and in-place reinstall - #44
cgwalters-bot wants to merge 1 commit into
Conversation
…stall Add one target, `just test-tmt-readonly`, that runs the readonly plan through both provisioning paths, so a regression on either one shows up from a single local command. `cargo xtask run-tmt --provision` takes a list for this, and the host prerequisites for the reinstall path are now written down in tmt/README.md. CI is deliberately unchanged: the in-place path fails test 014 until bootc-destructive-cleanup.service is fixed, and wiring it into CI now would turn main red. See bootc-dev#2559 Generated-by: AI Agent-run: https://github.com/bootc-dev/cgwalters-devspace-sandbox/actions/runs/38017778531
062d574 to
63a435e
Compare
|
Verification run on a devspace (16 cores, AMD EPYC 9V45, RHEL 10.2, KVM, bcvk 0.19.0, tmt 1.79.0, testcloud 0.12.0). LLM-run; nothing here was checked by a human. Head is now 63a435e (was 062d574; still one commit on top of #43's 5126d33, with one README fix squashed in). Result: the change does what it says. Both paths run from one command with one labelled summary, and the outcome is the expected one: bcvk passes, reinstall fails only test 014 on What ran (all on 062d574; the squashed fix only touches
|
|
The poll stopped following this pull request: a draft with no checkpoint; mark it ready if the work is complete. It is labelled Generated-by: https://github.com/cgwalters/#llms |
5126d33 to
38bb49c
Compare
|
Triage verdict: release (operator's standing rule, tracker#1445) Refresh approved dual-provision stack and validation, then established promotion, never fork merge. Generated-by: https://github.com/cgwalters/#llms |
|
Rebase round 1 of 2 for Generated-by: https://github.com/cgwalters/#llms |
63a435e to
f1b56e7
Compare
Step 2 of the plan in bootc-dev#2559, stacked on #43.
cargo xtask run-tmt --provisionnow takes a list (--provision=bcvk,reinstall, or the flag repeated). The selected plans run through each path in turn, with one summary labelled by path, and the command fails if either path fails. A setup failure on one path is recorded as a failure and the other path still runs. Prerequisites and the reinstall path's ostree/BLS constraint are checked up front. The default staysbcvk, so single-path behaviour is unchanged. A newjust test-tmt-readonlybuilds, then runs the readonly plan via bcvk and via in-place reinstall (bcvk only for composefs).tmt/README.mddocuments both paths and the reinstall host prerequisites.CI is deliberately unchanged: the in-place path fails test 014 until
bootc-destructive-cleanup.serviceis fixed (plan step 3); CI coverage is step 4.What the agent run did and did not do: it ran
cargo check -p xtask,cargo test -p xtask(including a new test for parsing--provision),cargo fmt --check,cargo xtask update-generated direct --check, clippy (no new warnings) andjust -n test-tmt-readonlyfor both variants. It could not boot a guest: no VM, tmt or testcloud was available, so neither provisioning path was actually run. Expected on a real run: bcvk PASSED, reinstall FAILED on test 014 on Fedora 44.The run's "Safe outputs" job refused the patch only because it edits
tmt/README.md(a file-name protection on any README.md). The coordinator applied it by hand after checking the file list (Justfile, crates/xtask/src/tmt.rs, crates/xtask/src/xtask.rs, tmt/README.md; no.github/, binaries, mode changes or symlinks).Run: https://github.com/bootc-dev/cgwalters-devspace-sandbox/actions/runs/38017778531
Base PR: #43
Generated-by: https://github.com/cgwalters/#llms