Skip to content

fix: Shorten readiness probe period to try to prevent races (#930) #2698

fix: Shorten readiness probe period to try to prevent races (#930)

fix: Shorten readiness probe period to try to prevent races (#930) #2698

This check has been archived and is scheduled for deletion. Learn more about checks retention
GitHub Actions / e2e test report failed Oct 1, 2024 in 0s

50 tests run, 33 passed, 16 skipped, 1 failed.

Annotations

Check failure on line 1 in caren-e2e

See this annotation in the file changed.

@github-actions github-actions / e2e test report

caren-e2e.[It] Quick start Nutanix Cilium ClusterResourceSet topology-cilium-crs Should create a workload cluster [provider:Nutanix, cni:Cilium, addonStrategy:ClusterResourceSet]

Timed out after 300.001s.
HelmReleaseProxy quick-start-ghdf15/snapshot-controller-quick-start-7ga932spraekravs315f7r7anrgr6pc failed to become ready and have up to date revision: ready condition = &{Type:Ready Status:False Severity:Info LastTransitionTime:2024-10-01 15:12:06 +0000 UTC Reason:HelmReleasePending Message:Helm release is in a pending state: pending-install}, revision = 1, full object is:
&{TypeMeta:{Kind:HelmReleaseProxy APIVersion:addons.cluster.x-k8s.io/v1alpha1} ObjectMeta:{Name:snapshot-controller-quick-start-7ga932spraekravs315f7r7anrgr6pc GenerateName:snapshot-controller-quick-start-7ga932spraekravs315f7r7anrucwodva4mmz4520qf6fyttygo- Namespace:quick-start-ghdf15 SelfLink: UID:8f158f9c-466d-43e2-a363-ecb48d4c22d4 ResourceVersion:2992 Generation:1 CreationTimestamp:2024-10-01 15:11:18 +0000 UTC DeletionTimestamp:<nil> DeletionGracePeriodSeconds:<nil> Labels:map[cluster.x-k8s.io/cluster-name:quick-start-7ga932spraekravs315f7r7anrucwodva4mmz4520qf6fyttygo helmreleaseproxy.addons.cluster.x-k8s.io/helmchartproxy-name:snapshot-controller-019248a2-10a7-7108-b6bf-596901ee2c60] Annotations:map[] OwnerReferences:[{APIVersion:addons.cluster.x-k8s.io/v1alpha1 Kind:HelmChartProxy Name:snapshot-controller-019248a2-10a7-7108-b6bf-596901ee2c60 UID:be51563d-b4ca-4371-8307-7cda1f01720c Controller:0xc000679e57 BlockOwnerDeletion:0xc000679e56}] Finalizers:[helmreleaseproxy.addons.cluster.x-k8s.io] ManagedFields:[{Manager:manager Operation:Update APIVersion:addons.cluster.x-k8s.io/v1alpha1 Time:2024-10-01 15:11:18 +0000 UTC FieldsType:FieldsV1 FieldsV1:{"f:metadata":{"f:finalizers":{".":{},"v:\"helmreleaseproxy.addons.cluster.x-k8s.io\"":{}},"f:generateName":{},"f:labels":{".":{},"f:cluster.x-k8s.io/cluster-name":{},"f:helmreleaseproxy.addons.cluster.x-k8s.io/helmchartproxy-name":{}},"f:ownerReferences":{".":{},"k:{\"uid\":\"be51563d-b4ca-4371-8307-7cda1f01720c\"}":{}}},"f:spec":{".":{},"f:chartName":{},"f:clusterRef":{},"f:namespace":{},"f:options":{".":{},"f:enableClientCache":{},"f:install":{".":{},"f:createNamespace":{}},"f:timeout":{},"f:upgrade":{".":{},"f:maxHistory":{}}},"f:releaseName":{},"f:repoURL":{},"f:tlsConfig":{".":{},"f:caSecret":{}},"f:values":{},"f:version":{}}} Subresource:} {Manager:manager Operation:Update APIVersion:addons.cluster.x-k8s.io/v1alpha1 Time:2024-10-01 15:12:06 +0000 UTC FieldsType:FieldsV1 FieldsV1:{"f:status":{".":{},"f:conditions":{},"f:observedGeneration":{},"f:revision":{},"f:status":{}}} Subresource:status}]} Spec:{ClusterRef:{Kind:Cluster Namespace:quick-start-ghdf15 Name:quick-start-7ga932spraekravs315f7r7anrucwodva4mmz4520qf6fyttygo UID: APIVersion:cluster.x-k8s.io/v1beta1 ResourceVersion: FieldPath:} ChartName:snapshot-controller RepoURL:oci://helm-repository.caren-system.svc/charts ReleaseName:snapshot-controller ReleaseNamespace:kube-system Version:3.0.6 Values:controller:
  priorityClassName: system-cluster-critical
  tolerations:
    - key: CriticalAddonsOnly
      operator: Exists
    - effect: NoExecute
      operator: Exists
      tolerationSeconds: 300
    - effect: NoSchedule
      key: node-role.kubernetes.io/control-plane
      operator: Exists
webhook:
  enabled: false Options:{DisableHooks:false Wait:false WaitForJobs:false DependencyUpdate:false Timeout:&Duration{Duration:10m0s,} SkipCRDs:false SubNotes:false DisableOpenAPIValidation:false Atomic:false Install:{CreateNamespace:true IncludeCRDs:false} Upgrade:{Force:false ResetValues:false ReuseValues:false Recreate:false MaxHistory:10 CleanupOnFail:false} Uninstall:<nil> EnableClientCache:false} Credentials:<nil> TLSConfig:0xc00052cc30} Status:{Conditions:[{Type:Ready Status:False Severity:Info LastTransitionTime:2024-10-01 15:12:06 +0000 UTC Reason:HelmReleasePending Message:Helm release is in a pending state: pending-install} {Type:ClusterAvailable Status:True Severity: LastTransitionTime:2024-10-01 15:11:18 +0000 UTC Reason: Message:} {Type:HelmReleaseReady Status:False Severity:Info LastTransitionTime:2024-10-01 15:12:06 +0000 UTC Reason:HelmReleasePending Message:Helm release is in a pending state: pending-install}] Status:pending-install Revision:1 ObservedGeneration:1}}
`
Expected
    <bool>: false
to be true
Raw output
[FAILED] Timed out after 300.001s.
HelmReleaseProxy quick-start-ghdf15/snapshot-controller-quick-start-7ga932spraekravs315f7r7anrgr6pc failed to become ready and have up to date revision: ready condition = &{Type:Ready Status:False Severity:Info LastTransitionTime:2024-10-01 15:12:06 +0000 UTC Reason:HelmReleasePending Message:Helm release is in a pending state: pending-install}, revision = 1, full object is:
&{TypeMeta:{Kind:HelmReleaseProxy APIVersion:addons.cluster.x-k8s.io/v1alpha1} ObjectMeta:{Name:snapshot-controller-quick-start-7ga932spraekravs315f7r7anrgr6pc GenerateName:snapshot-controller-quick-start-7ga932spraekravs315f7r7anrucwodva4mmz4520qf6fyttygo- Namespace:quick-start-ghdf15 SelfLink: UID:8f158f9c-466d-43e2-a363-ecb48d4c22d4 ResourceVersion:2992 Generation:1 CreationTimestamp:2024-10-01 15:11:18 +0000 UTC DeletionTimestamp:<nil> DeletionGracePeriodSeconds:<nil> Labels:map[cluster.x-k8s.io/cluster-name:quick-start-7ga932spraekravs315f7r7anrucwodva4mmz4520qf6fyttygo helmreleaseproxy.addons.cluster.x-k8s.io/helmchartproxy-name:snapshot-controller-019248a2-10a7-7108-b6bf-596901ee2c60] Annotations:map[] OwnerReferences:[{APIVersion:addons.cluster.x-k8s.io/v1alpha1 Kind:HelmChartProxy Name:snapshot-controller-019248a2-10a7-7108-b6bf-596901ee2c60 UID:be51563d-b4ca-4371-8307-7cda1f01720c Controller:0xc000679e57 BlockOwnerDeletion:0xc000679e56}] Finalizers:[helmreleaseproxy.addons.cluster.x-k8s.io] ManagedFields:[{Manager:manager Operation:Update APIVersion:addons.cluster.x-k8s.io/v1alpha1 Time:2024-10-01 15:11:18 +0000 UTC FieldsType:FieldsV1 FieldsV1:{"f:metadata":{"f:finalizers":{".":{},"v:\"helmreleaseproxy.addons.cluster.x-k8s.io\"":{}},"f:generateName":{},"f:labels":{".":{},"f:cluster.x-k8s.io/cluster-name":{},"f:helmreleaseproxy.addons.cluster.x-k8s.io/helmchartproxy-name":{}},"f:ownerReferences":{".":{},"k:{\"uid\":\"be51563d-b4ca-4371-8307-7cda1f01720c\"}":{}}},"f:spec":{".":{},"f:chartName":{},"f:clusterRef":{},"f:namespace":{},"f:options":{".":{},"f:enableClientCache":{},"f:install":{".":{},"f:createNamespace":{}},"f:timeout":{},"f:upgrade":{".":{},"f:maxHistory":{}}},"f:releaseName":{},"f:repoURL":{},"f:tlsConfig":{".":{},"f:caSecret":{}},"f:values":{},"f:version":{}}} Subresource:} {Manager:manager Operation:Update APIVersion:addons.cluster.x-k8s.io/v1alpha1 Time:2024-10-01 15:12:06 +0000 UTC FieldsType:FieldsV1 FieldsV1:{"f:status":{".":{},"f:conditions":{},"f:observedGeneration":{},"f:revision":{},"f:status":{}}} Subresource:status}]} Spec:{ClusterRef:{Kind:Cluster Namespace:quick-start-ghdf15 Name:quick-start-7ga932spraekravs315f7r7anrucwodva4mmz4520qf6fyttygo UID: APIVersion:cluster.x-k8s.io/v1beta1 ResourceVersion: FieldPath:} ChartName:snapshot-controller RepoURL:oci://helm-repository.caren-system.svc/charts ReleaseName:snapshot-controller ReleaseNamespace:kube-system Version:3.0.6 Values:controller:
  priorityClassName: system-cluster-critical
  tolerations:
    - key: CriticalAddonsOnly
      operator: Exists
    - effect: NoExecute
      operator: Exists
      tolerationSeconds: 300
    - effect: NoSchedule
      key: node-role.kubernetes.io/control-plane
      operator: Exists
webhook:
  enabled: false Options:{DisableHooks:false Wait:false WaitForJobs:false DependencyUpdate:false Timeout:&Duration{Duration:10m0s,} SkipCRDs:false SubNotes:false DisableOpenAPIValidation:false Atomic:false Install:{CreateNamespace:true IncludeCRDs:false} Upgrade:{Force:false ResetValues:false ReuseValues:false Recreate:false MaxHistory:10 CleanupOnFail:false} Uninstall:<nil> EnableClientCache:false} Credentials:<nil> TLSConfig:0xc00052cc30} Status:{Conditions:[{Type:Ready Status:False Severity:Info LastTransitionTime:2024-10-01 15:12:06 +0000 UTC Reason:HelmReleasePending Message:Helm release is in a pending state: pending-install} {Type:ClusterAvailable Status:True Severity: LastTransitionTime:2024-10-01 15:11:18 +0000 UTC Reason: Message:} {Type:HelmReleaseReady Status:False Severity:Info LastTransitionTime:2024-10-01 15:12:06 +0000 UTC Reason:HelmReleasePending Message:Helm release is in a pending state: pending-install}] Status:pending-install Revision:1 ObservedGeneration:1}}
`
Expected
    <bool>: false
to be true
In [It] at: /home/runner/_work/cluster-api-runtime-extensions-nutanix/cluster-api-runtime-extensions-nutanix/test/e2e/helmreleaseproxy_helpers.go:60 @ 10/01/24 15:19:35.153