Skip to content

mempool: test timeouts #5956

@erikgrinaker

Description

@erikgrinaker

I'm seeing frequent test timeouts, that I suspect are caused by the recent mempool reactor refactor.

panic: test timed out after 8m0s

goroutine 2280 [running]:
testing.(*M).startAlarm.func1()
	/opt/hostedtoolcache/go/1.15.6/x64/src/testing/testing.go:1618 +0x11f
created by time.goFunc
	/opt/hostedtoolcache/go/1.15.6/x64/src/time/sleep.go:167 +0x52

goroutine 1 [chan receive, 7 minutes]:
testing.(*T).Run(0xc00048a600, 0x10d172a, 0x16, 0x1221db8, 0x1)
	/opt/hostedtoolcache/go/1.15.6/x64/src/testing/testing.go:1169 +0x5f4
testing.runTests.func1(0xc00048a600)
	/opt/hostedtoolcache/go/1.15.6/x64/src/testing/testing.go:1439 +0xa7
testing.tRunner(0xc00048a600, 0xc00009fc78)
	/opt/hostedtoolcache/go/1.15.6/x64/src/testing/testing.go:1123 +0x203
testing.runTests(0xc000488840, 0x17e2100, 0x14, 0x14, 0xbffb4b01ab5249fb, 0x6fec0ffd5c, 0x17ef560, 0xc00046c228)
	/opt/hostedtoolcache/go/1.15.6/x64/src/testing/testing.go:1437 +0x613
testing.(*M).Run(0xc000406300, 0x0)
	/opt/hostedtoolcache/go/1.15.6/x64/src/testing/testing.go:1345 +0x3b4
main.main()
	_testmain.go:149 +0x357

goroutine 2273 [chan receive, 7 minutes]:
github.com/tendermint/tendermint/mempool.(*Reactor).OnStop(0xc0000baf00)
	/home/runner/work/tendermint/tendermint/mempool/reactor.go:158 +0x225
github.com/tendermint/tendermint/libs/service.(*BaseService).Stop(0xc0000baf00, 0x0, 0xc000c3fd40)
	/home/runner/work/tendermint/tendermint/libs/service/service.go:169 +0x516
github.com/tendermint/tendermint/mempool.setup.func1()
	/home/runner/work/tendermint/tendermint/mempool/reactor_test.go:89 +0x78
testing.(*common).Cleanup.func1()
	/opt/hostedtoolcache/go/1.15.6/x64/src/testing/testing.go:880 +0x104
testing.(*common).runCleanup(0xc0000d3c80, 0x0, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.6/x64/src/testing/testing.go:957 +0xcb
testing.tRunner.func2(0xc0000d3c80)
	/opt/hostedtoolcache/go/1.15.6/x64/src/testing/testing.go:1117 +0x75
testing.tRunner(0xc0000d3c80, 0x1221db8)
	/opt/hostedtoolcache/go/1.15.6/x64/src/testing/testing.go:1127 +0x22b
created by testing.(*T).Run
	/opt/hostedtoolcache/go/1.15.6/x64/src/testing/testing.go:1168 +0x5bc

goroutine 12 [syscall, 7 minutes]:
os/signal.signal_recv(0x4a4dc1)
	/opt/hostedtoolcache/go/1.15.6/x64/src/runtime/sigqueue.go:147 +0x9d
os/signal.loop()
	/opt/hostedtoolcache/go/1.15.6/x64/src/os/signal/signal_unix.go:23 +0x30
created by os/signal.Notify.func1.1
	/opt/hostedtoolcache/go/1.15.6/x64/src/os/signal/signal.go:150 +0x7d

goroutine 34 [chan receive, 7 minutes]:
github.com/tendermint/tendermint/abci/server.(*SocketServer).handleResponses(0xc0004d2b00, 0xc0004805a0, 0x7f3e9adc6a40, 0xc001372000, 0xc000480600)
	/home/runner/work/tendermint/tendermint/abci/server/socket_server.go:246 +0xbb
created by github.com/tendermint/tendermint/abci/server.(*SocketServer).acceptConnectionsRoutine
	/home/runner/work/tendermint/tendermint/abci/server/socket_server.go:129 +0x417

goroutine 2276 [chan send, 7 minutes]:
github.com/tendermint/tendermint/mempool.(*Reactor).processMempoolCh(0xc0000baf00)
	/home/runner/work/tendermint/tendermint/mempool/reactor.go:227 +0x732
created by github.com/tendermint/tendermint/mempool.(*Reactor).OnStart
	/home/runner/work/tendermint/tendermint/mempool/reactor.go:133 +0xbd

goroutine 2275 [select, 7 minutes]:
github.com/tendermint/tendermint/mempool.(*Reactor).processPeerUpdates(0xc0000ba780)
	/home/runner/work/tendermint/tendermint/mempool/reactor.go:302 +0x2b4
created by github.com/tendermint/tendermint/mempool.(*Reactor).OnStart
	/home/runner/work/tendermint/tendermint/mempool/reactor.go:134 +0xdf

goroutine 2274 [select, 7 minutes]:
github.com/tendermint/tendermint/mempool.(*Reactor).processMempoolCh(0xc0000ba780)
	/home/runner/work/tendermint/tendermint/mempool/reactor.go:223 +0x22e
created by github.com/tendermint/tendermint/mempool.(*Reactor).OnStart
	/home/runner/work/tendermint/tendermint/mempool/reactor.go:133 +0xbd

goroutine 2145 [select, 7 minutes]:
github.com/tendermint/tendermint/mempool.(*Reactor).broadcastTxRoutine(0xc0000ba780, 0xc000c00580, 0x20, 0xc000b998a0)
	/home/runner/work/tendermint/tendermint/mempool/reactor.go:339 +0xd2b
created by github.com/tendermint/tendermint/mempool.(*Reactor).processPeerUpdate
	/home/runner/work/tendermint/tendermint/mempool/reactor.go:277 +0x5e5

FAIL	github.com/tendermint/tendermint/mempool	480.735s

Metadata

Metadata

Assignees

Labels

C:mempoolComponent: MempoolC:p2pComponent: P2P pkg

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions