Skip to content

Flaky test: herdr-core::ssh_hosts resolving_runs_a_bounded_number_of_children_and_asks_each_alias_once #728

Closed

Description

@yansfil

A local verification run found this test flaky: it failed once in a full scripts/verify-cargo.sh test run, then passed 5 of 5 times run alone on the same commit.

  • Test: herdr-core::ssh_hosts::tests::resolving_runs_a_bounded_number_of_children_and_asks_each_alias_once
  • System: macOS (Apple Silicon, 14 cores), host load average 55-67 from other builds at the time
  • First seen: local full-suite run on branch prd/instant-pane-topology (commit 13980671), which does not change herdr-core/src/ssh_hosts.rs
  • Expires: 2026-10-14

First attempt's failure:

thread 'ssh_hosts::tests::resolving_runs_a_bounded_number_of_children_and_asks_each_alias_once' panicked at herdr-core/src/ssh_hosts.rs:516:41:
called `Result::unwrap()` on an `Err` value: TimedOut
test result: FAILED. 1651 passed; 1 failed; 7 ignored

Each stand-in ssh is a shell script that runs mkdir, ls | wc -l and a 0.2 s sleep, four at a time for 12 aliases; one of them did not finish within the per-child RESOLVE_DEADLINE (3 s) while the host was saturated, so its outcome was TimedOut.
Fix the cause or delete the test by the expiry date; a flaky test is not left running. A longer timeout, more retries or a lower expectation does not end this issue. Each later flaky run adds a comment here.

Activity

  1. added
    bug
    quarantine
    on Oct 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugquarantine

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions