filecoin-project / venus

Filecoin Full Node Implementation in Go
https://venus.filecoin.io
Other
2.06k stars 463 forks source link

TestMinerCreateIntegration has intermittent failures #4003

Closed ZenGround0 closed 4 years ago

ZenGround0 commented 4 years ago

Description

This has been observed on latest master. At least two separate failure behaviors have been observed: (1) the client is unable to sync any blocks from the miner and so is unable to wait for the miner create message on the chain (2) the miner is able to sync the chain from the miner but the test still times out.

Acceptance criteria

Reproduce (should happen ~1/10 times) and debug.

Risks + pitfalls

Where to begin

In the case where the chain won't sync on the client the error traces back to the miner propagating every new block to the client which then fails to sync the chain due to a graphysnc fetcher error: failure fetching or validating headers: fetching tipset: Unable to find any untried peers

Debugging the underlying graphsync issue by logging the graphsync error code would be a great start.

anorth commented 4 years ago

I believe fixed by #4064