Skip to content

Move S3 code to worker package and use worker instead of worker client #5459

Move S3 code to worker package and use worker instead of worker client

Move S3 code to worker package and use worker instead of worker client #5459

Triggered via pull request April 5, 2024 11:25
Status Failure
Total duration 10m 31s
Artifacts

test.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

20 errors and 1 warning
test (ubuntu-latest, 1.21)
1/36 tests failed
Test go.sia.tech/renterd/internal/test/e2e/TestS3ObjectMetadata failed in 14.53s: internal/test/e2e/settingsdb.go#L49
2024/04/05 11:35:48 /home/runner/work/renterd/renterd/stores/settingsdb.go:49 record not found [0.091ms] [rows:0] SELECT * FROM `settings` WHERE `settings`.`key` = "gouging" LIMIT 1
Test go.sia.tech/renterd/internal/test/e2e/TestS3ObjectMetadata failed in 14.53s: internal/test/e2e/settingsdb.go#L49
2024/04/05 11:35:48 /home/runner/work/renterd/renterd/stores/settingsdb.go:49 record not found [0.079ms] [rows:0] SELECT * FROM `settings` WHERE `settings`.`key` = "redundancy" LIMIT 1
Test go.sia.tech/renterd/internal/test/e2e/TestS3ObjectMetadata failed in 14.53s: internal/test/e2e/settingsdb.go#L49
2024/04/05 11:35:48 /home/runner/work/renterd/renterd/stores/settingsdb.go:49 record not found [0.072ms] [rows:0] SELECT * FROM `settings` WHERE `settings`.`key` = "uploadpacking" LIMIT 1
Test go.sia.tech/renterd/internal/test/e2e/TestS3ObjectMetadata failed in 14.53s: internal/test/e2e/metadata.go#L2118
2024/04/05 11:35:59 /home/runner/work/renterd/renterd/stores/metadata.go:2118 database is locked [0.109ms] [rows:0] DELETE FROM `object_user_metadata` WHERE db_object_id = 1 2024/04/05 11:35:59 http: panic serving 127.0.0.1:34166: not implemented goroutine 335847 [running]: net/http.(*conn).serve.func1()
Test go.sia.tech/renterd/internal/test/e2e/TestS3ObjectMetadata failed in 14.53s: internal/test/e2e/server.go#L1868
/opt/hostedtoolcache/go/1.21.8/x64/src/net/http/server.go:1868 +0xff panic({0x1af4160?, 0x3059400?})
Test go.sia.tech/renterd/internal/test/e2e/TestS3ObjectMetadata failed in 14.53s: internal/test/e2e/panic.go#L920
/opt/hostedtoolcache/go/1.21.8/x64/src/runtime/panic.go:920 +0x270 go.sia.tech/renterd/worker.(*worker).UploadMultipartUploadPart(0xc00377d8c9?, {0x7?, 0x47b7a9?}, {0xc002761190?, 0x13a599e?}, {0xc000e44820?, 0x306a080?}, {0xc001910b40?, 0xc000043b25?}, {0xc000043b47, ...}, ...)
Test go.sia.tech/renterd/internal/test/e2e/TestS3ObjectMetadata failed in 14.53s: internal/test/e2e/worker.go#L1722
/home/runner/work/renterd/renterd/worker/worker.go:1722 +0x2b go.sia.tech/renterd/worker/s3.(*s3).UploadPart(0xc0017a8420, {0x306a080, 0xc001910b40}, {0xc000043b25, 0x7}, {0xc000043b2d, 0x3}, {0xc000043b47, 0x40}, 0x1, ...)
Test go.sia.tech/renterd/internal/test/e2e/TestS3ObjectMetadata failed in 14.53s: internal/test/e2e/backend.go#L448
/home/runner/work/renterd/renterd/worker/s3/backend.go:448 +0x11a go.sia.tech/renterd/worker/s3.(*authenticatedBackend).UploadPart(0xc000e44820, {0x306a080, 0xc001910b40}, {0xc000043b25, 0x7}, {0xc000043b2d, 0x3}, {0xc000043b47, 0x40}, 0x1, ...)
Test go.sia.tech/renterd/internal/test/e2e/TestS3ObjectMetadata failed in 14.53s: internal/test/e2e/authentication.go#L243
/home/runner/work/renterd/renterd/worker/s3/authentication.go:243 +0x14c go.sia.tech/gofakes3.(*GoFakeS3).putMultipartUploadPart(0xc00014c280, {0xc000043b25, 0x7}, {0xc000043b2d, 0x3}, {0xc000043b47, 0x40}, {0x3067948, 0xc00144b340}, 0xc000bcba00)
test (ubuntu-latest, 1.22)
The job was canceled because "ubuntu-latest_1_21" failed.
test (ubuntu-latest, 1.22)
The operation was canceled.
test (macos-latest, 1.22)
The job was canceled because "ubuntu-latest_1_21" failed.
test (macos-latest, 1.22)
The operation was canceled.
test (windows-latest, 1.22)
The job was canceled because "ubuntu-latest_1_21" failed.
test (windows-latest, 1.22)
The operation was canceled.
test (windows-latest, 1.21)
The job was canceled because "ubuntu-latest_1_21" failed.
test (windows-latest, 1.21)
The operation was canceled.
test (macos-latest, 1.21)
The job was canceled because "ubuntu-latest_1_21" failed.
test (macos-latest, 1.21)
The operation was canceled.
test (ubuntu-latest, 1.21)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: 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/.