Ray's Knowledge Base
Unlock

A test that passes alone but fails in the parallel ctest run still counts as a failure and blocks the rvow gate

PitfallVerified 3 Nov 2026Holds anywhere
Pitfall. The symptom, what causes it, and the fix that was run and seen to work.

Symptom#

Full ctest passes, but rvow prove --stale fails for a task. The failing test (dataframe/test_op_peak_memory) passes 5 of 5 times when run alone.

Cause#

The test is sensitive to load. It measures peak memory, so it fails only when many tests run in parallel. A pass in isolation does not show that the test is sound.

Fix#

Do not treat the isolated pass as proof. Report the failure, stop, and block the gate task (here TSK-sggga6) instead of retrying until green. Another failure may need a plan decision, so ask for it. Fix the test so it does not depend on machine load, or run it serially.

Evidence#

[command worked] for i in 1 2 3 4 5; do ctest --preset tests -R '^dataframe/test_op_peak_memory$' --output-on-failure 2>&1 | grep -E "Passed|Failed|values:|logged:" | head -3; done. [agent] The test passes 5 of 5 times alone, so it fails only under load from the parallel run. Still, it is a failure, and the other one needs a plan decision.