Skip to content

e2e: Add integration test for network transition from v1 to v2 #7964

e2e: Add integration test for network transition from v1 to v2

e2e: Add integration test for network transition from v1 to v2 #7964

Triggered via pull request December 16, 2024 11:39
Status Failure
Total duration 10m 15s
Artifacts

test.yml

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

Annotations

49 errors and 6 warnings
test-sqlite / test (1.23, ubuntu-latest)
21/199 tests failed
Test go.sia.tech/renterd/stores/TestObjectBasic failed in 0.02s: stores/metadata_test.go#L248
metadata_test.go:248: object mismatch &{skey:d4793590c39720acc73307494aedc7231e63b0c6dd05bf23671eab44f19bccd4 [{{1 skey:8ef197346481b1d4140211c242ec567759762affb838f68a03e034a571b7db1a 1 [{map[ed25519:0100000000000000000000000000000000000000000000000000000000000000:[0100000000000000000000000000000000000000000000000000000000000000]] 0100000000000000000000000000000000000000000000000000000000000000}]} 0 0} {{1 skey:63d3a883b9397fc433634eb601a9c0dcf3d461e3e46a5bce91f18cdc6bebc05e 2 [{map[ed25519:0200000000000000000000000000000000000000000000000000000000000000:[0200000000000000000000000000000000000000000000000000000000000000]] 0200000000000000000000000000000000000000000000000000000000000000}]} 0 0}]} {skey:d4793590c39720acc73307494aedc7231e63b0c6dd05bf23671eab44f19bccd4 [{{1 skey:8ef197346481b1d4140211c242ec567759762affb838f68a03e034a571b7db1a 1 [{map[ed25519:0100000000000000000000000000000000000000000000000000000000000000:[0100000000000000000000000000000000000000000000000000000000000000]] 0100000000000000000000000000000000000000000000000000000000000000}]} 10 100} {{1 skey:63d3a883b9397fc433634eb601a9c0dcf3d461e3e46a5bce91f18cdc6bebc05e 2 [{map[ed25519:0200000000000000000000000000000000000000000000000000000000000000:[0200000000000000000000000000000000000000000000000000000000000000]] 0200000000000000000000000000000000000000000000000000000000000000}]} 20 200}]}
Test go.sia.tech/renterd/stores/TestObjectMetadata failed in 0.03s: stores/metadata_test.go#L332
metadata_test.go:332: &{skey:fc20070da6ec8710417d5b2b19f17abb1c6b8ce6ce15a681ceea427107704386 [{{1 skey:80844c2c46d6c09b6174f7636a96b9240016b337409062c57a01af5cde298c63 1 [{map[ed25519:0100000000000000000000000000000000000000000000000000000000000000:[0100000000000000000000000000000000000000000000000000000000000000]] 0100000000000000000000000000000000000000000000000000000000000000}]} 0 0} {{1 skey:a759a4e91c7c73771f70bc88a95fc263ee9ec3ec548abb2e635c140e50ed3a2c 2 [{map[ed25519:0200000000000000000000000000000000000000000000000000000000000000:[0200000000000000000000000000000000000000000000000000000000000000]] 0200000000000000000000000000000000000000000000000000000000000000}]} 0 0}]}
Test go.sia.tech/renterd/stores/TestObjectMetadata failed in 0.03s: stores/metadata_test.go#L333
metadata_test.go:333: {skey:fc20070da6ec8710417d5b2b19f17abb1c6b8ce6ce15a681ceea427107704386 [{{1 skey:80844c2c46d6c09b6174f7636a96b9240016b337409062c57a01af5cde298c63 1 [{map[ed25519:0100000000000000000000000000000000000000000000000000000000000000:[0100000000000000000000000000000000000000000000000000000000000000]] 0100000000000000000000000000000000000000000000000000000000000000}]} 10 100} {{1 skey:a759a4e91c7c73771f70bc88a95fc263ee9ec3ec548abb2e635c140e50ed3a2c 2 [{map[ed25519:0200000000000000000000000000000000000000000000000000000000000000:[0200000000000000000000000000000000000000000000000000000000000000]] 0200000000000000000000000000000000000000000000000000000000000000}]} 20 200}]}
Test go.sia.tech/renterd/stores/TestObjectMetadata failed in 0.03s: stores/metadata_test.go#L334
metadata_test.go:334: object mismatch   any( -  &object.Object{ -  Key: s"skey:fc20070da6ec8710417d5b2b19f17abb1c6b8ce6ce15a681ceea427107704386", -  Slabs: object.SlabSlices{{Slab: object.Slab{...}}, {Slab: object.Slab{...}}}, -  }, +  object.Object{ +  Key: s"skey:fc20070da6ec8710417d5b2b19f17abb1c6b8ce6ce15a681ceea427107704386", +  Slabs: object.SlabSlices{ +  {Slab: object.Slab{...}, Offset: 10, Length: 100}, +  {Slab: object.Slab{...}, Offset: 20, Length: 200}, +  }, +  },   )
Test go.sia.tech/renterd/stores/TestSQLMetadataStore failed in 0.01s: stores/metadata_test.go#L814
metadata_test.go:814: object mismatch   api.Object{    Metadata: {"baz": "qux", "foo": "bar"},    ObjectMetadata: {Bucket: "testbucket", ETag: "d34db33f", Health: 1, Key: "/key1", ...},    Object: &object.Object{    Key: {entropy: &{0xa5, 0x44, 0xcf, 0x2f, ...}, keyType: 2},    Slabs: object.SlabSlices{    {    Slab: {Health: 1, EncryptionKey: {entropy: &{0xbe, 0x66, 0x24, 0xc3, ...}, keyType: 2}, MinShards: 1, Shards: {{Contracts: {s"ed25519:0100000000000000000000000000000000000000000000000000000000000000": {{0x01, 0x00, 0x00, 0x00, ...}}}, Root: {0x01, 0x00, 0x00, 0x00, ...}}}}, -  Offset: 0, +  Offset: 10, -  Length: 0, +  Length: 100,    },    {    Slab: {Health: 1, EncryptionKey: {entropy: &{0xeb, 0xc3, 0x0c, 0x62, ...}, keyType: 2}, MinShards: 2, Shards: {{Contracts: {s"ed25519:0200000000000000000000000000000000000000000000000000000000000000": {{0x02, 0x00, 0x00, 0x00, ...}}}, Root: {0x02, 0x00, 0x00, 0x00, ...}}}}, -  Offset: 0, +  Offset: 20, -  Length: 0, +  Length: 200,    },    },    },   }
Test go.sia.tech/renterd/stores/TestPartialSlab failed in 0.02s: stores/metadata_test.go#L2617
metadata_test.go:2617: mismatch   object.Object{    Key: {entropy: &{0xd0, 0x2f, 0xcb, 0x2b, ...}, keyType: 2},    Slabs: object.SlabSlices{    {    Slab: {Health: 1, EncryptionKey: {entropy: &{0x82, 0xe2, 0xe1, 0x40, ...}, keyType: 2}, MinShards: 1, Shards: {{Contracts: {s"ed25519:0100000000000000000000000000000000000000000000000000000000000000": {{0x01, 0x00, 0x00, 0x00, ...}}}, Root: {0xd8, 0xa4, 0x6c, 0xcd, ...}}, {Contracts: {s"ed25519:0200000000000000000000000000000000000000000000000000000000000000": {{0x02, 0x00, 0x00, 0x00, ...}}}, Root: {0xae, 0xee, 0xbf, 0x57, ...}}}},    Offset: 0, -  Length: 4194304, +  Length: 0,    },    {    Slab: {Health: 1, EncryptionKey: {entropy: &{0x4c, 0x98, 0xff, 0xfc, ...}, keyType: 2}, MinShards: 1},    Offset: 0, -  Length: 4, +  Length: 0,    },    },   }
Test go.sia.tech/renterd/stores/TestUpdateSlabSanityChecks failed in 0.02s: stores/metadata_test.go#L3648
metadata_test.go:3648: unexpected slab   object.Slab{    Health: 1,    EncryptionKey: {entropy: &{0x7d, 0x09, 0xf3, 0xb8, ...}, keyType: 2},    MinShards: 0,    Shards: []object.Sector{    { -  Contracts: map[types.PublicKey][]types.FileContractID{s"ed25519:0100000000000000000000000000000000000000000000000000000000000000": {}}, +  Contracts: map[types.PublicKey][]types.FileContractID{},    Root: {0x01, 0x00, 0x00, 0x00, ...},    },    {Contracts: {s"ed25519:0200000000000000000000000000000000000000000000000000000000000000": {{0x02, 0x00, 0x00, 0x00, ...}}}, Root: {0x02, 0x00, 0x00, 0x00, ...}},    {Contracts: {s"ed25519:0300000000000000000000000000000000000000000000000000000000000000": {{0x03, 0x00, 0x00, 0x00, ...}}}, Root: {0x03, 0x00, 0x00, 0x00, ...}},    ... // 2 identical elements    },   }
Test go.sia.tech/renterd/stores/TestMultipartUploadWithUploadPackingRegression failed in 0.2s: stores/multipart_test.go#L118
multipart_test.go:118: expected object total size to be 50331648, got 0
test-sqlite / test (1.23, windows-latest)
The job was canceled because "_1_23_ubuntu-latest" failed.
test-sqlite / test (1.23, macos-latest)
The job was canceled because "_1_23_ubuntu-latest" failed.
test-sqlite / test (1.22, macos-latest)
The job was canceled because "_1_23_ubuntu-latest" failed.
test-sqlite / test (1.22, windows-latest)
The job was canceled because "_1_23_ubuntu-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_23_ubuntu-latest" failed.
test-sqlite-v2 (1.22)
22/200 tests failed
Test go.sia.tech/renterd/stores/TestObjectBasic failed in 0.03s: stores/metadata_test.go#L248
metadata_test.go:248: object mismatch &{skey:e8470b38b9640ffe4b362bb0955dd7fd33eafccba4fb6af5a571d16d3b9d6afe [{{1 skey:9f414baa89bb59fb5e3abf2db89168095e6bade356f46ad73fbb23588193beec 1 [{map[ed25519:0100000000000000000000000000000000000000000000000000000000000000:[0100000000000000000000000000000000000000000000000000000000000000]] 0100000000000000000000000000000000000000000000000000000000000000}]} 0 0} {{1 skey:6daf65d8f7e5a11c5944f454f9cd70a8cd05779a406226c65c455bf84303f74e 2 [{map[ed25519:0200000000000000000000000000000000000000000000000000000000000000:[0200000000000000000000000000000000000000000000000000000000000000]] 0200000000000000000000000000000000000000000000000000000000000000}]} 0 0}]} {skey:e8470b38b9640ffe4b362bb0955dd7fd33eafccba4fb6af5a571d16d3b9d6afe [{{1 skey:9f414baa89bb59fb5e3abf2db89168095e6bade356f46ad73fbb23588193beec 1 [{map[ed25519:0100000000000000000000000000000000000000000000000000000000000000:[0100000000000000000000000000000000000000000000000000000000000000]] 0100000000000000000000000000000000000000000000000000000000000000}]} 10 100} {{1 skey:6daf65d8f7e5a11c5944f454f9cd70a8cd05779a406226c65c455bf84303f74e 2 [{map[ed25519:0200000000000000000000000000000000000000000000000000000000000000:[0200000000000000000000000000000000000000000000000000000000000000]] 0200000000000000000000000000000000000000000000000000000000000000}]} 20 200}]}
Test go.sia.tech/renterd/stores/TestObjectMetadata failed in 0.06s: stores/metadata_test.go#L332
metadata_test.go:332: &{skey:72a3c78401fccaf09b33beac573da25667f0434428d0b7de13a6ab48dc1b24d3 [{{1 skey:ecdff63abd8b5d16294cd601784d0f496d2a40956c68684e4613d9ac2c520779 1 [{map[ed25519:0100000000000000000000000000000000000000000000000000000000000000:[0100000000000000000000000000000000000000000000000000000000000000]] 0100000000000000000000000000000000000000000000000000000000000000}]} 0 0} {{1 skey:2d30f9a9bb4f77a5fdf3e404d5e68b4f89c193c21c402c5c777de250271fd0d4 2 [{map[ed25519:0200000000000000000000000000000000000000000000000000000000000000:[0200000000000000000000000000000000000000000000000000000000000000]] 0200000000000000000000000000000000000000000000000000000000000000}]} 0 0}]}
Test go.sia.tech/renterd/stores/TestObjectMetadata failed in 0.06s: stores/metadata_test.go#L333
metadata_test.go:333: {skey:72a3c78401fccaf09b33beac573da25667f0434428d0b7de13a6ab48dc1b24d3 [{{1 skey:ecdff63abd8b5d16294cd601784d0f496d2a40956c68684e4613d9ac2c520779 1 [{map[ed25519:0100000000000000000000000000000000000000000000000000000000000000:[0100000000000000000000000000000000000000000000000000000000000000]] 0100000000000000000000000000000000000000000000000000000000000000}]} 10 100} {{1 skey:2d30f9a9bb4f77a5fdf3e404d5e68b4f89c193c21c402c5c777de250271fd0d4 2 [{map[ed25519:0200000000000000000000000000000000000000000000000000000000000000:[0200000000000000000000000000000000000000000000000000000000000000]] 0200000000000000000000000000000000000000000000000000000000000000}]} 20 200}]}
Test go.sia.tech/renterd/stores/TestObjectMetadata failed in 0.06s: stores/metadata_test.go#L334
metadata_test.go:334: object mismatch any( - &object.Object{ - Key: s"skey:72a3c78401fccaf09b33beac573da25667f0434428d0b7de13a6ab48dc1b24d3", - Slabs: object.SlabSlices{{Slab: object.Slab{...}}, {Slab: object.Slab{...}}}, - }, + object.Object{ + Key: s"skey:72a3c78401fccaf09b33beac573da25667f0434428d0b7de13a6ab48dc1b24d3", + Slabs: object.SlabSlices{ + {Slab: object.Slab{...}, Offset: 10, Length: 100}, + {Slab: object.Slab{...}, Offset: 20, Length: 200}, + }, + }, )
Test go.sia.tech/renterd/stores/TestSQLMetadataStore failed in 0.11s: stores/metadata_test.go#L814
metadata_test.go:814: object mismatch api.Object{ Metadata: {"baz": "qux", "foo": "bar"}, ObjectMetadata: {Bucket: "testbucket", ETag: "d34db33f", Health: 1, Key: "/key1", ...}, Object: &object.Object{ Key: {entropy: &{0xa4, 0x69, 0x85, 0xcf, ...}, keyType: 2}, Slabs: object.SlabSlices{ { Slab: {Health: 1, EncryptionKey: {entropy: &{0x0a, 0x32, 0xa3, 0x73, ...}, keyType: 2}, MinShards: 1, Shards: {{Contracts: {s"ed25519:0100000000000000000000000000000000000000000000000000000000000000": {{0x01, 0x00, 0x00, 0x00, ...}}}, Root: {0x01, 0x00, 0x00, 0x00, ...}}}}, - Offset: 0, + Offset: 10, - Length: 0, + Length: 100, }, { Slab: {Health: 1, EncryptionKey: {entropy: &{0xdf, 0x05, 0xc2, 0x70, ...}, keyType: 2}, MinShards: 2, Shards: {{Contracts: {s"ed25519:0200000000000000000000000000000000000000000000000000000000000000": {{0x02, 0x00, 0x00, 0x00, ...}}}, Root: {0x02, 0x00, 0x00, 0x00, ...}}}}, - Offset: 0, + Offset: 20, - Length: 0, + Length: 200, }, }, }, }
Test go.sia.tech/renterd/stores/TestPartialSlab failed in 0.08s: stores/metadata_test.go#L2617
metadata_test.go:2617: mismatch object.Object{ Key: {entropy: &{0xe0, 0x3d, 0x39, 0xd0, ...}, keyType: 2}, Slabs: object.SlabSlices{ { Slab: {Health: 1, EncryptionKey: {entropy: &{0xfb, 0x01, 0x46, 0x8c, ...}, keyType: 2}, MinShards: 1, Shards: {{Contracts: {s"ed25519:0100000000000000000000000000000000000000000000000000000000000000": {{0x01, 0x00, 0x00, 0x00, ...}}}, Root: {0xbd, 0x21, 0x0b, 0x9f, ...}}, {Contracts: {s"ed25519:0200000000000000000000000000000000000000000000000000000000000000": {{0x02, 0x00, 0x00, 0x00, ...}}}, Root: {0xf3, 0xf5, 0xef, 0xa4, ...}}}}, Offset: 0, - Length: 4194304, + Length: 0, }, { Slab: {Health: 1, EncryptionKey: {entropy: &{0xa6, 0x37, 0x70, 0x17, ...}, keyType: 2}, MinShards: 1}, Offset: 0, - Length: 4, + Length: 0, }, }, }
Test go.sia.tech/renterd/stores/TestUpdateSlabSanityChecks failed in 0.05s: stores/metadata_test.go#L3648
metadata_test.go:3648: unexpected slab object.Slab{ Health: 1, EncryptionKey: {entropy: &{0xe8, 0x89, 0x31, 0x65, ...}, keyType: 2}, MinShards: 0, Shards: []object.Sector{ { - Contracts: map[types.PublicKey][]types.FileContractID{s"ed25519:0100000000000000000000000000000000000000000000000000000000000000": {}}, + Contracts: map[types.PublicKey][]types.FileContractID{}, Root: {0x01, 0x00, 0x00, 0x00, ...}, }, {Contracts: {s"ed25519:0200000000000000000000000000000000000000000000000000000000000000": {{0x02, 0x00, 0x00, 0x00, ...}}}, Root: {0x02, 0x00, 0x00, 0x00, ...}}, {Contracts: {s"ed25519:0300000000000000000000000000000000000000000000000000000000000000": {{0x03, 0x00, 0x00, 0x00, ...}}}, Root: {0x03, 0x00, 0x00, 0x00, ...}}, ... // 2 identical elements }, }
Test go.sia.tech/renterd/stores/TestMultipartUploadWithUploadPackingRegression failed in 0.81s: stores/multipart_test.go#L118
multipart_test.go:118: expected object total size to be 50331648, got 0
test-sqlite-v2 (1.23)
The job was canceled because "_1_22" failed.
test-mysql-v2 (1.23)
33/200 tests failed
Test go.sia.tech/renterd/stores/TestObjectBasic failed in 0.57s: stores/metadata_test.go#L248
metadata_test.go:248: object mismatch &{skey:7aa63f55a5d8d95901523188b8bf7242a94e0213e7c03a184be335cc828eb98f [{{1 skey:c0dea0d3ced555cfd1e817fc72f59311ca76ec53b854e5bda9d567183b526c73 1 [{map[ed25519:0100000000000000000000000000000000000000000000000000000000000000:[0100000000000000000000000000000000000000000000000000000000000000]] 0100000000000000000000000000000000000000000000000000000000000000}]} 0 0} {{1 skey:043bb68633ac8678e1068d66fff8c169d60af281f7830b3b4e1529eaf2facc35 2 [{map[ed25519:0200000000000000000000000000000000000000000000000000000000000000:[0200000000000000000000000000000000000000000000000000000000000000]] 0200000000000000000000000000000000000000000000000000000000000000}]} 0 0}]} {skey:7aa63f55a5d8d95901523188b8bf7242a94e0213e7c03a184be335cc828eb98f [{{1 skey:c0dea0d3ced555cfd1e817fc72f59311ca76ec53b854e5bda9d567183b526c73 1 [{map[ed25519:0100000000000000000000000000000000000000000000000000000000000000:[0100000000000000000000000000000000000000000000000000000000000000]] 0100000000000000000000000000000000000000000000000000000000000000}]} 10 100} {{1 skey:043bb68633ac8678e1068d66fff8c169d60af281f7830b3b4e1529eaf2facc35 2 [{map[ed25519:0200000000000000000000000000000000000000000000000000000000000000:[0200000000000000000000000000000000000000000000000000000000000000]] 0200000000000000000000000000000000000000000000000000000000000000}]} 20 200}]}
Test go.sia.tech/renterd/stores/TestObjectMetadata failed in 0.55s: stores/metadata_test.go#L332
metadata_test.go:332: &{skey:eca5288cdb64dc0339f907c98343ec40c937178441a0959ce5dfee591d4b05d3 [{{1 skey:ad58db7de845b14aa3b333eb018b06ce256cdf0fac958e1fe9f435fe140c96c9 1 [{map[ed25519:0100000000000000000000000000000000000000000000000000000000000000:[0100000000000000000000000000000000000000000000000000000000000000]] 0100000000000000000000000000000000000000000000000000000000000000}]} 0 0} {{1 skey:f3f4d5b76974456dfd9affc4aa310b8b68d7976f16ebab66d43e8e3267ea8fc4 2 [{map[ed25519:0200000000000000000000000000000000000000000000000000000000000000:[0200000000000000000000000000000000000000000000000000000000000000]] 0200000000000000000000000000000000000000000000000000000000000000}]} 0 0}]}
Test go.sia.tech/renterd/stores/TestObjectMetadata failed in 0.55s: stores/metadata_test.go#L333
metadata_test.go:333: {skey:eca5288cdb64dc0339f907c98343ec40c937178441a0959ce5dfee591d4b05d3 [{{1 skey:ad58db7de845b14aa3b333eb018b06ce256cdf0fac958e1fe9f435fe140c96c9 1 [{map[ed25519:0100000000000000000000000000000000000000000000000000000000000000:[0100000000000000000000000000000000000000000000000000000000000000]] 0100000000000000000000000000000000000000000000000000000000000000}]} 10 100} {{1 skey:f3f4d5b76974456dfd9affc4aa310b8b68d7976f16ebab66d43e8e3267ea8fc4 2 [{map[ed25519:0200000000000000000000000000000000000000000000000000000000000000:[0200000000000000000000000000000000000000000000000000000000000000]] 0200000000000000000000000000000000000000000000000000000000000000}]} 20 200}]}
Test go.sia.tech/renterd/stores/TestObjectMetadata failed in 0.55s: stores/metadata_test.go#L334
metadata_test.go:334: object mismatch   any( -  &object.Object{ -  Key: s"skey:eca5288cdb64dc0339f907c98343ec40c937178441a0959ce5dfee591d4b05d3", -  Slabs: object.SlabSlices{{Slab: object.Slab{...}}, {Slab: object.Slab{...}}}, -  }, +  object.Object{ +  Key: s"skey:eca5288cdb64dc0339f907c98343ec40c937178441a0959ce5dfee591d4b05d3", +  Slabs: object.SlabSlices{ +  {Slab: object.Slab{...}, Offset: 10, Length: 100}, +  {Slab: object.Slab{...}, Offset: 20, Length: 200}, +  }, +  },   )
Test go.sia.tech/renterd/stores/TestSQLContractStore failed in 0.61s: stores/metadata_test.go#L432
metadata_test.go:432: ArchiveContracts: failed to archive at least one contract: 0100000000000000000000000000000000000000000000000000000000000000: transaction failed (attempt 1): failed to delete host_sectors: sql: expected 0 arguments, got 1
Test go.sia.tech/renterd/stores/TestContractUsability failed in 0.57s: stores/metadata_test.go#L527
metadata_test.go:527: ArchiveContracts: failed to archive at least one contract: 0100000000000000000000000000000000000000000000000000000000000000: transaction failed (attempt 1): failed to delete host_sectors: sql: expected 0 arguments, got 1
Test go.sia.tech/renterd/stores/TestArchiveContracts failed in 0.5s: stores/metadata_test.go#L640
metadata_test.go:640: ArchiveContracts: failed to archive at least one contract: 0200000000000000000000000000000000000000000000000000000000000000: transaction failed (attempt 1): failed to delete host_sectors: sql: expected 0 arguments, got 1; 0300000000000000000000000000000000000000000000000000000000000000: transaction failed (attempt 1): failed to delete host_sectors: sql: expected 0 arguments, got 1
Test go.sia.tech/renterd/stores/TestSQLMetadataStore failed in 0.59s: stores/metadata_test.go#L814
metadata_test.go:814: object mismatch   api.Object{    Metadata: {"baz": "qux", "foo": "bar"},    ObjectMetadata: {Bucket: "testbucket", ETag: "d34db33f", Health: 1, Key: "/key1", ...},    Object: &object.Object{    Key: {entropy: &{0x03, 0xb9, 0x2e, 0xd6, ...}, keyType: 2},    Slabs: object.SlabSlices{    {    Slab: {Health: 1, EncryptionKey: {entropy: &{0x59, 0x02, 0xf9, 0x80, ...}, keyType: 2}, MinShards: 1, Shards: {{Contracts: {s"ed25519:0100000000000000000000000000000000000000000000000000000000000000": {{0x01, 0x00, 0x00, 0x00, ...}}}, Root: {0x01, 0x00, 0x00, 0x00, ...}}}}, -  Offset: 0, +  Offset: 10, -  Length: 0, +  Length: 100,    },    {    Slab: {Health: 1, EncryptionKey: {entropy: &{0x49, 0xef, 0xd8, 0x81, ...}, keyType: 2}, MinShards: 2, Shards: {{Contracts: {s"ed25519:0200000000000000000000000000000000000000000000000000000000000000": {{0x02, 0x00, 0x00, 0x00, ...}}}, Root: {0x02, 0x00, 0x00, 0x00, ...}}}}, -  Offset: 0, +  Offset: 20, -  Length: 0, +  Length: 200,    },    },    },   }
Test go.sia.tech/renterd/stores/TestContractSectors failed in 0.57s: stores/metadata_test.go#L1874
metadata_test.go:1874: ArchiveContracts: failed to archive at least one contract: 0100000000000000000000000000000000000000000000000000000000000000: transaction failed (attempt 1): failed to delete host_sectors: sql: expected 0 arguments, got 1
test-mysql-v2 (1.22)
The job was canceled because "_1_23" failed.
test-mysql (1.23)
33/199 tests failed
Test go.sia.tech/renterd/stores/TestObjectBasic failed in 0.61s: stores/metadata_test.go#L248
metadata_test.go:248: object mismatch &{skey:7e5bc433f47ccedf4343cc765d4eb646d2c3942a9da2e23004d5239731faac98 [{{1 skey:8f5ae56ba3524d93fb062f568748f0ec7a66bdf149cbf2e3587807c66fe01134 1 [{map[ed25519:0100000000000000000000000000000000000000000000000000000000000000:[0100000000000000000000000000000000000000000000000000000000000000]] 0100000000000000000000000000000000000000000000000000000000000000}]} 0 0} {{1 skey:70f691376cb62779eacfc791ddf0c9324f52a63c0a4b55ec530729efacadfcf2 2 [{map[ed25519:0200000000000000000000000000000000000000000000000000000000000000:[0200000000000000000000000000000000000000000000000000000000000000]] 0200000000000000000000000000000000000000000000000000000000000000}]} 0 0}]} {skey:7e5bc433f47ccedf4343cc765d4eb646d2c3942a9da2e23004d5239731faac98 [{{1 skey:8f5ae56ba3524d93fb062f568748f0ec7a66bdf149cbf2e3587807c66fe01134 1 [{map[ed25519:0100000000000000000000000000000000000000000000000000000000000000:[0100000000000000000000000000000000000000000000000000000000000000]] 0100000000000000000000000000000000000000000000000000000000000000}]} 10 100} {{1 skey:70f691376cb62779eacfc791ddf0c9324f52a63c0a4b55ec530729efacadfcf2 2 [{map[ed25519:0200000000000000000000000000000000000000000000000000000000000000:[0200000000000000000000000000000000000000000000000000000000000000]] 0200000000000000000000000000000000000000000000000000000000000000}]} 20 200}]}
Test go.sia.tech/renterd/stores/TestObjectMetadata failed in 0.69s: stores/metadata_test.go#L332
metadata_test.go:332: &{skey:84659ac1e565bfb71f62d5d94f9b0e59a6da0f7c6d605f23986b530aa17ea089 [{{1 skey:1f981dbd2aeab4187f0f8814a8bbd8d52ac98f86acd2f9c4e007e1e714245267 1 [{map[ed25519:0100000000000000000000000000000000000000000000000000000000000000:[0100000000000000000000000000000000000000000000000000000000000000]] 0100000000000000000000000000000000000000000000000000000000000000}]} 0 0} {{1 skey:04a3d0a32dda06206cc9353ec9428666fce0d94f8e0609ebf8c2874559dd28f5 2 [{map[ed25519:0200000000000000000000000000000000000000000000000000000000000000:[0200000000000000000000000000000000000000000000000000000000000000]] 0200000000000000000000000000000000000000000000000000000000000000}]} 0 0}]}
Test go.sia.tech/renterd/stores/TestObjectMetadata failed in 0.69s: stores/metadata_test.go#L333
metadata_test.go:333: {skey:84659ac1e565bfb71f62d5d94f9b0e59a6da0f7c6d605f23986b530aa17ea089 [{{1 skey:1f981dbd2aeab4187f0f8814a8bbd8d52ac98f86acd2f9c4e007e1e714245267 1 [{map[ed25519:0100000000000000000000000000000000000000000000000000000000000000:[0100000000000000000000000000000000000000000000000000000000000000]] 0100000000000000000000000000000000000000000000000000000000000000}]} 10 100} {{1 skey:04a3d0a32dda06206cc9353ec9428666fce0d94f8e0609ebf8c2874559dd28f5 2 [{map[ed25519:0200000000000000000000000000000000000000000000000000000000000000:[0200000000000000000000000000000000000000000000000000000000000000]] 0200000000000000000000000000000000000000000000000000000000000000}]} 20 200}]}
Test go.sia.tech/renterd/stores/TestObjectMetadata failed in 0.69s: stores/metadata_test.go#L334
metadata_test.go:334: object mismatch   any( -  &object.Object{ -  Key: s"skey:84659ac1e565bfb71f62d5d94f9b0e59a6da0f7c6d605f23986b530aa17ea089", -  Slabs: object.SlabSlices{{Slab: object.Slab{...}}, {Slab: object.Slab{...}}}, -  }, +  object.Object{ +  Key: s"skey:84659ac1e565bfb71f62d5d94f9b0e59a6da0f7c6d605f23986b530aa17ea089", +  Slabs: object.SlabSlices{ +  {Slab: object.Slab{...}, Offset: 10, Length: 100}, +  {Slab: object.Slab{...}, Offset: 20, Length: 200}, +  }, +  },   )
Test go.sia.tech/renterd/stores/TestSQLContractStore failed in 0.63s: stores/metadata_test.go#L432
metadata_test.go:432: ArchiveContracts: failed to archive at least one contract: 0100000000000000000000000000000000000000000000000000000000000000: transaction failed (attempt 1): failed to delete host_sectors: sql: expected 0 arguments, got 1
Test go.sia.tech/renterd/stores/TestContractUsability failed in 0.64s: stores/metadata_test.go#L527
metadata_test.go:527: ArchiveContracts: failed to archive at least one contract: 0100000000000000000000000000000000000000000000000000000000000000: transaction failed (attempt 1): failed to delete host_sectors: sql: expected 0 arguments, got 1
Test go.sia.tech/renterd/stores/TestArchiveContracts failed in 0.8s: stores/metadata_test.go#L640
metadata_test.go:640: ArchiveContracts: failed to archive at least one contract: 0200000000000000000000000000000000000000000000000000000000000000: transaction failed (attempt 1): failed to delete host_sectors: sql: expected 0 arguments, got 1; 0300000000000000000000000000000000000000000000000000000000000000: transaction failed (attempt 1): failed to delete host_sectors: sql: expected 0 arguments, got 1
Test go.sia.tech/renterd/stores/TestSQLMetadataStore failed in 0.87s: stores/metadata_test.go#L814
metadata_test.go:814: object mismatch   api.Object{    Metadata: {"baz": "qux", "foo": "bar"},    ObjectMetadata: {Bucket: "testbucket", ETag: "d34db33f", Health: 1, Key: "/key1", ...},    Object: &object.Object{    Key: {entropy: &{0x08, 0x22, 0x3f, 0xab, ...}, keyType: 2},    Slabs: object.SlabSlices{    {    Slab: {Health: 1, EncryptionKey: {entropy: &{0xdb, 0xab, 0xf4, 0x84, ...}, keyType: 2}, MinShards: 1, Shards: {{Contracts: {s"ed25519:0100000000000000000000000000000000000000000000000000000000000000": {{0x01, 0x00, 0x00, 0x00, ...}}}, Root: {0x01, 0x00, 0x00, 0x00, ...}}}}, -  Offset: 0, +  Offset: 10, -  Length: 0, +  Length: 100,    },    {    Slab: {Health: 1, EncryptionKey: {entropy: &{0x1c, 0x7b, 0x73, 0x35, ...}, keyType: 2}, MinShards: 2, Shards: {{Contracts: {s"ed25519:0200000000000000000000000000000000000000000000000000000000000000": {{0x02, 0x00, 0x00, 0x00, ...}}}, Root: {0x02, 0x00, 0x00, 0x00, ...}}}}, -  Offset: 0, +  Offset: 20, -  Length: 0, +  Length: 200,    },    },    },   }
Test go.sia.tech/renterd/stores/TestContractSectors failed in 0.79s: stores/metadata_test.go#L1874
metadata_test.go:1874: ArchiveContracts: failed to archive at least one contract: 0100000000000000000000000000000000000000000000000000000000000000: transaction failed (attempt 1): failed to delete host_sectors: sql: expected 0 arguments, got 1
test-mysql (1.22)
The job was canceled because "_1_23" failed.
analyze
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test-sqlite / test (1.22, macos-latest)
Failed to restore: "/opt/homebrew/bin/gtar" failed with error: The process '/opt/homebrew/bin/gtar' failed with exit code 2
test-sqlite / test (1.22, ubuntu-latest)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
test-sqlite-v2 (1.22)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
test-mysql-v2 (1.22)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
test-mysql (1.22)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2