A boot that times nothing need not hold the whole host. probe-batch.sh's
--shared and lane-gate.sh's --shared-boot dispatch the job with the 5080
alone (no --exclusive), so other jobs' builds can run beside it once its
run.sh's 180 s wait for them ends. The bench boot keeps the whole host.
A probe round's guest payload carried only bench, so a host hook driving
msi-drag.py in one (c13-mission's Mission Control segments) found no
~/lane-gate/winmon: every segment read moved=0, "no TextEdit or Finder
window to lay out" (round 20261105-104754). probe-batch.sh now ships the
gate run's winmon beside bench where the run has one, and msi-round.sh
copies all it ships into the round's payload.
c13-paravirt-perf's profile hook lives with that lane: --bin FILE puts it
beside the gate's host scripts as {DIR}/bin/NAME, and --after now gets the
round's directory for {DIR} as a --qemu-hook does.
The S1 repro now runs as rgk-icb-2's own probe, which prints no MARK lines:
the hook streams the guest's log for the probe named S1_PROBE from its start
to its end. --kring-s S takes the kext's lines from the kernel ring every S
seconds in a captured round, so a panic leaves more of its close's timeline.
A --stage-local probe whose .base names a probe directory on the lane host
takes that one's files with its own over them, so a changed run.sh rides
the round's commit without the probe's media.
A round can now stage a probe from this machine (--stage-local), carried in
the round's commit, so a probe with a binary built from the car's own source
travels without a deploy. --appload runs the gate's app load on the desktop
before the probes, for checks that need its busy WindowServer. The round
copies every host script of the gate, so a hook can live beside them.
A round whose host tip no gate built (a lane's probe-only host) now takes the bench
of the guest it boots, the image tip's run, before falling back to the newest run's.
probe-batch runs under set -e and pipefail, so the ls of the tip's runs failing (no
run for a lane's probe-only host, such as 41ca29975) ended the round silently with
exit 1 before its fallback to the newest run's bench.
scout's car 10 app table needs a control on the stock graphics devices: the
owner VM's OpenCore image, the dist's ReimsVgpu.rom, apple-gfx-pci with its
iosurface, VideoToolbox and scaler devices as reims-ctl gives an x86-64 VM, and
a trace file. probe-batch.sh's --image, --rom, --gfx-b64 (QEMU's graphics
arguments in place of reims-graphics-pci), --qemu-env and --no-metal-check carry
those into the round's boot.env, and msi-boot.sh exports them for QEMU and
leaves out its check that the guest's Metal device is ours.
potluck reserves an exclusive job's start at the latest limit among the jobs
running on its machine, and lets jobs that end by their own limit start ahead
of it: a 2 h build limit held msi's reservation hours out. The host build gets
30 minutes (it took 533 s cold), the correctness boot 40, the bench 30, and a
round its hold and 12 minutes (40 more with --after).
ring0-audit reads its MEAS lines in QEMU's host log, which stayed on the lane
host: the boot job now copies launch.log.gz back with the boot's other files. A
round with --after gets 40 minutes more of job time for its command.
A round's changes on the lane host (moving its probes out of the queue, the
boot, the statuses, putting unreached probes back) now run in one potluck job
holding the 5080 and the whole host (msi-round.sh), dispatched from a throwaway
commit of the round's own (ship-commit.sh) that carries the gate's host scripts,
the tip's bench and the round's boot.env. probe-batch.sh only reads the host's
queue and published tips. --stage NAME=DIR[@TIP] copies a probe from a directory
on the host into the round inside the job, which replaces staging over ssh;
--ram sets the job's memory and --after runs a command after the boot in the
job (a hook's post-processing). --dry-run does not run as a job yet.
s1-hang times its rounds against the bench boots, which log at info; the
round's default filter adds the presents' trace lines, which cost each op.
--host-log FILTER replaces the round's filter.
scout-apps-2's car 9 table rounds run with reims_vgpu_vulkan::icb_writes at
debug, a target off by default, to say which pipelines write ICBs on the
renderBundles page with no boot of their own: --log-add FILTER appends its
directives to the round's host log filter.
s1-hang's runtime-import pair needs the host's memory brought to a desktop's
state just before QEMU starts, with nothing else on the GPU meanwhile. A
round's --pre-qemu CMD runs CMD in the QEMU wrapper under the lock, just
before the exec, its output in the round's pre-qemu.txt; the hook starts after
it.
A round with no probe (--catch-from-boot --only none) stopped at once: bash 3.2
calls an empty array unbound under set -u. The take list's uses now allow it
empty.
Car 9's slow first present came from the host's first run of a new runtime,
which warmed its pipeline cache cold. A round's --cold-cache KEY boots with
the host's cache entry KEY set aside and puts it back once QEMU has stopped,
both under the boot's GPU lock (a wrapper run.sh execs in QEMU's place); its
--qemu-hook CMD starts CMD with QEMU ({PID}, {DIR}), and the from-boot catcher
keeps QEMU's screen every 5 s until the first present.
A restart that car 9's image shows on its first boot needs its one-variable
controls: car 9's image on car 8's host, and car 8's image on car 9's. A round's
--host-tip and --image-tip boot another published tip's host build or image
in place of the round's own.
Car 9's image restarted the guest once before its desktop, and the hang
catcher, started with the probes after the desktop, saw none of it. A round
with --catch-from-boot starts the catcher with QEMU (msi-boot.sh's
CATCH_FROM_BOOT, msi-hang-catch.py --from-boot): a second hand-off to the
kernel on the serial console is a restart, and the host log silent 10 s after
the kext started and before the first present is a hang, caught as one. The
probes use that catcher, and such a round runs with no probe too.
The S1 fix's proof probe asked for 200 s, which a round took and its guest
side then skipped, its limit being 180 s: the proof round ran nothing of it.
A round's hold is set per round now (--hold), so a budget may run to 300 s.
A probe round's hang catcher was a copy kept outside the tree, and it read the
S1 panic's restart as a stall: a catch of the new boot idling, and no panic
report. The catcher now ships with the round (msi-hang-catch.py). Once SSH has
answered, a device reset in the host log or a boot banner on the serial
console marks a restart, SSH failing then takes no catch, and once SSH answers
again it fetches the guest's info and the panic reports written since.
A probe that freezes the guest has to come last in a round of its own, so an
ordinary round must not take it first. --exclude NAME,... leaves those probes
in the queue.
A car 8 round's guest locked up with every vCPU spinning in guest mode, and the
round stopped QEMU with nothing of the guest's state kept. A probe round now
runs the hang catcher (HANG_CATCH, s1-hang's, where it is on the lane host)
beside its probes and waits for a catch it started before QEMU stops. Where a
probe fails and the guest's SSH no longer answers, msi-hang.py keeps the
scanout (and, with no catcher, QEMU's threads and every vCPU's registers and
stack), and the probes after it go back to the queue. Every boot records the
kext's load address, and --only NAME,... takes the named probes alone.
The guest side ran a round's probes in name order, so --first put a probe at
the head of the queue but not first in the boot, and spg-repro, which takes
every free 2 MiB of guest RAM, ran before spg-slabs. The round now writes its
take order into the probes' directory, and the guest side follows it.
A plain round takes probes oldest first, so a probe a fix's round is for can
wait behind older ones, and three probes of 500 s of budget need 545 s of the
540 s the default hold leaves them. --first NAME,... puts the named probes at
the head of the queue, in that order, and --hold S sets one round's hold.
A round took the oldest probe's tip, so one probe left for car 7 held car 8's
eleven behind it. The round's tip is now the newest publish whenever a probe
waits for it, and only else the oldest probe's tip that is still published.
A boot whose kernel-ring reader read none of the kext's lines (car 7's gate
boot, which still read the empty log store) counted 0 stalls and passed. The
item is now NOTRUN when no kext line was read. A capture probe round counts
the stalls over its whole boot as well, and prints them with its capture.
The scanout in guest memory is the screen only until WindowServer presents
its first IOSurface; from there the display shows IOSurfaces held in the
host's device caches and the scanout is not drawn again. The reader now
stops at launch.log's first present line and says when, and capture.txt
says the frames end there. A probe round now ships msi-capture.py (round 3
captured nothing without it), and the probe shot poller lists without a
glob, which the guest's zsh fails when nothing matches.
Car 7's gate boot lost its scanout capture (fixed in a290031f8), and a new
capture costs a boot. A probe round boots the published tip anyway, so it
can carry the capture: --capture captures the round's boot as the gate's
--capture-boot does, logs the host's presents and its graphics debug
lines, and runs with no probe too. Its wait for the Dock to settle comes
off the probes' budget. --tip SHA picks the round's tip among the
published ones.
aud-waits dropped an A/B pair of probes, one for 553660eb3 and one for
dbbe5d171. The newest-tip rule would have skipped the first, and once
car 7 published it would have skipped the second too, while both tips'
images and hosts stay on the lane host. A round now boots the tip of the
oldest probe whose tip has a published build (tip-host/SHORT and
loader-fix/oc-sipon-SHORT.qcow2). It takes that tip's probes, and the
probes for other published tips wait for their own round. A probe whose
tip has no published build is still skipped, its results saying so.
screencapture in a probe fails over SSH ("could not create image from
display"): sshd's session has no Screen Recording grant. A probe whose
directory holds a file named shots now runs `bash ~/probes/.shot.sh
LABEL`. The host polls the probe's out/ for the request once a second,
sends Command-Shift-3 over QMP, and moves the guest's new Desktop
screenshot to out/shot-LABEL.png, as msi-boot.sh takes the desktop's
shot. shots.txt says when each came. Probes without the file are not
polled. The dry run's first probe takes one.
The NVIDIA driver logs its GPU errors as the kernel's NVRM Xid lines: an
Xid 109 (CTX SWITCH TIMEOUT) from a QEMU on the lane host showed only in
dmesg. msi-xid.sh reads them over a span with each one's number, pid and
process. msi-boot.sh records the boot's in xid.txt, and report.py's
host.no-xid fails a boot on one from its own QEMU and names the other
processes'. That covers gate, bench and probe boots, and each probe also
gets its own span's lines.
Probe boots log reims_graphics at trace: the display's PRESENT_SURFACE
lines, its only trace site, so a probe's host.log slice counts composites
(about 23 lines a second at 120 Hz). Gate and bench boots stay at info.
msi's exclusive queue ran 7 to 10 deep all afternoon, most of it boots that
ran a probe on a tip the gate already publishes. Agents now drop a probe in
the lane host's probe-queue (run.sh, budget, tip) and probe-batch.sh runs a
round: the published tip booted once through msi-boot.sh, exclusive, the
host's load settled under 4, then the probes back to back within the hold,
each with its stdout, stderr, exit status, wall time, QEMU log slice and GPU
clocks in probe-results/NAME. The guest kills a probe's process group at its
budget; a probe for another tip is skipped and says so; one the hold does not
reach goes back to the queue. --dry-run shows a round on the Mac with a
directory standing in for the guest.