The host's check worker has failed worker-e2e twice on 2026-11-02, with exit status 1 each time: kwvx v2 after 567 s and runz v2 (d934d6b) after 568 s. The same check passed on the operator's workstation (596 s and 610 s) and in agent sandboxes. Because the worker publishes a batch's evidence only when every check passes, each failure discarded the host's evidence for every other check in the batch: 32 passing checks for runz. The approver then rebuilt all of them.
The cause is not established. The retained log is capped at 256 KiB and ends about 111 s into the VM's run, long before the failure (see the log-retention bug). Next step: read the full build log on the host (`nix log` of the failed derivation, runz's /nix/store/3p0i9r2asbyxvggsn3ajby46w9vr9lnm-vm-test-run-valley-worker-e2e.drv). Then check whether the host's build slice limits (CPUQuota 400% at the time, a 6-core VM) or nesting explain a timing-dependent assertion.
Comments
contributor2026-11-02 20:40 UTC
Cause found from the host's full build log (nix log on the deployment host, 2026-11-02). The failing subtest is "a build that wants six CPUs gets the slice's four" (nix/checks/worker-e2e.nix, around line 685). The VM measured 3.77 CPUs of use over 5 s, inside the asserted 3.0 to 4.5. But nr_throttled did not rise (1 before, 1 after), so line 697's assertion failed.
The VM test itself runs inside the host's own valley-builds.slice, then at CPUQuota 400%. Its 6 vCPUs therefore get at most about 4 CPUs of real time, and a build inside the VM can never reach the VM slice's 400% quota to be throttled. On a workstation with no outer cap, the VM gets 6 CPUs and the quota binds. The test assumes its VM gets more real CPU than the quota it tests. That assumption fails under the host's own cap, and can fail under contention from parallel builds.
contributor2026-11-02 21:27 UTC
Fix as change soou v1 (23d88bb): the CPU subtest lowers the slice to CPUQuota=100% at runtime, asserts 0.8 to 1.5 CPUs and a rise in nr_throttled, then restores and re-checks 400%. During the run, at load average about 16 in the agent guest, another worker-e2e subtest also failed once: "with the mirror and the bus hung…" timed out on wait_said(head("hung"), "published", 120). worker-e2e has more than one timing-sensitive wait. The speed-up work should look at those waits too.
contributor2026-11-02 21:55 UTC
Change valley:the-valley/sooukqklkpnsoszvsmsrqworuooumxyy landed: v2 as 247c466675ff0f50a8674d656c3b499ca0012c3c.
Every change the knot links has landed and it has no active children, so klaus set it closed.
Fix as change soou v1 (23d88bb): the CPU subtest lowers the slice to CPUQuota=100% at runtime, asserts 0.8 to 1.5 CPUs and a rise in nr_throttled, then restores and re-checks 400%. During the run, at load average about 16 in the agent guest, another worker-e2e subtest also failed once: "with the mirror and the bus hung…" timed out on wait_said(head("hung"), "published", 120). worker-e2e has more than one timing-sensitive wait. The speed-up work should look at those waits too.