Open
Description
Problem
Test failures in release mode
Repro: cargo test --profile release
failures:
---- ancient_append_vecs::tests::test_div_ceil_overflow::_1_u64_max_expects stdout ----
note: test did not panic as expected
---- ancient_append_vecs::tests::test_div_ceil_overflow::u64_max_1_expects stdout ----
note: test did not panic as expected
---- ancient_append_vecs::tests::test_div_ceil_overflow::u64_max_2_2_u64_max_2_expects stdout ----
note: test did not panic as expected
---- ancient_append_vecs::tests::test_div_ceil_overflow::u64_max_2_u64_max_2_2_expects stdout ----
note: test did not panic as expected
---- tiered_storage::index::tests::test_get_account_offset_exceeds_index_block_boundary stdout ----
thread 'tiered_storage::index::tests::test_get_account_offset_exceeds_index_block_boundary' panicked at accounts-db/src/tiered_storage/index.rs:354:14:
called `Result::unwrap()` on an `Err` value: Io(Custom { kind: AddrNotAvailable, error: "Requested offset and data length exceeds the mmap slice" })
note: panic did not contain expected string
panic message: `"called `Result::unwrap()` on an `Err` value: Io(Custom { kind: AddrNotAvailable, error: \"Requested offset and data length exceeds the mmap slice\" })"`,
expected substring: `"would exceed index block boundary"`
---- tiered_storage::index::tests::test_get_account_offset_out_of_bounds stdout ----
thread 'tiered_storage::index::tests::test_get_account_offset_out_of_bounds' panicked at accounts-db/src/tiered_storage/index.rs:316:14:
called `Result::unwrap()` on an `Err` value: Io(Custom { kind: AddrNotAvailable, error: "Requested offset and data length exceeds the mmap slice" })
note: panic did not contain expected string
panic message: `"called `Result::unwrap()` on an `Err` value: Io(Custom { kind: AddrNotAvailable, error: \"Requested offset and data length exceeds the mmap slice\" })"`,
expected substring: `"index_offset.0 < footer.account_entry_count"`
---- tiered_storage::index::tests::test_get_account_address_exceeds_index_block_boundary stdout ----
thread 'tiered_storage::index::tests::test_get_account_address_exceeds_index_block_boundary' panicked at accounts-db/src/tiered_storage/index.rs:279:14:
called `Result::unwrap()` on an `Err` value: Io(Custom { kind: AddrNotAvailable, error: "Requested offset and data length exceeds the mmap slice" })
note: panic did not contain expected string
panic message: `"called `Result::unwrap()` on an `Err` value: Io(Custom { kind: AddrNotAvailable, error: \"Requested offset and data length exceeds the mmap slice\" })"`,
expected substring: `"would exceed index block boundary"`
---- tiered_storage::index::tests::test_get_account_address_out_of_bounds stdout ----
thread 'tiered_storage::index::tests::test_get_account_address_out_of_bounds' panicked at accounts-db/src/tiered_storage/index.rs:241:14:
called `Result::unwrap()` on an `Err` value: Io(Custom { kind: AddrNotAvailable, error: "Requested offset and data length exceeds the mmap slice" })
note: panic did not contain expected string
panic message: `"called `Result::unwrap()` on an `Err` value: Io(Custom { kind: AddrNotAvailable, error: \"Requested offset and data length exceeds the mmap slice\" })"`,
expected substring: `"index_offset.0 < footer.account_entry_count"`
failures:
ancient_append_vecs::tests::test_div_ceil_overflow::_1_u64_max_expects
ancient_append_vecs::tests::test_div_ceil_overflow::u64_max_1_expects
ancient_append_vecs::tests::test_div_ceil_overflow::u64_max_2_2_u64_max_2_expects
ancient_append_vecs::tests::test_div_ceil_overflow::u64_max_2_u64_max_2_2_expects
tiered_storage::index::tests::test_get_account_address_exceeds_index_block_boundary
tiered_storage::index::tests::test_get_account_address_out_of_bounds
tiered_storage::index::tests::test_get_account_offset_exceeds_index_block_boundary
tiered_storage::index::tests::test_get_account_offset_out_of_bounds
test result: FAILED. 595 passed; 8 failed; 2 ignored; 0 measured; 0 filtered out; finished in 33.11s