SchOS/tools
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Nexoniarz 4e0478c21a bootcheck: reap a QEMU left behind by a killed run
The `finally` stops QEMU on every path the script controls, but not when
the script itself is killed -- a CI timeout, Ctrl-C at the wrong moment,
pkill. QEMU then keeps running with no parent. Because these tests run
under TCG rather than KVM, a spare emulator pinning a core slows every
later run, and one was found still executing the guest at 86% of a core
eight minutes after its parent was gone.

That is the bad kind of failure: the suite does not break, it gets
slower, and commands drift past Wait-Prompt's timeout until the next one
is typed into a busy shell and the transcript interleaves. The check
that then fails is unrelated to whatever actually changed.

Record the pid on startup and reap the previous run's leftover before
starting a new one, the same self-healing approach already used for the
monitor port. The name is checked before killing, because pids are
recycled and killing an unrelated process would be worse than the leak.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-09 21:04:39 +02:00
..
posix Prepare for the move to Fedora 2026-08-09 17:25:07 +02:00
python tools: group scripts by what runs them 2026-08-09 14:38:02 +02:00
windows bootcheck: reap a QEMU left behind by a killed run 2026-08-09 21:04:39 +02:00
mkfs.c Fix two bugs the Fedora move exposed 2026-08-09 19:29:21 +02:00
mkschfs.c Build and tools work on Linux, macOS and BSD as well as Windows 2026-08-09 14:24:53 +02:00
padstage2.pl Initial commit: Schunix as it stands before the SchOS rename 2026-08-09 13:47:01 +02:00
pr.pl Initial commit: Schunix as it stands before the SchOS rename 2026-08-09 13:47:01 +02:00
qrtest.c Rename Schunix to SchOS; the kernel becomes SchIFT 2026-08-09 14:09:59 +02:00
schfs_fsck.c tools: group scripts by what runs them 2026-08-09 14:38:02 +02:00
schfs_objtest.c Initial commit: Schunix as it stands before the SchOS rename 2026-08-09 13:47:01 +02:00
schfs_test.c Initial commit: Schunix as it stands before the SchOS rename 2026-08-09 13:47:01 +02:00
sign.pl Initial commit: Schunix as it stands before the SchOS rename 2026-08-09 13:47:01 +02:00
ttftest.c Initial commit: Schunix as it stands before the SchOS rename 2026-08-09 13:47:01 +02:00
vectors.pl Initial commit: Schunix as it stands before the SchOS rename 2026-08-09 13:47:01 +02:00