Commit f80d7e4
authored
fix(e2e): dedupe automine test cmds causing mass container-kill flakes (#24547)
Stacked on #24477. Fixes the 49-per-run automine FLAKEs reported there
and on this PR's first run.
**Root cause** (`yarn-project/end-to-end/bootstrap.sh`): the `tests`
array listed the automine subdirectories explicitly and also kept the
`src/automine/!(simulation)/**/*.test.ts` catch-all (a merge artifact
from merging merge-train/fairies-v5 into
mv/e2e-onchain-delivery-harness), so every nested automine test was
emitted as two byte-identical cmds (268 jobs for 145 tests). Both copies
run under the same docker container name. When the two copies overlap in
time, the later one's docker_isolate force-removes the earlier one's
live container (or wins the name-conflict retry added in #24477), the
earlier test fails, and its automatic retry (which gets a fresh
`NAME_POSTFIX`) passes: a deterministic FLAKED-with-code-0 for every
overlapping pair, which is why the count sits near 49 on every run and
why only `src/automine/**` flakes. When the copies do not overlap, the
second is skipped by the test cache, hiding the duplication. The parent
branch's "docker container name conflicts" were the same duplication
seen from the other side.
- Remove the seven redundant per-directory globs; the deduplicated
unique cmd set is unchanged (verified byte-identical before/after, 145
automine jobs, zero duplicates in both `CI_FULL` modes).1 parent 59d45f6 commit f80d7e4
1 file changed
Lines changed: 0 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | 56 | | |
64 | 57 | | |
65 | 58 | | |
| |||
0 commit comments