Isolate uploader in separate package #7497
Annotations
4 errors
Run SiaFoundation/workflows/.github/actions/go-test@master
2/127 tests panicked
|
Run SiaFoundation/workflows/.github/actions/go-test@master
Test go.sia.tech/renterd/worker/TestUpload panicked in 0s:
=== RUN TestUpload
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x2 addr=0x0 pc=0x100ecd2d8]
goroutine 5 [running]:
go.sia.tech/renterd/worker.(*slabUpload).receive(0xc000233220, {{0x6, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...}, ...})
/Users/runner/work/renterd/renterd/worker/upload.go:1021 +0x48
go.sia.tech/renterd/worker.(*upload).uploadShards(0xc0001aa330, {0x10116b370, 0xc000088140}, {0xc0001843f0, 0x6, 0x6}, {0xc00021f200, 0xc, 0x10}, {0x1011674d8, ...}, ...)
/Users/runner/work/renterd/renterd/worker/upload.go:865 +0x838
go.sia.tech/renterd/worker.(*upload).uploadSlab(0xc0001aa330, {0x10116b370, 0xc000088140}, {0x0?, 0x0?}, {0xc000f00000, 0x800000, 0x800000}, 0x80, 0x0, ...)
/Users/runner/work/renterd/renterd/worker/upload.go:790 +0x238
go.sia.tech/renterd/worker.(*uploadManager).Upload.func2.1({0x0?, 0x0?}, {0xc000f00000, 0x800000, 0x800000}, 0x80, 0x0)
/Users/runner/work/renterd/renterd/worker/upload.go:454 +0x12c
created by go.sia.tech/renterd/worker.(*uploadManager).Upload.func2 in goroutine 54
/Users/runner/work/renterd/renterd/worker/upload.go:453 +0x5e4
|
Run SiaFoundation/workflows/.github/actions/go-test@master
Test go.sia.tech/renterd/internal/test/e2e/TestObjectsWithNoDelimiter panicked in 0s:
=== RUN TestObjectsWithNoDelimiter
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x2 addr=0x0 pc=0x10508f118]
goroutine 25606 [running]:
go.sia.tech/renterd/worker.(*slabUpload).receive(0xc00053d0e0, {{0xac, 0xce, 0x7c, 0x91, 0x80, 0x41, 0x86, 0xdf, 0x9c, ...}, ...})
/Users/runner/work/renterd/renterd/worker/upload.go:1021 +0x48
go.sia.tech/renterd/worker.(*upload).uploadShards(0xc001057d40, {0x1064baa50, 0xc000a55cc0}, {0xc001110000, 0x3, 0x3}, {0xc000dda000, 0x3, 0x4}, {0x1064b77f0, ...}, ...)
/Users/runner/work/renterd/renterd/worker/upload.go:865 +0x838
go.sia.tech/renterd/worker.(*upload).uploadSlab(0xc001057d40, {0x1064baa50, 0xc000a55cc0}, {0x3305e64f3cf4b6ad?, 0xc219f0477dfc76a8?}, {0xc0017fe000, 0x800000, 0x800000}, 0x1, 0x0, ...)
/Users/runner/work/renterd/renterd/worker/upload.go:790 +0x238
go.sia.tech/renterd/worker.(*uploadManager).Upload.func2.1({0x0?, 0x0?}, {0xc0017fe000, 0x800000, 0x800000}, 0x1, 0x0)
/Users/runner/work/renterd/renterd/worker/upload.go:454 +0x12c
created by go.sia.tech/renterd/worker.(*uploadManager).Upload.func2 in goroutine 25605
/Users/runner/work/renterd/renterd/worker/upload.go:453 +0x5e4
|
Run SiaFoundation/workflows/.github/actions/go-test@master
2/127 tests failed
|
Loading