feat: Add preflight checks framework #3927
30 tests run, 15 passed, 0 skipped, 15 failed.
Annotations
Check failure on line 1 in caren-e2e
github-actions / e2e test report
caren-e2e.[SynchronizedBeforeSuite]
failed to run clusterctl init
Unexpected error:
<*errors.withStack | 0xc000b218f0>:
action failed after 10 attempts: failed to create provider object runtime.cluster.x-k8s.io/v1alpha1, Kind=ExtensionConfig, caren-system/cluster-api-runtime-extensions-nutanix: Internal error occurred: failed calling webhook "default.extensionconfig.runtime.addons.cluster.x-k8s.io": failed to call webhook: Post "https://capi-webhook-service.capi-system.svc:443/mutate-runtime-cluster-x-k8s-io-v1alpha1-extensionconfig?timeout=10s": dial tcp 10.96.195.234:443: connect: connection refused
{
error: <*errors.withMessage | 0xc002968780>{
cause: <*errors.withStack | 0xc000b218c0>{
error: <*errors.withMessage | 0xc002968760>{
cause: <*errors.StatusError | 0xc002966f00>{
ErrStatus: {
TypeMeta: {Kind: "Status", APIVersion: "v1"},
ListMeta: {
SelfLink: "",
ResourceVersion: "",
Continue: "",
RemainingItemCount: nil,
},
Status: "Failure",
Message: "Internal error occurred: failed calling webhook \"default.extensionconfig.runtime.addons.cluster.x-k8s.io\": failed to call webhook: Post \"https://capi-webhook-service.capi-system.svc:443/mutate-runtime-cluster-x-k8s-io-v1alpha1-extensionconfig?timeout=10s\": dial tcp 10.96.195.234:443: connect: connection refused",
Reason: "InternalError",
Details: {
Name: "",
Group: "",
Kind: "",
UID: "",
Causes: [
{
Type: "",
Message: "failed calling webhook \"default.extensionconfig.runtime.addons.cluster.x-k8s.io\": failed to call webhook: Post \"https://capi-webhook-service.capi-system.svc:443/mutate-runtime-cluster-x-k8s-io-v1alpha1-extensionconfig?timeout=10s\": dial tcp 10.96.195.234:443: connect: connection refused",
Field: "",
},
],
RetryAfterSeconds: 0,
},
Code: 500,
},
},
msg: "failed to create provider object runtime.cluster.x-k8s.io/v1alpha1, Kind=ExtensionConfig, caren-system/cluster-api-runtime-extensions-nutanix",
},
stack: [0x2191e05, 0x21917ce, 0x21914df, 0xf885ac, 0xf8688e, 0x21913ab, 0x219172d, 0x219698d, 0x219636f, 0x21d9fce, 0x23dd3ca, 0x23e034b, 0x24bd20f, 0x24aa87f, 0x4b6d06, 0x4b5e19, 0xef921e, 0xf0ac2e, 0xf0e45b, 0x4847c1],
},
msg: "action failed after 10 attempts",
},
stack: [0x2191405, 0x219172d, 0x219698d, 0x219636f, 0x21d9fce, 0x23dd3ca, 0x23e034b, 0x24bd20f, 0x24aa87f, 0x4b6d06, 0x4b5e19, 0xef921e, 0xf0ac2e, 0xf0e45b, 0x4847c1],
}
occurred
Raw output
[FAILED] failed to run clusterctl init
Unexpected error:
<*errors.withStack | 0xc000b218f0>:
action failed after 10 attempts: failed to create provider object runtime.cluster.x-k8s.io/v1alpha1, Kind=ExtensionConfig, caren-system/cluster-api-runtime-extensions-nutanix: Internal error occurred: failed calling webhook "default.extensionconfig.runtime.addons.cluster.x-k8s.io": failed to call webhook: Post "https://capi-webhook-service.capi-system.svc:443/mutate-runtime-cluster-x-k8s-io-v1alpha1-extensionconfig?timeout=10s": dial tcp 10.96.195.234:443: connect: connection refused
{
error: <*errors.withMessage | 0xc002968780>{
cause: <*errors.withStack | 0xc000b218c0>{
error: <*errors.withMessage | 0xc002968760>{
cause: <*errors.StatusError | 0xc002966f00>{
ErrStatus: {
TypeMeta: {Kind: "Status", APIVersion: "v1"},
ListMeta: {
SelfLink: "",
ResourceVersion: "",
Continue: "",
RemainingItemCount: nil,
},
Status: "Failure",
Message: "Internal error occurred: failed calling webhook \"default.extensionconfig.runtime.addons.cluster.x-k8s.io\": failed to call webhook: Post \"https://capi-webhook-service.capi-system.svc:443/mutate-runtime-cluster-x-k8s-io-v1alpha1-extensionconfig?timeout=10s\": dial tcp 10.96.195.234:443: connect: connection refused",
Reason: "InternalError",
Details: {
Name: "",
Group: "",
Kind: "",
UID: "",
Causes: [
{
Type: "",
Message: "failed calling webhook \"default.extensionconfig.runtime.addons.cluster.x-k8s.io\": failed to call webhook: Post \"https://capi-webhook-service.capi-system.svc:443/mutate-runtime-cluster-x-k8s-io-v1alpha1-extensionconfig?timeout=10s\": dial tcp 10.96.195.234:443: connect: connection refused",
Field: "",
},
],
RetryAfterSeconds: 0,
},
Code: 500,
},
},
msg: "failed to create provider object runtime.cluster.x-k8s.io/v1alpha1, Kind=ExtensionConfig, caren-system/cluster-api-runtime-extensions-nutanix",
},
stack: [0x2191e05, 0x21917ce, 0x21914df, 0xf885ac, 0xf8688e, 0x21913ab, 0x219172d, 0x219698d, 0x219636f, 0x21d9fce, 0x23dd3ca, 0x23e034b, 0x24bd20f, 0x24aa87f, 0x4b6d06, 0x4b5e19, 0xef921e, 0xf0ac2e, 0xf0e45b, 0x4847c1],
},
msg: "action failed after 10 attempts",
},
stack: [0x2191405, 0x219172d, 0x219698d, 0x219636f, 0x21d9fce, 0x23dd3ca, 0x23e034b, 0x24bd20f, 0x24aa87f, 0x4b6d06, 0x4b5e19, 0xef921e, 0xf0ac2e, 0xf0e45b, 0x4847c1],
}
occurred
In [SynchronizedBeforeSuite] at: /home/runner/go/pkg/mod/sigs.k8s.io/cluster-api/[email protected]/framework/clusterctl/client.go:90 @ 05/20/25 21:14:49.239
Check failure on line 1 in caren-e2e
github-actions / e2e test report
caren-e2e.[SynchronizedBeforeSuite]
�[1m�[38;5;9mSynchronizedBeforeSuite failed on Ginkgo parallel process #1�[0m
The first SynchronizedBeforeSuite function running on Ginkgo parallel process
#1 failed. This suite will now abort.
Raw output
[FAILED] �[1m�[38;5;9mSynchronizedBeforeSuite failed on Ginkgo parallel process #1�[0m
The first SynchronizedBeforeSuite function running on Ginkgo parallel process
#1 failed. This suite will now abort.
In [SynchronizedBeforeSuite] at: /home/runner/_work/cluster-api-runtime-extensions-nutanix/cluster-api-runtime-extensions-nutanix/test/e2e/e2e_suite_test.go:86 @ 05/20/25 21:14:49.281
Check failure on line 1 in caren-e2e
github-actions / e2e test report
caren-e2e.[SynchronizedBeforeSuite]
�[1m�[38;5;9mSynchronizedBeforeSuite failed on Ginkgo parallel process #1�[0m
The first SynchronizedBeforeSuite function running on Ginkgo parallel process
#1 failed. This suite will now abort.
Raw output
[FAILED] �[1m�[38;5;9mSynchronizedBeforeSuite failed on Ginkgo parallel process #1�[0m
The first SynchronizedBeforeSuite function running on Ginkgo parallel process
#1 failed. This suite will now abort.
In [SynchronizedBeforeSuite] at: /home/runner/_work/cluster-api-runtime-extensions-nutanix/cluster-api-runtime-extensions-nutanix/test/e2e/e2e_suite_test.go:86 @ 05/20/25 21:14:49.281
Check failure on line 1 in caren-e2e
github-actions / e2e test report
caren-e2e.[SynchronizedBeforeSuite]
�[1m�[38;5;9mSynchronizedBeforeSuite failed on Ginkgo parallel process #1�[0m
The first SynchronizedBeforeSuite function running on Ginkgo parallel process
#1 failed. This suite will now abort.
Raw output
[FAILED] �[1m�[38;5;9mSynchronizedBeforeSuite failed on Ginkgo parallel process #1�[0m
The first SynchronizedBeforeSuite function running on Ginkgo parallel process
#1 failed. This suite will now abort.
In [SynchronizedBeforeSuite] at: /home/runner/_work/cluster-api-runtime-extensions-nutanix/cluster-api-runtime-extensions-nutanix/test/e2e/e2e_suite_test.go:86 @ 05/20/25 21:14:49.281
Check failure on line 1 in caren-e2e
github-actions / e2e test report
caren-e2e.[SynchronizedBeforeSuite]
�[1m�[38;5;9mSynchronizedBeforeSuite failed on Ginkgo parallel process #1�[0m
The first SynchronizedBeforeSuite function running on Ginkgo parallel process
#1 failed. This suite will now abort.
Raw output
[FAILED] �[1m�[38;5;9mSynchronizedBeforeSuite failed on Ginkgo parallel process #1�[0m
The first SynchronizedBeforeSuite function running on Ginkgo parallel process
#1 failed. This suite will now abort.
In [SynchronizedBeforeSuite] at: /home/runner/_work/cluster-api-runtime-extensions-nutanix/cluster-api-runtime-extensions-nutanix/test/e2e/e2e_suite_test.go:86 @ 05/20/25 21:14:49.281
Check failure on line 1 in caren-e2e
github-actions / e2e test report
caren-e2e.[SynchronizedBeforeSuite]
�[1m�[38;5;9mSynchronizedBeforeSuite failed on Ginkgo parallel process #1�[0m
The first SynchronizedBeforeSuite function running on Ginkgo parallel process
#1 failed. This suite will now abort.
Raw output
[FAILED] �[1m�[38;5;9mSynchronizedBeforeSuite failed on Ginkgo parallel process #1�[0m
The first SynchronizedBeforeSuite function running on Ginkgo parallel process
#1 failed. This suite will now abort.
In [SynchronizedBeforeSuite] at: /home/runner/_work/cluster-api-runtime-extensions-nutanix/cluster-api-runtime-extensions-nutanix/test/e2e/e2e_suite_test.go:86 @ 05/20/25 21:14:49.281
Check failure on line 1 in caren-e2e
github-actions / e2e test report
caren-e2e.[SynchronizedBeforeSuite]
�[1m�[38;5;9mSynchronizedBeforeSuite failed on Ginkgo parallel process #1�[0m
The first SynchronizedBeforeSuite function running on Ginkgo parallel process
#1 failed. This suite will now abort.
Raw output
[FAILED] �[1m�[38;5;9mSynchronizedBeforeSuite failed on Ginkgo parallel process #1�[0m
The first SynchronizedBeforeSuite function running on Ginkgo parallel process
#1 failed. This suite will now abort.
In [SynchronizedBeforeSuite] at: /home/runner/_work/cluster-api-runtime-extensions-nutanix/cluster-api-runtime-extensions-nutanix/test/e2e/e2e_suite_test.go:86 @ 05/20/25 21:14:49.281
Check failure on line 1 in caren-e2e
github-actions / e2e test report
caren-e2e.[SynchronizedBeforeSuite]
�[1m�[38;5;9mSynchronizedBeforeSuite failed on Ginkgo parallel process #1�[0m
The first SynchronizedBeforeSuite function running on Ginkgo parallel process
#1 failed. This suite will now abort.
Raw output
[FAILED] �[1m�[38;5;9mSynchronizedBeforeSuite failed on Ginkgo parallel process #1�[0m
The first SynchronizedBeforeSuite function running on Ginkgo parallel process
#1 failed. This suite will now abort.
In [SynchronizedBeforeSuite] at: /home/runner/_work/cluster-api-runtime-extensions-nutanix/cluster-api-runtime-extensions-nutanix/test/e2e/e2e_suite_test.go:86 @ 05/20/25 21:14:49.281
Check failure on line 1 in caren-e2e
github-actions / e2e test report
caren-e2e.[SynchronizedBeforeSuite]
�[1m�[38;5;9mSynchronizedBeforeSuite failed on Ginkgo parallel process #1�[0m
The first SynchronizedBeforeSuite function running on Ginkgo parallel process
#1 failed. This suite will now abort.
Raw output
[FAILED] �[1m�[38;5;9mSynchronizedBeforeSuite failed on Ginkgo parallel process #1�[0m
The first SynchronizedBeforeSuite function running on Ginkgo parallel process
#1 failed. This suite will now abort.
In [SynchronizedBeforeSuite] at: /home/runner/_work/cluster-api-runtime-extensions-nutanix/cluster-api-runtime-extensions-nutanix/test/e2e/e2e_suite_test.go:86 @ 05/20/25 21:14:49.281
Check failure on line 1 in caren-e2e
github-actions / e2e test report
caren-e2e.[SynchronizedBeforeSuite]
�[1m�[38;5;9mSynchronizedBeforeSuite failed on Ginkgo parallel process #1�[0m
The first SynchronizedBeforeSuite function running on Ginkgo parallel process
#1 failed. This suite will now abort.
Raw output
[FAILED] �[1m�[38;5;9mSynchronizedBeforeSuite failed on Ginkgo parallel process #1�[0m
The first SynchronizedBeforeSuite function running on Ginkgo parallel process
#1 failed. This suite will now abort.
In [SynchronizedBeforeSuite] at: /home/runner/_work/cluster-api-runtime-extensions-nutanix/cluster-api-runtime-extensions-nutanix/test/e2e/e2e_suite_test.go:86 @ 05/20/25 21:14:49.281
Check failure on line 1 in caren-e2e
github-actions / e2e test report
caren-e2e.[SynchronizedBeforeSuite]
�[1m�[38;5;9mSynchronizedBeforeSuite failed on Ginkgo parallel process #1�[0m
The first SynchronizedBeforeSuite function running on Ginkgo parallel process
#1 failed. This suite will now abort.
Raw output
[FAILED] �[1m�[38;5;9mSynchronizedBeforeSuite failed on Ginkgo parallel process #1�[0m
The first SynchronizedBeforeSuite function running on Ginkgo parallel process
#1 failed. This suite will now abort.
In [SynchronizedBeforeSuite] at: /home/runner/_work/cluster-api-runtime-extensions-nutanix/cluster-api-runtime-extensions-nutanix/test/e2e/e2e_suite_test.go:86 @ 05/20/25 21:14:49.282
Check failure on line 1 in caren-e2e
github-actions / e2e test report
caren-e2e.[SynchronizedBeforeSuite]
�[1m�[38;5;9mSynchronizedBeforeSuite failed on Ginkgo parallel process #1�[0m
The first SynchronizedBeforeSuite function running on Ginkgo parallel process
#1 failed. This suite will now abort.
Raw output
[FAILED] �[1m�[38;5;9mSynchronizedBeforeSuite failed on Ginkgo parallel process #1�[0m
The first SynchronizedBeforeSuite function running on Ginkgo parallel process
#1 failed. This suite will now abort.
In [SynchronizedBeforeSuite] at: /home/runner/_work/cluster-api-runtime-extensions-nutanix/cluster-api-runtime-extensions-nutanix/test/e2e/e2e_suite_test.go:86 @ 05/20/25 21:14:49.281
Check failure on line 1 in caren-e2e
github-actions / e2e test report
caren-e2e.[SynchronizedBeforeSuite]
�[1m�[38;5;9mSynchronizedBeforeSuite failed on Ginkgo parallel process #1�[0m
The first SynchronizedBeforeSuite function running on Ginkgo parallel process
#1 failed. This suite will now abort.
Raw output
[FAILED] �[1m�[38;5;9mSynchronizedBeforeSuite failed on Ginkgo parallel process #1�[0m
The first SynchronizedBeforeSuite function running on Ginkgo parallel process
#1 failed. This suite will now abort.
In [SynchronizedBeforeSuite] at: /home/runner/_work/cluster-api-runtime-extensions-nutanix/cluster-api-runtime-extensions-nutanix/test/e2e/e2e_suite_test.go:86 @ 05/20/25 21:14:49.281
Check failure on line 1 in caren-e2e
github-actions / e2e test report
caren-e2e.[SynchronizedBeforeSuite]
�[1m�[38;5;9mSynchronizedBeforeSuite failed on Ginkgo parallel process #1�[0m
The first SynchronizedBeforeSuite function running on Ginkgo parallel process
#1 failed. This suite will now abort.
Raw output
[FAILED] �[1m�[38;5;9mSynchronizedBeforeSuite failed on Ginkgo parallel process #1�[0m
The first SynchronizedBeforeSuite function running on Ginkgo parallel process
#1 failed. This suite will now abort.
In [SynchronizedBeforeSuite] at: /home/runner/_work/cluster-api-runtime-extensions-nutanix/cluster-api-runtime-extensions-nutanix/test/e2e/e2e_suite_test.go:86 @ 05/20/25 21:14:49.281
Check failure on line 1 in caren-e2e
github-actions / e2e test report
caren-e2e.[SynchronizedBeforeSuite]
�[1m�[38;5;9mSynchronizedBeforeSuite failed on Ginkgo parallel process #1�[0m
The first SynchronizedBeforeSuite function running on Ginkgo parallel process
#1 failed. This suite will now abort.
Raw output
[FAILED] �[1m�[38;5;9mSynchronizedBeforeSuite failed on Ginkgo parallel process #1�[0m
The first SynchronizedBeforeSuite function running on Ginkgo parallel process
#1 failed. This suite will now abort.
In [SynchronizedBeforeSuite] at: /home/runner/_work/cluster-api-runtime-extensions-nutanix/cluster-api-runtime-extensions-nutanix/test/e2e/e2e_suite_test.go:86 @ 05/20/25 21:14:49.281