go-libp2p icon indicating copy to clipboard operation
go-libp2p copied to clipboard

tcp: flaky TestTcpTransport/github.com/libp2p/go-libp2p-testing/suites/transport.SubtestStreamReset

Open marten-seemann opened this issue 3 years ago • 1 comments

2022-04-22T14:50:24.4826289Z === RUN   TestTcpTransport/github.com/libp2p/go-libp2p-testing/suites/transport.SubtestStreamReset
2022-04-22T14:50:24.4826888Z panic: Fail in goroutine after TestTcpTransport/github.com/libp2p/go-libp2p-testing/suites/transport.SubtestStreamOpenStress has completed
2022-04-22T14:50:24.4826907Z 
2022-04-22T14:50:24.4827036Z goroutine 52338 [running]:
2022-04-22T14:50:24.4827179Z testing.(*common).Fail(0xc00753ed00)
2022-04-22T14:50:24.4827465Z 	C:/hostedtoolcache/windows/go/1.17.8/x64/src/testing/testing.go:710 +0xe5
2022-04-22T14:50:24.4827678Z testing.(*common).Error(0x26b4d3f8c20, {0xc0092b1f78, 0xc00925c1a0, 0x0})
2022-04-22T14:50:24.4827923Z 	C:/hostedtoolcache/windows/go/1.17.8/x64/src/testing/testing.go:812 +0x4f
2022-04-22T14:50:24.4828355Z github.com/libp2p/go-libp2p-testing/suites/transport.fullClose(0xc00753ed00, {0x1029570, 0xc00925c1a0})
2022-04-22T14:50:24.4828933Z 	C:/Users/runneradmin/go/pkg/mod/github.com/libp2p/[email protected]/suites/transport/stream_suite.go:64 +0xd3
2022-04-22T14:50:24.4829660Z github.com/libp2p/go-libp2p-testing/suites/transport.SubtestStreamOpenStress.func3.1.1()
2022-04-22T14:50:24.4830550Z 	C:/Users/runneradmin/go/pkg/mod/github.com/libp2p/[email protected]/suites/transport/stream_suite.go:339 +0x65
2022-04-22T14:50:24.4831009Z created by github.com/libp2p/go-libp2p-testing/suites/transport.SubtestStreamOpenStress.func3.1
2022-04-22T14:50:24.4831513Z 	C:/Users/runneradmin/go/pkg/mod/github.com/libp2p/[email protected]/suites/transport/stream_suite.go:337 +0x95
2022-04-22T14:50:24.4834196Z FAIL	github.com/libp2p/go-libp2p/p2p/transport/tcp	61.726s
2022-04-22T14:50:24.4837494Z FAIL

marten-seemann avatar Apr 22 '22 14:04 marten-seemann

We also need to dial done the verbosity of log produced from the go-libp2p-testing suite. Having thousands of log lines is not really helpful...

marten-seemann avatar Apr 22 '22 14:04 marten-seemann