-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
TestHandshake fails occasionally #61
Comments
Im glad im not crazy, i ran into this once. Havent been able to get a repro since. |
I'll continue to report test failures as I discover them. I hope that collecting them will help ps. To help with investigation, I'll also make sure to include the commit hash of the code that failed. |
Yeah, there's another random error I get "malformed public key" every so often. |
This deadlock is weird. There should be two goroutines in the Handshake method (and two sets of secure I/O). Im only seeing one... One must have somehow failed, but didnt end up causing a t.Fatal to trigger. Im gonna throw some panics in and run the test until i can repro a failure. |
It was on |
I was also able to reproduce it once after switching to master. 20 runs later, no luck with a repro |
Looks like deadlock occurs when:
I found some spots where errors are ignored. Adding error handling. Will open a PR. |
@jbenet Is there a spec for the handshake anywhere? |
should have been fixed in #128 |
Though, see: #130 |
Experimental: zap backend for go-log
Update go-cid and gx-publish 2.5.2
…/libp2p/go-libp2p-core-0.3.1 Bump github.com/libp2p/go-libp2p-core from 0.3.0 to 0.3.1
…dules/github.com/libp2p/go-libp2p-core-0.3.1 Bump github.com/libp2p/go-libp2p-core from 0.3.0 to 0.3.1
The text was updated successfully, but these errors were encountered: