Skip to content

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

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

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

Triggered via pull request December 16, 2024 06:22
Status Failure
Total duration 9m 40s
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

38 errors and 6 warnings
test-sqlite / test (1.23, ubuntu-latest)
6/199 tests failed
Test go.sia.tech/renterd/stores/TestDeleteHostSector failed in 0.01s: stores/metadata_test.go#L3464
metadata_test.go:3464: transaction failed (attempt 1): failed to fetch sector id: sql: no rows in result set
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: &{0x45, 0xc3, 0x8c, 0x7a, ...}, 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/TestMigrations failed in 5.63s: internal/test/e2e/migrations_test.go#L100
migrations_test.go:100: each host should have one contract
test-sqlite / test (1.22, ubuntu-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.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, windows-latest)
The job was canceled because "_1_23_ubuntu-latest" failed.
test-sqlite-v2 (1.23)
6/200 tests failed
Test go.sia.tech/renterd/stores/TestDeleteHostSector failed in 0.02s: stores/metadata_test.go#L3464
metadata_test.go:3464: transaction failed (attempt 1): failed to fetch sector id: sql: no rows in result set
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: &{0xf1, 0xdc, 0x32, 0x4d, ...}, 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-sqlite-v2 (1.22)
The job was canceled because "_1_23" failed.
test-mysql-v2 (1.23)
20/200 tests failed
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.61s: 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.67s: 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.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.96s: 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/TestDeleteHostSector failed in 0.59s: stores/metadata_test.go#L3464
metadata_test.go:3464: transaction failed (attempt 1): failed to fetch sector id: sql: no rows in result set
Test go.sia.tech/renterd/stores/TestUpdateSlabSanityChecks failed in 0.63s: 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.66s: 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.72s: 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-mysql-v2 (1.22)
The job was canceled because "_1_23" failed.
test-mysql (1.23)
20/199 tests failed
Test go.sia.tech/renterd/stores/TestSQLContractStore failed in 0.57s: 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.64s: 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.68s: 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.79s: 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/TestDeleteHostSector failed in 0.65s: stores/metadata_test.go#L3464
metadata_test.go:3464: transaction failed (attempt 1): failed to fetch sector id: sql: no rows in result set
Test go.sia.tech/renterd/stores/TestUpdateSlabSanityChecks failed in 0.69s: 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.64s: 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-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, 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-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