stacks-network / stacks-core

The Stacks blockchain implementation
https://docs.stacks.co
GNU General Public License v3.0
3.01k stars 667 forks source link

Test partial tenure fork #5075

Closed obycode closed 2 weeks ago

obycode commented 1 month ago

Adds 2 integration tests:

wileyj commented 3 weeks ago

seeing some test failures:

run_until_burnchain_height: Issuing block at 1725375097, current_height burnchain height is (225)
run_until_burnchain_height: Issuing block at 1725375097, current_height burnchain height is (226)
run_until_burnchain_height: Issuing block at 1725375098, current_height burnchain height is (227)
run_until_burnchain_height: Issuing block at 1725375099, current_height burnchain height is (228)
run_until_burnchain_height: Issuing block at 1725375100, current_height burnchain height is (229)
Issuing bitcoin block
Issuing bitcoin block
thread 'tests::signer::v0::multiple_miners_with_nakamoto_blocks' panicked at testnet/stacks-node/src/tests/signer/mod.rs:413:10:
called `Result::unwrap()` on an `Err` value: "Timed out"
stack backtrace:
   0:     0x55601340cbb5 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hd736fd5964392270
   1:     0x55601343c7db - core::fmt::write::hc6043626647b98ea
   2:     0x5560134080df - std::io::Write::write_fmt::h0d24b3e0473045db
   3:     0x55601340c98e - std::sys_common::backtrace::print::h45eb8174d25a1e76
   4:     0x55601340e2e9 - std::panicking::default_hook::{{closure}}::haf3f0170eb4f3b53
   5:     0x55601340e08a - std::panicking::default_hook::hb5d3b27aa9f6dcda
   6:     0x55601340e783 - std::panicking::rust_panic_with_hook::h6b49d59f86ee588c
   7:     0x55601340e664 - std::panicking::begin_panic_handler::{{closure}}::hd4c2f7ed79b82b70
   8:     0x55601340d079 - std::sys_common::backtrace::__rust_end_short_backtrace::h2946d6d32d7ea1ad
   9:     0x55601340e397 - rust_begin_unwind
  10:     0x55601143a223 - __covrec_7BDE01977CBE6107u
  11:     0x55601143a7f6 - <unknown>
  12:     0x556011a41c25 - <stacks_node[ff62e657b38558ca]::tests::signer::SignerTest<stacks_signer[aa141e7ccb348893]::SpawnedSigner<stacks_signer[aa141e7ccb348893]::v0::signer::Signer, libsigner[dce5168346567865]::v0::messages::SignerMessage>>>::mine_block_wait_on_processing
  13:     0x556011bc386d - stacks_node[ff62e657b38558ca]::tests::signer::v0::multiple_miners_with_nakamoto_blocks
  14:     0x5560117f5f39 - <stacks_node[ff62e657b38558ca]::tests::signer::v0::multiple_miners_with_nakamoto_blocks::{closure#0} as core[1a380081440346cb]::ops::function::FnOnce<()>>::call_once
  15:     0x556011c5148b - test::__rust_begin_short_backtrace::hfb0e18f835c7fe64
  16:     0x556011c50b51 - test::run_test::{{closure}}::hb61a6d6464bc4217
  17:     0x556011c19a74 - std::sys_common::backtrace::__rust_begin_short_backtrace::h2631e3b4979792db
  18:     0x556011c1e332 - core::ops::function::FnOnce::call_once{{vtable.shim}}::hf6066183d62916fb
  19:     0x5560134156db - std::sys::pal::unix::thread::Thread::new::thread_start::hb85dbfa54ba503d6
  20:     0x7f2ed5894ac3 - <unknown>
  21:     0x7f2ed5926850 - <unknown>
  22:                0x0 - <unknown>

edit: i don't see anyyhing specific in the test that should cause the above timeout. i'm going to re-run the failing tests to see if it's reproduced

obycode commented 3 weeks ago

seeing some test failures:

Yeah, I'm still looking into this.