The rig's control bridge waited 5 s for warden-ui's reply. On the lenovo QEMU host (garm-lxqemu, two TCG guests) a page build outran it: the bridge answered an empty reply, and the UI's late reply then landed after the next command's remove and was read as that command's answer. flare-edge#1448, job 54497: assert_hit ... unparseable hit reply: '', then nav Settings/Security -- hit 360,337: obj ... (the nav got the hit's late reply), then on the retry assert_page Settings/Security -- page is ''; integration/popups-survive-rebuild failed the same way.
Changes:
The loop moves from rootfs/sbin/init to warden_ctl_bridge in rootfs/etc/warden-lib.sh, so a host test reaches it; init calls it on fd 3.
Reply wait 30 s (WARDEN_CTL_WAIT_S), was 5 s. A timeout answers bridge: no reply from warden-ui within N s: <cmd>, and the next command first drains the late reply.
A reply slower than 5 s is logged on the console with its time (input for the lenovo baselines, flare-edge LN-29).
qmp.py: Ctl raises the no-reply line as a rig fault (never judged as "page is ''"); control socket timeout 90 s (CTL_TIMEOUT_S), so it outlasts the bridge wait.
New host test qemu/tests/ctl-bridge-test.sh, wired into CI; 3 new cases in test_qmp_drive.py; README table row.
Local gate:
$ bash qemu/tests/ctl-bridge-test.sh
[PASS] timeout answers no-reply; the late reply is not the next answer
[PASS] default bound: a 6 s reply arrives
[PASS] slow reply logged on stderr
[PASS] fast reply not logged
[PASS] @cat answers the file and a missing-file line
[PASS] missing FIFO answers at once
ctl-bridge tests: OK (6 checks)
$ WARDEN_TEST_SH=<busybox sh symlink> bash qemu/tests/ctl-bridge-test.sh | tail -1
ctl-bridge tests: OK (6 checks)
$ python3 qemu/tests/test_qmp_drive.py
Ran 58 tests ... OK
$ bash qemu/tests/init-power-signals-test.sh; bash qemu/tests/init-daemon-order-test.sh; bash qemu/tests/run-sh-args-test.sh
(all pass)
$ shellcheck qemu/tests/ctl-bridge-test.sh qemu/rootfs/etc/warden-lib.sh qemu/rootfs/sbin/init
(clean)
Mutants: draining off (stale flag never set) fails "timeout answers no-reply; the late reply is not the next answer"; the old 5 s bound fails "default bound: a 6 s reply arrives".
The real-VM proof is the QEMU representative job on lenovo in flare-edge PR rb/w31-sdk-pin, which pins this branch.
The rig's control bridge waited 5 s for warden-ui's reply. On the lenovo QEMU host (garm-lxqemu, two TCG guests) a page build outran it: the bridge answered an empty reply, and the UI's late reply then landed after the next command's remove and was read as that command's answer. flare-edge#1448, job 54497: `assert_hit ... unparseable hit reply: ''`, then `nav Settings/Security -- hit 360,337: obj ...` (the nav got the hit's late reply), then on the retry `assert_page Settings/Security -- page is ''`; integration/popups-survive-rebuild failed the same way.
Changes:
- The loop moves from rootfs/sbin/init to `warden_ctl_bridge` in rootfs/etc/warden-lib.sh, so a host test reaches it; init calls it on fd 3.
- Reply wait 30 s (`WARDEN_CTL_WAIT_S`), was 5 s. A timeout answers `bridge: no reply from warden-ui within N s: <cmd>`, and the next command first drains the late reply.
- A reply slower than 5 s is logged on the console with its time (input for the lenovo baselines, flare-edge LN-29).
- qmp.py: `Ctl` raises the no-reply line as a rig fault (never judged as "page is ''"); control socket timeout 90 s (`CTL_TIMEOUT_S`), so it outlasts the bridge wait.
- New host test qemu/tests/ctl-bridge-test.sh, wired into CI; 3 new cases in test_qmp_drive.py; README table row.
Local gate:
```
$ bash qemu/tests/ctl-bridge-test.sh
[PASS] timeout answers no-reply; the late reply is not the next answer
[PASS] default bound: a 6 s reply arrives
[PASS] slow reply logged on stderr
[PASS] fast reply not logged
[PASS] @cat answers the file and a missing-file line
[PASS] missing FIFO answers at once
ctl-bridge tests: OK (6 checks)
$ WARDEN_TEST_SH=<busybox sh symlink> bash qemu/tests/ctl-bridge-test.sh | tail -1
ctl-bridge tests: OK (6 checks)
$ python3 qemu/tests/test_qmp_drive.py
Ran 58 tests ... OK
$ bash qemu/tests/init-power-signals-test.sh; bash qemu/tests/init-daemon-order-test.sh; bash qemu/tests/run-sh-args-test.sh
(all pass)
$ shellcheck qemu/tests/ctl-bridge-test.sh qemu/rootfs/etc/warden-lib.sh qemu/rootfs/sbin/init
(clean)
```
Mutants: draining off (stale flag never set) fails "timeout answers no-reply; the late reply is not the next answer"; the old 5 s bound fails "default bound: a 6 s reply arrives".
The real-VM proof is the QEMU representative job on lenovo in flare-edge PR rb/w31-sdk-pin, which pins this branch.
Refs flare-edge#1448
Generated with [Claude Code](https://claude.com/claude-code)
https://claude.ai/code/session_01KerYPVh72hhNgKi3wS5ijG
The bridge waited 5 s for warden-ui's reply. On the lenovo QEMU host a
page build outran it: the bridge answered an empty reply, and the UI's
late reply then landed after the next command's remove and was read as
that command's answer (flare-edge#1448: "page is ''", a nav answered
with the previous hit).
The loop moves to warden_ctl_bridge in etc/warden-lib.sh so a host test
reaches it. The wait is 30 s (WARDEN_CTL_WAIT_S); a timeout answers
"bridge: no reply from warden-ui ...", which qmp.py raises as a rig
fault, and the next command first drains the late reply. Replies slower
than 5 s are logged on the console with their time. qmp.py's control
socket timeout is 90 s so it outlasts the bridge's wait.
Tests: qemu/tests/ctl-bridge-test.sh (new, in CI), test_qmp_drive.py.
Refs flare-edge#1448
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KerYPVh72hhNgKi3wS5ijG
noah
merged commit 7d18896a0d into rebuild2026-10-21 01:49:14 -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.
The rig's control bridge waited 5 s for warden-ui's reply. On the lenovo QEMU host (garm-lxqemu, two TCG guests) a page build outran it: the bridge answered an empty reply, and the UI's late reply then landed after the next command's remove and was read as that command's answer. flare-edge#1448, job 54497:
assert_hit ... unparseable hit reply: '', thennav Settings/Security -- hit 360,337: obj ...(the nav got the hit's late reply), then on the retryassert_page Settings/Security -- page is ''; integration/popups-survive-rebuild failed the same way.Changes:
warden_ctl_bridgein rootfs/etc/warden-lib.sh, so a host test reaches it; init calls it on fd 3.WARDEN_CTL_WAIT_S), was 5 s. A timeout answersbridge: no reply from warden-ui within N s: <cmd>, and the next command first drains the late reply.Ctlraises the no-reply line as a rig fault (never judged as "page is ''"); control socket timeout 90 s (CTL_TIMEOUT_S), so it outlasts the bridge wait.Local gate:
Mutants: draining off (stale flag never set) fails "timeout answers no-reply; the late reply is not the next answer"; the old 5 s bound fails "default bound: a 6 s reply arrives".
The real-VM proof is the QEMU representative job on lenovo in flare-edge PR rb/w31-sdk-pin, which pins this branch.
Refs flare-edge#1448
Generated with Claude Code
https://claude.ai/code/session_01KerYPVh72hhNgKi3wS5ijG