Repository navigation
Description
Found while verifying #2662 (the #2629 fix). One anvil e2e failed once under parallel load.
Test. crates/e2e/tests/cli_bundle_pull_range_dedup.rs: cli_bundle_pull_stripes_a_complement_across_two_holders.
Failure.
Error: the two lanes must bill a's whole file plus b's 24 complement ranges once (2481940 wire bytes), got 1245400 + 1236988
The two lanes billed 2482388 wire bytes, 448 more than the exact total. 448 = 7 × 64 B, i.e. seven bao parent hashes. That fits one range being re-split or re-opened mid-pull, for example by a steal or a lane fault, which sends a left-boundary proof path again.
Rate. 1 failure in about 13 runs of the 12-binary batch from #2629 (cargo nextest run -p decdn-e2e --features anvil-e2e --retries 0, with DECDN_NODE_LOG='info,decdn_client=debug'). It did not recur in the next 7 runs. The run captured no client log for this test, so the trigger is unconfirmed.
Ask. Find out which re-open adds the proof bytes. Then decide whether the test's exact-equality bound should allow a bounded proof overhead per re-split, or whether the client should not re-split here. Over-billing a few proof hashes is the safe direction, but the test should state that bound, not hit it by luck.
Repro.
cargo build -p decdn-cli -p decdn-node
DECDN_NODE_LOG='info,decdn_client=debug' cargo nextest run -p decdn-e2e --features anvil-e2e --retries 0 --no-fail-fast \
-E 'binary(cli_bundle_pull_pool_id) | binary(cli_bundle_pull_range_dedup) | binary(cli_fetch_delegated) | binary(cli_fetch_recovers_one_holder) | binary(cli_fetch_resume) | binary(cli_fetch_topup) | binary(cli_fetch_two_data_dirs) | binary(cli_quote) | binary(cli_receipt) | binary(gateway_concurrent_pulls) | binary(gateway_pointer) | binary(gateway_public)'🤖 Generated with Claude Code
Metadata
Metadata
Assignees
Labels
Type
Fields
Priority
Projects
- StatusShow more project fieldsDone
Activity
test: make three load-sensitive tests model the node and planner exactly
test: make three load-sensitive tests model the node and planner exac…