ZcashFoundation / zebra

Zcash - Financial Privacy in Rust 🦓
https://zfnd.org/zebra/
Apache License 2.0
410 stars 105 forks source link

main branch CI failed: push in Run tests #8976

Open github-actions[bot] opened 2 weeks ago

github-actions[bot] commented 2 weeks ago

GitHub Actions workflow Run tests #879 failed.

Event: push Branch: main Commit: f45f6f282c7b1b3e82594de328a2d4f1849bc99a

Created by jayqi/failed-build-issue-action

arya2 commented 2 weeks ago

The stop_regex for this test ("stopping at configured height") was logged before "enabling mempool for debugging" and "activating mempool". The mempool is enabled on the first call to its poll_ready() method after Zebra syncs the genesis block, but it looks like Zebra reached the debug_stop_at_height of 400 before that.

The mempool is polled every 5 seconds by a QueueChecker task, and the syncer doesn't start looking for blocks to download until after the genesis block has been committed, so this should be very rare already, it had to have queried the network for blocks, downloaded them, verified them, and committed them, in less than 5 seconds*. Still, we could make practically impossible by repeatedly calling the get_raw_mempool() RPC method just in case.

*It's also possible that tokio was starving and delayed in waking up the queue checker. Very unusual conditions in any case.