Nexoniarz
6e23d2a466
bootcheck: make the prompt wait survive a slow guest
...
Three bugs, all of which surfaced as a failed check somewhere other than
the command that was actually slow.
Wait-Prompt waited a fixed 20 s. These tests run under TCG, not KVM, and
a cold `ls /bin | wc -l` takes 23 s on the Fedora laptop measured with
the guest's own /proc/uptime -- it was over the wall every time. Raised
to 60 s; a long timeout only costs time when something is genuinely
wrong, a short one costs a false failure elsewhere.
It also matched a prompt anywhere in the transcript. Between writing a
command and the guest echoing it the log still ends with the previous
prompt, so it could return before the command had started and the next
one was typed on top of it. Anchor the match to text produced after the
command was sent.
On timeout it slept two seconds and typed regardless, which is what
turned one slow command into an interleaved transcript and a failure
attributed to a later check. Wait for output to stop arriving instead.
Report any command that never produced a prompt next to the result:
after one overrun every later check is reading a transcript that may be
interleaved, and that should not be something you have to notice in the
scrollback.
With this, -Fb -Tty -Usb -Sock -Evdev -Ps is 108 [ok], 0 misses.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-09 21:18:09 +02:00
..
MEMORY.md
Fix two bugs the Fedora move exposed
2026-08-09 19:29:21 +02:00
nexoniarz-sharing-preference.md
Carry project memory in the repo, with tools/memory-sync.sh
2026-08-09 14:27:22 +02:00
schfs-btree-phase1.md
Carry project memory in the repo, with tools/memory-sync.sh
2026-08-09 14:27:22 +02:00
schfs-phase2-mount.md
Carry project memory in the repo, with tools/memory-sync.sh
2026-08-09 14:27:22 +02:00
schfs-phase3-writes.md
Carry project memory in the repo, with tools/memory-sync.sh
2026-08-09 14:27:22 +02:00
schfs-v2-and-ramdisk.md
Carry project memory in the repo, with tools/memory-sync.sh
2026-08-09 14:27:22 +02:00
schos-boot-split.md
memory: schinit and the BIOS/UEFI split
2026-08-09 16:36:54 +02:00
schos-bootcheck-trust.md
bootcheck: make the prompt wait survive a slow guest
2026-08-09 21:18:09 +02:00
schos-cross-platform-build.md
Rewrite run.ps1; it was five kinds of stale
2026-08-09 14:49:47 +02:00
schos-fedora-move-bugs.md
Fix two bugs the Fedora move exposed
2026-08-09 19:29:21 +02:00
schos-linux-machine.md
Fix two bugs the Fedora move exposed
2026-08-09 19:29:21 +02:00
schos-memory-sync.md
Carry project memory in the repo, with tools/memory-sync.sh
2026-08-09 14:27:22 +02:00
schos-performance-and-init.md
memory: performance, init signal safety, and trusting the harness
2026-08-09 15:55:11 +02:00
schos-rename-and-git.md
Carry project memory in the repo, with tools/memory-sync.sh
2026-08-09 14:27:22 +02:00
schos-schinit.md
memory: schinit and the BIOS/UEFI split
2026-08-09 16:36:54 +02:00
schos-uefi-loader.md
memory: the e820 work, and why the extended suite flaps
2026-08-09 21:05:34 +02:00
schunix-boot-splash-logo.md
schinit: a launchd-shaped process 1
2026-08-09 16:36:13 +02:00
schunix-build-environment.md
Carry project memory in the repo, with tools/memory-sync.sh
2026-08-09 14:27:22 +02:00
schunix-build-speed.md
Carry project memory in the repo, with tools/memory-sync.sh
2026-08-09 14:27:22 +02:00
schunix-console-tty.md
Carry project memory in the repo, with tools/memory-sync.sh
2026-08-09 14:27:22 +02:00
schunix-crash-screen.md
Carry project memory in the repo, with tools/memory-sync.sh
2026-08-09 14:27:22 +02:00
schunix-devfs-procfs.md
Carry project memory in the repo, with tools/memory-sync.sh
2026-08-09 14:27:22 +02:00
schunix-device-model.md
Carry project memory in the repo, with tools/memory-sync.sh
2026-08-09 14:27:22 +02:00
schunix-dirsiz-14.md
Carry project memory in the repo, with tools/memory-sync.sh
2026-08-09 14:27:22 +02:00
schunix-doom-acceptance-test.md
Carry project memory in the repo, with tools/memory-sync.sh
2026-08-09 14:27:22 +02:00
schunix-driver-infrastructure.md
Carry project memory in the repo, with tools/memory-sync.sh
2026-08-09 14:27:22 +02:00
schunix-e1000-and-driver-layout.md
Carry project memory in the repo, with tools/memory-sync.sh
2026-08-09 14:27:22 +02:00
schunix-framebuffer-device.md
Carry project memory in the repo, with tools/memory-sync.sh
2026-08-09 14:27:22 +02:00
schunix-iso-boot.md
schinit: a launchd-shaped process 1
2026-08-09 16:36:13 +02:00
schunix-layout-migration.md
Carry project memory in the repo, with tools/memory-sync.sh
2026-08-09 14:27:22 +02:00
schunix-licensing.md
Carry project memory in the repo, with tools/memory-sync.sh
2026-08-09 14:27:22 +02:00
schunix-linux-abi-decision.md
Carry project memory in the repo, with tools/memory-sync.sh
2026-08-09 14:27:22 +02:00
schunix-linux-open-flags.md
Carry project memory in the repo, with tools/memory-sync.sh
2026-08-09 14:27:22 +02:00
schunix-network-stack-choice.md
Carry project memory in the repo, with tools/memory-sync.sh
2026-08-09 14:27:22 +02:00
schunix-pci-drivers.md
Carry project memory in the repo, with tools/memory-sync.sh
2026-08-09 14:27:22 +02:00
schunix-qr-encoder.md
Carry project memory in the repo, with tools/memory-sync.sh
2026-08-09 14:27:22 +02:00
schunix-ramdisk-root-sizing.md
Carry project memory in the repo, with tools/memory-sync.sh
2026-08-09 14:27:22 +02:00
schunix-rewrite-priorities.md
Carry project memory in the repo, with tools/memory-sync.sh
2026-08-09 14:27:22 +02:00
schunix-roadmap-and-projects.md
Carry project memory in the repo, with tools/memory-sync.sh
2026-08-09 14:27:22 +02:00
schunix-schapi-direction.md
Carry project memory in the repo, with tools/memory-sync.sh
2026-08-09 14:27:22 +02:00
schunix-shm-and-mmap.md
Carry project memory in the repo, with tools/memory-sync.sh
2026-08-09 14:27:22 +02:00
schunix-smp-and-memory-bugs.md
Carry project memory in the repo, with tools/memory-sync.sh
2026-08-09 14:27:22 +02:00
schunix-sockets-and-evdev.md
Carry project memory in the repo, with tools/memory-sync.sh
2026-08-09 14:27:22 +02:00
schunix-syscall-single-table.md
Carry project memory in the repo, with tools/memory-sync.sh
2026-08-09 14:27:22 +02:00
schunix-text-rendering.md
Carry project memory in the repo, with tools/memory-sync.sh
2026-08-09 14:27:22 +02:00
schunix-ttf-rasteriser.md
Carry project memory in the repo, with tools/memory-sync.sh
2026-08-09 14:27:22 +02:00
schunix-tty-fg-pgrp-coupling.md
Carry project memory in the repo, with tools/memory-sync.sh
2026-08-09 14:27:22 +02:00
schunix-usb-ids.md
Carry project memory in the repo, with tools/memory-sync.sh
2026-08-09 14:27:22 +02:00
schunix-usb-xhci.md
Carry project memory in the repo, with tools/memory-sync.sh
2026-08-09 14:27:22 +02:00
schunix-verify-by-driving-shell.md
Carry project memory in the repo, with tools/memory-sync.sh
2026-08-09 14:27:22 +02:00
schunix-virtio-gpu.md
Carry project memory in the repo, with tools/memory-sync.sh
2026-08-09 14:27:22 +02:00
schunix-wall-clock.md
Carry project memory in the repo, with tools/memory-sync.sh
2026-08-09 14:27:22 +02:00