Intermittent test failure for state::test::expiry on main
--- STDOUT: tor-hsclient state::test::expiry ---
running 1 test
2023-06-26T12:57:12.964697Z TRACE expiry: tor_hsclient::state: HS conn get_or_launch: HsId(aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaam2dqd.onion) NarrowableIsolation("") HsClientSecretKeys(0x7fdb40005230)
2023-06-26T12:57:12.964841Z TRACE expiry: tor_hsclient::state: HS conn state: Closed { data: MockData, last_used: Instant { tv_sec: 82081, tv_nsec: 41813300 } }
2023-06-26T12:57:12.964882Z TRACE expiry: tor_hsclient::state: HS conn state: Working { barrier_recv: Receiver, error: Mutex { data: None, poisoned: false, .. } }
2023-06-26T12:57:12.964960Z TRACE expiry: tor_hsclient::state: HS conn state: Open { data: MockData, last_used: Instant { tv_sec: 82081, tv_nsec: 41813300 }, circuit_expiry_task: CircuitExpiryTask }
2023-06-26T12:57:12.992756Z TRACE expiry: tor_hsclient::state: HS conn get_or_launch: HsId(aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaam2dqd.onion) NarrowableIsolation("") HsClientSecretKeys(0x7fdb40005230)
2023-06-26T12:57:12.992904Z TRACE expiry: tor_hsclient::state: HS conn state: Open { data: MockData, last_used: Instant { tv_sec: 82081, tv_nsec: 41813300 }, circuit_expiry_task: CircuitExpiryTask }
test state::test::expiry ... FAILED
failures:
failures:
state::test::expiry
test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 5 filtered out; finished in 0.04s
--- STDERR: tor-hsclient state::test::expiry ---
thread 'state::test::expiry' panicked at 'assertion failed: `(left != right)`
left: `MockCirc { ok: Mutex { data: true, poisoned: false, .. } }`,
right: `MockCirc { ok: Mutex { data: true, poisoned: false, .. } }`', crates/tor-hsclient/src/state.rs:843:13
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
This happens intermittently for me on current main.