fix: start core_probe one way from every probe

pack_probe and region_check run core_probe through probes.host.run_when_idle:
a busy refusal is retried until the wait runs out, a timeout kills the
run's whole process group, and pack_probe takes core_probe's own probe
lock, which honours RETROBIOS_PROBE_LOCK_HELD. core_probe names its busy
exit status EXIT_BUSY.
This commit is contained in:
Abdessamad Derraz committed 2026-11-21 06:04:23 +01:00
1 parent 922d60807f
commit d2984bc466
7 files changed
+49 -60

No files matched your search

+1 -1
View File
@@ -237,7 +237,7 @@ class Campaign:
return ProbeResult(DONE, record=json.loads(proc.stdout), log=str(log))
except ValueError:
return ProbeResult(FAILED, reason="core_probe printed no record", log=str(log))
if proc.returncode == 3:
if proc.returncode == core_probe.EXIT_BUSY:
# Refused on a busy host: wait for it to settle and run it again.
busy += 1
if busy >= CRASH_ATTEMPTS: