Repository navigation
Conversation
A worker stopped at its deadline left its network boot admission open until the boot window expired, so the server could still fetch the installer after nothing could resume or observe the operation. Both the local VM and Redfish workers now close it at the deadline. A worker stopped from outside still leaves it open for its replacement. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The local VM wipe refused to run while any guest was up, so an installation stopped at its deadline, which leaves its guest running, could never be settled by a wipe. The wipe now powers the guest off first, as a Redfish wipe does, and still refuses if it keeps running. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Both multi-plane runs now prove these acceptance tests against the real Milo, Karmada, kro and site path: - importing Devices admits, delivers and sends nothing; - staff create recoveries and read custody, and nothing else; - custody names the one winning allocation after contention; - a Machine deleted mid-install makes release wait for the outcome; - an installation past its deadline ends OutcomeUnknown and is held; - a recovery naming the wrong hold is refused with nothing sent; - the release wipe, admitted after the worker stopped, settles the hold; - deleted custody is rebuilt Unverified, allocates nothing, and is Verified again only above the site's fence. The Redfish discovery phase also shows a TLS key other than the pin reaches no request. The coordinator takes a shorter installation deadline for the deadline scenario, and the unused second-install phase is removed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Record the failure scenarios each multi-plane run proves, the two site gaps they found, and what the emulator lab cannot cover. Increment C is now verified by both multi-plane runs; D's verification is pending. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
kro creates a worker Job only while the boot server is ready, so stopping it before admission left the deadline installation with no worker at all. The scenario now stops it as soon as kro created the Job, before the firmware can fetch the installer. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Stopping the boot server once the worker Job existed raced the firmware's installer fetch, so the deadline evidence could flake. The acceptance binary's boot service now has a lab-only hook: while its arm file exists it denies every boot and stays Ready, so kro still creates the worker and the installer never runs. Only the local multi-plane site source sets the hook's variable, and a test fails if any other configuration sets it, a production root references that source, or another package names it. The boot servers' listeners move into the acceptance binary with the hook. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Staff recoveries take generated names, so the fixed name made admission refuse the recovery for its name before it compared the hold. The phase now creates it with a generated name, finds it again by label, and requires the HoldMismatch refusal. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
While consumer A holds the Device, consumer B's project serves no Device API, the allocator refuses to install for B, and an installation the Metal provider names for B's unheld allocation is refused for HolderMismatch. The fence, the site store and the BMC audit stay unchanged and nothing is delivered. The site store digest now treats a store with no state file yet as empty. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A recovery for a Device that no site serves was applied, a recovery recorded the highest rather than the lowest fence its sites confirmed, and a Resolve kept a fence below one a site had seen, and no test failed. Three tests now fail on each of those changes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
From the adversarial review of the failure scenarios: - the deadline scenario records the worker's handoff at delivery and fails if that worker is not seen stopping, instead of passing with nothing observed; - tenant isolation requires the refusal for a missing allocation, not any error; - every nothing-sent check also compares the hypervisor's running domains and QEMU logs, so the local VM run proves it too; - the deadline is six minutes, the scenario fails fast if the installation ends early, and it picks the held allocation's installation; - a failed step restores the coordinator, the boot hook and the observer; - the hook guard test also rejects a Flux path at the lab site source; - the local VM wipe tolerates a guest that exits before its destroy; - the coverage inventory says what each phase checks and leaves verification to the status table, scoped to what the runs exercise. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A run that received TERM printed RESULT passed and exited 0: run.sh trapped only EXIT, so its result saw the last command's status, and the result took exit 0 alone as a pass. The phase it was in kept running after the run had gone. The run now traps TERM, INT and HUP, signals every phase it started, and records interrupted with the phase it was in and a nonzero exit. A phase stops its own command and records itself interrupted. Phases and acceptance scripts run in the background and are waited for, so a signal is handled at once. Exit 0 counts as passed only when run.sh wrote its completion marker on its last line; a preflight-only run records preflight-passed. summary.json, written before the secret scan and teardown, records evidence-verified instead of passed. test-interrupt.py runs the real run.sh with fake tools, interrupts it mid-phase with each signal, and checks the RESULT line, result.json, the exit code and that the phase's command stopped. It failed on every check before this change. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The deadline phase passed whenever no installer was served, so it would also pass if firmware never asked for a boot. The lab boot hook now counts each request it denies, and deadline-hold requires at least one. A repository-wide test now fails if any file outside the docs, the acceptance binary and the lab steps names the hook, or the boot service sets it more than once. The tenant-isolation phase no longer runs the harness's own install helper, which proved no guard. It claims only what custody admission proves: an installation for B's unheld allocation is refused for HolderMismatch with the fence unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Run under nohup or as a background job, the test's parent ignores SIGHUP or SIGINT. Bash cannot trap a signal that was ignored when it started, so the SIGINT and SIGHUP cases tested the parent's dispositions instead of run.sh, and failed. The test now resets those signals to their defaults in the run it starts. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The multi-plane and Redfish lab pages still called the runs on Device custody pending. Both the local VM and the Redfish runs pass every phase on custody. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Agents queued for one shared Colima VM to run the multi-plane acceptance. This runs both modes on disposable GitHub-hosted runners. Make the runtime, Docker context, site architecture and guest accelerator explicit run parameters whose defaults leave the Colima run unchanged. CI mode requires a GitHub-hosted runner, its own Docker socket and a usable /dev/kvm, probes the runner directly, never calls Colima, and fails closed on any accelerator it cannot honor. Local VM mode runs its guest under KVM. The site runtime refuses KVM without /dev/kvm and publishes its accelerator. A worker runs only against a runtime with its own accelerator, and each installation's journaled boot admission binds it. Evidence requires the domain definitions and every QEMU command line to show it. Redfish lab targets stay on TCG. The Pod and Job interruptions now land on an installer guest held paused once its kernel prints, so they no longer depend on install speed. A guest that printed its receipt first fails the run. The workflow runs on demand, nightly, and when a pull request gets the multiplane-acceptance label. It records the tested commit, rescans and redacts evidence after any outcome, uploads only evidence/, samples runner memory, and passes only when every phase and teardown passed. A redacted secret fails the job. Milo is pinned by its multi-arch index, whose arm64 entry is the previous pin. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The installer traces its commands on the serial console that the kernel also prints to, so a kernel message can land at the start of the line that carries the one traced sfdisk command. Evidence counted only lines starting with the trace and failed a run whose install had partitioned the disk exactly once and printed its one receipt: the Redfish job on this branch failed that way. Count the trace wherever it appears in the log, still requiring exactly one, and report the count on failure. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Counting the sfdisk shell trace anywhere on a line was not enough: a later local VM run found it zero times after an install that printed its one receipt. The shell writes its trace to the serial console in pieces, and the kernel's own messages can land between them. The installer now prints one FLEET-PARTITIONED line, with its receipt, in a single write once sfdisk succeeds, as it already does for the install receipt. Evidence requires exactly one such line, carrying the finished install's receipt, and counts only receipts when it checks their order. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The installer runs with set -x on the console it prints to, so the shell's trace of the FLEET-PARTITIONED printf also contains the marker and a clean install counted it twice. Match the marker followed by a 64-character receipt instead: the trace shows the format at that position, not a receipt, and a kernel message before the real line still matches. Evidence requires the one match to carry the operation's receipt. A harness test runs the printf under a traced shell, prefixes a kernel message, and checks the trace is ignored and a second partition is counted. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The deadline and fail-closed scenarios spent about thirteen minutes of each run waiting on timers sized for production: a six-minute deadline plus the coordinator's two-minute skew margin, and kro's three-minute health timeout on the bad revision. Make each a lab setting with a short default. The short-deadline installation gets two minutes, still many times the seconds it needs to journal its boot and lose its Machine; if it runs out, the scenario says so. In CI mode every process reads one Linux kernel clock, so the lab coordinator's skew margin is 30 seconds there; the Colima run keeps two minutes because its VM clock can drift from the workstation's. The scenario still requires the wipe to be admitted after the worker stopped. The bad kro revision also sets a 45-second health timeout, and the recovery revision restores the usual one. Production defaults are unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Each acceptance job rebuilt the race-instrumented readiness tests and the site binary from scratch, because the shared setup-go cache held another workflow's builds. Give each mode its own Go build cache, keyed by commit and restored from the newest for the same go.sum, else the newest for the mode. Stop deleting preinstalled toolchains: it took one to two minutes, and the runner has far more free disk than the harness requires. The job now samples free disk in the Docker data root every 10 seconds and reports the minimum. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Redfish mode ran its lab targets under software emulation even on runners with /dev/kvm, so its installs and wipes took several times as long as local VM mode's. The lab adapter now takes the accelerator from the site's run parameter and defines or starts a target only while the site runtime publishes the same one beside the libvirt socket, with no software fallback. Evidence requires every QEMU command line of target A to name it, and preflight accepts KVM in Redfish mode on an amd64 runtime with /dev/kvm. The Pod, Job and BMC interruptions relied on a slow installer to land mid-install. Redfish mode now holds target A paused once its kernel prints, as local VM mode does, reading only console output written after the hold was armed, and evidence fails if the interruptions did not land on the held guest. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Each suite ran every scenario in sequence on one runner, so a run took as long as all of them together. Add a scenario group setting. Every group builds the same topology and runs the scenarios through the Pod and Job lifecycle checks. The flux group then runs the Flux scenarios, and the release group the reflection, release, reuse, deadline, rebuild, wrong-location and closed-boot scenarios; all, the local default, runs both. Evidence checks what each group produces: the flux group leaves the Device allocated, so the release, wipe and final custody checks run in the release group. The result records the group, and verify requires the expected one. The workflow runs each suite as a flux and a release shard on separate runners, and a new acceptance job passes only if every shard passed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Summary
CI only, not for review or merge. It runs the multi-plane acceptance for #182 at 71240f4, whose branch has no acceptance workflow.
The branch adds the commits of #219, #208 and #232 unchanged, because #208's workflow needs #219's harness. It closes once the run finishes.
🤖 Generated with Claude Code