libp2p / go-libp2p

libp2p implementation in Go
MIT License
6.06k stars 1.07k forks source link

holepunch: flaky TestEndToEndSimConnect #1732

Open marten-seemann opened 2 years ago

marten-seemann commented 2 years ago

Might be related to #1494, #1281.


=== RUN   TestEndToEndSimConnect
    holepunch_test.go:327: 
            Error Trace:    /home/runner/work/go-libp2p/go-libp2p/p2p/protocol/holepunch/holepunch_test.go:327
                                        /home/runner/work/go-libp2p/go-libp2p/p2p/protocol/holepunch/holepunch_test.go:119
            Error:          Condition never satisfied
            Test:           TestEndToEndSimConnect
--- FAIL: TestEndToEndSimConnect (5.06s)
marten-seemann commented 1 year ago

=== RUN   TestEndToEndSimConnect
2022-11-17T18:27:44.912+1300    DEBUG   p2p-holepunch   holepunch/svc.go:95 waiting until we have at least one public addresspeer12D3KooWDioWCdBb1sdHJrTmrperPcvyxS5wjSQ7XYSdhas3Moe5
2022-11-17T18:27:44.912+1300    DEBUG   p2p-holepunch   holepunch/svc.go:107    Host now has a public address. Starting holepunch protocol.
2022-11-17T18:27:44.965+1300    DEBUG   p2p-holepunch   holepunch/svc.go:95 waiting until we have at least one public addresspeer12D3KooWLVRoL4xxJ1W8nQ7NKJdXgJCopFePJcSYUgzD5fXVUq2d
2022-11-17T18:27:44.965+1300    DEBUG   p2p-holepunch   holepunch/svc.go:107    Host now has a public address. Starting holepunch protocol.
2022-11-17T18:27:48.306+1300    DEBUG   p2p-holepunch   holepunch/util.go:65    hole punch attempt with peer failed {"peer ID": "12D3KooWAtEfYjEqs9FgnzxyKVMcqi99FSqnLYq4fTp9JKS3bHc1", "error": "swarm closed"}
2022-11-17T18:27:48.577+1300    DEBUG   p2p-holepunch   holepunch/util.go:65    hole punch attempt with peer failed {"peer ID": "12D3KooWMoSdV78bVaCRGma1fa4njGkv3TT1a7wViocjZkf4bWcU", "error": "swarm closed"}
2022-11-17T18:27:48.853+1300    DEBUG   p2p-holepunch   holepunch/util.go:65    hole punch attempt with peer failed {"peer ID": "12D3KooWCvoBPXB2rT19YGEvAEbCR9nVQBRnLbURSNiHFdP3Qdak", "error": "context deadline exceeded"}
2022-11-17T18:27:49.139+1300    DEBUG   p2p-holepunch   holepunch/util.go:65    hole punch attempt with peer failed {"peer ID": "12D3KooWQDgPQAfjGaSwTnzddrXUHiZJAhxXT8vET6tAo7Dx8hM4", "error": "swarm closed"}
2022-11-17T18:27:49.426+1300    DEBUG   p2p-holepunch   holepunch/util.go:65    hole punch attempt with peer failed {"peer ID": "12D3KooWPFGod77pB6dPKgdFZBKs75QnvmPb6QndcmEabYSWX2Lp", "error": "swarm closed"}
2022-11-17T18:27:49.698+1300    DEBUG   p2p-holepunch   holepunch/util.go:65    hole punch attempt with peer failed {"peer ID": "12D3KooWSyA8Bxhbo8ievJ2sRDni5cxV7PD2FP7ZQ5D6gQUsDq5R", "error": "swarm closed"}
    holepunch_test.go:327: 
            Error Trace:    /home/parallels/src/go/src/github.com/libp2p/go-libp2p/p2p/protocol/holepunch/holepunch_test.go:327
                                        /home/parallels/src/go/src/github.com/libp2p/go-libp2p/p2p/protocol/holepunch/holepunch_test.go:119
            Error:          Condition never satisfied
            Test:           TestEndToEndSimConnect
--- FAIL: TestEndToEndSimConnect (5.06s)