e2e: Add integration test for network transition from v1 to v2 #7956
Triggered via pull request
December 16, 2024 06:49
Status
Failure
Total duration
13m 16s
Artifacts
–
test.yml
on: pull_request
analyze
30s
Matrix: test-mysql-v2
Matrix: test-mysql
Matrix: test-sqlite-v2
Matrix: test-sqlite / test
success
0s
Annotations
45 errors and 6 warnings
test-sqlite / test (1.22, ubuntu-latest)
5/199 tests failed
|
Test go.sia.tech/renterd/stores/TestUpdateSlabSanityChecks failed in 0.01s:
stores/metadata_test.go#L3648
metadata_test.go:3648: unexpected slab object.Slab{
Health: 1,
EncryptionKey: {entropy: &{0x00, 0x56, 0x43, 0xcc, ...}, 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/internal/test/e2e/TestGouging failed in 21.58s:
internal/test/e2e/gouging_test.go#L103
gouging_test.go:103: unexpected EOF
|
Test go.sia.tech/renterd/internal/test/e2e/TestMigrations failed in 6.64s:
internal/test/e2e/migrations_test.go#L100
migrations_test.go:100: each host should have one contract
|
test-sqlite / test (1.22, macos-latest)
The job was canceled because "_1_22_ubuntu-latest" failed.
|
test-sqlite / test (1.23, macos-latest)
The job was canceled because "_1_22_ubuntu-latest" failed.
|
test-sqlite / test (1.23, windows-latest)
The job was canceled because "_1_22_ubuntu-latest" failed.
|
test-sqlite / test (1.22, windows-latest)
The job was canceled because "_1_22_ubuntu-latest" failed.
|
test-sqlite / test (1.23, ubuntu-latest)
The job was canceled because "_1_22_ubuntu-latest" failed.
|
test-mysql-v2 (1.22)
1/180 tests panicked
|
test-mysql-v2 (1.22)
Test go.sia.tech/renterd/internal/test/e2e/TestV1ToV2Transition panicked in 0s:
=== RUN TestV1ToV2Transition
panic: runtime error: index out of range [2] with length 2
goroutine 610498 [running]:
go.sia.tech/coreutils/rhp/v4.(*Server).handleRPCFormContract(0xc001498fc0, {0x29babf8, 0xc00163a840})
/home/runner/go/pkg/mod/go.sia.tech/[email protected]/rhp/v4/server.go:615 +0x3297
go.sia.tech/coreutils/rhp/v4.(*Server).handleHostStream(0xc001498fc0, {0x29babf8, 0xc00163a840}, 0xc000537e80)
/home/runner/go/pkg/mod/go.sia.tech/[email protected]/rhp/v4/server.go:1033 +0x2a33
go.sia.tech/coreutils/rhp/v4.(*Server).Serve.func1()
/home/runner/go/pkg/mod/go.sia.tech/[email protected]/rhp/v4/server.go:1103 +0xe5
created by go.sia.tech/coreutils/rhp/v4.(*Server).Serve in goroutine 610420
/home/runner/go/pkg/mod/go.sia.tech/[email protected]/rhp/v4/server.go:1095 +0x126
|
test-mysql-v2 (1.22)
14/180 tests failed
|
Test go.sia.tech/renterd/stores/TestSQLContractStore failed in 0.65s:
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.7s:
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.65s:
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/TestContractSectors failed in 0.59s:
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 go.sia.tech/renterd/stores/TestContractSizes failed in 0.93s:
stores/metadata_test.go#L2917
metadata_test.go:2917: ArchiveContracts: failed to archive at least one contract: 0100000000000000000000000000000000000000000000000000000000000000: transaction failed (attempt 1): failed to delete host_sectors: sql: expected 0 arguments, got 1; 0200000000000000000000000000000000000000000000000000000000000000: transaction failed (attempt 1): failed to delete host_sectors: sql: expected 0 arguments, got 1
|
Test go.sia.tech/renterd/stores/TestUpdateSlabSanityChecks failed in 0.71s:
stores/metadata_test.go#L3641
metadata_test.go:3641: 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/TestSlabHealthInvalidation failed in 0.73s:
stores/metadata_test.go#L3766
metadata_test.go:3766: ArchiveContracts: failed to archive at least one contract: 0300000000000000000000000000000000000000000000000000000000000000: transaction failed (attempt 1): failed to delete host_sectors: sql: expected 0 arguments, got 1
|
test-mysql-v2 (1.23)
The job was canceled because "_1_22" failed.
|
test-mysql (1.23)
18/199 tests failed
|
Test go.sia.tech/renterd/stores/TestSQLContractStore failed in 0.8s:
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.67s:
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.73s:
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/TestContractSectors failed in 0.63s:
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 go.sia.tech/renterd/stores/TestContractSizes failed in 0.91s:
stores/metadata_test.go#L2917
metadata_test.go:2917: ArchiveContracts: failed to archive at least one contract: 0100000000000000000000000000000000000000000000000000000000000000: transaction failed (attempt 1): failed to delete host_sectors: sql: expected 0 arguments, got 1; 0200000000000000000000000000000000000000000000000000000000000000: transaction failed (attempt 1): failed to delete host_sectors: sql: expected 0 arguments, got 1
|
Test go.sia.tech/renterd/stores/TestUpdateSlabSanityChecks failed in 0.79s:
stores/metadata_test.go#L3641
metadata_test.go:3641: 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/TestSlabHealthInvalidation failed in 0.84s:
stores/metadata_test.go#L3766
metadata_test.go:3766: ArchiveContracts: failed to archive at least one contract: 0300000000000000000000000000000000000000000000000000000000000000: transaction failed (attempt 1): failed to delete host_sectors: sql: expected 0 arguments, got 1
|
Test go.sia.tech/renterd/stores/TestRenewedContract failed in 0.82s:
stores/metadata_test.go#L3953
metadata_test.go:3953: ArchiveContracts: failed to archive at least one contract: 0200000000000000000000000000000000000000000000000000000000000000: transaction failed (attempt 1): failed to delete host_sectors: sql: expected 0 arguments, got 1
|
Test go.sia.tech/renterd/stores/TestHostSectors failed in 0.64s:
stores/metadata_test.go#L4790
metadata_test.go:4790: ArchiveContracts: failed to archive at least one contract: 0200000000000000000000000000000000000000000000000000000000000000: transaction failed (attempt 1): failed to delete host_sectors: sql: expected 0 arguments, got 1
|
test-mysql (1.22)
18/199 tests failed
|
Test go.sia.tech/renterd/stores/TestSQLContractStore failed in 0.68s:
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.7s:
stores/metadata_test.go#L640
metadata_test.go:640: ArchiveContracts: failed to archive at least one contract: 0300000000000000000000000000000000000000000000000000000000000000: transaction failed (attempt 1): failed to delete host_sectors: sql: expected 0 arguments, got 1; 0200000000000000000000000000000000000000000000000000000000000000: transaction failed (attempt 1): failed to delete host_sectors: sql: expected 0 arguments, got 1
|
Test go.sia.tech/renterd/stores/TestContractSectors failed in 0.72s:
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 go.sia.tech/renterd/stores/TestContractSizes failed in 0.95s:
stores/metadata_test.go#L2917
metadata_test.go:2917: ArchiveContracts: failed to archive at least one contract: 0100000000000000000000000000000000000000000000000000000000000000: transaction failed (attempt 1): failed to delete host_sectors: sql: expected 0 arguments, got 1; 0200000000000000000000000000000000000000000000000000000000000000: transaction failed (attempt 1): failed to delete host_sectors: sql: expected 0 arguments, got 1
|
Test go.sia.tech/renterd/stores/TestUpdateSlabSanityChecks failed in 0.65s:
stores/metadata_test.go#L3641
metadata_test.go:3641: 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/TestSlabHealthInvalidation failed in 0.73s:
stores/metadata_test.go#L3766
metadata_test.go:3766: ArchiveContracts: failed to archive at least one contract: 0300000000000000000000000000000000000000000000000000000000000000: transaction failed (attempt 1): failed to delete host_sectors: sql: expected 0 arguments, got 1
|
Test go.sia.tech/renterd/stores/TestRenewedContract failed in 0.67s:
stores/metadata_test.go#L3953
metadata_test.go:3953: ArchiveContracts: failed to archive at least one contract: 0200000000000000000000000000000000000000000000000000000000000000: transaction failed (attempt 1): failed to delete host_sectors: sql: expected 0 arguments, got 1
|
Test go.sia.tech/renterd/stores/TestHostSectors failed in 0.69s:
stores/metadata_test.go#L4790
metadata_test.go:4790: ArchiveContracts: failed to archive at least one contract: 0200000000000000000000000000000000000000000000000000000000000000: transaction failed (attempt 1): failed to delete host_sectors: sql: expected 0 arguments, got 1
|
test-sqlite-v2 (1.22)
5/200 tests failed
|
Test go.sia.tech/renterd/stores/TestUpdateSlabSanityChecks failed in 0.06s:
stores/metadata_test.go#L3648
metadata_test.go:3648: unexpected slab object.Slab{
Health: 1,
EncryptionKey: {entropy: &{0xc1, 0xbc, 0x5c, 0x44, ...}, 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/internal/test/e2e/TestGouging failed in 22.28s:
internal/test/e2e/gouging_test.go#L103
gouging_test.go:103: unexpected EOF
|
Test go.sia.tech/renterd/internal/test/e2e/TestMigrations failed in 3.56s:
internal/test/e2e/migrations_test.go#L100
migrations_test.go:100: each host should have one contract
|
test-sqlite-v2 (1.23)
The job was canceled because "_1_22" 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, ubuntu-latest)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
|
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-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
|
test-sqlite-v2 (1.22)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
|