Skip to content

feat: Add preflight checks framework #3629

feat: Add preflight checks framework

feat: Add preflight checks framework #3629

Triggered via pull request May 20, 2025 23:59
Status Failure
Total duration 7m 33s
Artifacts

checks.yml

on: pull_request
Matrix: lint-go
Matrix: e2e-quick-start
Waiting for pending jobs
Matrix: e2e-self-hosted
Waiting for pending jobs
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 9 warnings
unit-test
Process completed with exit code 2.
unit-test: pkg/webhook/preflight/preflight_test.go#L327
preflight_test.go:327: Error Trace: /home/runner/work/cluster-api-runtime-extensions-nutanix/cluster-api-runtime-extensions-nutanix/pkg/webhook/preflight/preflight_test.go:327 Error: Not equal: expected: "InternalError" actual : "FieldValueInvalid" Diff: --- Expected +++ Actual @@ -1,2 +1,2 @@ -(v1.CauseType) (len=13) "InternalError" +(v1.CauseType) (len=17) "FieldValueInvalid" Test: TestHandle/run_other_checks,_despite_checker_initialization_error
unit-test: pkg/webhook/preflight/preflight_test.go#L329
preflight_test.go:329: Error Trace: /home/runner/work/cluster-api-runtime-extensions-nutanix/cluster-api-runtime-extensions-nutanix/pkg/webhook/preflight/preflight_test.go:329 Error: Not equal: expected: "check result error" actual : "check failed" Diff: --- Expected +++ Actual @@ -1 +1 @@ -check result error +check failed Test: TestHandle/run_other_checks,_despite_checker_initialization_error
unit-test: pkg/webhook/preflight/preflight_test.go#L327
preflight_test.go:327: Error Trace: /home/runner/work/cluster-api-runtime-extensions-nutanix/cluster-api-runtime-extensions-nutanix/pkg/webhook/preflight/preflight_test.go:327 Error: Not equal: expected: "FieldValueInvalid" actual : "InternalError" Diff: --- Expected +++ Actual @@ -1,2 +1,2 @@ -(v1.CauseType) (len=17) "FieldValueInvalid" +(v1.CauseType) (len=13) "InternalError" Test: TestHandle/run_other_checks,_despite_checker_initialization_error
unit-test: pkg/webhook/preflight/preflight_test.go#L329
preflight_test.go:329: Error Trace: /home/runner/work/cluster-api-runtime-extensions-nutanix/cluster-api-runtime-extensions-nutanix/pkg/webhook/preflight/preflight_test.go:329 Error: Not equal: expected: "check failed" actual : "check result error" Diff: --- Expected +++ Actual @@ -1 +1 @@ -check failed +check result error Test: TestHandle/run_other_checks,_despite_checker_initialization_error
lint-go (api)
Failed to restore: Cache service responded with 422
lint-go (api)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
lint-go (common)
Failed to restore: Cache service responded with 422
lint-go (common)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
lint-go (.)
Failed to restore: Cache service responded with 422
lint-go (.)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
pre-commit
Failed to restore: Cache service responded with 422
unit-test
Failed to restore: Cache service responded with 422
lint-test-helm
Failed to restore: Cache service responded with 422