What happened (2026-10-18)
The Spark judge (aien-test worker) took /tmp/aien-gb10.lock for the gb10 job of physics #64 (head d13b5d99, gate PHYSICS-FORGE-GATE34) and ran tests/run_forge_gates.sh in its sandbox. The script opened the lock file again and ran flock -x 9, which waited on the judge, its own parent, for 83 minutes (06:50Z to 08:13Z). gb10 jobs have no timeout by design (aien-run-exec: "chip runs are never killed"), so every chip job on the Spark queued behind it.
Cause, from man 2 flock: "If a process uses open(2) (or similar) to obtain more than one file descriptor for the same file, these file descriptors are treated independently by flock(). An attempt to lock the file using one of these file descriptors may be denied by a lock that the calling process has already placed via another file descriptor."
On main the same three GPU gate scripts (run_forge_gates.sh, run_nvrm_lifecycle_gates.sh, run_submission_visibility_gates.sh) fail at once under the judge instead: their O_CREAT open of the judge's file in sticky /tmp is refused (fs.protected_regular=2). #64's read-only open (sc#627) turned that refusal into the hang.
Unstuck at 08:13Z by stopping only the waiting flock -x 9 process (it never touched the GPU); the judge then released the lock. The FAIL recorded for #64 / d13b5d99 is this deadlock, not a gate result.
Fix
A gate skips its own lock when an ancestor process already holds it (checked through /proc/locks and the PPid chain; the gb10 sandbox profile shares the PID namespace), and otherwise waits for the lock as before. PR to follow.