fix: use a new version for control-plane and worker mutation handlers… #3305
GitHub Actions / e2e test report
failed
Apr 14, 2025 in 0s
26 tests run, 9 passed, 16 skipped, 1 failed.
Annotations
Check failure on line 1 in caren-e2e
github-actions / e2e test report
caren-e2e.[It] Quick start Docker Calico ClusterResourceSet topology-calico-crs Should create a workload cluster [provider:Docker, Serial, cni:Calico, addonStrategy:ClusterResourceSet]
Timed out after 600.001s.
Deployment calico-system/calico-kube-controllers failed to get status.Available = True condition
Deployment:
{
"metadata": {
"name": "calico-kube-controllers",
"namespace": "calico-system",
"uid": "2041bf1a-f754-4435-9d54-430780deccc0",
"resourceVersion": "2294",
"generation": 1,
"creationTimestamp": "2025-04-14T21:30:52Z",
"labels": {
"app.kubernetes.io/name": "calico-kube-controllers",
"k8s-app": "calico-kube-controllers"
},
"annotations": {
"deployment.kubernetes.io/revision": "1"
},
"ownerReferences": [
{
"apiVersion": "operator.tigera.io/v1",
"kind": "Installation",
"name": "default",
"uid": "3ff6b700-0917-4083-8113-9fb05e699307",
"controller": true,
"blockOwnerDeletion": true
}
],
"managedFields": [
{
"manager": "operator",
"operation": "Update",
"apiVersion": "apps/v1",
"time": "2025-04-14T21:30:52Z",
"fieldsType": "FieldsV1",
"fieldsV1": {
"f:metadata": {
"f:labels": {
".": {},
"f:app.kubernetes.io/name": {},
"f:k8s-app": {}
},
"f:ownerReferences": {
".": {},
"k:{\"uid\":\"3ff6b700-0917-4083-8113-9fb05e699307\"}": {}
}
},
"f:spec": {
"f:progressDeadlineSeconds": {},
"f:replicas": {},
"f:revisionHistoryLimit": {},
"f:selector": {},
"f:strategy": {
"f:type": {}
},
"f:template": {
"f:metadata": {
"f:annotations": {
".": {},
"f:hash.operator.tigera.io/system": {},
"f:tigera-operator.hash.operator.tigera.io/tigera-ca-private": {}
},
"f:labels": {
".": {},
"f:app.kubernetes.io/name": {},
"f:k8s-app": {}
},
"f:name": {},
"f:namespace": {}
},
"f:spec": {
"f:containers": {
"k:{\"name\":\"calico-kube-controllers\"}": {
".": {},
"f:env": {
".": {},
"k:{\"name\":\"CA_CRT_PATH\"}": {
".": {},
"f:name": {},
"f:value": {}
},
"k:{\"name\":\"DATASTORE_TYPE\"}": {
".": {},
"f:name": {},
"f:value": {}
},
"k:{\"name\":\"DISABLE_KUBE_CONTROLLERS_CONFIG_API\"}": {
".": {},
"f:name": {},
"f:value": {}
},
"k:{\"name\":\"ENABLED_CONTROLLERS\"}": {
".": {},
"f:name": {},
"f:value": {}
},
"k:{\"name\":\"FIPS_MODE_ENABLED\"}": {
".": {},
"f:name": {},
"f:value": {}
},
"k:{\"name\":\"KUBERNETES_SERVICE_HOST\"}": {
".": {},
"f:name": {},
"f:value": {}
},
"k:{\"name\":\"KUBERNETES_SERVICE_PORT\"}": {
".": {},
"f:name": {},
"f:value": {}
},
"k:{\"name\":\"KUBE_CONTROLLERS_CONFIG_NAME\"}": {
".": {},
"f:name": {},
"f:value": {}
}
},
"f:image": {},
"f:imagePullPolicy": {},
"f:livenessProbe": {
".": {},
"f:exec": {
".": {},
"f:command": {}
},
"f:failureThreshold": {},
"f:initialDelaySeconds": {},
"f:periodSeconds": {},
"f:successThreshold": {},
"f:timeoutSeconds": {}
},
"f:name": {},
"f:readinessProbe": {
".": {},
"f:exec": {
".": {},
"f:command": {}
},
"f:failureThreshold": {},
"f:periodSeconds": {},
"f:successThreshold": {},
"f:timeoutSeconds": {}
},
"f:resources": {},
"f:securityContext": {
".": {},
"f:allowPrivilegeEscalation": {},
"f:capabilities": {
".": {},
"f:drop": {}
},
"f:privileged": {},
"f:runAsGroup": {},
"f:runAsNonRoot": {},
"f:runAsUser": {},
"f:seccompProfile": {
".": {},
"f:type": {}
}
},
"f:terminationMessagePath": {},
"f:terminationMessagePolicy": {},
"f:volumeMounts": {
".": {},
"k:{\"mountPath\":\"/etc/pki/tls/cert.pem\"}": {
".": {},
"f:mountPath": {},
"f:name": {},
"f:readOnly": {},
"f:subPath": {}
},
"k:{\"mountPath\":\"/etc/pki/tls/certs\"}": {
".": {},
"f:mountPath": {},
"f:name": {},
"f:readOnly": {}
}
}
}
},
"f:dnsPolicy": {},
"f:nodeSelector": {},
"f:priorityClassName": {},
"f:restartPolicy": {},
"f:schedulerName": {},
"f:securityContext": {},
"f:serviceAccount": {},
"f:serviceAccountName": {},
"f:terminationGracePeriodSeconds": {},
"f:tolerations": {},
"f:volumes": {
".": {},
"k:{\"name\":\"tigera-ca-bundle\"}": {
".": {},
"f:configMap": {
".": {},
"f:defaultMode": {},
"f:name": {}
},
"f:name": {}
}
}
}
}
}
}
},
{
"manager": "kube-controller-manager",
"operation": "Update",
"apiVersion": "apps/v1",
"time": "2025-04-14T21:37:33Z",
"fieldsType": "FieldsV1",
"fieldsV1": {
"f:metadata": {
"f:annotations": {
".": {},
"f:deployment.kubernetes.io/revision": {}
}
},
"f:status": {
"f:conditions": {
".": {},
"k:{\"type\":\"Available\"}": {
".": {},
"f:lastTransitionTime": {},
"f:lastUpdateTime": {},
"f:message": {},
"f:reason": {},
"f:status": {},
"f:type": {}
},
"k:{\"type\":\"Progressing\"}": {
".": {},
"f:lastTransitionTime": {},
"f:lastUpdateTime": {},
"f:message": {},
"f:reason": {},
"f:status": {},
"f:type": {}
}
},
"f:observedGeneration": {},
"f:replicas": {},
"f:unavailableReplicas": {},
"f:updatedReplicas": {}
}
},
"subresource": "status"
}
]
},
"spec": {
"replicas": 1,
"selector": {
"matchLabels": {
"k8s-app": "calico-kube-controllers"
}
},
"template": {
"metadata": {
"name": "calico-kube-controllers",
"namespace": "calico-system",
"creationTimestamp": null,
"labels": {
"app.kubernetes.io/name": "calico-kube-controllers",
"k8s-app": "calico-kube-controllers"
},
"annotations": {
"hash.operator.tigera.io/system": "fdde45054a8ae4f629960ce37570929502e59449",
"tigera-operator.hash.operator.tigera.io/tigera-ca-private": "afc6272e723131fd81442ab83db4db946fa43b52"
}
},
"spec": {
"volumes": [
{
"name": "tigera-ca-bundle",
"configMap": {
"name": "tigera-ca-bundle",
"defaultMode": 420
}
}
],
"containers": [
{
"name": "calico-kube-controllers",
"image": "quay.io/calico/kube-controllers:v3.29.3",
"env": [
{
"name": "KUBE_CONTROLLERS_CONFIG_NAME",
"value": "default"
},
{
"name": "DATASTORE_TYPE",
"value": "kubernetes"
},
{
"name": "ENABLED_CONTROLLERS",
"value": "node"
},
{
"name": "FIPS_MODE_ENABLED",
"value": "false"
},
{
"name": "DISABLE_KUBE_CONTROLLERS_CONFIG_API",
"value": "false"
},
{
"name": "KUBERNETES_SERVICE_HOST",
"value": "10.128.0.1"
},
{
"name": "KUBERNETES_SERVICE_PORT",
"value": "443"
},
{
"name": "CA_CRT_PATH",
"value": "/etc/pki/tls/certs/tigera-ca-bundle.crt"
}
],
"resources": {},
"volumeMounts": [
{
"name": "tigera-ca-bundle",
"readOnly": true,
"mountPath": "/etc/pki/tls/certs"
},
{
"name": "tigera-ca-bundle",
"readOnly": true,
"mountPath": "/etc/pki/tls/cert.pem",
"subPath": "ca-bundle.crt"
}
],
"livenessProbe": {
"exec": {
"command": [
"/usr/bin/check-status",
"-l"
]
},
"initialDelaySeconds": 10,
"timeoutSeconds": 10,
"periodSeconds": 60,
"successThreshold": 1,
"failureThreshold": 6
},
"readinessProbe": {
"exec": {
"command": [
"/usr/bin/check-status",
"-r"
]
},
"timeoutSeconds": 10,
"periodSeconds": 30,
"successThreshold": 1,
"failureThreshold": 3
},
"terminationMessagePath": "/dev/termination-log",
"terminationMessagePolicy": "File",
"imagePullPolicy": "IfNotPresent",
"securityContext": {
"capabilities": {
"drop": [
"ALL"
]
},
"privileged": false,
"runAsUser": 999,
"runAsGroup": 0,
"runAsNonRoot": true,
"allowPrivilegeEscalation": false,
"seccompProfile": {
"type": "RuntimeDefault"
}
}
}
],
"restartPolicy": "Always",
"terminationGracePeriodSeconds": 30,
"dnsPolicy": "ClusterFirst",
"nodeSelector": {
"kubernetes.io/os": "linux"
},
"serviceAccountName": "calico-kube-controllers",
"serviceAccount": "calico-kube-controllers",
"securityContext": {},
"schedulerName": "default-scheduler",
"tolerations": [
{
"key": "node-role.kubernetes.io/master",
"effect": "NoSchedule"
},
{
"key": "node-role.kubernetes.io/control-plane",
"effect": "NoSchedule"
},
{
"key": "CriticalAddonsOnly",
"operator": "Exists"
}
],
"priorityClassName": "system-cluster-critical"
}
},
"strategy": {
"type": "Recreate"
},
"revisionHistoryLimit": 10,
"progressDeadlineSeconds": 600
},
"status": {
"observedGeneration": 1,
"replicas": 1,
"updatedReplicas": 1,
"unavailableReplicas": 1,
"conditions": [
{
"type": "Available",
"status": "False",
"lastUpdateTime": "2025-04-14T21:30:52Z",
"lastTransitionTime": "2025-04-14T21:30:52Z",
"reason": "MinimumReplicasUnavailable",
"message": "Deployment does not have minimum availability."
},
{
"type": "Progressing",
"status": "True",
"lastUpdateTime": "2025-04-14T21:37:33Z",
"lastTransitionTime": "2025-04-14T21:30:52Z",
"reason": "ReplicaSetUpdated",
"message": "ReplicaSet \"calico-kube-controllers-5c7d8595b7\" is progressing."
}
]
}
}
Expected
<bool>: false
to be true
Raw output
[FAILED] Timed out after 600.001s.
Deployment calico-system/calico-kube-controllers failed to get status.Available = True condition
Deployment:
{
"metadata": {
"name": "calico-kube-controllers",
"namespace": "calico-system",
"uid": "2041bf1a-f754-4435-9d54-430780deccc0",
"resourceVersion": "2294",
"generation": 1,
"creationTimestamp": "2025-04-14T21:30:52Z",
"labels": {
"app.kubernetes.io/name": "calico-kube-controllers",
"k8s-app": "calico-kube-controllers"
},
"annotations": {
"deployment.kubernetes.io/revision": "1"
},
"ownerReferences": [
{
"apiVersion": "operator.tigera.io/v1",
"kind": "Installation",
"name": "default",
"uid": "3ff6b700-0917-4083-8113-9fb05e699307",
"controller": true,
"blockOwnerDeletion": true
}
],
"managedFields": [
{
"manager": "operator",
"operation": "Update",
"apiVersion": "apps/v1",
"time": "2025-04-14T21:30:52Z",
"fieldsType": "FieldsV1",
"fieldsV1": {
"f:metadata": {
"f:labels": {
".": {},
"f:app.kubernetes.io/name": {},
"f:k8s-app": {}
},
"f:ownerReferences": {
".": {},
"k:{\"uid\":\"3ff6b700-0917-4083-8113-9fb05e699307\"}": {}
}
},
"f:spec": {
"f:progressDeadlineSeconds": {},
"f:replicas": {},
"f:revisionHistoryLimit": {},
"f:selector": {},
"f:strategy": {
"f:type": {}
},
"f:template": {
"f:metadata": {
"f:annotations": {
".": {},
"f:hash.operator.tigera.io/system": {},
"f:tigera-operator.hash.operator.tigera.io/tigera-ca-private": {}
},
"f:labels": {
".": {},
"f:app.kubernetes.io/name": {},
"f:k8s-app": {}
},
"f:name": {},
"f:namespace": {}
},
"f:spec": {
"f:containers": {
"k:{\"name\":\"calico-kube-controllers\"}": {
".": {},
"f:env": {
".": {},
"k:{\"name\":\"CA_CRT_PATH\"}": {
".": {},
"f:name": {},
"f:value": {}
},
"k:{\"name\":\"DATASTORE_TYPE\"}": {
".": {},
"f:name": {},
"f:value": {}
},
"k:{\"name\":\"DISABLE_KUBE_CONTROLLERS_CONFIG_API\"}": {
".": {},
"f:name": {},
"f:value": {}
},
"k:{\"name\":\"ENABLED_CONTROLLERS\"}": {
".": {},
"f:name": {},
"f:value": {}
},
"k:{\"name\":\"FIPS_MODE_ENABLED\"}": {
".": {},
"f:name": {},
"f:value": {}
},
"k:{\"name\":\"KUBERNETES_SERVICE_HOST\"}": {
".": {},
"f:name": {},
"f:value": {}
},
"k:{\"name\":\"KUBERNETES_SERVICE_PORT\"}": {
".": {},
"f:name": {},
"f:value": {}
},
"k:{\"name\":\"KUBE_CONTROLLERS_CONFIG_NAME\"}": {
".": {},
"f:name": {},
"f:value": {}
}
},
"f:image": {},
"f:imagePullPolicy": {},
"f:livenessProbe": {
".": {},
"f:exec": {
".": {},
"f:command": {}
},
"f:failureThreshold": {},
"f:initialDelaySeconds": {},
"f:periodSeconds": {},
"f:successThreshold": {},
"f:timeoutSeconds": {}
},
"f:name": {},
"f:readinessProbe": {
".": {},
"f:exec": {
".": {},
"f:command": {}
},
"f:failureThreshold": {},
"f:periodSeconds": {},
"f:successThreshold": {},
"f:timeoutSeconds": {}
},
"f:resources": {},
"f:securityContext": {
".": {},
"f:allowPrivilegeEscalation": {},
"f:capabilities": {
".": {},
"f:drop": {}
},
"f:privileged": {},
"f:runAsGroup": {},
"f:runAsNonRoot": {},
"f:runAsUser": {},
"f:seccompProfile": {
".": {},
"f:type": {}
}
},
"f:terminationMessagePath": {},
"f:terminationMessagePolicy": {},
"f:volumeMounts": {
".": {},
"k:{\"mountPath\":\"/etc/pki/tls/cert.pem\"}": {
".": {},
"f:mountPath": {},
"f:name": {},
"f:readOnly": {},
"f:subPath": {}
},
"k:{\"mountPath\":\"/etc/pki/tls/certs\"}": {
".": {},
"f:mountPath": {},
"f:name": {},
"f:readOnly": {}
}
}
}
},
"f:dnsPolicy": {},
"f:nodeSelector": {},
"f:priorityClassName": {},
"f:restartPolicy": {},
"f:schedulerName": {},
"f:securityContext": {},
"f:serviceAccount": {},
"f:serviceAccountName": {},
"f:terminationGracePeriodSeconds": {},
"f:tolerations": {},
"f:volumes": {
".": {},
"k:{\"name\":\"tigera-ca-bundle\"}": {
".": {},
"f:configMap": {
".": {},
"f:defaultMode": {},
"f:name": {}
},
"f:name": {}
}
}
}
}
}
}
},
{
"manager": "kube-controller-manager",
"operation": "Update",
"apiVersion": "apps/v1",
"time": "2025-04-14T21:37:33Z",
"fieldsType": "FieldsV1",
"fieldsV1": {
"f:metadata": {
"f:annotations": {
".": {},
"f:deployment.kubernetes.io/revision": {}
}
},
"f:status": {
"f:conditions": {
".": {},
"k:{\"type\":\"Available\"}": {
".": {},
"f:lastTransitionTime": {},
"f:lastUpdateTime": {},
"f:message": {},
"f:reason": {},
"f:status": {},
"f:type": {}
},
"k:{\"type\":\"Progressing\"}": {
".": {},
"f:lastTransitionTime": {},
"f:lastUpdateTime": {},
"f:message": {},
"f:reason": {},
"f:status": {},
"f:type": {}
}
},
"f:observedGeneration": {},
"f:replicas": {},
"f:unavailableReplicas": {},
"f:updatedReplicas": {}
}
},
"subresource": "status"
}
]
},
"spec": {
"replicas": 1,
"selector": {
"matchLabels": {
"k8s-app": "calico-kube-controllers"
}
},
"template": {
"metadata": {
"name": "calico-kube-controllers",
"namespace": "calico-system",
"creationTimestamp": null,
"labels": {
"app.kubernetes.io/name": "calico-kube-controllers",
"k8s-app": "calico-kube-controllers"
},
"annotations": {
"hash.operator.tigera.io/system": "fdde45054a8ae4f629960ce37570929502e59449",
"tigera-operator.hash.operator.tigera.io/tigera-ca-private": "afc6272e723131fd81442ab83db4db946fa43b52"
}
},
"spec": {
"volumes": [
{
"name": "tigera-ca-bundle",
"configMap": {
"name": "tigera-ca-bundle",
"defaultMode": 420
}
}
],
"containers": [
{
"name": "calico-kube-controllers",
"image": "quay.io/calico/kube-controllers:v3.29.3",
"env": [
{
"name": "KUBE_CONTROLLERS_CONFIG_NAME",
"value": "default"
},
{
"name": "DATASTORE_TYPE",
"value": "kubernetes"
},
{
"name": "ENABLED_CONTROLLERS",
"value": "node"
},
{
"name": "FIPS_MODE_ENABLED",
"value": "false"
},
{
"name": "DISABLE_KUBE_CONTROLLERS_CONFIG_API",
"value": "false"
},
{
"name": "KUBERNETES_SERVICE_HOST",
"value": "10.128.0.1"
},
{
"name": "KUBERNETES_SERVICE_PORT",
"value": "443"
},
{
"name": "CA_CRT_PATH",
"value": "/etc/pki/tls/certs/tigera-ca-bundle.crt"
}
],
"resources": {},
"volumeMounts": [
{
"name": "tigera-ca-bundle",
"readOnly": true,
"mountPath": "/etc/pki/tls/certs"
},
{
"name": "tigera-ca-bundle",
"readOnly": true,
"mountPath": "/etc/pki/tls/cert.pem",
"subPath": "ca-bundle.crt"
}
],
"livenessProbe": {
"exec": {
"command": [
"/usr/bin/check-status",
"-l"
]
},
"initialDelaySeconds": 10,
"timeoutSeconds": 10,
"periodSeconds": 60,
"successThreshold": 1,
"failureThreshold": 6
},
"readinessProbe": {
"exec": {
"command": [
"/usr/bin/check-status",
"-r"
]
},
"timeoutSeconds": 10,
"periodSeconds": 30,
"successThreshold": 1,
"failureThreshold": 3
},
"terminationMessagePath": "/dev/termination-log",
"terminationMessagePolicy": "File",
"imagePullPolicy": "IfNotPresent",
"securityContext": {
"capabilities": {
"drop": [
"ALL"
]
},
"privileged": false,
"runAsUser": 999,
"runAsGroup": 0,
"runAsNonRoot": true,
"allowPrivilegeEscalation": false,
"seccompProfile": {
"type": "RuntimeDefault"
}
}
}
],
"restartPolicy": "Always",
"terminationGracePeriodSeconds": 30,
"dnsPolicy": "ClusterFirst",
"nodeSelector": {
"kubernetes.io/os": "linux"
},
"serviceAccountName": "calico-kube-controllers",
"serviceAccount": "calico-kube-controllers",
"securityContext": {},
"schedulerName": "default-scheduler",
"tolerations": [
{
"key": "node-role.kubernetes.io/master",
"effect": "NoSchedule"
},
{
"key": "node-role.kubernetes.io/control-plane",
"effect": "NoSchedule"
},
{
"key": "CriticalAddonsOnly",
"operator": "Exists"
}
],
"priorityClassName": "system-cluster-critical"
}
},
"strategy": {
"type": "Recreate"
},
"revisionHistoryLimit": 10,
"progressDeadlineSeconds": 600
},
"status": {
"observedGeneration": 1,
"replicas": 1,
"updatedReplicas": 1,
"unavailableReplicas": 1,
"conditions": [
{
"type": "Available",
"status": "False",
"lastUpdateTime": "2025-04-14T21:30:52Z",
"lastTransitionTime": "2025-04-14T21:30:52Z",
"reason": "MinimumReplicasUnavailable",
"message": "Deployment does not have minimum availability."
},
{
"type": "Progressing",
"status": "True",
"lastUpdateTime": "2025-04-14T21:37:33Z",
"lastTransitionTime": "2025-04-14T21:30:52Z",
"reason": "ReplicaSetUpdated",
"message": "ReplicaSet \"calico-kube-controllers-5c7d8595b7\" is progressing."
}
]
}
}
Expected
<bool>: false
to be true
In [It] at: /home/runner/work/cluster-api-runtime-extensions-nutanix/cluster-api-runtime-extensions-nutanix/test/e2e/deployment_helpers.go:41 @ 04/14/25 21:41:08.342
Loading