e2e: Add integration test for network transition from v1 to v2 #7964
Annotations
10 errors and 1 warning
Test
22/200 tests failed
|
Test:
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:
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:
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:
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:
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:
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:
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:
stores/multipart_test.go#L118
multipart_test.go:118: expected object total size to be 50331648, got 0
|
Test:
internal/test/e2e/cluster_test.go#L720
cluster_test.go:720: unexpected EOF
|
Setup Go
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
|
Loading