Skip to content

Instantly share code, notes, and snippets.

@MarcoPolo

MarcoPolo/foo.md Secret

Created August 20, 2024 20:33
Show Gist options
  • Save MarcoPolo/7946a7a5d76e8c49b8f1873029c41a64 to your computer and use it in GitHub Desktop.
Save MarcoPolo/7946a7a5d76e8c49b8f1873029c41a64 to your computer and use it in GitHub Desktop.

1 Test Failure

Timed Out Tests

github.com/libp2p/go-libp2p/p2p/transport/webrtc
-test.shuffle 1723752253449449836
=== RUN   TestDecodeInterpersedHexBytesLowerCase
--- PASS: TestDecodeInterpersedHexBytesLowerCase (0.00s)
=== RUN   TestStreamReadDeadlineAsync
--- PASS: TestStreamReadDeadlineAsync (0.53s)
=== RUN   TestDecodeInterpersedHexBytesMixedCase
--- PASS: TestDecodeInterpersedHexBytesMixedCase (0.00s)
=== RUN   TestTransportWebRTC_PeerConnectionDTLSFailed
--- PASS: TestTransportWebRTC_PeerConnectionDTLSFailed (0.04s)
=== RUN   TestStreamReadAfterClose
--- PASS: TestStreamReadAfterClose (0.09s)
=== RUN   TestMaxInFlightRequests
    transport_test.go:881: failed to dial: peerconnection opening timed out
--- PASS: TestMaxInFlightRequests (2.04s)
=== RUN   TestStreamReadReturnsOnClose
--- PASS: TestStreamReadReturnsOnClose (0.15s)
=== RUN   TestConnectionClosedWhenRemoteCloses
panic: test timed out after 10m0s
running tests:
	TestConnectionClosedWhenRemoteCloses (9m57s)

goroutine 1121 [running]: testing.(*M).startAlarm.func1() /home/runner/work/_tool/go/1.22.6/x64/src/testing/testing.go:2366 +0x265 created by time.goFunc /home/runner/work/_tool/go/1.22.6/x64/src/time/sleep.go:177 +0x45

goroutine 1 [chan receive, 9 minutes]: testing.(*T).Run(0xc0001f5a00, {0xf2e1f6, 0x24}, 0x100df18) /home/runner/work/_tool/go/1.22.6/x64/src/testing/testing.go:1750 +0x851 testing.runTests.func1(0xc0001f5a00) /home/runner/work/_tool/go/1.22.6/x64/src/testing/testing.go:2161 +0x86 testing.tRunner(0xc0001f5a00, 0xc000051b10) /home/runner/work/_tool/go/1.22.6/x64/src/testing/testing.go:1689 +0x21f testing.runTests(0xc0001af6b0, {0x15692e0, 0x35, 0x35}, {0x2?, 0xc000051c00?, 0x1570c00?}) /home/runner/work/_tool/go/1.22.6/x64/src/testing/testing.go:2159 +0x8bf testing.(*M).Run(0xc00029cf00) /home/runner/work/_tool/go/1.22.6/x64/src/testing/testing.go:2027 +0xf18 main.main() _testmain.go:163 +0x2be

