wide-midnight-78598
10/29/2025, 6:55 PMwide-midnight-78598
10/29/2025, 6:55 PMthread 'test_sandboxer_process' panicked at process_execution/sandboxer/tests/integration_test.rs:70:5:
assertion failed: !sandboxer.is_alive().await.unwrap()
stack backtrace:
0: __rustc::rust_begin_unwind
at /rustc/29483883eed69d5fb4db01964cdf2af4d86e9cb2/library/std/src/panicking.rs:697:5
1: core::panicking::panic_fmt
at /rustc/29483883eed69d5fb4db01964cdf2af4d86e9cb2/library/core/src/panicking.rs:75:14
2: core::panicking::panic
at /rustc/29483883eed69d5fb4db01964cdf2af4d86e9cb2/library/core/src/panicking.rs:145:5
3: integration_test::test_sandboxer_process::{{closure}}
at ./tests/integration_test.rs:70:5
4: <core::pin::Pin<P> as core::future::future::Future>::poll
at /rustc/29483883eed69d5fb4db01964cdf2af4d86e9cb2/library/core/src/future/future.rs:124:9
5: <core::pin::Pin<P> as core::future::future::Future>::poll
at /rustc/29483883eed69d5fb4db01964cdf2af4d86e9cb2/library/core/src/future/future.rs:124:9
6: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}
at /Users/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/runtime/scheduler/current_thread/mod.rs:742:70
7: tokio::task::coop::with_budget
at /Users/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/task/coop/mod.rs:167:5
8: tokio::task::coop::budget
at /Users/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/task/coop/mod.rs:133:5
9: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}
at /Users/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/runtime/scheduler/current_thread/mod.rs:742:25
10: tokio::runtime::scheduler::current_thread::Context::enter
at /Users/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/runtime/scheduler/current_thread/mod.rs:432:19
11: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}
at /Users/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/runtime/scheduler/current_thread/mod.rs:741:44
12: tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}
at /Users/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/runtime/scheduler/current_thread/mod.rs:829:68
13: tokio::runtime::context::scoped::Scoped<T>::set
at /Users/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/runtime/context/scoped.rs:40:9
14: tokio::runtime::context::set_scheduler::{{closure}}
at /Users/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/runtime/context.rs:176:38
15: std::thread::local::LocalKey<T>::try_with
at /rustc/29483883eed69d5fb4db01964cdf2af4d86e9cb2/library/std/src/thread/local.rs:315:12
16: std::thread::local::LocalKey<T>::with
at /rustc/29483883eed69d5fb4db01964cdf2af4d86e9cb2/library/std/src/thread/local.rs:279:20
17: tokio::runtime::context::set_scheduler
at /Users/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/runtime/context.rs:176:17
18: tokio::runtime::scheduler::current_thread::CoreGuard::enter
at /Users/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/runtime/scheduler/current_thread/mod.rs:829:27
19: tokio::runtime::scheduler::current_thread::CoreGuard::block_on
at /Users/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/runtime/scheduler/current_thread/mod.rs:729:24
20: tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}
at /Users/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/runtime/scheduler/current_thread/mod.rs:200:33
21: tokio::runtime::context::runtime::enter_runtime
at /Users/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/runtime/context/runtime.rs:65:16
22: tokio::runtime::scheduler::current_thread::CurrentThread::block_on
at /Users/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/runtime/scheduler/current_thread/mod.rs:188:9
23: tokio::runtime::runtime::Runtime::block_on_inner
at /Users/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/runtime/runtime.rs:368:52
24: tokio::runtime::runtime::Runtime::block_on
at /Users/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/runtime/runtime.rs:342:18
25: integration_test::test_sandboxer_process
at ./tests/integration_test.rs:70:50
26: integration_test::test_sandboxer_process::{{closure}}
at ./tests/integration_test.rs:21:34
27: core::ops::function::FnOnce::call_once
at /rustc/29483883eed69d5fb4db01964cdf2af4d86e9cb2/library/core/src/ops/function.rs:250:5
28: core::ops::function::FnOnce::call_once
at /rustc/29483883eed69d5fb4db01964cdf2af4d86e9cb2/library/core/src/ops/function.rs:250:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
test test_sandboxer_process ... FAILEDwide-midnight-78598
10/29/2025, 6:55 PMhappy-kitchen-89482
10/29/2025, 7:30 PMwide-midnight-78598
10/29/2025, 7:52 PMwide-midnight-78598
10/29/2025, 7:55 PMhappy-kitchen-89482
10/29/2025, 8:06 PMwide-midnight-78598
10/29/2025, 8:12 PMwide-midnight-78598
10/29/2025, 8:31 PMlet path = sandboxer.socket_path();
fs::remove_file(path).unwrap();
while fs::exists(path).unwrap() {
thread::sleep(Duration::from_millis(1));
}
thread::sleep(SandboxerService::POLLING_INTERVAL * 2);
assert!(!sandboxer.is_alive().await.unwrap());
That works... If I remove the multiplier from the POLLING_INTERVAL, I've never gotten it to succeed (20 attempts).
Makes some sense, as you'd assume you need at least 1 polling interval (lower bound), but it's just one of those weird timing thingswide-midnight-78598
10/29/2025, 8:34 PMhappy-kitchen-89482
10/29/2025, 9:24 PMwide-midnight-78598
10/29/2025, 9:27 PMfast-nail-55400
10/29/2025, 10:17 PMfresh-mechanic-68429
12/04/2025, 3:57 AMhappy-kitchen-89482
12/04/2025, 4:30 AMhappy-kitchen-89482
12/04/2025, 4:32 AMhappy-kitchen-89482
12/04/2025, 4:49 AMhappy-kitchen-89482
12/04/2025, 8:46 PMfresh-mechanic-68429
12/04/2025, 8:49 PM