igneum/tools/attack/f10-ladder/queue-box.sh
2026-10-07 10:02:44 +00:00

17 lines
1.4 KiB
Bash
Executable file

#!/bin/bash
# F10 queue on igneum-build-1: the five runs in order, each its own shared-lock chunk (run-one.sh), under one nohup;
# the known-failed and known-pass cases of the ladder lane's harness first (the harness is trusted only once both
# fire), then the exact-share cases. Pid in runs/queue.pid, the queue log in runs/queue.log, QUEUE-END at the end.
D=/srv/builds/igneum-wt-attack/attack-f10
mkdir -p "$D/runs"
nohup bash -c "
cd $D
bash run-one.sh baseline-fail latency-ladder.mjs --signal up,up,none --expect step --epochs 10 --secs 1500; echo \"queue: baseline-fail rc=\$?\"
bash run-one.sh baseline-pass latency-ladder.mjs --signal up,up,up --expect step --secs 1500; echo \"queue: baseline-pass rc=\$?\"
bash run-one.sh exact-89 ladder-exact.mjs --case eighty-nine --window 100 --schedule 0:up:11,1200:up:10 --expect-steps 31:1,43:2 --epochs 45 --rate 8 --secs 1500; echo \"queue: exact-89 rc=\$?\"
bash run-one.sh exact-down ladder-exact.mjs --case down --window 100 --schedule 0:up:0,720:down:11,1500:down:10 --expect-steps 12:1,36:0 --epochs 50 --rate 8 --restart 2@1000,1@2300,2@2700 --secs 1500; echo \"queue: exact-down rc=\$?\"
bash run-one.sh exact-floor ladder-exact.mjs --case floor --window 100 --schedule 0:down:0 --epochs 20 --rate 8 --secs 600; echo \"queue: exact-floor rc=\$?\"
echo \"QUEUE-END \$(date -u +%FT%TZ)\"
" > "$D/runs/queue.log" 2>&1 &
echo $! > "$D/runs/queue.pid"
echo "queue started pid $(cat "$D/runs/queue.pid")"