Skip to content

Instantly share code, notes, and snippets.

@aeyakovenko
Created January 25, 2019 23:25
Show Gist options
  • Save aeyakovenko/ace0c825692c57b1327cdef95d3d7e74 to your computer and use it in GitHub Desktop.
Save aeyakovenko/ace0c825692c57b1327cdef95d3d7e74 to your computer and use it in GitHub Desktop.
bash-3.2$ cargo watch -x 'test replay_stage_correctness'
[Running cargo test replay_stage_correctness]
Finished dev [unoptimized + debuginfo] target(s) in 3.94s
Running target/debug/deps/solana-0d9433813e2adc81
running 1 test
thread 'solana-replay-stage' panicked at 'attempt to subtract with overflow', src/replay_stage.rs:72:24
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
stack backtrace:
0: std::sys::unix::backtrace::tracing::imp::unwind_backtrace
1: std::sys_common::backtrace::print
2: std::panicking::default_hook::{{closure}}
3: std::panicking::default_hook
4: std::panicking::rust_panic_with_hook
5: std::panicking::continue_panic_fmt
6: rust_begin_unwind
7: core::panicking::panic_fmt
8: core::panicking::panic
9: solana::replay_stage::ReplayStage::entries_to_blocks
10: solana::replay_stage::ReplayStage::process_entries
11: solana::replay_stage::ReplayStage::new::{{closure}}
test replay_stage::test::test_vote_error_replay_stage_correctness ... FAILED
failures:
---- replay_stage::test::test_vote_error_replay_stage_correctness stdout ----
thread 'replay_stage::test::test_vote_error_replay_stage_correctness' panicked at 'Expected to recieve an
entry on the ledger writer receiver: RecvError', libcore/result.rs:1009:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
stack backtrace:
0: std::sys::unix::backtrace::tracing::imp::unwind_backtrace
1: std::sys_common::backtrace::print
2: std::panicking::default_hook::{{closure}}
3: std::panicking::default_hook
4: std::panicking::rust_panic_with_hook
5: std::panicking::continue_panic_fmt
6: rust_begin_unwind
7: core::panicking::panic_fmt
8: core::result::unwrap_failed
9: <core::result::Result<T, E>>::expect
10: solana::replay_stage::test::test_vote_error_replay_stage_correctness
11: solana::replay_stage::test::test_vote_error_replay_stage_correctness::{{closure}}
12: core::ops::function::FnOnce::call_once
13: <F as alloc::boxed::FnBox<A>>::call_box
14: __rust_maybe_catch_panic
failures:
replay_stage::test::test_vote_error_replay_stage_correctness
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment