Skip to content

Add overall 'score' to HostCheck response type #6937

Add overall 'score' to HostCheck response type

Add overall 'score' to HostCheck response type #6937

Triggered via pull request September 12, 2024 09:51
Status Failure
Total duration 6m 48s
Artifacts

test.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

28 errors and 3 warnings
test (macos-latest, 1.22)
1/1 tests failed
Test go.sia.tech/renterd/internal/test/e2e/TestListObjectsWithNoDelimiter failed in 35.7s: internal/test/e2e/contractor.go#L522
2024-09-12T09:57:39Z WARN autopilot.autopilot.contractor.performContractMaintenance.becdbd28148e9fab5310336373a8776a.calculateMinScore contractor/contractor.go:522 min host score is set to the smallest non-zero float because there are no candidate hosts {"contractSet": "testset", "remainingAllowance": "1 KS"}
Test go.sia.tech/renterd/internal/test/e2e/TestListObjectsWithNoDelimiter failed in 35.7s: internal/test/e2e/contractor.go#L1127
2024-09-12T09:57:39Z WARN autopilot.autopilot.contractor.performContractMaintenance.becdbd28148e9fab5310336373a8776a contractor/contractor.go:1127 not enough candidates to form new contracts {"contractSet": "testset", "remainingAllowance": "1 KS", "candidates": 0}
Test go.sia.tech/renterd/internal/test/e2e/TestListObjectsWithNoDelimiter failed in 35.7s: internal/test/e2e/contractor.go#L714
2024-09-12T09:57:39Z WARN autopilot.autopilot.contractor.performContractMaintenance.becdbd28148e9fab5310336373a8776a contractor/contractor.go:714 contractset after maintenance {"contractSet": "testset", "remainingAllowance": "1 KS", "contracts": 0, "added": 0, "removed": 0}
Test go.sia.tech/renterd/internal/test/e2e/TestListObjectsWithNoDelimiter failed in 35.7s: internal/test/e2e/contractor.go#L522
2024-09-12T09:57:39Z WARN autopilot.autopilot.contractor.performContractMaintenance.9b4049c09ecfa8ca5759a9c2f6014ebf.calculateMinScore contractor/contractor.go:522 min host score is set to the smallest non-zero float because there are no candidate hosts {"contractSet": "testset", "remainingAllowance": "1 KS"}
Test go.sia.tech/renterd/internal/test/e2e/TestListObjectsWithNoDelimiter failed in 35.7s: internal/test/e2e/contractor.go#L1127
2024-09-12T09:57:39Z WARN autopilot.autopilot.contractor.performContractMaintenance.9b4049c09ecfa8ca5759a9c2f6014ebf contractor/contractor.go:1127 not enough candidates to form new contracts {"contractSet": "testset", "remainingAllowance": "1 KS", "candidates": 0}
Test go.sia.tech/renterd/internal/test/e2e/TestListObjectsWithNoDelimiter failed in 35.7s: internal/test/e2e/contractor.go#L714
2024-09-12T09:57:39Z WARN autopilot.autopilot.contractor.performContractMaintenance.9b4049c09ecfa8ca5759a9c2f6014ebf contractor/contractor.go:714 contractset after maintenance {"contractSet": "testset", "remainingAllowance": "1 KS", "contracts": 0, "added": 0, "removed": 0}
Test go.sia.tech/renterd/internal/test/e2e/TestListObjectsWithNoDelimiter failed in 35.7s: internal/test/e2e/contractor.go#L546
2024-09-12T09:57:40Z WARN autopilot.autopilot.contractor.performContractMaintenance.d2a3a3b11d353af816ac7cf6b2f2e7b8.calculateMinScore contractor/contractor.go:546 min host score is set to the smallest non-zero float because the lowest score couldn't be determined {"contractSet": "testset", "remainingAllowance": "1 KS"}
Test go.sia.tech/renterd/internal/test/e2e/TestListObjectsWithNoDelimiter failed in 35.7s: internal/test/e2e/server.go#L24
2024/09/12 09:57:40 http: superfluous response.WriteHeader call from go.sia.tech/jape.Context.Error (server.go:24)
Test go.sia.tech/renterd/internal/test/e2e/TestListObjectsWithNoDelimiter failed in 35.7s: internal/test/e2e/autopilot.go#L311
2024-09-12T09:57:40Z ERROR autopilot.autopilot autopilot/autopilot.go:311 contract maintenance failed, err: failed to update host check for host ed25519:04696cbca27b626c9db779a38207a612a73a72dd7dfad21411ce787fbe419029: couldn't decode request type (*api.HostCheck): json: cannot unmarshal number into Go struct field HostCheck.score of type api.HostScoreBreakdown failed to decode host check: couldn't decode request type (*api.HostCheck): json: cannot unmarshal number into Go struct field HostCheck.score of type api.HostScoreBreakdown
test (macos-latest, 1.23)
1/1 tests failed
Test go.sia.tech/renterd/internal/test/e2e/TestListObjectsWithNoDelimiter failed in 34.73s: internal/test/e2e/contractor.go#L522
2024-09-12T09:57:41Z WARN autopilot.autopilot.contractor.performContractMaintenance.d3f7e2b0f325cfa548587cb608c05101.calculateMinScore contractor/contractor.go:522 min host score is set to the smallest non-zero float because there are no candidate hosts {"contractSet": "testset", "remainingAllowance": "1 KS"}
Test go.sia.tech/renterd/internal/test/e2e/TestListObjectsWithNoDelimiter failed in 34.73s: internal/test/e2e/contractor.go#L1127
2024-09-12T09:57:41Z WARN autopilot.autopilot.contractor.performContractMaintenance.d3f7e2b0f325cfa548587cb608c05101 contractor/contractor.go:1127 not enough candidates to form new contracts {"contractSet": "testset", "remainingAllowance": "1 KS", "candidates": 0}
Test go.sia.tech/renterd/internal/test/e2e/TestListObjectsWithNoDelimiter failed in 34.73s: internal/test/e2e/contractor.go#L714
2024-09-12T09:57:41Z WARN autopilot.autopilot.contractor.performContractMaintenance.d3f7e2b0f325cfa548587cb608c05101 contractor/contractor.go:714 contractset after maintenance {"contractSet": "testset", "remainingAllowance": "1 KS", "contracts": 0, "added": 0, "removed": 0}
Test go.sia.tech/renterd/internal/test/e2e/TestListObjectsWithNoDelimiter failed in 34.73s: internal/test/e2e/contractor.go#L522
2024-09-12T09:57:41Z WARN autopilot.autopilot.contractor.performContractMaintenance.9c7af5ae4b37b5fb5a5571fbf0581951.calculateMinScore contractor/contractor.go:522 min host score is set to the smallest non-zero float because there are no candidate hosts {"contractSet": "testset", "remainingAllowance": "1 KS"}
Test go.sia.tech/renterd/internal/test/e2e/TestListObjectsWithNoDelimiter failed in 34.73s: internal/test/e2e/contractor.go#L1127
2024-09-12T09:57:41Z WARN autopilot.autopilot.contractor.performContractMaintenance.9c7af5ae4b37b5fb5a5571fbf0581951 contractor/contractor.go:1127 not enough candidates to form new contracts {"contractSet": "testset", "remainingAllowance": "1 KS", "candidates": 0}
Test go.sia.tech/renterd/internal/test/e2e/TestListObjectsWithNoDelimiter failed in 34.73s: internal/test/e2e/contractor.go#L714
2024-09-12T09:57:41Z WARN autopilot.autopilot.contractor.performContractMaintenance.9c7af5ae4b37b5fb5a5571fbf0581951 contractor/contractor.go:714 contractset after maintenance {"contractSet": "testset", "remainingAllowance": "1 KS", "contracts": 0, "added": 0, "removed": 0}
Test go.sia.tech/renterd/internal/test/e2e/TestListObjectsWithNoDelimiter failed in 34.73s: internal/test/e2e/contractor.go#L546
2024-09-12T09:57:42Z WARN autopilot.autopilot.contractor.performContractMaintenance.d6872f3c2a643c167b802dacf70c8ee9.calculateMinScore contractor/contractor.go:546 min host score is set to the smallest non-zero float because the lowest score couldn't be determined {"contractSet": "testset", "remainingAllowance": "1 KS"}
Test go.sia.tech/renterd/internal/test/e2e/TestListObjectsWithNoDelimiter failed in 34.73s: internal/test/e2e/server.go#L24
2024/09/12 09:57:42 http: superfluous response.WriteHeader call from go.sia.tech/jape.Context.Error (server.go:24)
Test go.sia.tech/renterd/internal/test/e2e/TestListObjectsWithNoDelimiter failed in 34.73s: internal/test/e2e/autopilot.go#L311
2024-09-12T09:57:42Z ERROR autopilot.autopilot autopilot/autopilot.go:311 contract maintenance failed, err: failed to update host check for host ed25519:17c7eeb7772efd5f5545d69b3b74b0e222054f95ad5757abd9e4b40c92c09f52: couldn't decode request type (*api.HostCheck): json: cannot unmarshal number into Go struct field HostCheck.score of type api.HostScoreBreakdown failed to decode host check: couldn't decode request type (*api.HostCheck): json: cannot unmarshal number into Go struct field HostCheck.score of type api.HostScoreBreakdown
test (windows-latest, 1.22)
The job was canceled because "macos-latest_1_22" failed.
test (windows-latest, 1.22)
The operation was canceled.
test (ubuntu-latest, 1.23)
The job was canceled because "macos-latest_1_22" failed.
test (ubuntu-latest, 1.23)
The operation was canceled.
test (ubuntu-latest, 1.22)
The job was canceled because "macos-latest_1_22" failed.
test (ubuntu-latest, 1.22)
The operation was canceled.
test (windows-latest, 1.23)
The job was canceled because "macos-latest_1_22" failed.
test (windows-latest, 1.23)
The operation was canceled.
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 (macos-latest, 1.22)
The following actions use a deprecated Node.js version and will be forced to run on node20: n8maninger/action-golang-test@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
test (macos-latest, 1.23)
The following actions use a deprecated Node.js version and will be forced to run on node20: n8maninger/action-golang-test@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/