goroutine 1031 [IO wait, 9 minutes]: internal/poll.runtime_pollWait(0x7917c27c8a60, 0x72) /home/runner/work/_tool/go/1.22.6/x64/src/runtime/netpoll.go:345 +0x85 internal/poll.(*pollDesc).wait(0xc0002ec520, 0x72, 0x0) /home/runner/work/_tool/go/1.22.6/x64/src/internal/poll/fd_poll_runtime.go:84 +0xb1 internal/poll.(*pollDesc).waitRead(...) /home/runner/work/_tool/go/1.22.6/x64/src/internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).ReadFromInet4(0xc0002ec500, {0xc0001dd800, 0x5dc, 0x800}, 0xc0003edcf8) /home/runner/work/_tool/go/1.22.6/x64/src/internal/poll/fd_unix.go:247 +0x3fc net.(*netFD).readFromInet4(0xc0002ec500, {0xc0001dd800, 0x5dc, 0x800}, 0xc0003edcf8) /home/runner/work/_tool/go/1.22.6/x64/src/net/fd_posix.go:66 +0x55 net.(*UDPConn).readFrom(0xc000608150, {0xc0001dd800, 0x5dc, 0x800}, 0xc000570480) /home/runner/work/_tool/go/1.22.6/x64/src/net/udpsock_posix.go:52 +0x28b net.(*UDPConn).readFromUDP(0xc000608150, {0xc0001dd800, 0x5dc, 0x800}, 0xc000570480) /home/runner/work/_tool/go/1.22.6/x64/src/net/udpsock.go:149 +0x92 net.(*UDPConn).ReadFrom(0xc000608150, {0xc0001dd800, 0x5dc, 0x800}) /home/runner/work/_tool/go/1.22.6/x64/src/net/udpsock.go:158 +0x91 github.com/libp2p/go-libp2p/p2p/transport/webrtc/udpmux.(*UDPMux).readLoop(0xc00060a9c0) /home/runner/work/go-libp2p/go-libp2p/p2p/transport/webrtc/udpmux/mux.go:145 +0xcb github.com/libp2p/go-libp2p/p2p/transport/webrtc/udpmux.(*UDPMux).Start.func1() /home/runner/work/go-libp2p/go-libp2p/p2p/transport/webrtc/udpmux/mux.go:89 +0x85 created by github.com/libp2p/go-libp2p/p2p/transport/webrtc/udpmux.(*UDPMux).Start in goroutine 1030 /home/runner/work/go-libp2p/go-libp2p/p2p/transport/webrtc/udpmux/mux.go:87 +0xa6

goroutine 1033 [select, 9 minutes]: github.com/libp2p/go-libp2p/p2p/transport/webrtc.(*listener).Accept(0xc0001f8500) /home/runner/work/go-libp2p/go-libp2p/p2p/transport/webrtc/listener.go:289 +0x10d github.com/libp2p/go-libp2p/p2p/transport/webrtc.TestConnectionClosedWhenRemoteCloses.func1() /home/runner/work/go-libp2p/go-libp2p/p2p/transport/webrtc/transport_test.go:1023 +0xc8 created by github.com/libp2p/go-libp2p/p2p/transport/webrtc.TestConnectionClosedWhenRemoteCloses in goroutine 1030 /home/runner/work/go-libp2p/go-libp2p/p2p/transport/webrtc/transport_test.go:1021 +0x1f0

goroutine 1030 [semacquire, 9 minutes]: sync.runtime_Semacquire(0xc0003c3c18?) /home/runner/work/_tool/go/1.22.6/x64/src/runtime/sema.go:62 +0x25 sync.(*WaitGroup).Wait(0xc0003c3c10) /home/runner/work/_tool/go/1.22.6/x64/src/sync/waitgroup.go:116 +0xa5 github.com/libp2p/go-libp2p/p2p/transport/webrtc.TestConnectionClosedWhenRemoteCloses(0xc0001f41a0) /home/runner/work/go-libp2p/go-libp2p/p2p/transport/webrtc/transport_test.go:1035 +0x26f testing.tRunner(0xc0001f41a0, 0x100df18) /home/runner/work/_tool/go/1.22.6/x64/src/testing/testing.go:1689 +0x21f created by testing.(*T).Run in goroutine 1 /home/runner/work/_tool/go/1.22.6/x64/src/testing/testing.go:1742 +0x826

goroutine 1032 [select, 9 minutes]: github.com/libp2p/go-libp2p/p2p/transport/webrtc/udpmux.(*UDPMux).Accept(0xc00060a9c0, {0x1103930, 0xc00057aff0}) /home/runner/work/go-libp2p/go-libp2p/p2p/transport/webrtc/udpmux/mux.go:225 +0x16a github.com/libp2p/go-libp2p/p2p/transport/webrtc.(*listener).listen(0xc0001f8500) /home/runner/work/go-libp2p/go-libp2p/p2p/transport/webrtc/listener.go:118 +0x1af github.com/libp2p/go-libp2p/p2p/transport/webrtc.newListener.func1() /home/runner/work/go-libp2p/go-libp2p/p2p/transport/webrtc/listener.go:99 +0x85 created by github.com/libp2p/go-libp2p/p2p/transport/webrtc.newListener in goroutine 1030 /home/runner/work/go-libp2p/go-libp2p/p2p/transport/webrtc/listener.go:97 +0x785 FAIL github.com/libp2p/go-libp2p/p2p/transport/webrtc 600.130s

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment