Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
swlynch99 opened this issue Jan 18, 2024 · 0 comments
Open

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

swlynch99 opened this issue Jan 18, 2024 · 0 comments

Comments

@swlynch99
Copy link
Contributor

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<alloc::vec::Vec<u8,alloc::alloc::Global> >
                               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<std::panicking::begin_panic_handler::closure_env$0,never$>
                               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<histogram::standard::tests::downsample::closure_env$0,tuple$<> >
                               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<enum2$<core::result::Result<tuple$<>,alloc::string::String> >,enum2$<core::result::Result<tuple$<>,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<test::run_test::closure_env$1,tuple$<> >
                               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<std::thread::impl$0::spawn_unchecked_::closure_env$1<test::run_test::closure_env$1,tuple$<> >,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
swlynch99 added a commit to swlynch99/rustcommon that referenced this issue Jan 18, 2024
This test is flaky. I have opened an issue to track it at
pelikan-io#100
swlynch99 added a commit that referenced this issue Jan 18, 2024
This test is flaky. I have opened an issue to track it at
#100
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant