Skip to content

Add support for recording V2 scans and use V2 settings for gouging #7573

Add support for recording V2 scans and use V2 settings for gouging

Add support for recording V2 scans and use V2 settings for gouging #7573

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

49 errors and 6 warnings
test-sqlite / test (1.22, ubuntu-latest)
56/186 tests failed
Test go.sia.tech/renterd/internal/test/e2e/TestBlocklist failed in 2.35s: internal/test/e2e/cluster.go#L523
cluster.go:523: couldn't load host: transaction failed (attempt 1): failed to scan host: sql: Scan error on column index 8, name "v2_settings": failed to unmarshal Settings value:<nil>
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: Scan error on column index 8, name "v2_settings": failed to unmarshal Settings value:<nil>
Test go.sia.tech/renterd/stores/TestSQLHostDB failed in 0.02s: stores/hostdb_test.go#L52
hostdb_test.go:52: transaction failed (attempt 1): failed to scan host: sql: Scan error on column index 8, name "v2_settings": failed to unmarshal Settings value:<nil>
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: Scan error on column index 8, name "v2_settings": failed to unmarshal Settings value:<nil>
Test go.sia.tech/renterd/stores/TestRecordScan failed in 0.01s: stores/hostdb_test.go#L615
hostdb_test.go:615: transaction failed (attempt 1): failed to scan host: sql: Scan error on column index 8, name "v2_settings": failed to unmarshal Settings value:<nil>
Test go.sia.tech/renterd/stores/TestRemoveHosts failed in 0.01s: stores/hostdb_test.go#L753
hostdb_test.go:753: transaction failed (attempt 1): failed to scan host: sql: Scan error on column index 8, name "v2_settings": failed to unmarshal Settings value:<nil>
Test go.sia.tech/renterd/stores/TestSQLHostAllowlist failed in 0.01s: stores/hostdb_test.go#L894
hostdb_test.go:894: transaction failed (attempt 1): failed to scan host: sql: Scan error on column index 8, name "v2_settings": failed to unmarshal Settings value:<nil>
Test go.sia.tech/renterd/stores/TestSQLHostBlocklist failed in 0.02s: stores/hostdb_test.go#L1103
hostdb_test.go:1103: transaction failed (attempt 1): failed to scan host: sql: Scan error on column index 8, name "v2_settings": failed to unmarshal Settings value:<nil>
test-sqlite / test (1.22, windows-latest)
The job was canceled because "_1_22_ubuntu-latest" failed.
test-sqlite / test (1.22, windows-latest)
The operation was canceled.
test-sqlite / test (1.23, windows-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, ubuntu-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-v2 (1.23)
56/186 tests failed
Test go.sia.tech/renterd/internal/test/e2e/TestBlocklist failed in 2.56s: internal/test/e2e/cluster.go#L523
cluster.go:523: couldn't load host: transaction failed (attempt 1): failed to scan host: sql: Scan error on column index 8, name "v2_settings": failed to unmarshal Settings value:<nil>
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: Scan error on column index 8, name "v2_settings": failed to unmarshal Settings value:<nil>
Test go.sia.tech/renterd/stores/TestSQLHostDB failed in 0.02s: stores/hostdb_test.go#L52
hostdb_test.go:52: transaction failed (attempt 1): failed to scan host: sql: Scan error on column index 8, name "v2_settings": failed to unmarshal Settings value:<nil>
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: Scan error on column index 8, name "v2_settings": failed to unmarshal Settings value:<nil>
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: Scan error on column index 8, name "v2_settings": failed to unmarshal Settings value:<nil>
Test go.sia.tech/renterd/stores/TestRemoveHosts failed in 0.02s: stores/hostdb_test.go#L753
hostdb_test.go:753: transaction failed (attempt 1): failed to scan host: sql: Scan error on column index 8, name "v2_settings": failed to unmarshal Settings value:<nil>
Test go.sia.tech/renterd/stores/TestSQLHostAllowlist failed in 0.01s: stores/hostdb_test.go#L894
hostdb_test.go:894: transaction failed (attempt 1): failed to scan host: sql: Scan error on column index 8, name "v2_settings": failed to unmarshal Settings value:<nil>
Test go.sia.tech/renterd/stores/TestSQLHostBlocklist failed in 0.01s: stores/hostdb_test.go#L1103
hostdb_test.go:1103: transaction failed (attempt 1): failed to scan host: sql: Scan error on column index 8, name "v2_settings": failed to unmarshal Settings value:<nil>
test-sqlite-v2 (1.22)
The job was canceled because "_1_23" failed.
test-mysql (1.22)
56/186 tests failed
Test go.sia.tech/renterd/stores/TestProcessChainUpdate failed in 0.7s: stores/chain_test.go#L158
chain_test.go:158: unexpected error transaction failed (attempt 1): failed to scan host: sql: Scan error on column index 8, name "v2_settings": failed to unmarshal Settings value:<nil>
Test go.sia.tech/renterd/internal/test/e2e/TestBlocklist failed in 5.11s: internal/test/e2e/cluster.go#L523
cluster.go:523: couldn't load host: transaction failed (attempt 1): failed to scan host: sql: Scan error on column index 8, name "v2_settings": failed to unmarshal Settings value:<nil>
Test go.sia.tech/renterd/stores/TestSQLHostDB failed in 0.82s: stores/hostdb_test.go#L52
hostdb_test.go:52: transaction failed (attempt 1): failed to scan host: sql: Scan error on column index 8, name "v2_settings": failed to unmarshal Settings value:<nil>
Test go.sia.tech/renterd/stores/TestHosts failed in 0.95s: stores/hostdb_test.go#L153
hostdb_test.go:153: transaction failed (attempt 1): failed to scan host: sql: Scan error on column index 8, name "v2_settings": failed to unmarshal Settings value:<nil>
Test go.sia.tech/renterd/stores/TestUsableHosts failed in 0.76s: stores/hostdb_test.go#L491
hostdb_test.go:491: transaction failed (attempt 1): failed to insert host check: Error 1054 (42S22): Unknown column 'gouging_contract_err' in 'field list'
Test go.sia.tech/renterd/stores/TestRecordScan failed in 0.74s: stores/hostdb_test.go#L615
hostdb_test.go:615: transaction failed (attempt 1): failed to scan host: sql: Scan error on column index 8, name "v2_settings": failed to unmarshal Settings value:<nil>
Test go.sia.tech/renterd/stores/TestRemoveHosts failed in 0.76s: stores/hostdb_test.go#L753
hostdb_test.go:753: transaction failed (attempt 1): failed to scan host: sql: Scan error on column index 8, name "v2_settings": failed to unmarshal Settings value:<nil>
Test go.sia.tech/renterd/stores/TestSQLHostAllowlist failed in 0.76s: stores/hostdb_test.go#L894
hostdb_test.go:894: transaction failed (attempt 1): failed to scan host: sql: Scan error on column index 8, name "v2_settings": failed to unmarshal Settings value:<nil>
Test go.sia.tech/renterd/stores/TestSQLHostBlocklist failed in 0.79s: stores/hostdb_test.go#L1103
hostdb_test.go:1103: transaction failed (attempt 1): failed to scan host: sql: Scan error on column index 8, name "v2_settings": failed to unmarshal Settings value:<nil>
test-mysql (1.23)
The job was canceled because "_1_22" failed.
test-mysql-v2 (1.23)
53/181 tests failed
Test go.sia.tech/renterd/stores/TestProcessChainUpdate failed in 0.79s: stores/chain_test.go#L158
chain_test.go:158: unexpected error transaction failed (attempt 1): failed to scan host: sql: Scan error on column index 8, name "v2_settings": failed to unmarshal Settings value:<nil>
Test go.sia.tech/renterd/internal/test/e2e/TestBlocklist failed in 5.13s: internal/test/e2e/cluster.go#L523
cluster.go:523: couldn't load host: transaction failed (attempt 1): failed to scan host: sql: Scan error on column index 8, name "v2_settings": failed to unmarshal Settings value:<nil>
Test go.sia.tech/renterd/stores/TestSQLHostDB failed in 0.91s: stores/hostdb_test.go#L52
hostdb_test.go:52: transaction failed (attempt 1): failed to scan host: sql: Scan error on column index 8, name "v2_settings": failed to unmarshal Settings value:<nil>
Test go.sia.tech/renterd/stores/TestHosts failed in 0.98s: stores/hostdb_test.go#L153
hostdb_test.go:153: transaction failed (attempt 1): failed to scan host: sql: Scan error on column index 8, name "v2_settings": failed to unmarshal Settings value:<nil>
Test go.sia.tech/renterd/stores/TestUsableHosts failed in 0.79s: stores/hostdb_test.go#L491
hostdb_test.go:491: transaction failed (attempt 1): failed to insert host check: Error 1054 (42S22): Unknown column 'gouging_contract_err' in 'field list'
Test go.sia.tech/renterd/stores/TestRecordScan failed in 0.87s: stores/hostdb_test.go#L615
hostdb_test.go:615: transaction failed (attempt 1): failed to scan host: sql: Scan error on column index 8, name "v2_settings": failed to unmarshal Settings value:<nil>
Test go.sia.tech/renterd/stores/TestRemoveHosts failed in 0.81s: stores/hostdb_test.go#L753
hostdb_test.go:753: transaction failed (attempt 1): failed to scan host: sql: Scan error on column index 8, name "v2_settings": failed to unmarshal Settings value:<nil>
Test go.sia.tech/renterd/stores/TestSQLHostAllowlist failed in 0.78s: stores/hostdb_test.go#L894
hostdb_test.go:894: transaction failed (attempt 1): failed to scan host: sql: Scan error on column index 8, name "v2_settings": failed to unmarshal Settings value:<nil>
Test go.sia.tech/renterd/stores/TestSQLHostBlocklist failed in 0.8s: stores/hostdb_test.go#L1103
hostdb_test.go:1103: transaction failed (attempt 1): failed to scan host: sql: Scan error on column index 8, name "v2_settings": failed to unmarshal Settings value:<nil>
test-mysql-v2 (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 / 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 (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