-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ping unreachable node sometimes times out >1min #5799
Comments
The real timeout is What is |
I thought that because the test is for an unreachable node it would actually drop in here https://github.com/ipfs/go-ipfs/blob/31099e882469fab12a98f2069e38c847f0b1188c/core/commands/ping.go#L90 and so the timeout would be 10s - which is consistent with the what we're seeing some of the time... |
This takes around 15s locally and can sometimes take take significantly longer ipfs/kubo#5799 License: MIT Signed-off-by: Alan Shaw <alan.shaw@protocol.ai>
Triage: @alanshaw are you still seeing this?
That's the timeout for connecting to the peer. There's another timeout below that's So yeah, something is broken. |
I've not removed the additional time we've allocated for the test to pass ;) Looking at some recent CI builds I can't see it happening. IMHO we should close this as multiple releases have happened since reporting, we've switched CI and now use the "test" profile in tests - any one of those factors (or something completely different) could have fixed this. I can open a new issue if I notice it again.
Just FYI, I was not expecting it to get any further since this is for pinging an unreachable node. The Peer ID will not be in the peer store. |
Yeah, I just want to make sure we don't have a weird deadlock. |
Sometimes this takes ~10s which is consistent with the code but it frequently takes >1 minute in CI:
The text was updated successfully, but these errors were encountered: