Skip to content

build: Update all tools and fix up for golangci-lint v2 #3818

build: Update all tools and fix up for golangci-lint v2

build: Update all tools and fix up for golangci-lint v2 #3818

GitHub Actions / e2e test report failed Apr 24, 2025 in 0s

26 tests run, 9 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] Self-hosted Docker Calico HelmAddon topology-calico-helm-addon Should pivot the bootstrap cluster to a self-hosted cluster [Serial, provider:Docker, cni:Calico, addonStrategy:HelmAddon]

Timed out after 300.001s.
HelmReleaseProxy self-hosted-6wfsht/tigera-operator-self-hosted-hysiwagta5j3vhp3x2590fnk6rjjx-zz8tc failed to become ready and have up to date revision: ready condition = &{Type:Ready Status:False Severity:Info LastTransitionTime:2025-04-24 18:50:12 +0000 UTC Reason:PreparingToHelmInstall Message:Preparing to to install Helm chart}, revision = 1, full object is:
&{TypeMeta:{Kind:HelmReleaseProxy APIVersion:addons.cluster.x-k8s.io/v1alpha1} ObjectMeta:{Name:tigera-operator-self-hosted-hysiwagta5j3vhp3x2590fnk6rjjx-zz8tc GenerateName: Namespace:self-hosted-6wfsht SelfLink: UID:dfc3f9cd-2b03-40cb-a35d-94e66a789802 ResourceVersion:3459 Generation:1 CreationTimestamp:2025-04-24 18:50:03 +0000 UTC DeletionTimestamp:<nil> DeletionGracePeriodSeconds:<nil> Labels:map[cluster.x-k8s.io/cluster-name:self-hosted-hysiwagta5j3vhp3x2590fnk6rjjx helmreleaseproxy.addons.cluster.x-k8s.io/helmchartproxy-name:tigera-operator-01966920-711f-7b5f-860f-1b90c65a224c] Annotations:map[helmreleaseproxy.addons.cluster.x-k8s.io/release-successfully-installed:true] OwnerReferences:[{APIVersion:addons.cluster.x-k8s.io/v1alpha1 Kind:HelmChartProxy Name:tigera-operator-01966920-711f-7b5f-860f-1b90c65a224c UID:4276be6c-08f5-4ebb-b025-04ed61d4b667 Controller:0xc002edf10d BlockOwnerDeletion:0xc002edf10c}] Finalizers:[helmreleaseproxy.addons.cluster.x-k8s.io] ManagedFields:[{Manager:manager Operation:Update APIVersion:addons.cluster.x-k8s.io/v1alpha1 Time:2025-04-24 18:48:19 +0000 UTC FieldsType:FieldsV1 FieldsV1:{"f:metadata":{"f:annotations":{".":{},"f:helmreleaseproxy.addons.cluster.x-k8s.io/release-successfully-installed":{}},"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\":\"51017203-d03f-42b8-8ec1-7fca86cbfb4d\"}":{}}},"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:2025-04-24 18:50:12 +0000 UTC FieldsType:FieldsV1 FieldsV1:{"f:status":{".":{},"f:conditions":{},"f:observedGeneration":{},"f:revision":{},"f:status":{}}} Subresource:status}]} Spec:{ClusterRef:{Kind:Cluster Namespace:self-hosted-6wfsht Name:self-hosted-hysiwagta5j3vhp3x2590fnk6rjjx UID: APIVersion:cluster.x-k8s.io/v1beta1 ResourceVersion: FieldPath:} ChartName:tigera-operator RepoURL:oci://helm-repository.caren-system.svc/charts ReleaseName:tigera-operator ReleaseNamespace:tigera-operator Version:v3.29.3 Values:installation:
  cni:
    type: Calico
  calicoNetwork:
    ipPools:
    - cidr: "192.168.0.0/16"
      encapsulation: None
      natOutgoing: Enabled
      nodeSelector: all()
  nodeMetricsPort: 9091
  typhaMetricsPort: 9093
  registry: quay.io/ ReconcileStrategy: 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 ResetThenReuseValues:false Recreate:false MaxHistory:10 CleanupOnFail:false} Uninstall:<nil> EnableClientCache:false} Credentials:<nil> TLSConfig:0xc000fa7e20} Status:{Conditions:[{Type:Ready Status:False Severity:Info LastTransitionTime:2025-04-24 18:50:12 +0000 UTC Reason:PreparingToHelmInstall Message:Preparing to to install Helm chart} {Type:ClusterAvailable Status:True Severity: LastTransitionTime:2025-04-24 18:50:12 +0000 UTC Reason: Message:} {Type:HelmReleaseReady Status:False Severity:Info LastTransitionTime:2025-04-24 18:50:03 +0000 UTC Reason:PreparingToHelmInstall Message:Preparing to to install Helm chart}] Status:uninstalling Revision:1 ObservedGeneration:1}}
