Skip to content

Isolate uploader in separate package #7497

Isolate uploader in separate package

Isolate uploader in separate package #7497

Triggered via pull request November 8, 2024 14:39
Status Failure
Total duration 4m 22s
Artifacts

test.yml

on: pull_request
Matrix: test-mysql
Matrix: test-sqlite / test
test-sqlite  /  success
0s
test-sqlite / success
success
0s
success
Fit to window
Zoom out
Zoom in

Annotations

15 errors and 1 warning
test-sqlite / test (1.22, macos-latest)
2/127 tests panicked
test-sqlite / test (1.22, macos-latest)
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
test-sqlite / test (1.22, macos-latest)
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
test-sqlite / test (1.22, macos-latest)
2/127 tests failed
test-sqlite / test (1.23, ubuntu-latest)
The job was canceled because "_1_22_macos-latest" failed.
test-sqlite / test (1.22, windows-latest)
The job was canceled because "_1_22_macos-latest" failed.
test-sqlite / test (1.22, windows-latest)
The operation was canceled.
test-sqlite / test (1.22, ubuntu-latest)
The job was canceled because "_1_22_macos-latest" failed.
test-sqlite / test (1.23, macos-latest)
The job was canceled because "_1_22_macos-latest" failed.
test-sqlite / test (1.23, windows-latest)
The job was canceled because "_1_22_macos-latest" failed.
test-mysql (1.23)
2/128 tests panicked
test-mysql (1.23)
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=0x1 addr=0x0 pc=0xdd7ffd] goroutine 20 [running]: go.sia.tech/renterd/worker.(*slabUpload).receive(0xc00011c8c0, {{0x8, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...}, ...}) /home/runner/work/renterd/renterd/worker/upload.go:1021 +0x5d go.sia.tech/renterd/worker.(*upload).uploadShards(0xc0000a8870, {0x1075388, 0xc0001829b0}, {0xc000186240, 0x6, 0x6}, {0xc0001a2d80, 0xc, 0x10}, {0x1071218, ...}, ...) /home/runner/work/renterd/renterd/worker/upload.go:865 +0xcc5 go.sia.tech/renterd/worker.(*upload).uploadSlab(0xc0000a8870, {0x1075388, 0xc0001829b0}, {0x0?, 0x0?}, {0xc000f00000, 0x800000, 0x800000}, 0x80, 0x0, ...) /home/runner/work/renterd/renterd/worker/upload.go:790 +0x36a go.sia.tech/renterd/worker.(*uploadManager).Upload.func2.1({0x2?, 0x6?}, {0xc000f00000, 0x800000, 0x800000}, 0x80, 0x0) /home/runner/work/renterd/renterd/worker/upload.go:454 +0x1f8 created by go.sia.tech/renterd/worker.(*uploadManager).Upload.func2 in goroutine 54 /home/runner/work/renterd/renterd/worker/upload.go:453 +0x7a5
test-mysql (1.23)
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=0x1 addr=0x0 pc=0x150dcdd] goroutine 15331 [running]: go.sia.tech/renterd/worker.(*slabUpload).receive(0xc000b3a320, {{0xea, 0x7e, 0xa9, 0x93, 0x46, 0x17, 0xfa, 0xaf, 0xbc, ...}, ...}) /home/runner/work/renterd/renterd/worker/upload.go:1021 +0x5d go.sia.tech/renterd/worker.(*upload).uploadShards(0xc00081c9c0, {0x2992b70, 0xc0004c3c20}, {0xc0013850e0, 0x3, 0x3}, {0xc000f08f40, 0x3, 0x4}, {0x298f8d0, ...}, ...) /home/runner/work/renterd/renterd/worker/upload.go:865 +0xcc5 go.sia.tech/renterd/worker.(*upload).uploadSlab(0xc00081c9c0, {0x2992b70, 0xc0004c3c20}, {0x453687?, 0x198b3c0?}, {0xc00176c000, 0x800000, 0x800000}, 0x1, 0x0, ...) /home/runner/work/renterd/renterd/worker/upload.go:790 +0x36a go.sia.tech/renterd/worker.(*uploadManager).Upload.func2.1({0xa4004a?, 0xc000f41840?}, {0xc00176c000, 0x800000, 0x800000}, 0x1, 0x0) /home/runner/work/renterd/renterd/worker/upload.go:454 +0x1f8 created by go.sia.tech/renterd/worker.(*uploadManager).Upload.func2 in goroutine 15330 /home/runner/work/renterd/renterd/worker/upload.go:453 +0x7a5
test-mysql (1.23)
2/128 tests failed
test-mysql (1.22)
The job was canceled because "_1_23" failed.
analyze
The following actions use a deprecated Node.js version and will be forced to run on node20: golangci/golangci-lint-action@v3, SiaFoundation/action-golang-analysis@HEAD. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/