Skip to content

Add support for v2 host announcements #7557

Add support for v2 host announcements

Add support for v2 host announcements #7557

Triggered via pull request November 14, 2024 13:03
Status Failure
Total duration 22m 52s
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

48 errors and 5 warnings
test-sqlite / test (1.22, ubuntu-latest)
59/186 tests failed
Test go.sia.tech/renterd/autopilot/contractor/TestHostSet failed in 0s: autopilot/contractor/hostset_test.go#L35
hostset_test.go:35: Expected new host with unique subnet to not be considered redundant
Test go.sia.tech/renterd/internal/test/e2e/TestBlocklist failed in 2.28s: internal/test/e2e/cluster.go#L523
cluster.go:523: couldn't load host: transaction failed (attempt 1): failed to scan host: sql: expected 19 destination arguments in Scan, not 20
Test go.sia.tech/renterd/stores/TestProcessChainUpdate failed in 0.02s: stores/chain_test.go#L158
chain_test.go:158: unexpected error transaction failed (attempt 1): failed to scan host: sql: expected 19 destination arguments in Scan, not 20
Test go.sia.tech/renterd/stores/TestSQLHostDB failed in 0.02s: stores/hostdb_test.go#L32
hostdb_test.go:32: transaction failed (attempt 1): failed to prepare stmt for fetching host addresses: no such column: address
Test go.sia.tech/renterd/stores/TestHosts failed in 0.02s: stores/hostdb_test.go#L153
hostdb_test.go:153: transaction failed (attempt 1): failed to scan host: sql: expected 19 destination arguments in Scan, not 20
Test go.sia.tech/renterd/stores/TestUsableHosts failed in 0.02s: stores/hostdb_test.go#L483
hostdb_test.go:483: transaction failed (attempt 1): failed to prepare statement to update host with scan: near "WHERE": syntax error
Test go.sia.tech/renterd/stores/TestRecordScan failed in 0.02s: stores/hostdb_test.go#L615
hostdb_test.go:615: transaction failed (attempt 1): failed to scan host: sql: expected 19 destination arguments in Scan, not 20
Test go.sia.tech/renterd/stores/TestRemoveHosts failed in 0.02s: stores/hostdb_test.go#L755
hostdb_test.go:755: transaction failed (attempt 1): failed to scan host: sql: expected 19 destination arguments in Scan, not 20
Test go.sia.tech/renterd/stores/TestSQLHostAllowlist failed in 0.02s: stores/hostdb_test.go#L896
hostdb_test.go:896: transaction failed (attempt 1): failed to scan host: sql: expected 19 destination arguments in Scan, not 20
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-sqlite / test (1.23, windows-latest)
The job was canceled because "_1_22_ubuntu-latest" failed.
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-v2 (1.23)
59/186 tests failed
Test go.sia.tech/renterd/autopilot/contractor/TestHostSet failed in 0s: autopilot/contractor/hostset_test.go#L35
hostset_test.go:35: Expected new host with unique subnet to not be considered redundant
Test go.sia.tech/renterd/internal/test/e2e/TestBlocklist failed in 2.4s: internal/test/e2e/cluster.go#L523
cluster.go:523: couldn't load host: transaction failed (attempt 1): failed to scan host: sql: expected 19 destination arguments in Scan, not 20
Test go.sia.tech/renterd/stores/TestProcessChainUpdate failed in 0.02s: stores/chain_test.go#L158
chain_test.go:158: unexpected error transaction failed (attempt 1): failed to scan host: sql: expected 19 destination arguments in Scan, not 20
Test go.sia.tech/renterd/stores/TestSQLHostDB failed in 0.02s: stores/hostdb_test.go#L32
hostdb_test.go:32: transaction failed (attempt 1): failed to prepare stmt for fetching host addresses: no such column: address
Test go.sia.tech/renterd/stores/TestHosts failed in 0.02s: stores/hostdb_test.go#L153
hostdb_test.go:153: transaction failed (attempt 1): failed to scan host: sql: expected 19 destination arguments in Scan, not 20
Test go.sia.tech/renterd/stores/TestUsableHosts failed in 0.02s: stores/hostdb_test.go#L483
hostdb_test.go:483: transaction failed (attempt 1): failed to prepare statement to update host with scan: near "WHERE": syntax error
Test go.sia.tech/renterd/stores/TestRecordScan failed in 0.02s: stores/hostdb_test.go#L615
hostdb_test.go:615: transaction failed (attempt 1): failed to scan host: sql: expected 19 destination arguments in Scan, not 20
Test go.sia.tech/renterd/stores/TestRemoveHosts failed in 0.01s: stores/hostdb_test.go#L755
hostdb_test.go:755: transaction failed (attempt 1): failed to scan host: sql: expected 19 destination arguments in Scan, not 20
Test go.sia.tech/renterd/stores/TestSQLHostAllowlist failed in 0.01s: stores/hostdb_test.go#L896
hostdb_test.go:896: transaction failed (attempt 1): failed to scan host: sql: expected 19 destination arguments in Scan, not 20
test-sqlite-v2 (1.22)
The job was canceled because "_1_23" failed.
test-mysql (1.23)
57/185 tests failed
Test go.sia.tech/renterd/autopilot/contractor/TestHostSet failed in 0s: autopilot/contractor/hostset_test.go#L35
hostset_test.go:35: Expected new host with unique subnet to not be considered redundant
Test go.sia.tech/renterd/stores/TestProcessChainUpdate failed in 0.62s: stores/chain_test.go#L158
chain_test.go:158: unexpected error transaction failed (attempt 1): failed to scan host: sql: expected 19 destination arguments in Scan, not 20
Test go.sia.tech/renterd/internal/test/e2e/TestBlocklist failed in 4.87s: internal/test/e2e/cluster.go#L523
cluster.go:523: couldn't load host: transaction failed (attempt 1): failed to scan host: sql: expected 19 destination arguments in Scan, not 20
Test go.sia.tech/renterd/stores/TestSQLHostDB failed in 0.71s: stores/hostdb_test.go#L32
hostdb_test.go:32: transaction failed (attempt 1): failed to prepare stmt for fetching host addresses: Error 1054 (42S22): Unknown column 'address' in 'field list'
Test go.sia.tech/renterd/stores/TestHosts failed in 0.72s: stores/hostdb_test.go#L153
hostdb_test.go:153: transaction failed (attempt 1): failed to scan host: sql: expected 19 destination arguments in Scan, not 20
Test go.sia.tech/renterd/stores/TestUsableHosts failed in 0.62s: stores/hostdb_test.go#L483
hostdb_test.go:483: transaction failed (attempt 1): failed to prepare statement to update host with scan: Error 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE public_key = ?' at line 16
Test go.sia.tech/renterd/stores/TestRecordScan failed in 0.63s: stores/hostdb_test.go#L615
hostdb_test.go:615: transaction failed (attempt 1): failed to scan host: sql: expected 19 destination arguments in Scan, not 20
Test go.sia.tech/renterd/stores/TestRemoveHosts failed in 0.65s: stores/hostdb_test.go#L755
hostdb_test.go:755: transaction failed (attempt 1): failed to scan host: sql: expected 19 destination arguments in Scan, not 20
Test go.sia.tech/renterd/stores/TestSQLHostAllowlist failed in 0.61s: stores/hostdb_test.go#L896
hostdb_test.go:896: transaction failed (attempt 1): failed to scan host: sql: expected 19 destination arguments in Scan, not 20
test-mysql-v2 (1.22)
57/183 tests failed
Test go.sia.tech/renterd/autopilot/contractor/TestHostSet failed in 0s: autopilot/contractor/hostset_test.go#L35
hostset_test.go:35: Expected new host with unique subnet to not be considered redundant
Test go.sia.tech/renterd/stores/TestProcessChainUpdate failed in 0.64s: stores/chain_test.go#L158
chain_test.go:158: unexpected error transaction failed (attempt 1): failed to scan host: sql: expected 19 destination arguments in Scan, not 20
Test go.sia.tech/renterd/internal/test/e2e/TestBlocklist failed in 4.91s: internal/test/e2e/cluster.go#L523
cluster.go:523: couldn't load host: transaction failed (attempt 1): failed to scan host: sql: expected 19 destination arguments in Scan, not 20
Test go.sia.tech/renterd/stores/TestSQLHostDB failed in 0.67s: stores/hostdb_test.go#L32
hostdb_test.go:32: transaction failed (attempt 1): failed to prepare stmt for fetching host addresses: Error 1054 (42S22): Unknown column 'address' in 'field list'
Test go.sia.tech/renterd/stores/TestHosts failed in 0.87s: stores/hostdb_test.go#L153
hostdb_test.go:153: transaction failed (attempt 1): failed to scan host: sql: expected 19 destination arguments in Scan, not 20
Test go.sia.tech/renterd/stores/TestUsableHosts failed in 0.6s: stores/hostdb_test.go#L483
hostdb_test.go:483: transaction failed (attempt 1): failed to prepare statement to update host with scan: Error 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE public_key = ?' at line 16
Test go.sia.tech/renterd/stores/TestRecordScan failed in 0.69s: stores/hostdb_test.go#L615
hostdb_test.go:615: transaction failed (attempt 1): failed to scan host: sql: expected 19 destination arguments in Scan, not 20
Test go.sia.tech/renterd/stores/TestRemoveHosts failed in 0.66s: stores/hostdb_test.go#L755
hostdb_test.go:755: transaction failed (attempt 1): failed to scan host: sql: expected 19 destination arguments in Scan, not 20
Test go.sia.tech/renterd/stores/TestSQLHostAllowlist failed in 0.61s: stores/hostdb_test.go#L896
hostdb_test.go:896: transaction failed (attempt 1): failed to scan host: sql: expected 19 destination arguments in Scan, not 20
test-mysql-v2 (1.23)
The job was canceled because "_1_22" failed.
test-mysql (1.22)
The job was canceled because "_1_23" failed.
analyze
The following actions use a deprecated Node.js version and will be forced to run on node20: golangci/golangci-lint-action@v3, SiaFoundation/action-golang-analysis@HEAD. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
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-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