Skip to content

ci: test_gap_fs_fd_2749 is flaky on CI (passes 5/5 locally) — the last untriaged gap failure, randomly reds the required conformance gate #6396

Description

@proggeramlug

Summary

test_gap_fs_fd_2749 fails intermittently on CI and passes consistently locally. It is the only remaining untriaged gap failure, so every time it flakes it turns conformance-smoke — a required check — red on an unrelated PR.

Evidence

A PR that touches no Rust reddening an fs test is definitionally a flake, not a regression.

Why this matters more than one test

test-parity/known_failures.json has 33 triaged entries, and after #6363 and #6364 landed, this is the last untriaged one. So the no-new-untriaged gate is otherwise clean — meaning this single test is now the sole source of random red on the required conformance gate. That is exactly the condition that trains people to ignore a red gate, which is how the regressions this gate exists to catch (#5763, the 851-case test262 regression) got in.

Please do NOT just add it to known_failures.json

That would hide it. Two possibilities and they need different fixes:

  1. A harness/environment flake — fd exhaustion, a temp-path collision, or timing sensitivity, made worse by 8 conformance shards running concurrently on one runner. Fix the test's isolation (unique temp dirs, explicit fd close, no reliance on wall-clock).
  2. A genuine intermittent bug in Perry's fd handling that only surfaces under load. That would be a real defect and is worth much more than a skip-list line.

Reproducing it likely needs load: run the gap suite (or just this test) with concurrency on a busy machine, rather than standalone.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugConfirmed defect or regression

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions