e2e: Add integration test for network transition from v1 to v2 #7964
Annotations
10 errors
Test
33/199 tests failed
|
Test:
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:
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:
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:
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:
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:
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:
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:
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:
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
|
Loading