Refs blueflare/flare-edge#1528 (QEMU representative flows: warden-ui stops answering under load on lenovo).
On PRs #1487 and #1481 (jobs 57859, 58619, runner garm-lxqemu) warden-ui stopped answering for 30 to 60 s at a time and then recovered (unnamed-device-offers-no-app: two bridge no-replies in a row, then later steps answered). The bridge bound counts 600 polls of 0.05 s, so each no-reply is at least 30 s of guest time: the bound is not too early. Re-runs wiped the failed-flow artifacts, so nothing shows the cause.
This adds the evidence to the job log itself:
qmp.py: on a step that fails with the bridge's no-reply line or an unconsumed press, a stall probe (at most 3 per run) samples over 2 s the host load and PSI, the VM's vCPU thread CPU (QMP query-cpus-fast thread-id), guest /proc/stat and every guest process, and appends one line to the step detail: a verdict (host starves the VM / guest CPU saturated / guest waits on I/O / guest idle, UI blocked), the numbers, the top 3 guest processes and any in D state.
warden-lib.sh: the bridge answers @procs itself (cat /proc/[0-9]*/stat), so the probe works while the UI is stuck.
Local gate:
$ python3 qemu/tests/test_qmp_drive.py
Ran 64 tests in 11.844s
OK
$ bash qemu/tests/ctl-bridge-test.sh
[PASS] @procs lists process stat lines without the UI
ctl-bridge tests: OK (7 checks)
$ WARDEN_TEST_SH=<busybox ash> bash qemu/tests/ctl-bridge-test.sh
ctl-bridge tests: OK (7 checks)
$ shellcheck -s sh qemu/rootfs/etc/warden-lib.sh; shellcheck qemu/tests/ctl-bridge-test.sh
(clean)
Mutants: probing past STALL_REPORTS_MAX fails 1 test; a saturation threshold above 100% fails 2.
Refs blueflare/flare-edge#1528 (QEMU representative flows: warden-ui stops answering under load on lenovo).
On PRs #1487 and #1481 (jobs 57859, 58619, runner garm-lxqemu) warden-ui stopped answering for 30 to 60 s at a time and then recovered (unnamed-device-offers-no-app: two bridge no-replies in a row, then later steps answered). The bridge bound counts 600 polls of 0.05 s, so each no-reply is at least 30 s of guest time: the bound is not too early. Re-runs wiped the failed-flow artifacts, so nothing shows the cause.
This adds the evidence to the job log itself:
- qmp.py: on a step that fails with the bridge's no-reply line or an unconsumed press, a stall probe (at most 3 per run) samples over 2 s the host load and PSI, the VM's vCPU thread CPU (QMP query-cpus-fast thread-id), guest /proc/stat and every guest process, and appends one line to the step detail: a verdict (host starves the VM / guest CPU saturated / guest waits on I/O / guest idle, UI blocked), the numbers, the top 3 guest processes and any in D state.
- warden-lib.sh: the bridge answers `@procs` itself (cat /proc/[0-9]*/stat), so the probe works while the UI is stuck.
Local gate:
$ python3 qemu/tests/test_qmp_drive.py
Ran 64 tests in 11.844s
OK
$ bash qemu/tests/ctl-bridge-test.sh
[PASS] @procs lists process stat lines without the UI
ctl-bridge tests: OK (7 checks)
$ WARDEN_TEST_SH=<busybox ash> bash qemu/tests/ctl-bridge-test.sh
ctl-bridge tests: OK (7 checks)
$ shellcheck -s sh qemu/rootfs/etc/warden-lib.sh; shellcheck qemu/tests/ctl-bridge-test.sh
(clean)
Mutants: probing past STALL_REPORTS_MAX fails 1 test; a saturation threshold above 100% fails 2.
Generated with [Claude Code](https://claude.com/claude-code)
https://claude.ai/code/session_01KerYPVh72hhNgKi3wS5ijG
flare-edge #1528: on the lenovo QEMU runner warden-ui stopped answering for
30 to 60 s at a time (bridge no-reply, presses not consumed) and then
recovered. Re-run jobs lose their failed-flow artifacts, so nothing showed
whether the host starved the VM, the guest CPU was saturated, the guest
waited on I/O, or warden-ui was blocked in an idle guest.
qmp.py drive() now probes the first three such failures of a run: over 2 s
it samples host load and PSI, the VM's vCPU thread CPU (query-cpus-fast
thread-id), the guest /proc/stat and every guest process's stat line, and
appends one line to the step's detail (verdict, numbers, top guest
processes, processes in D state). The detail reaches the job log, so the
answer survives a re-run. The control bridge answers the new `@procs`
command itself, so the probe works while the UI is stuck.
Tests: test_qmp_drive.py StallProbe (parsers, verdicts, CPU deltas, the
vCPU thread sampler, a bounded probe on no-reply steps and none on a plain
mismatch); ctl-bridge-test.sh checks `@procs` with no UI.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KerYPVh72hhNgKi3wS5ijG
noah
merged commit 13cd0c63be into rebuild2026-10-23 08:49:19 -06:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Refs blueflare/flare-edge#1528 (QEMU representative flows: warden-ui stops answering under load on lenovo).
On PRs #1487 and #1481 (jobs 57859, 58619, runner garm-lxqemu) warden-ui stopped answering for 30 to 60 s at a time and then recovered (unnamed-device-offers-no-app: two bridge no-replies in a row, then later steps answered). The bridge bound counts 600 polls of 0.05 s, so each no-reply is at least 30 s of guest time: the bound is not too early. Re-runs wiped the failed-flow artifacts, so nothing shows the cause.
This adds the evidence to the job log itself:
@procsitself (cat /proc/[0-9]*/stat), so the probe works while the UI is stuck.Local gate:
Mutants: probing past STALL_REPORTS_MAX fails 1 test; a saturation threshold above 100% fails 2.
Generated with Claude Code
https://claude.ai/code/session_01KerYPVh72hhNgKi3wS5ijG