feat: Add preflight checks framework #3629
checks.yml
on: pull_request
Matrix: lint-go
unit-test
5m 40s
lint-gha
21s
pre-commit
2m 0s
lint-test-helm
7m 20s
Matrix: e2e-quick-start
Waiting for pending jobs
Matrix: e2e-self-hosted
Waiting for pending jobs
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
|