pic's suites also run under Fil-C, where any memory error is a crash, on
hetzner-hel. tools/remote/run.sh drives a run: it snapshots the sources, supervises the job with
transient systemd units, collects the evidence and tears everything down.
A pic run
nonce=$(od -An -N8 -tx1 /dev/urandom | tr -d ' \n')
run="$PWD/build/qualification/remote/pic-$nonce"
sh tools/remote/run.sh prepare "$run" "$nonce" pic
sh tools/remote/run.sh preflight "$run"
sh tools/remote/run.sh start "$run"
sh tools/remote/run.sh upload "$run"
sh tools/remote/run.sh work "$run"
sh tools/remote/run.sh observe "$run"
sh tools/remote/run.sh collect "$run"
sh tools/remote/run.sh teardown "$run"
sh tools/remote/run.sh reconcile "$run"
prepare fixes the source list: every .c, .h, .inc, .sh, .sse, .want and .sql file
under src/, test/pic/ and test/tui/, the vendored sources, and tools/remote/payload.sh,
which compiles and runs everything on the host. Generated sources that are not committed
(src/changelog.inc) are built by prepare first, so the snapshot has them. pic mode compiles
SQLite, libfossil and BearSSL under Fil-C and runs the whole pic suite, with a longer lease and more
memory than the fixture modes.
On any failure, still run teardown and reconcile. make filc-remote REMOTE_RUN="$run" verifies an
already executed run; it does not launch one.
The compiler and archive pins are in tools/remote/pins.sh. The bounds, the unit layout and the
record of the first runs are in the S0 remote
lifecycle.