Open galargh opened 11 months ago
TestCapabilities is currently failing with a timeout on master. Error is:
TestCapabilities
master
=== RUN TestCapabilities badger 2023/08/23 07:50:15 INFO: All 0 tables opened in 0s < capabilities > push > fetch > badger 2023/08/23 07:50:15 INFO: Got compaction priority: {level:0 score:1.73 dropPrefixes:[]} badger 2023/08/23 07:50:15 INFO: All 0 tables opened in 0s badger 2023/08/23 07:50:15 INFO: Replaying file id: 0 at offset: 0 badger 2023/08/23 07:50:15 INFO: Replay took: 2.5µs badger 2023/08/23 07:50:15 DEBUG: Value log discard stats empty < list coverage: 14.5% of statements in ./... panic: test timed out after 10m0s goroutine 39 [running]: testing.(*M).startAlarm.func1() /opt/hostedtoolcache/go/1.17.13/x64/src/testing/testing.go:1788 +0x8e created by time.goFunc /opt/hostedtoolcache/go/1.17.13/x64/src/time/sleep.go:1[80](https://github.com/ipfs-shipyard/git-remote-ipld/actions/runs/5948522666/job/16132465975?pr=52#step:13:82) +0x31 goroutine 1 [chan receive, 9 minutes]: testing.(*T).Run(0xc00013a340, {0xac0112, 0x46d613}, 0xc0d770) /opt/hostedtoolcache/go/1.17.13/x64/src/testing/testing.go:1307 +0x375 testing.runTests.func1(0xc00010d2c0) /opt/hostedtoolcache/go/1.17.13/x64/src/testing/testing.go:1598 +0x6e testing.tRunner(0xc00013a340, 0xc000107ce0) /opt/hostedtoolcache/go/1.17.13/x64/src/testing/testing.go:1259 +0x102 testing.runTests(0xc000138080, {0x10c70d0, 0x1, 0x1}, {0x48b28d, 0xabf085, 0x10d9860}) /opt/hostedtoolcache/go/1.17.13/x64/src/testing/testing.go:1596 +0x43f testing.(*M).Run(0xc000138080) /opt/hostedtoolcache/go/1.17.13/x64/src/testing/testing.go:1504 +0x51d main.main() _testmain.go:121 +0x20a goroutine 6 [select, 9 minutes]: net/http.(*persistConn).roundTrip(0xc0000c7560, 0xc000146400) /opt/hostedtoolcache/go/1.17.13/x64/src/net/http/transport.go:2614 +0x97d net/http.(*Transport).roundTrip(0xc0054ec000, 0xc0000b8500) /opt/hostedtoolcache/go/1.17.13/x64/src/net/http/transport.go:594 +0x7d1 net/http.(*Transport).RoundTrip(0x30, 0xca8c40) /opt/hostedtoolcache/go/1.17.13/x64/src/net/http/roundtrip.go:18 +0x19 net/http.send(0xc0000b8500, {0xca8c40, 0xc0054ec000}, {0xaa5900, 0x1, 0x0}) /opt/hostedtoolcache/go/1.17.13/x64/src/net/http/client.go:252 +0x5d8 net/http.(*Client).send(0xc0001463d0, 0xc0000b8500, {0xc0000b8500, 0xc00008d248, 0x0}) /opt/hostedtoolcache/go/1.17.13/x64/src/net/http/client.go:176 +0x9b net/http.(*Client).do(0xc0001463d0, 0xc0000b8500) /opt/hostedtoolcache/go/1.17.13/x64/src/net/http/client.go:725 +0x908 net/http.(*Client).Do(...) /opt/hostedtoolcache/go/1.17.13/x64/src/net/http/client.go:593 github.com/ipfs/go-ipfs-api.(*Request).Send(0xc00008d7e8, 0xc00008d7a0) /home/runner/go/pkg/mod/github.com/ipfs/go-ipfs-api@v0.0.1/request.go:126 +0x3f1 github.com/ipfs/go-ipfs-api.(*RequestBuilder).Send(0xc00008d8b8, {0x40f247, 0x203000}) /home/runner/go/pkg/mod/github.com/ipfs/go-ipfs-api@v0.0.1/requestbuilder.go:[81](https://github.com/ipfs-shipyard/git-remote-ipld/actions/runs/5948522666/job/16132465975?pr=52#step:13:83) +0x27a github.com/ipfs/go-ipfs-api.(*RequestBuilder).Exec(0xc00013a680, {0xcb9220, 0xc000030150}, {0x9d3660, 0xc00000ebb8}) /home/runner/go/pkg/mod/github.com/ipfs/go-ipfs-api@v0.0.1/requestbuilder.go:86 +0x36 github.com/ipfs/go-ipfs-api.(*Shell).List(0xc0001463c0, {0xada734, 0x2e}) /home/runner/go/pkg/mod/github.com/ipfs/go-ipfs-api@v0.0.1/shell.go:152 +0x110 github.com/ipfs-shipyard/git-remote-ipld/cmd/git-remote-ipld.(*IpnsHandler).paths(0x10d9860, 0x0, {0xada734, 0x2e}, 0x0) /home/runner/work/git-remote-ipld/git-remote-ipld/cmd/git-remote-ipld/ipld.go:315 +0x69 github.com/ipfs-shipyard/git-remote-ipld/cmd/git-remote-ipld.(*IpnsHandler).List(0xc0054c5fc0, 0xc00011a1c0, 0x0) /home/runner/work/git-remote-ipld/git-remote-ipld/cmd/git-remote-ipld/ipld.go:124 +0x1db github.com/ipfs-shipyard/git-remote-ipld/core.(*Remote).ProcessCommands(0xc00011a1c0) /home/runner/work/git-remote-ipld/git-remote-ipld/core/remote.go:148 +0x4b9 github.com/ipfs-shipyard/git-remote-ipld/cmd/git-remote-ipld.Main({0xc00010dbc0, 0xab733f, 0x2}, {0xca8f80, 0xc0054c00e0}, {0xca7d00, 0xc005500150}, 0x0) /home/runner/work/git-remote-ipld/git-remote-ipld/cmd/git-remote-ipld/main.go:39 +0x247 github.com/ipfs-shipyard/git-remote-ipld/cmd/git-remote-ipld.testCase(0xc00013a4e0, {0xc00010dbc0, 0x3, 0x3}, {0xab733f, 0x4}, {0xc00008df08, 0x2, 0x2}) /home/runner/work/git-remote-ipld/git-remote-ipld/cmd/git-remote-ipld/ipld_test.go:54 +0x190 github.com/ipfs-shipyard/git-remote-ipld/cmd/git-remote-ipld.TestCapabilities(0x0) /home/runner/work/git-remote-ipld/git-remote-ipld/cmd/git-remote-ipld/ipld_test.go:40 +0x250 testing.tRunner(0xc00013a4e0, 0xc0d770) /opt/hostedtoolcache/go/1.17.13/x64/src/testing/testing.go:1259 +0x102 created by testing.(*T).Run /opt/hostedtoolcache/go/1.17.13/x64/src/testing/testing.go:1306 +0x35a goroutine 20 [select]: github.com/dgraph-io/badger.(*levelsController).runWorker(0xc00011a0e0, 0xc00000e708) /home/runner/go/pkg/mod/github.com/dgraph-io/badger@v1.6.2/levels.go:376 +0x207 created by github.com/dgraph-io/badger.(*levelsController).startCompact /home/runner/go/pkg/mod/github.com/dgraph-io/badger@v1.6.2/levels.go:357 +0x55 goroutine 36 [select, 9 minutes]: github.com/dgraph-io/badger/y.(*WaterMark).process(0xc00006f780, 0xc0054b4258) /home/runner/go/pkg/mod/github.com/dgraph-io/badger@v1.6.2/y/watermark.go:229 +0x2a5 created by github.com/dgraph-io/badger/y.(*WaterMark).Init /home/runner/go/pkg/mod/github.com/dgraph-io/badger@v1.6.2/y/watermark.go:78 +0x125 goroutine 37 [select, 9 minutes]: github.com/dgraph-io/badger/y.(*WaterMark).process(0xc00006f7c0, 0xc0054b4258) /home/runner/go/pkg/mod/github.com/dgraph-io/badger@v1.6.2/y/watermark.go:229 +0x2a5 created by github.com/dgraph-io/badger/y.(*WaterMark).Init /home/runner/go/pkg/mod/github.com/dgraph-io/badger@v1.6.2/y/watermark.go:78 +0x125 goroutine 21 [select]: github.com/dgraph-io/badger.(*levelsController).runWorker(0xc00011a0e0, 0xc00000e708) /home/runner/go/pkg/mod/github.com/dgraph-io/badger@v1.6.2/levels.go:376 +0x207 created by github.com/dgraph-io/badger.(*levelsController).startCompact /home/runner/go/pkg/mod/github.com/dgraph-io/badger@v1.6.2/levels.go:357 +0x55 goroutine 38 [select]: github.com/dgraph-io/badger.(*DB).updateSize(0x0, 0xc0054b42d0) /home/runner/go/pkg/mod/github.com/dgraph-io/badger@v1.6.2/db.go:1029 +0x114 created by github.com/dgraph-io/badger.Open /home/runner/go/pkg/mod/github.com/dgraph-io/badger@v1.6.2/db.go:293 +0xd16 goroutine 22 [chan receive, 9 minutes]: github.com/dgraph-io/badger.(*DB).flushMemtable(0xc000114380, 0xc0054b4258) /home/runner/go/pkg/mod/github.com/dgraph-io/badger@v1.6.2/db.go:943 +0xb0 github.com/dgraph-io/badger.Open.func4() /home/runner/go/pkg/mod/github.com/dgraph-io/badger@v1.6.2/db.go:310 +0x25 created by github.com/dgraph-io/badger.Open /home/runner/go/pkg/mod/github.com/dgraph-io/badger@v1.6.2/db.go:309 +0xfef goroutine 25 [select, 9 minutes]: github.com/dgraph-io/badger.(*DB).doWrites(0xc000114380, 0xc00000e858) /home/runner/go/pkg/mod/github.com/dgraph-io/badger@v1.6.2/db.go:722 +0x215 created by github.com/dgraph-io/badger.Open /home/runner/go/pkg/mod/github.com/dgraph-io/badger@v1.6.2/db.go:344 +0x14e5 goroutine 24 [select, 9 minutes]: github.com/dgraph-io/badger.(*valueLog).flushDiscardStats(0xc0001144f0) /home/runner/go/pkg/mod/github.com/dgraph-io/badger@v1.6.2/value.go:1594 +0x15b created by github.com/dgraph-io/badger.(*valueLog).open /home/runner/go/pkg/mod/github.com/dgraph-io/badger@v1.6.2/value.go:849 +0x95 goroutine 26 [chan receive, 9 minutes]: github.com/dgraph-io/badger.(*valueLog).waitOnGC(0xc0001144f0, 0xc00000e708) /home/runner/go/pkg/mod/github.com/dgraph-io/badger@v1.6.2/value.go:1501 +0x6f created by github.com/dgraph-io/badger.Open /home/runner/go/pkg/mod/github.com/dgraph-io/badger@v1.6.2/db.go:347 +0x15f8 goroutine 27 [select, 9 minutes]: github.com/dgraph-io/badger.(*publisher).listenForUpdates(0xc005500360, 0xc00000eac8) /home/runner/go/pkg/mod/github.com/dgraph-io/badger@v1.6.2/publisher.go:67 +0x13f created by github.com/dgraph-io/badger.Open /home/runner/go/pkg/mod/github.com/dgraph-io/badger@v1.6.2/db.go:350 +0x1716 goroutine 29 [IO wait, 9 minutes]: internal/poll.runtime_pollWait(0x7fd85ea755e8, 0x72) /opt/hostedtoolcache/go/1.17.13/x64/src/runtime/netpoll.go:303 +0x85 internal/poll.(*pollDesc).wait(0xc0054da180, 0xc0054ef000, 0x0) /opt/hostedtoolcache/go/1.17.13/x64/src/internal/poll/fd_poll_runtime.go:84 +0x32 internal/poll.(*pollDesc).waitRead(...) /opt/hostedtoolcache/go/1.17.13/x64/src/internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Read(0xc0054da180, {0xc0054ef000, 0x1000, 0x1000}) /opt/hostedtoolcache/go/1.17.13/x64/src/internal/poll/fd_unix.go:167 +0x25a net.(*netFD).Read(0xc0054da180, {0xc0054ef000, 0x40ee9e, 0xc0054bb080}) /opt/hostedtoolcache/go/1.17.13/x64/src/net/fd_posix.go:56 +0x29 net.(*conn).Read(0xc000010008, {0xc0054ef000, 0x7fd886842510, 0x60}) /opt/hostedtoolcache/go/1.17.13/x64/src/net/net.go:1[83](https://github.com/ipfs-shipyard/git-remote-ipld/actions/runs/5948522666/job/16132465975?pr=52#step:13:85) +0x45 net/http.(*persistConn).Read(0xc0000c7560, {0xc0054ef000, 0x40715d, 0x60}) /opt/hostedtoolcache/go/1.17.13/x64/src/net/http/transport.go:1926 +0x4e bufio.(*Reader).fill(0xc0001600c0) /opt/hostedtoolcache/go/1.17.13/x64/src/bufio/bufio.go:101 +0x103 bufio.(*Reader).Peek(0xc0001600c0, 0x1) /opt/hostedtoolcache/go/1.17.13/x64/src/bufio/bufio.go:139 +0x5d net/http.(*persistConn).readLoop(0xc0000c7560) /opt/hostedtoolcache/go/1.17.13/x64/src/net/http/transport.go:2087 +0x1ac created by net/http.(*Transport).dialConn /opt/hostedtoolcache/go/1.17.13/x64/src/net/http/transport.go:1747 +0x1e05 goroutine 30 [select, 9 minutes]: net/http.(*persistConn).writeLoop(0xc0000c7560) /opt/hostedtoolcache/go/1.17.13/x64/src/net/http/transport.go:23[86](https://github.com/ipfs-shipyard/git-remote-ipld/actions/runs/5948522666/job/16132465975?pr=52#step:13:88) +0xfb created by net/http.(*Transport).dialConn /opt/hostedtoolcache/go/1.17.13/x64/src/net/http/transport.go:[174](https://github.com/ipfs-shipyard/git-remote-ipld/actions/runs/5948522666/job/16132465975?pr=52#step:13:176)8 +0x1e65
TestCapabilities
is currently failing with a timeout onmaster
. Error is: