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