Stop using the worker's shutdown context for unlocking accounts #5015
Annotations
2 errors and 1 warning
Test Integration
1/0 tests panicked
|
Test Integration
Test go.sia.tech/renterd/internal/testing/TestBlocklist panicked in 0s:
=== RUN TestBlocklist
2024/02/22 13:13:17 http: panic serving 127.0.0.1:49248: runtime error: index out of range [0] with length 0
goroutine 2612 [running]:
net/http.(*conn).serve.func1()
/Users/runner/hostedtoolcache/go/1.22.0/x64/src/net/http/server.go:1898 +0x10a
panic({0x107594920?, 0xc00136e4b0?})
/Users/runner/hostedtoolcache/go/1.22.0/x64/src/runtime/panic.go:770 +0x132
go.sia.tech/core/types.(*FileContract).ValidRenterOutput(...)
/Users/runner/go/pkg/mod/go.sia.tech/[email protected]/types/types.go:257
go.sia.tech/core/types.(*FileContract).ValidRenterPayout(...)
/Users/runner/go/pkg/mod/go.sia.tech/[email protected]/types/types.go:262
go.sia.tech/core/rhp/v3.PayByContract(0xc0008ca960, {0xc00078a480?, 0x107fca1c0?}, {0x44, 0x15, 0xeb, 0xfd, 0x4f, 0x9c, 0xd4, ...}, ...)
/Users/runner/go/pkg/mod/go.sia.tech/[email protected]/rhp/v3/rhp.go:68 +0xd6f
go.sia.tech/renterd/worker.payByContract(0xc0008ca960, {0xc000c0a920?, 0xc00137ec30?}, {0x44, 0x15, 0xeb, 0xfd, 0x4f, 0x9c, 0xd4, ...}, ...)
/Users/runner/work/renterd/renterd/worker/rhpv3.go:1080 +0x139
go.sia.tech/renterd/worker.(*host).FetchPriceTable.(*host).preparePriceTableContractPayment.func2({{0xe2, 0x89, 0x64, 0xf4, 0x5c, 0x29, 0x94, 0xbb, 0x94, 0x3, ...}, ...})
/Users/runner/work/renterd/renterd/worker/host.go:318 +0x191
go.sia.tech/renterd/worker.RPCPriceTable({_, _}, _, _)
/Users/runner/work/renterd/renterd/worker/rhpv3.go:604 +0x6b5
go.sia.tech/renterd/worker.(*host).FetchPriceTable.func1.1({0x107629ba0, 0xc000d189c0}, 0xc000944320)
/Users/runner/work/renterd/renterd/worker/host.go:198 +0xb8
go.sia.tech/renterd/worker.(*transportPoolV3).withTransportV3(0xc00069d7d0, {0x107629ba0, 0xc000d189c0}, {0x0, 0xfa, 0xf, 0x7e, 0x52, 0x21, 0xd5, ...}, ...)
/Users/runner/work/renterd/renterd/worker/rhpv3.go:225 +0x26a
go.sia.tech/renterd/worker.(*host).FetchPriceTable.func1(_)
/Users/runner/work/renterd/renterd/worker/host.go:197 +0x199
go.sia.tech/renterd/worker.(*host).FetchPriceTable(_, {_, _}, _)
/Users/runner/work/renterd/renterd/worker/host.go:214 +0x1ad
go.sia.tech/renterd/worker.(*priceTable).fetch(_, {_, _}, _)
/Users/runner/work/renterd/renterd/worker/pricetables.go:160 +0x983
go.sia.tech/renterd/worker.(*priceTables).fetch(_, {_, _}, {0x0, 0xfa, 0xf, 0x7e, 0x52, 0x21, 0xd5, ...}, ...)
/Users/runner/work/renterd/renterd/worker/pricetables.go:86 +0x398
go.sia.tech/renterd/worker.(*host).priceTable(_, {_, _}, _)
/Users/runner/work/renterd/renterd/worker/rhpv3.go:492 +0x14a
go.sia.tech/renterd/worker.(*host).FundAccount.func1.1({0x107629ba0, 0xc000d189c0}, 0xc000944320)
/Users/runner/work/renterd/renterd/worker/host.go:237 +0x8b
go.sia.tech/renterd/worker.(*transportPoolV3).withTransportV3(0xc00069d7d0, {0x107629ba0, 0xc000d189c0}, {0x0, 0xfa, 0xf, 0x7e, 0x52, 0x21, 0xd5, ...}, ...)
/Users/runner/work/renterd/renterd/worker/rhpv3.go:225 +0x26a
go.sia.tech/renterd/worker.(*host).FundAccount.func1()
/Users/runner/work/renterd/renterd/worker/host.go:235 +0x199
go.sia.tech/renterd/worker.(*account).WithDeposit.func1({{0x44, 0x15, 0xeb, 0xfd, 0x4f, 0x9c, 0xd4, 0xf0, 0xaf, 0xa5, ...}, ...})
/Users/runner/work/renterd/renterd/worker/rhpv3.go:411 +0x64
go.sia.tech/renterd/worker.withAccountLock({0x107629ba0, 0xc000d189c0}, {0x1112db830, 0xc0005de9d0}, {0x44, 0x15, 0xeb, 0xfd, 0x4f, 0x9c, ...}, ...)
/Users/runner/work/renterd/renterd/worker/rhpv3.go:388 +0x1dc
go.sia.tech/renterd/worker.(*account).WithDeposit(0xc000586770, {0x107629ba0, 0xc000d189c0}, 0xc001326d00)
/Users/runner/work/renterd/renterd/worker/rhpv3.go:410 +0x1d2
go.sia.tech/renterd/worker.(*host).FundAccount(0xc000a4e000, {0x107629ba0, 0xc000d189c0}, {0x18667d5a9ec9d383?, 0x0?}, 0xc0008ca960)
/Users/runner/work/renterd/renterd/worker/host.go:234 +0x1d1
go.sia.tech/renterd/worker.(*worker).rhpFundHandler.func1({{0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...}, ...})
/Users/runner/work/renterd/renterd/worker/worker.go:670 +0x20b
go.sia.tech/renterd/worker.(*worker).rhpFundHandler.(*worker).withRevision.func3()
/Users/runne
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v3, golangci/golangci-lint-action@v3, SiaFoundation/action-golang-analysis@HEAD, n8maninger/action-golang-test@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
The logs for this run have expired and are no longer available.
Loading