pelikan-io / rustcommon

Common Rust library
Apache License 2.0
26 stars 13 forks source link

`histogram::standard::tests::downsample` is flaky #100

Open swlynch99 opened 10 months ago

swlynch99 commented 10 months ago

This test seems to be flaky and has been failing on a bunch of unrelated PRs so I am disabling it. This issue is meant to track that it's disabled so it can be reenabled later on.

Error message and backtrace emitted when the test fails ``` test standard::tests::downsample ... FAILED failures: ---- standard::tests::downsample stdout ---- thread 'standard::tests::downsample' panicked at histogram\src\standard.rs:384:17: assertion failed: e < error stack backtrace: 0: 0x7ff7e184cb83 - std::sys_common::backtrace::_print::impl$0::fmt at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library\std\src\sys_common\backtrace.rs:44 1: 0x7ff7e186b80d - core::fmt::rt::Argument::fmt at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library\core\src\fmt\rt.rs:142 2: 0x7ff7e186b80d - core::fmt::write at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library\core\src\fmt\mod.rs:1120 3: 0x7ff7e1849261 - std::io::Write::write_fmt > at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library\std\src\io\mod.rs:1762 4: 0x7ff7e184c98a - std::sys_common::backtrace::_print at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library\std\src\sys_common\backtrace.rs:47 5: 0x7ff7e184c98a - std::sys_common::backtrace::print at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library\std\src\sys_common\backtrace.rs:34 6: 0x7ff7e184f4c9 - std::panicking::default_hook::closure$1 at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library\std\src\panicking.rs:272 7: 0x7ff7e184f114 - std::panicking::default_hook at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library\std\src\panicking.rs:289 8: 0x7ff7e17fc1f0 - alloc::boxed::impl$49::call at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library\alloc\src\boxed.rs:2021 9: 0x7ff7e17fc1f0 - test::test_main::closure$0 at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library\test\src\lib.rs:138 10: 0x7ff7e184f9e3 - alloc::boxed::impl$49::call at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library\alloc\src\boxed.rs:2021 11: 0x7ff7e184f9e3 - std::panicking::rust_panic_with_hook at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library\std\src\panicking.rs:783 12: 0x7ff7e184f84b - std::panicking::begin_panic_handler::closure$0 at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library\std\src\panicking.rs:649 13: 0x7ff7e184d479 - std::sys_common::backtrace::__rust_end_short_backtrace at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library\std\src\sys_common\backtrace.rs:170 14: 0x7ff7e184f594 - std::panicking::begin_panic_handler at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library\std\src\panicking.rs:645 15: 0x7ff7e18754c7 - core::panicking::panic_fmt at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library\core\src\panicking.rs:72 16: 0x7ff7e1875582 - core::panicking::panic at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library\core\src\panicking.rs:127 17: 0x7ff7e17b7bd7 - histogram::standard::tests::downsample at D:\a\rustcommon\rustcommon\histogram\src\standard.rs:384 18: 0x7ff7e17b74a8 - histogram::standard::tests::downsample::closure$0 at D:\a\rustcommon\rustcommon\histogram\src\standard.rs:349 19: 0x7ff7e1795492 - core::ops::function::FnOnce::call_once > at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112\library\core\src\ops\function.rs:250 20: 0x7ff7e18030cf - core::ops::function::FnOnce::call_once at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library\core\src\ops\function.rs:250 21: 0x7ff7e18030cf - test::__rust_begin_short_backtrace,alloc::string::String> >,enum2$,alloc::string::String> > (*)()> at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library\test\src\lib.rs:628 22: 0x7ff7e1801b43 - test::run_test_in_process::closure$0 at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library\test\src\lib.rs:651 23: 0x7ff7e1801b43 - core::panic::unwind_safe::impl$23::call_once at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library\core\src\panic\unwind_safe.rs:272 24: 0x7ff7e1801b43 - std::panicking::try::do_call at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library\std\src\panicking.rs:552 25: 0x7ff7e1801b43 - std::panicking::try at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library\std\src\panicking.rs:516 26: 0x7ff7e1801b43 - std::panic::catch_unwind at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library\std\src\panic.rs:142 27: 0x7ff7e1801b43 - test::run_test_in_process at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library\test\src\lib.rs:651 28: 0x7ff7e1801b43 - test::run_test::closure$0 at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library\test\src\lib.rs:574 29: 0x7ff7e17c086a - test::run_test::closure$1 at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library\test\src\lib.rs:602 30: 0x7ff7e17c086a - std::sys_common::backtrace::__rust_begin_short_backtrace > at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library\std\src\sys_common\backtrace.rs:154 31: 0x7ff7e17c6590 - std::thread::impl$0::spawn_unchecked_::closure$1::closure$0 at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library\std\src\thread\mod.rs:529 32: 0x7ff7e17c6590 - core::panic::unwind_safe::impl$23::call_once at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library\core\src\panic\unwind_safe.rs:272 33: 0x7ff7e17c6590 - std::panicking::try::do_call at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library\std\src\panicking.rs:552 34: 0x7ff7e17c6590 - std::panicking::try at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library\std\src\panicking.rs:516 35: 0x7ff7e17c6590 - std::panic::catch_unwind at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library\std\src\panic.rs:142 36: 0x7ff7e17c6590 - std::thread::impl$0::spawn_unchecked_::closure$1 at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library\std\src\thread\mod.rs:528 37: 0x7ff7e17c6590 - core::ops::function::FnOnce::call_once >,tuple$<> > at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library\core\src\ops\function.rs:250 38: 0x7ff7e185b62c - std::sys::windows::thread::impl$0::new::thread_start at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library\std\src\sys\windows\thread.rs:58 39: 0x7ffd781a4de0 - BaseThreadInitThunk 40: 0x7ffd798ded9b - RtlUserThreadStart failures: standard::tests::downsample ```