You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Flaky tests: fixed wall-clock deadlines in process supervision, exec transport and transfer tests #5672
Four test families with fixed wall-clock deadlines fail intermittently in CI and pass on a re-run of the same commit. Between 2026-11-03 and 2026-11-05 they failed on at least ten unrelated pull requests, in the merge queue and on main, in each case without the change touching the code under test.
A re-run of the failed jobs passed on the same commit for #5603, #5595 and #5537. The same tests also pass in repeated local runs, at the PR heads and at main (#5603: 3 of 3 each).
Common cause: each test bounds a real process or sandbox operation with a fixed wall-clock deadline: a termination deadline, an exec timeout, an HTTP close, a transfer budget. The failure messages are timeouts or deadline errors ("termination deadline exceeded", TimeoutError) rather than wrong results. On a loaded runner the operation takes longer than the fixed budget, so the test fails without any change in behaviour.
Possible fix:
assert the ordering and the enforcement (the supervisor stopped at the deadline, children were left to the sandbox owner) instead of an absolute time window;
or derive each deadline from a baseline measured in the test, for example a multiple of a no-op exec;
or run these tests serially (an xdist_group or a marker), so they do not compete with the rest of the shard.
Activity
test(agent): stabilize supervision and exec-transport tests
test(agent): stabilize supervision and exec-transport tests
test(agent): stabilize supervision and exec-transport tests and fence…