IRL2 / nanover-rs

Other
0 stars 0 forks source link

Tests fail in CI on MacOS #218

Closed jbarnoud closed 1 month ago

jbarnoud commented 2 months ago
---- test_essd_stop stdout ----
[2024-04-30T08:02:30Z INFO  frame] TEST_ESSD_STOP
[2024-04-30T08:02:30Z INFO  frame] Server started on port 49200
[2024-04-30T08:02:30Z INFO  nanover_rs::application] Running a queue of 3 simulations.
[2024-04-30T08:02:30Z DEBUG nanover_rs::application] * /Users/runner/work/nanover-rs/nanover-rs/nanover-rs/ressources/tests/17-ala.xml
[2024-04-30T08:02:30Z DEBUG nanover_rs::application] * /Users/runner/work/nanover-rs/nanover-rs/nanover-rs/ressources/tests/buckyballs.xml
[2024-04-30T08:02:30Z DEBUG nanover_rs::application] * /Users/runner/work/nanover-rs/nanover-rs/nanover-rs/ressources/tests/helicene.xml
[2024-04-30T08:02:30Z DEBUG nanover_rs::simulation] Particles in the structure: 173
[2024-04-30T08:02:30Z DEBUG nanover_rs::simulation] Entering the unsafe section
[2024-04-30T08:02:30Z DEBUG nanover_rs::simulation] Loading plugins
[2024-04-30T08:02:30Z TRACE nanover_rs::simulation] Attempting to load plugins next to the executable.
[2024-04-30T08:02:30Z TRACE nanover_rs::simulation] The executable is in /Users/runner/work/nanover-rs/nanover-rs/target/debug/deps/frame-43b238dfdf8ec2ba
[2024-04-30T08:02:30Z TRACE nanover_rs::simulation] Did not find the OpenMM plugins next to the executable: /Users/runner/work/nanover-rs/nanover-rs/target/debug/deps/lib/plugins is not a directory.
[2024-04-30T08:02:30Z WARN  nanover_rs::simulation] No plugin to load, set OPENMM_PLUGIN_DIR
[2024-04-30T08:02:30Z DEBUG nanover_rs::simulation] Number of platforms registered: 1
[2024-04-30T08:02:30Z DEBUG nanover_rs::simulation] Coordinate array built
[2024-04-30T08:02:30Z DEBUG nanover_rs::simulation] System read
[2024-04-30T08:02:30Z DEBUG nanover_rs::simulation] Particles in system: 173
[2024-04-30T08:02:30Z DEBUG nanover_rs::simulation] Integrator read
[2024-04-30T08:02:30Z INFO  nanover_rs::application] Advertise the server with ESSD
[2024-04-30T08:02:30Z INFO  nanover_rs::application] Listening to 0.0.0.0:49200
[2024-04-30T08:02:30Z INFO  frame] Client connecting to http://127.0.0.1:49200/
[2024-04-30T08:02:30Z INFO  nanover_rs::simulation_thread] Platform: Reference
[2024-04-30T08:02:30Z INFO  nanover_rs::simulation_thread] Start simulating
[2024-04-30T08:02:30Z INFO  nanover_rs::simulation_thread] Simulation interval: 33 ms
[2024-04-30T08:02:30Z INFO  frame] Requesting ESSD before closing the server.
thread 'test_essd_stop' panicked at /Users/runner/work/nanover-rs/nanover-rs/nanover-rs/src/essd.rs:40:22:
called `Result::unwrap()` on an `Err` value: Os { code: 22, kind: InvalidInput, message: "Invalid argument" }
stack backtrace:
   0:        0x102ee1a78 - std::backtrace_rs::backtrace::libunwind::trace::h89330013351db63c
                               at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
   1:        0x102ee1a78 - std::backtrace_rs::backtrace::trace_unsynchronized::hef5ed454b5e9a42a
                               at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
   2:        0x102ee1a78 - std::sys_common::backtrace::_print_fmt::h661fed69b93a32f7
                               at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys_common/backtrace.rs:68:5
   3:        0x102ee1a78 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h0aa20ca08aeb683c
                               at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys_common/backtrace.rs:44:22
   4:        0x102f030fc - core::fmt::rt::Argument::fmt::h0c1f3a7ec00b5b49
                               at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/fmt/rt.rs:142:9
   5:        0x102f030fc - core::fmt::write::h168dbafcf35bac68
                               at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/fmt/mod.rs:1120:17
   6:        0x102edea44 - std::io::Write::write_fmt::h6542afca710d2aa1
                               at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/io/mod.rs:1846:15
   7:        0x102ee18ac - std::sys_common::backtrace::_print::h7d087ee39ce46706
                               at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys_common/backtrace.rs:47:5
   8:        0x102ee18ac - std::sys_common::backtrace::print::h57b289e4b951ee17
                               at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys_common/backtrace.rs:34:9
   9:        0x102ee33e8 - std::panicking::default_hook::{{closure}}::h783b6c512154ec65
  10:        0x102ee308c - std::panicking::default_hook::hcdfa9e1e0f234a4f
                               at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:289:9
  11:        0x1027c6178 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h3cf3ce73e84ce225
                               at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/alloc/src/boxed.rs:2029:9
  12:        0x1027c6178 - test::test_main::{{closure}}::h9d56b9ce955dc4cd
                               at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/test/src/lib.rs:138:21
  13:        0x102ee395c - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hb13168aedd865984
                               at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/alloc/src/boxed.rs:2029:9
  14:        0x102ee395c - std::panicking::rust_panic_with_hook::h9aea678ca49d64cf
                               at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:785:13
  15:        0x102ee3718 - std::panicking::begin_panic_handler::{{closure}}::ha16c3377e66deceb
                               at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:659:13
  16:        0x102ee1efc - std::sys_common::backtrace::__rust_end_short_backtrace::hea8fdda1ea8a4c0e
                               at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys_common/backtrace.rs:171:18
  17:        0x102ee34a0 - rust_begin_unwind
                               at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:647:5
  18:        0x102f1f034 - core::panicking::panic_fmt::h1cb43b60f5788132
                               at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panicking.rs:72:14
  19:        0x102f1f474 - core::result::unwrap_failed::h71a35eff74d84b68
                               at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/result.rs:1649:5
  20:        0x102733680 - core::result::Result<T,E>::unwrap::hb0fa81f3b57dffd1
                               at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/result.rs:1073:23
  21:        0x102733680 - nanover_rs::essd::serve_essd::{{closure}}::h2a6b62db4cae323a
                               at /Users/runner/work/nanover-rs/nanover-rs/nanover-rs/src/essd.rs:37:17
  22:        0x10277434c - tokio::runtime::task::core::Core<T,S>::poll::{{closure}}::h13218901c969c1b0
                               at /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/task/core.rs:328:17
  23:        0x102771f3c - tokio::loom::std::unsafe_cell::UnsafeCell<T>::with_mut::h19537ce6046ff5d1
                               at /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/loom/std/unsafe_cell.rs:16:9
  24:        0x102771f3c - tokio::runtime::task::core::Core<T,S>::poll::h4152d1480f683878
                               at /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/task/core.rs:317:13
  25:        0x1026e7028 - tokio::runtime::task::harness::poll_future::{{closure}}::ha7587ae98deb685e
                               at /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/task/harness.rs:485:19
  26:        0x10269eeb0 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h6ec331a81330f0b2
                               at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9
  27:        0x102711d98 - std::panicking::try::do_call::hd83380e98101b31a
                               at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40
  28:        0x102717a30 - ___rust_try
  29:        0x10270bc44 - std::panicking::try::h9780ee8fa9ef9cf2
                               at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19
  30:        0x102767198 - std::panic::catch_unwind::hd9d743b028e19aa5
                               at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14
  31:        0x1026e2b58 - tokio::runtime::task::harness::poll_future::h4137700cebd906a7
                               at /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/task/harness.rs:473:18
  32:        0x1026e96fc - tokio::runtime::task::harness::Harness<T,S>::poll_inner::h835fbf24e14fc21f
                               at /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/task/harness.rs:208:27
  33:        0x1026ef7e0 - tokio::runtime::task::harness::Harness<T,S>::poll::h4adb008d2db43526
                               at /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/task/harness.rs:153:15
  34:        0x1026a6f00 - tokio::runtime::task::raw::poll::h49cb92ab28a6e435
                               at /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/task/raw.rs:271:5
  35:        0x102e1022c - tokio::runtime::task::raw::RawTask::poll::h1c0fdb826a66cf0e
                               at /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/task/raw.rs:201:18
  36:        0x102786c20 - tokio::runtime::task::LocalNotified<S>::run::h60942c6d9872c84e
                               at /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/task/mod.rs:427:9
  37:        0x102691424 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::h10ca8ebff3b6c344
                               at /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/scheduler/current_thread/mod.rs:700:25
  38:        0x1026909d8 - tokio::runtime::coop::with_budget::h831372575ad0c119
                               at /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/coop.rs:107:5
  39:        0x1026909d8 - tokio::runtime::coop::budget::hbd8f40a371d70db6
                               at /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/coop.rs:73:5
  40:        0x1026909d8 - tokio::runtime::scheduler::current_thread::Context::run_task::{{closure}}::hf985fc2a251e8dfe
                               at /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/scheduler/current_thread/mod.rs:343:43
  41:        0x1026906dc - tokio::runtime::scheduler::current_thread::Context::enter::ha3e673207cbbc3d4
                               at /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/scheduler/current_thread/mod.rs:404:19
  42:        0x10269087c - tokio::runtime::scheduler::current_thread::Context::run_task::ha96e98cf524b5e5a
                               at /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/scheduler/current_thread/mod.rs:343:23
  43:        0x102691398 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::h50709992d6a9beaa
                               at /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/scheduler/current_thread/mod.rs:699:35
  44:        0x102690d68 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}::h63934db77305c51f
                               at /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/scheduler/current_thread/mod.rs:737:68
  45:        0x1026d3cc0 - tokio::runtime::context::scoped::Scoped<T>::set::h6c0f9a1f67bf6064
                               at /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/context/scoped.rs:40:9
  46:        0x1026aa7d0 - tokio::runtime::context::set_scheduler::{{closure}}::h75c9739b90e01337
                               at /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/context.rs:176:26
  47:        0x102704f10 - std::thread::local::LocalKey<T>::try_with::h472b5926985ac82c
                               at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/local.rs:286:16
  48:        0x102703e48 - std::thread::local::LocalKey<T>::with::h94425f44f257e863
                               at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/local.rs:262:9
  49:        0x1026aa78c - tokio::runtime::context::set_scheduler::h3377b33d8aac6ff0
                               at /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/context.rs:176:9
  50:        0x102690ba8 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::h0b4501726957fce9
                               at /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/scheduler/current_thread/mod.rs:737:27
  51:        0x102690d9c - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::haf31cb3b73b266c8
                               at /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/scheduler/current_thread/mod.rs:646:19
  52:        0x10268dc00 - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}::h575df000372fc198
                               at /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/scheduler/current_thread/mod.rs:175:28
  53:        0x10271fb10 - tokio::runtime::context::runtime::enter_runtime::h79c8b76e139dd398
                               at /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/context/runtime.rs:65:16
  54:        0x10268db40 - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::h07249260ac33bdc2
                               at /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/scheduler/current_thread/mod.rs:167:9
  55:        0x1027270b0 - tokio::runtime::runtime::Runtime::block_on::h42026428e92577c3
                               at /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/runtime.rs:349:47
  56:        0x10263f6d0 - frame::test_essd_stop::ha2a8e8ed15ec5915
                               at /Users/runner/work/nanover-rs/nanover-rs/nanover-rs/tests/frame.rs:375:27
  57:        0x10265db84 - frame::test_essd_stop::{{closure}}::hf585980a592820fe
                               at /Users/runner/work/nanover-rs/nanover-rs/nanover-rs/tests/frame.rs:375:26
  58:        0x102735ae4 - core::ops::function::FnOnce::call_once::h3cd6067d7cf01f54
                               at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:250:5
  59:        0x1027ca9c0 - core::ops::function::FnOnce::call_once::hb3c0dee7cdf88f0c
                               at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:250:5
  60:        0x1027ca9c0 - test::__rust_begin_short_backtrace::he4ac465ee2112f70
                               at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/test/src/lib.rs:621:18
  61:        0x1027c9a0c - test::run_test_in_process::{{closure}}::ha6baf8ecb5242aaf
                               at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/test/src/lib.rs:644:60
  62:        0x1027c9a0c - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::ha76db1f1ad9fbf6f
                               at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9
  63:        0x1027c9a0c - std::panicking::try::do_call::h06b22ba7f52b15e2
                               at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40
  64:        0x1027c9a0c - std::panicking::try::h86a02c069f1b09c9
                               at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19
  65:        0x1027c9a0c - std::panic::catch_unwind::hfa73aec6159ed576
                               at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14
  66:        0x1027c9a0c - test::run_test_in_process::hd837f8fe8df8c2de
                               at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/test/src/lib.rs:644:27
  67:        0x1027c9a0c - test::run_test::{{closure}}::h596d0554a4a78e26
                               at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/test/src/lib.rs:567:43
  68:        0x10279bf7c - test::run_test::{{closure}}::h9f22941de8a64374
                               at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/test/src/lib.rs:595:41
  69:        0x10279bf7c - std::sys_common::backtrace::__rust_begin_short_backtrace::ha5f46acead689572
                               at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys_common/backtrace.rs:155:18
  70:        0x1027a0764 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h495a1002c3d0572a
                               at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/mod.rs:529:17
  71:        0x1027a0764 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hc8945aefab4eaf1b
                               at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9
  72:        0x1027a0764 - std::panicking::try::do_call::h865f5d4f21cd2bab
                               at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40
  73:        0x1027a0764 - std::panicking::try::h5d8ad1b089e51b96
                               at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19
  74:        0x1027a0764 - std::panic::catch_unwind::h27d3accc6f07d38f
                               at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14
  75:        0x1027a0764 - std::thread::Builder::spawn_unchecked_::{{closure}}::h6ba16356074a93d1
                               at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/mod.rs:528:30
  76:        0x1027a0764 - core::ops::function::FnOnce::call_once{{vtable.shim}}::hbfacf00afa1541e7
                               at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:250:5
  77:        0x102ee6f98 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::he00394a3411d39eb
                               at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/alloc/src/boxed.rs:2015:9
  78:        0x102ee6f98 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hfcfcdc85194fef1b
                               at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/alloc/src/boxed.rs:2015:9
  79:        0x102ee6f98 - std::sys::pal::unix::thread::Thread::new::thread_start::h207e3c76161182d1
                               at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/thread.rs:108:17
  80:        0x182872f94 - __pthread_joiner_wake
[2024-04-30T08:02:31Z INFO  frame] Servers from ESSD: {}
thread 'test_essd_stop' panicked at nanover-rs/tests/frame.rs:383:5:
assertion failed: server_is_found
stack backtrace:
   0:        0x102ee1a78 - std::backtrace_rs::backtrace::libunwind::trace::h89330013351db63c
                               at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
   1:        0x102ee1a78 - std::backtrace_rs::backtrace::trace_unsynchronized::hef5ed454b5e9a42a
                               at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
   2:        0x102ee1a78 - std::sys_common::backtrace::_print_fmt::h661fed69b93a32f7
                               at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys_common/backtrace.rs:68:5
   3:        0x102ee1a78 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h0aa20ca08aeb683c
                               at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys_common/backtrace.rs:44:22
   4:        0x102f030fc - core::fmt::rt::Argument::fmt::h0c1f3a7ec00b5b49
                               at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/fmt/rt.rs:142:9
   5:        0x102f030fc - core::fmt::write::h168dbafcf35bac68
                               at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/fmt/mod.rs:1120:17
   6:        0x102edea44 - std::io::Write::write_fmt::h6542afca710d2aa1
                               at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/io/mod.rs:1846:15
   7:        0x102ee18ac - std::sys_common::backtrace::_print::h7d087ee39ce46706
                               at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys_common/backtrace.rs:47:5
   8:        0x102ee18ac - std::sys_common::backtrace::print::h57b289e4b951ee17
                               at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys_common/backtrace.rs:34:9
   9:        0x102ee33e8 - std::panicking::default_hook::{{closure}}::h783b6c512154ec65
  10:        0x102ee308c - std::panicking::default_hook::hcdfa9e1e0f234a4f
                               at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:289:9
  11:        0x1027c6178 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h3cf3ce73e84ce225
                               at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/alloc/src/boxed.rs:2029:9
  12:        0x1027c6178 - test::test_main::{{closure}}::h9d56b9ce955dc4cd
                               at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/test/src/lib.rs:138:21
  13:        0x102ee395c - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hb13168aedd865984
                               at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/alloc/src/boxed.rs:2029:9
  14:        0x102ee395c - std::panicking::rust_panic_with_hook::h9aea678ca49d64cf
                               at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:785:13
  15:        0x102ee36ec - std::panicking::begin_panic_handler::{{closure}}::ha16c3377e66deceb
                               at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:651:13
  16:        0x102ee1efc - std::sys_common::backtrace::__rust_end_short_backtrace::hea8fdda1ea8a4c0e
                               at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys_common/backtrace.rs:171:18
  17:        0x102ee34a0 - rust_begin_unwind
                               at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:647:5
  18:        0x102f1f034 - core::panicking::panic_fmt::h1cb43b60f5788132
                               at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panicking.rs:72:14
  19:        0x102f1f0bc - core::panicking::panic::h3131e0868b9f8622
                               at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panicking.rs:144:5
  20:        0x10265e278 - frame::test_essd_stop::{{closure}}::h40fd4468d6b3adf1
                               at /Users/runner/work/nanover-rs/nanover-rs/nanover-rs/tests/frame.rs:383:5
  21:        0x1026c2bd4 - <core::pin::Pin<P> as core::future::future::Future>::poll::h1ea20557cfb39e5d
                               at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/future/future.rs:124:9
  22:        0x1026c2e78 - <core::pin::Pin<P> as core::future::future::Future>::poll::h7707a3fd9de8cd6f
                               at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/future/future.rs:124:9
  23:        0x1026915e0 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}::hd921b114c6386bd5
                               at /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/scheduler/current_thread/mod.rs:659:57
  24:        0x102691540 - tokio::runtime::coop::with_budget::h27fb64ba5447144e
                               at /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/coop.rs:107:5
  25:        0x102691540 - tokio::runtime::coop::budget::hf3ff735be484bf15
                               at /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/coop.rs:73:5
  26:        0x102691540 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::h7e90b3f22d44d629
                               at /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/scheduler/current_thread/mod.rs:659:25
  27:        0x102690474 - tokio::runtime::scheduler::current_thread::Context::enter::h8784a54c458b2d3a
                               at /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/scheduler/current_thread/mod.rs:404:19
  28:        0x102690f64 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::h50709992d6a9beaa
                               at /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/scheduler/current_thread/mod.rs:658:36
  29:        0x102690d68 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}::h63934db77305c51f
                               at /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/scheduler/current_thread/mod.rs:737:68
  30:        0x1026d3cc0 - tokio::runtime::context::scoped::Scoped<T>::set::h6c0f9a1f67bf6064
                               at /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/context/scoped.rs:40:9
  31:        0x1026aa7d0 - tokio::runtime::context::set_scheduler::{{closure}}::h75c9739b90e01337
                               at /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/context.rs:176:26
  32:        0x102704f10 - std::thread::local::LocalKey<T>::try_with::h472b5926985ac82c
                               at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/local.rs:286:16
  33:        0x102703e48 - std::thread::local::LocalKey<T>::with::h94425f44f257e863
                               at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/local.rs:262:9
  34:        0x1026aa78c - tokio::runtime::context::set_scheduler::h3377b33d8aac6ff0
                               at /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/context.rs:176:9
  35:        0x102690ba8 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::h0b4501726957fce9
                               at /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/scheduler/current_thread/mod.rs:737:27
  36:        0x102690d9c - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::haf31cb3b73b266c8
                               at /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/scheduler/current_thread/mod.rs:646:19
  37:        0x10268dc00 - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}::h575df000372fc198
                               at /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/scheduler/current_thread/mod.rs:175:28
  38:        0x10271fb10 - tokio::runtime::context::runtime::enter_runtime::h79c8b76e139dd398
                               at /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/context/runtime.rs:65:16
  39:        0x10268db40 - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::h07249260ac33bdc2
                               at /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/scheduler/current_thread/mod.rs:167:9
  40:        0x1027270b0 - tokio::runtime::runtime::Runtime::block_on::h42026428e92577c3
                               at /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/runtime/runtime.rs:349:47
  41:        0x10263f6d0 - frame::test_essd_stop::ha2a8e8ed15ec5915
                               at /Users/runner/work/nanover-rs/nanover-rs/nanover-rs/tests/frame.rs:375:27
  42:        0x10265db84 - frame::test_essd_stop::{{closure}}::hf585980a592820fe
                               at /Users/runner/work/nanover-rs/nanover-rs/nanover-rs/tests/frame.rs:375:26
  43:        0x102735ae4 - core::ops::function::FnOnce::call_once::h3cd6067d7cf01f54
                               at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:250:5
  44:        0x1027ca9c0 - core::ops::function::FnOnce::call_once::hb3c0dee7cdf88f0c
                               at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:250:5
  45:        0x1027ca9c0 - test::__rust_begin_short_backtrace::he4ac465ee2112f70
                               at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/test/src/lib.rs:621:18
  46:        0x1027c9a0c - test::run_test_in_process::{{closure}}::ha6baf8ecb5242aaf
                               at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/test/src/lib.rs:644:60
  47:        0x1027c9a0c - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::ha76db1f1ad9fbf6f
                               at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9
  48:        0x1027c9a0c - std::panicking::try::do_call::h06b22ba7f52b15e2
                               at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40
  49:        0x1027c9a0c - std::panicking::try::h86a02c069f1b09c9
                               at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19
  50:        0x1027c9a0c - std::panic::catch_unwind::hfa73aec6159ed576
                               at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14
  51:        0x1027c9a0c - test::run_test_in_process::hd837f8fe8df8c2de
                               at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/test/src/lib.rs:644:27
  52:        0x1027c9a0c - test::run_test::{{closure}}::h596d0554a4a78e26
                               at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/test/src/lib.rs:567:43
  53:        0x10279bf7c - test::run_test::{{closure}}::h9f22941de8a64374
                               at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/test/src/lib.rs:595:41
  54:        0x10279bf7c - std::sys_common::backtrace::__rust_begin_short_backtrace::ha5f46acead689572
                               at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys_common/backtrace.rs:155:18
  55:        0x1027a0764 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h495a1002c3d0572a
                               at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/mod.rs:529:17
  56:        0x1027a0764 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hc8945aefab4eaf1b
                               at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9
  57:        0x1027a0764 - std::panicking::try::do_call::h865f5d4f21cd2bab
                               at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40
  58:        0x1027a0764 - std::panicking::try::h5d8ad1b089e51b96
                               at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19
  59:        0x1027a0764 - std::panic::catch_unwind::h27d3accc6f07d38f
                               at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14
  60:        0x1027a0764 - std::thread::Builder::spawn_unchecked_::{{closure}}::h6ba16356074a93d1
                               at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/mod.rs:528:30
  61:        0x1027a0764 - core::ops::function::FnOnce::call_once{{vtable.shim}}::hbfacf00afa1541e7
                               at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:250:5
  62:        0x102ee6f98 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::he00394a3411d39eb
                               at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/alloc/src/boxed.rs:2015:9
  63:        0x102ee6f98 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hfcfcdc85194fef1b
                               at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/alloc/src/boxed.rs:2015:9
  64:        0x102ee6f98 - std::sys::pal::unix::thread::Thread::new::thread_start::h207e3c76161182d1
                               at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/thread.rs:108:17
  65:        0x182872f94 - __pthread_joiner_wake
[2024-04-30T08:02:31Z DEBUG nanover_rs::simulation] Dropping the simulation
jbarnoud commented 1 month ago

Fixed in #222