libp2p / libp2p/go-libp2p

swarm: flaky TestDialSimultaneousJoin

Open
#1,421 11 comments 0 reactions 1 assignee View on GitHub

@vyzo is already working on this.

Since Apr 22, 2022.

kind/bug
Dominant language
Go
Stars
6.9k
Forks
1.3k
Avg merge
13d 21h
Merged PRs (30d)
1

Description

=== RUN   TestDialSimultaneousJoin
      dial_test.go:578: third dial succedded; conn: <swarm.Conn[*tcp.TcpTransport] /ip4/127.0.0.1/tcp/50014 (12D3KooWRuYVGEsecrJJhZsSoKf1UNdBVYKFCmFLNj9ucZiSQCYj) <-> /ip4/127.0.0.1/tcp/50015 (12D3KooWGEcD5sW5osB6LajkHGqiGc3W8eKfYwnJVVqfujkpLWX2)>
      dial_test.go:560: second dial succedded; conn: <swarm.Conn[*tcp.TcpTransport] /ip4/127.0.0.1/tcp/50014 (12D3KooWRuYVGEsecrJJhZsSoKf1UNdBVYKFCmFLNj9ucZiSQCYj) <-> /ip4/127.0.0.1/tcp/50015 (12D3KooWGEcD5sW5osB6LajkHGqiGc3W8eKfYwnJVVqfujkpLWX2)>
      dial_test.go:[588](https://github.com/libp2p/go-libp2p/runs/6129949662?check_suite_focus=true#step:7:588): 
          	Error Trace:	dial_test.go:588
          	Error:      	Received unexpected error:
          	            	failed to dial 12D3KooWGEcD5sW5osB6LajkHGqiGc3W8eKfYwnJVVqfujkpLWX2:
          	            	  * [/ip4/127.0.0.1/tcp/50016] failed to negotiate security protocol: context deadline exceeded
          	Test:       	TestDialSimultaneousJoin
  --- FAIL: TestDialSimultaneousJoin (0.26s)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.