Skip to content

Battery tools capture to fixed /tmp paths: concurrent batteries (and agents' debug-alloc runs) overwrite each other's output — flaky debug-alloc-tests and move-audit reds #2004

Closed

Description

@ehartford

Main 3044b9c's reseed battery went RED on debug-alloc-tests (6 clean fixtures: want 'leak count=0', exit 0) on a tree byte-identical to 029574d, whose battery was GREEN. tools/debug_drop.w's run_under_debug_alloc captured every case to the fixed paths /tmp/debug_drop_out.txt and /tmp/debug_drop_err.txt, and tools/move_audit.w writes cells to /tmp/move-audit-cells, so two batteries at once (or an agent's :debug-alloc-tests) overwrite each other's captures mid-read. Proof: the 6 failing fixtures run four lanes at once — the old lane: 7 of 24 case-runs FAIL; with per-process paths: 0 of 24. Same class as the shared capture directory the #1863 review found in pre_d_build_runner. Fix: per-process capture paths in both tools.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions