+ go test -short -race ./...
panic: test timed out after 10m0s
running tests:
TestUtxoScannerScanAddBlocks (10m0s)
goroutine 34 [running]:
testing.(*M).startAlarm.func1()
/nix/store/3v17dij8rvg7q99009swxg52995r7s22-go-1.22.5/share/go/src/testing/testing.go:2366 +0x265
created by time.goFunc
/nix/store/3v17dij8rvg7q99009swxg52995r7s22-go-1.22.5/share/go/src/time/sleep.go:177 +0x45
goroutine 1 [chan receive]:
testing.(*T).Run(0xc000222b60, {0xb9447c, 0x1c}, 0xc735c8)
/nix/store/3v17dij8rvg7q99009swxg52995r7s22-go-1.22.5/share/go/src/testing/testing.go:1750 +0x851
testing.runTests.func1(0xc000222b60)
/nix/store/3v17dij8rvg7q99009swxg52995r7s22-go-1.22.5/share/go/src/testing/testing.go:2161 +0x86
testing.tRunner(0xc000222b60, 0xc000059b10)
/nix/store/3v17dij8rvg7q99009swxg52995r7s22-go-1.22.5/share/go/src/testing/testing.go:1689 +0x21f
testing.runTests(0xc000012288, {0x1032ba0, 0x17, 0x17}, {0xc000059bb8?, 0xc000059c00?, 0x103c200?})
/nix/store/3v17dij8rvg7q99009swxg52995r7s22-go-1.22.5/share/go/src/testing/testing.go:2159 +0x8bf
testing.(*M).Run(0xc0000fb9a0)
/nix/store/3v17dij8rvg7q99009swxg52995r7s22-go-1.22.5/share/go/src/testing/testing.go:2027 +0xf18
main.main()
_testmain.go:93 +0x2be
goroutine 6 [chan receive]:
testing.(*T).Parallel(0xc000222d00)
/nix/store/3v17dij8rvg7q99009swxg52995r7s22-go-1.22.5/share/go/src/testing/testing.go:1483 +0x525
github.com/lightninglabs/neutrino.TestCheckCFCheckptSanity(0xc000222d00)
/home/calvin/bitcoin-projects/btcd/neutrino/bamboozle_unit_test.go:631 +0x2f
testing.tRunner(0xc000222d00, 0xc73568)
/nix/store/3v17dij8rvg7q99009swxg52995r7s22-go-1.22.5/share/go/src/testing/testing.go:1689 +0x21f
created by testing.(*T).Run in goroutine 1
/nix/store/3v17dij8rvg7q99009swxg52995r7s22-go-1.22.5/share/go/src/testing/testing.go:1742 +0x826
goroutine 7 [chan receive]:
testing.(*T).Parallel(0xc000222ea0)
/nix/store/3v17dij8rvg7q99009swxg52995r7s22-go-1.22.5/share/go/src/testing/testing.go:1483 +0x525
github.com/lightninglabs/neutrino.TestCheckForCFHeadersMismatch(0xc000222ea0)
/home/calvin/bitcoin-projects/btcd/neutrino/bamboozle_unit_test.go:642 +0x2f
testing.tRunner(0xc000222ea0, 0xc73570)
/nix/store/3v17dij8rvg7q99009swxg52995r7s22-go-1.22.5/share/go/src/testing/testing.go:1689 +0x21f
created by testing.(*T).Run in goroutine 1
/nix/store/3v17dij8rvg7q99009swxg52995r7s22-go-1.22.5/share/go/src/testing/testing.go:1742 +0x826
goroutine 8 [chan receive]:
testing.(*T).Parallel(0xc000223040)
/nix/store/3v17dij8rvg7q99009swxg52995r7s22-go-1.22.5/share/go/src/testing/testing.go:1483 +0x525
github.com/lightninglabs/neutrino.TestResolveFilterMismatchFromBlock(0xc000223040)
/home/calvin/bitcoin-projects/btcd/neutrino/bamboozle_unit_test.go:660 +0x3c
testing.tRunner(0xc000223040, 0xc735b8)
/nix/store/3v17dij8rvg7q99009swxg52995r7s22-go-1.22.5/share/go/src/testing/testing.go:1689 +0x21f
created by testing.(*T).Run in goroutine 1
/nix/store/3v17dij8rvg7q99009swxg52995r7s22-go-1.22.5/share/go/src/testing/testing.go:1742 +0x826
goroutine 9 [chan receive]:
testing.(*T).Parallel(0xc0002231e0)
/nix/store/3v17dij8rvg7q99009swxg52995r7s22-go-1.22.5/share/go/src/testing/testing.go:1483 +0x525
github.com/lightninglabs/neutrino.TestBlockManagerInitialInterval(0xc0002231e0)
/home/calvin/bitcoin-projects/btcd/neutrino/blockmanager_test.go:278 +0x3f
testing.tRunner(0xc0002231e0, 0xc73550)
/nix/store/3v17dij8rvg7q99009swxg52995r7s22-go-1.22.5/share/go/src/testing/testing.go:1689 +0x21f
created by testing.(*T).Run in goroutine 1
/nix/store/3v17dij8rvg7q99009swxg52995r7s22-go-1.22.5/share/go/src/testing/testing.go:1742 +0x826
goroutine 10 [chan receive]:
testing.(*T).Parallel(0xc000223380)
/nix/store/3v17dij8rvg7q99009swxg52995r7s22-go-1.22.5/share/go/src/testing/testing.go:1483 +0x525
github.com/lightninglabs/neutrino.TestBlockManagerInvalidInterval(0xc000223380)
/home/calvin/bitcoin-projects/btcd/neutrino/blockmanager_test.go:456 +0x3f
testing.tRunner(0xc000223380, 0xc73558)
/nix/store/3v17dij8rvg7q99009swxg52995r7s22-go-1.22.5/share/go/src/testing/testing.go:1689 +0x21f
created by testing.(*T).Run in goroutine 1
/nix/store/3v17dij8rvg7q99009swxg52995r7s22-go-1.22.5/share/go/src/testing/testing.go:1742 +0x826
goroutine 11 [chan receive]:
testing.(*T).Parallel(0xc000223520)
/nix/store/3v17dij8rvg7q99009swxg52995r7s22-go-1.22.5/share/go/src/testing/testing.go:1483 +0x525
github.com/lightninglabs/neutrino.TestBlockManagerDetectBadPeers(0xc000223520)
/home/calvin/bitcoin-projects/btcd/neutrino/blockmanager_test.go:739 +0x3f
testing.tRunner(0xc000223520, 0xc73548)
/nix/store/3v17dij8rvg7q99009swxg52995r7s22-go-1.22.5/share/go/src/testing/testing.go:1689 +0x21f
created by testing.(*T).Run in goroutine 1
/nix/store/3v17dij8rvg7q99009swxg52995r7s22-go-1.22.5/share/go/src/testing/testing.go:1742 +0x826
goroutine 12 [chan receive]:
testing.(*T).Parallel(0xc0002236c0)
/nix/store/3v17dij8rvg7q99009swxg52995r7s22-go-1.22.5/share/go/src/testing/testing.go:1483 +0x525
github.com/lightninglabs/neutrino.TestHandleHeaders(0xc0002236c0)
/home/calvin/bitcoin-projects/btcd/neutrino/blockmanager_test.go:877 +0x3f
testing.tRunner(0xc0002236c0, 0xc73590)
/nix/store/3v17dij8rvg7q99009swxg52995r7s22-go-1.22.5/share/go/src/testing/testing.go:1689 +0x21f
created by testing.(*T).Run in goroutine 1
/nix/store/3v17dij8rvg7q99009swxg52995r7s22-go-1.22.5/share/go/src/testing/testing.go:1742 +0x826
goroutine 13 [chan receive]:
testing.(*T).Parallel(0xc000223860)
/nix/store/3v17dij8rvg7q99009swxg52995r7s22-go-1.22.5/share/go/src/testing/testing.go:1483 +0x525
github.com/lightninglabs/neutrino.TestBlockFilterCaches(0xc000223860)
/home/calvin/bitcoin-projects/btcd/neutrino/cache_test.go:19 +0x3f
testing.tRunner(0xc000223860, 0xc73540)
/nix/store/3v17dij8rvg7q99009swxg52995r7s22-go-1.22.5/share/go/src/testing/testing.go:1689 +0x21f
created by testing.(*T).Run in goroutine 1
/nix/store/3v17dij8rvg7q99009swxg52995r7s22-go-1.22.5/share/go/src/testing/testing.go:1742 +0x826
goroutine 16 [chan receive]:
testing.(*T).Parallel(0xc000223d40)
/nix/store/3v17dij8rvg7q99009swxg52995r7s22-go-1.22.5/share/go/src/testing/testing.go:1483 +0x525
github.com/lightninglabs/neutrino.TestBlockCache(0xc000223d40)
/home/calvin/bitcoin-projects/btcd/neutrino/query_test.go:253 +0x3f
testing.tRunner(0xc000223d40, 0xc73538)
/nix/store/3v17dij8rvg7q99009swxg52995r7s22-go-1.22.5/share/go/src/testing/testing.go:1689 +0x21f
created by testing.(*T).Run in goroutine 1
/nix/store/3v17dij8rvg7q99009swxg52995r7s22-go-1.22.5/share/go/src/testing/testing.go:1742 +0x826
goroutine 18 [chan receive]:
testing.(*T).Parallel(0xc0002fe000)
/nix/store/3v17dij8rvg7q99009swxg52995r7s22-go-1.22.5/share/go/src/testing/testing.go:1483 +0x525
github.com/lightninglabs/neutrino.TestRescanNewBlockAfterRetry(0xc0002fe000)
/home/calvin/bitcoin-projects/btcd/neutrino/rescan_test.go:496 +0x3f
testing.tRunner(0xc0002fe000, 0xc73598)
/nix/store/3v17dij8rvg7q99009swxg52995r7s22-go-1.22.5/share/go/src/testing/testing.go:1689 +0x21f
created by testing.(*T).Run in goroutine 1
/nix/store/3v17dij8rvg7q99009swxg52995r7s22-go-1.22.5/share/go/src/testing/testing.go:1742 +0x826
goroutine 19 [chan receive]:
testing.(*T).Parallel(0xc0002fe1a0)
/nix/store/3v17dij8rvg7q99009swxg52995r7s22-go-1.22.5/share/go/src/testing/testing.go:1483 +0x525
github.com/lightninglabs/neutrino.TestRescanReorgAllButFirstRetryBlocks(0xc0002fe1a0)
/home/calvin/bitcoin-projects/btcd/neutrino/rescan_test.go:530 +0x3f
testing.tRunner(0xc0002fe1a0, 0xc735a0)
/nix/store/3v17dij8rvg7q99009swxg52995r7s22-go-1.22.5/share/go/src/testing/testing.go:1689 +0x21f
created by testing.(*T).Run in goroutine 1
/nix/store/3v17dij8rvg7q99009swxg52995r7s22-go-1.22.5/share/go/src/testing/testing.go:1742 +0x826
goroutine 20 [chan receive]:
testing.(*T).Parallel(0xc0002fe340)
/nix/store/3v17dij8rvg7q99009swxg52995r7s22-go-1.22.5/share/go/src/testing/testing.go:1483 +0x525
github.com/lightninglabs/neutrino.TestRescanReorgAllRetryBlocks(0xc0002fe340)
/home/calvin/bitcoin-projects/btcd/neutrino/rescan_test.go:570 +0x3f
testing.tRunner(0xc0002fe340, 0xc735a8)
/nix/store/3v17dij8rvg7q99009swxg52995r7s22-go-1.22.5/share/go/src/testing/testing.go:1689 +0x21f
created by testing.(*T).Run in goroutine 1
/nix/store/3v17dij8rvg7q99009swxg52995r7s22-go-1.22.5/share/go/src/testing/testing.go:1742 +0x826
goroutine 21 [chan receive]:
testing.(*T).Parallel(0xc0002fe4e0)
/nix/store/3v17dij8rvg7q99009swxg52995r7s22-go-1.22.5/share/go/src/testing/testing.go:1483 +0x525
github.com/lightninglabs/neutrino.TestRescanRetryBlocksAfterCatchingUp(0xc0002fe4e0)
/home/calvin/bitcoin-projects/btcd/neutrino/rescan_test.go:631 +0x3f
testing.tRunner(0xc0002fe4e0, 0xc735b0)
/nix/store/3v17dij8rvg7q99009swxg52995r7s22-go-1.22.5/share/go/src/testing/testing.go:1689 +0x21f
created by testing.(*T).Run in goroutine 1
/nix/store/3v17dij8rvg7q99009swxg52995r7s22-go-1.22.5/share/go/src/testing/testing.go:1742 +0x826
goroutine 27 [chan send]:
github.com/lightninglabs/neutrino.TestUtxoScannerScanAddBlocks(0xc0002fed00)
/home/calvin/bitcoin-projects/btcd/neutrino/utxoscanner_test.go:440 +0xd5f
testing.tRunner(0xc0002fed00, 0xc735c8)
/nix/store/3v17dij8rvg7q99009swxg52995r7s22-go-1.22.5/share/go/src/testing/testing.go:1689 +0x21f
created by testing.(*T).Run in goroutine 1
/nix/store/3v17dij8rvg7q99009swxg52995r7s22-go-1.22.5/share/go/src/testing/testing.go:1742 +0x826
goroutine 28 [sync.Cond.Wait]:
sync.runtime_notifyListWait(0xc0000e3490, 0x0)
/nix/store/3v17dij8rvg7q99009swxg52995r7s22-go-1.22.5/share/go/src/runtime/sema.go:569 +0x159
sync.(*Cond).Wait(0xc0000e3480)
/nix/store/3v17dij8rvg7q99009swxg52995r7s22-go-1.22.5/share/go/src/sync/cond.go:70 +0x75
github.com/lightninglabs/neutrino.(*UtxoScanner).batchManager(0xc0003082a0)
/home/calvin/bitcoin-projects/btcd/neutrino/utxoscanner.go:226 +0x425
created by github.com/lightninglabs/neutrino.(*UtxoScanner).Start in goroutine 27
/home/calvin/bitcoin-projects/btcd/neutrino/utxoscanner.go:141 +0xc7
FAIL github.com/lightninglabs/neutrino 600.114s
ok github.com/lightninglabs/neutrino/banman 2.177s
ok github.com/lightninglabs/neutrino/blockntfns 1.011s
ok github.com/lightninglabs/neutrino/chainsync 1.011s
ok github.com/lightninglabs/neutrino/chanutils 2.257s
ok github.com/lightninglabs/neutrino/filterdb 1.153s
ok github.com/lightninglabs/neutrino/headerfs 3.006s
ok github.com/lightninglabs/neutrino/headerlist 1.011s
ok github.com/lightninglabs/neutrino/pushtx 61.174s
ok github.com/lightninglabs/neutrino/query 3.201s
FAIL
When running tests locally on master, the test times out on master at commit
81d6cd2d2da5b7ce01664ae71d8fce027cd27de4Command given:
go test -short -race ./...Go version:
go1.22.5 linux/amd64