`
Expected
    <bool>: false
to be true
Raw output
[FAILED] Timed out after 300.001s.
HelmReleaseProxy self-hosted-6wfsht/tigera-operator-self-hosted-hysiwagta5j3vhp3x2590fnk6rjjx-zz8tc failed to become ready and have up to date revision: ready condition = &{Type:Ready Status:False Severity:Info LastTransitionTime:2025-04-24 18:50:12 +0000 UTC Reason:PreparingToHelmInstall Message:Preparing to to install Helm chart}, revision = 1, full object is:
&{TypeMeta:{Kind:HelmReleaseProxy APIVersion:addons.cluster.x-k8s.io/v1alpha1} ObjectMeta:{Name:tigera-operator-self-hosted-hysiwagta5j3vhp3x2590fnk6rjjx-zz8tc GenerateName: Namespace:self-hosted-6wfsht SelfLink: UID:dfc3f9cd-2b03-40cb-a35d-94e66a789802 ResourceVersion:3459 Generation:1 CreationTimestamp:2025-04-24 18:50:03 +0000 UTC DeletionTimestamp:<nil> DeletionGracePeriodSeconds:<nil> Labels:map[cluster.x-k8s.io/cluster-name:self-hosted-hysiwagta5j3vhp3x2590fnk6rjjx helmreleaseproxy.addons.cluster.x-k8s.io/helmchartproxy-name:tigera-operator-01966920-711f-7b5f-860f-1b90c65a224c] Annotations:map[helmreleaseproxy.addons.cluster.x-k8s.io/release-successfully-installed:true] OwnerReferences:[{APIVersion:addons.cluster.x-k8s.io/v1alpha1 Kind:HelmChartProxy Name:tigera-operator-01966920-711f-7b5f-860f-1b90c65a224c UID:4276be6c-08f5-4ebb-b025-04ed61d4b667 Controller:0xc002edf10d BlockOwnerDeletion:0xc002edf10c}] Finalizers:[helmreleaseproxy.addons.cluster.x-k8s.io] ManagedFields:[{Manager:manager Operation:Update APIVersion:addons.cluster.x-k8s.io/v1alpha1 Time:2025-04-24 18:48:19 +0000 UTC FieldsType:FieldsV1 FieldsV1:{"f:metadata":{"f:annotations":{".":{},"f:helmreleaseproxy.addons.cluster.x-k8s.io/release-successfully-installed":{}},"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\":\"51017203-d03f-42b8-8ec1-7fca86cbfb4d\"}":{}}},"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:2025-04-24 18:50:12 +0000 UTC FieldsType:FieldsV1 FieldsV1:{"f:status":{".":{},"f:conditions":{},"f:observedGeneration":{},"f:revision":{},"f:status":{}}} Subresource:status}]} Spec:{ClusterRef:{Kind:Cluster Namespace:self-hosted-6wfsht Name:self-hosted-hysiwagta5j3vhp3x2590fnk6rjjx UID: APIVersion:cluster.x-k8s.io/v1beta1 ResourceVersion: FieldPath:} ChartName:tigera-operator RepoURL:oci://helm-repository.caren-system.svc/charts ReleaseName:tigera-operator ReleaseNamespace:tigera-operator Version:v3.29.3 Values:installation:
  cni:
    type: Calico
  calicoNetwork:
    ipPools:
    - cidr: "192.168.0.0/16"
      encapsulation: None
      natOutgoing: Enabled
      nodeSelector: all()
  nodeMetricsPort: 9091
  typhaMetricsPort: 9093
  registry: quay.io/ ReconcileStrategy: 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 ResetThenReuseValues:false Recreate:false MaxHistory:10 CleanupOnFail:false} Uninstall:<nil> EnableClientCache:false} Credentials:<nil> TLSConfig:0xc000fa7e20} Status:{Conditions:[{Type:Ready Status:False Severity:Info LastTransitionTime:2025-04-24 18:50:12 +0000 UTC Reason:PreparingToHelmInstall Message:Preparing to to install Helm chart} {Type:ClusterAvailable Status:True Severity: LastTransitionTime:2025-04-24 18:50:12 +0000 UTC Reason: Message:} {Type:HelmReleaseReady Status:False Severity:Info LastTransitionTime:2025-04-24 18:50:03 +0000 UTC Reason:PreparingToHelmInstall Message:Preparing to to install Helm chart}] Status:uninstalling 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 @ 04/24/25 18:55:17.493