Skip to content

Add onlymetadata flag to objects endpoint #4943

Add onlymetadata flag to objects endpoint

Add onlymetadata flag to objects endpoint #4943

Triggered via pull request February 19, 2024 09:48
Status Failure
Total duration 2m 12s
Artifacts

test.yml

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

Annotations

11 errors and 6 warnings
test (ubuntu-latest, 1.21)
3/89 tests failed
Test go.sia.tech/renterd/stores/TestObjectBasic failed in 0.06s: stores/metadata_test.go#L93
metadata_test.go:93: object mismatch any( - &object.Object{ - Key: s"key:7185765d529599b01e13a33005755cc07a92cddb4428af4ac52040b92ac6c5e7", - Slabs: []object.SlabSlice{ - {Slab: object.Slab{...}, Offset: 10, Length: 100}, - {Slab: object.Slab{...}, Offset: 20, Length: 200}, - }, - }, + object.Object{ + Key: s"key:7185765d529599b01e13a33005755cc07a92cddb4428af4ac52040b92ac6c5e7", + Slabs: []object.SlabSlice{ + {Slab: object.Slab{...}, Offset: 10, Length: 100}, + {Slab: object.Slab{...}, Offset: 20, Length: 200}, + }, + }, )
Test go.sia.tech/renterd/stores/TestObjectMetadata failed in 0.06s: stores/metadata_test.go#L181
metadata_test.go:181: &{key:3b91d41dd7308c6d82139574cbbafd5b8e44f62811e84f153896bf6937efb69d [{{1 key:a7693302c390cf6f8e00c2f1a8d024e8d0add1388db3959d486badc373d37d30 1 [{map[ed25519:0100000000000000000000000000000000000000000000000000000000000000:[fcid:0100000000000000000000000000000000000000000000000000000000000000]] ed25519:0100000000000000000000000000000000000000000000000000000000000000 h:0100000000000000000000000000000000000000000000000000000000000000}]} 10 100} {{1 key:6cca9a59522d706cf8adafe11bfe74a944b9e1ead6c9446c1d64722cc9d3b339 2 [{map[ed25519:0200000000000000000000000000000000000000000000000000000000000000:[fcid:0200000000000000000000000000000000000000000000000000000000000000]] ed25519:0200000000000000000000000000000000000000000000000000000000000000 h:0200000000000000000000000000000000000000000000000000000000000000}]} 20 200}]}
Test go.sia.tech/renterd/stores/TestObjectMetadata failed in 0.06s: stores/metadata_test.go#L182
metadata_test.go:182: {key:3b91d41dd7308c6d82139574cbbafd5b8e44f62811e84f153896bf6937efb69d [{{1 key:a7693302c390cf6f8e00c2f1a8d024e8d0add1388db3959d486badc373d37d30 1 [{map[ed25519:0100000000000000000000000000000000000000000000000000000000000000:[fcid:0100000000000000000000000000000000000000000000000000000000000000]] ed25519:0100000000000000000000000000000000000000000000000000000000000000 h:0100000000000000000000000000000000000000000000000000000000000000}]} 10 100} {{1 key:6cca9a59522d706cf8adafe11bfe74a944b9e1ead6c9446c1d64722cc9d3b339 2 [{map[ed25519:0200000000000000000000000000000000000000000000000000000000000000:[fcid:0200000000000000000000000000000000000000000000000000000000000000]] ed25519:0200000000000000000000000000000000000000000000000000000000000000 h:0200000000000000000000000000000000000000000000000000000000000000}]} 20 200}]}
Test go.sia.tech/renterd/stores/TestObjectMetadata failed in 0.06s: stores/metadata_test.go#L183
metadata_test.go:183: object mismatch any( - &object.Object{ - Key: s"key:3b91d41dd7308c6d82139574cbbafd5b8e44f62811e84f153896bf6937efb69d", - Slabs: []object.SlabSlice{ - {Slab: object.Slab{...}, Offset: 10, Length: 100}, - {Slab: object.Slab{...}, Offset: 20, Length: 200}, - }, - }, + object.Object{ + Key: s"key:3b91d41dd7308c6d82139574cbbafd5b8e44f62811e84f153896bf6937efb69d", + Slabs: []object.SlabSlice{ + {Slab: object.Slab{...}, Offset: 10, Length: 100}, + {Slab: object.Slab{...}, Offset: 20, Length: 200}, + }, + }, )
Test go.sia.tech/renterd/stores/TestSQLMetadataStore failed in 0.08s: stores/metadata_test.go#L1075
metadata_test.go:1075: object mismatch any( - api.Object{ - Metadata: api.ObjectUserMetadata{"baz": "qux", "foo": "bar"}, - ObjectMetadata: api.ObjectMetadata{ - ETag: "d34db33f", - Health: 1, - ModTime: s"2024-02-19T09:50:03.373836015Z", - Name: "key1", - Size: 300, - MimeType: "application/octet-stream", - }, - Object: &object.Object{ - Key: s"key:6598c4ff818e3ea769a96415a5deba245d87ef4869997db4c80a29a3a6cc"..., - Slabs: []object.SlabSlice{{...}, {...}}, - }, - }, + object.Object{ + Key: s"key:6598c4ff818e3ea769a96415a5deba245d87ef4869997db4c80a29a3a6cc0ba3", + Slabs: []object.SlabSlice{ + {Slab: object.Slab{...}, Offset: 10, Length: 100}, + {Slab: object.Slab{...}, Offset: 20, Length: 200}, + }, + }, )
test (windows-latest, 1.21)
The operation was canceled.
test (windows-latest, 1.22)
The operation was canceled.
test (ubuntu-latest, 1.22)
The operation was canceled.
test (macos-latest, 1.21)
The operation was canceled.
test (macos-latest, 1.22)
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: 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/.
test (windows-latest, 1.21)
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. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test (windows-latest, 1.22)
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. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test (ubuntu-latest, 1.22)
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. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test (macos-latest, 1.21)
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. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test (macos-latest, 1.22)
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. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.