Skip to content
This repository has been archived by the owner on Apr 11, 2024. It is now read-only.

refactor: standardize the code for getting Helm values #282

refactor: standardize the code for getting Helm values

refactor: standardize the code for getting Helm values #282

Triggered via pull request April 10, 2024 19:53
Status Success
Total duration 1m 27s
Artifacts

github-pages.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors
caren-e2e.[It] Quick start topology-calico-helm-addon Should create a workload cluster [provider:Docker, cni:Calico, addonStrategy:HelmAddon]: caren-e2e#L1
Timed out after 600.001s. Deployment node-feature-discovery/node-feature-discovery-gc failed to get status.Available = True condition Deployment: { "metadata": { "name": "node-feature-discovery-gc", "namespace": "node-feature-discovery", "uid": "ee1cb60a-40c4-47ed-a9c4-5873d370f55e", "resourceVersion": "2314", "generation": 1, "creationTimestamp": "2024-04-10T20:03:33Z", "labels": { "app.kubernetes.io/instance": "node-feature-discovery", "app.kubernetes.io/managed-by": "Helm", "app.kubernetes.io/name": "node-feature-discovery", "app.kubernetes.io/version": "v0.15.2", "helm.sh/chart": "node-feature-discovery-0.15.2", "role": "gc" }, "annotations": { "deployment.kubernetes.io/revision": "1", "meta.helm.sh/release-name": "node-feature-discovery", "meta.helm.sh/release-namespace": "node-feature-discovery" }, "managedFields": [ { "manager": "manager", "operation": "Update", "apiVersion": "apps/v1", "time": "2024-04-10T20:03:33Z", "fieldsType": "FieldsV1", "fieldsV1": { "f:metadata": { "f:annotations": { ".": {}, "f:meta.helm.sh/release-name": {}, "f:meta.helm.sh/release-namespace": {} }, "f:labels": { ".": {}, "f:app.kubernetes.io/instance": {}, "f:app.kubernetes.io/managed-by": {}, "f:app.kubernetes.io/name": {}, "f:app.kubernetes.io/version": {}, "f:helm.sh/chart": {}, "f:role": {} } }, "f:spec": { "f:progressDeadlineSeconds": {}, "f:replicas": {}, "f:revisionHistoryLimit": {}, "f:selector": {}, "f:strategy": { "f:rollingUpdate": { ".": {}, "f:maxSurge": {}, "f:maxUnavailable": {} }, "f:type": {} }, "f:template": { "f:metadata": { "f:labels": { ".": {}, "f:app.kubernetes.io/instance": {}, "f:app.kubernetes.io/name": {}, "f:role": {} } }, "f:spec": { "f:containers": { "k:{\"name\":\"gc\"}": { ".": {}, "f:args": {}, "f:command": {}, "f:env": { ".": {}, "k:{\"name\":\"NODE_NAME\"}": { ".": {}, "f:name": {}, "f:valueFrom": { ".": {}, "f:fieldRef": {} } } }, "f:image": {}, "f:imagePullPolicy": {}, "f:name": {}, "f:ports": { ".": {}, "k:{\"containerPort\":8081,\"protocol\":\"TCP\"}": { ".": {}, "f:containerPort": {}, "f:name": {}, "f:protocol": {} } }, "f:resources": {}, "f:securityContext": { ".": {}, "f:allowPrivilegeEscalation": {}, "f:capabilities": { ".": {}, "f:drop": {} }, "f:readOnlyRootFilesystem": {}, "f:runAsNonRoot": {} }, "f:terminationMessagePath": {}, "f:terminationMessagePolicy": {} } }, "f:dnsPolicy": {}, "f:restartPolicy": {}, "f:schedulerName": {}, "f:securityContext": {}, "f:serviceAccount": {}, "f:serviceAccountName": {}, "f:terminationGracePeriodSeconds": {} } } } } }, { "manager": "kube-controller-manager", "operation": "Update", "apiVersion": "apps/v1", "time": "2024-04-10T20:13:42Z", "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": { "app.kubernetes.io/instance": "node-feature-discovery", "app.kubernetes.io/name": "node-feature-discovery", "role": "gc" } }, "template": { "metadata": { "creationTimestamp": null, "labels": { "app.kubernetes.io/instance": "node-feature-discovery", "app.kubernetes.io/name": "node-feature-discovery", "role": "gc" } }, "spec": { "containers": [ { "name": "gc", "image": "registry.k8s.io/nfd/node-feature-discovery:vv0.0.0-dev-minimal", "command": [ "nfd-gc" ], "args": [ "-gc-interval=1h" ], "ports": [ { "name": "metrics", "containerPort": 8081, "protocol": "TCP" } ], "env": [ { "name": "NODE_NAME", "valueFrom": { "fieldRef": { "apiVersion": "v1", "fieldPath": "spec.nodeName" } } } ], "resources": {}, "terminationMessagePath": "/dev/termination-log", "terminationMessagePolicy": "File", "imagePullPolicy": "IfNotPresent", "securityContext": { "capabilities": { "drop": [ "ALL" ] }, "runAsNonRoot": true, "readOnlyRootFilesystem": true, "allowPrivilegeEscalation": false } } ], "restartPolicy": "Always", "terminationGracePeriodSeconds": 30, "dnsPolicy": "ClusterFirstWithHostNet", "serviceAccountName": "node-feature-discovery-gc", "serviceAccount": "node-feature-discovery-gc", "securityContext": {}, "schedulerName": "default-scheduler" } }, "strategy": { "type": "RollingUpdate", "rollingUpdate": { "maxUnavailable": "25%", "maxSurge": "25%" } }, "revisionHistoryLimit": 10, "progressDeadlineSeconds": 600 }, "status": { "observedGeneration": 1, "replicas": 1, "updatedReplicas": 1, "unavailableReplicas": 1, "conditions": [ { "type": "Available", "status": "False", "lastUpdateTime": "2024-04-10T20:03:41Z", "lastTransitionTime": "2024-04-10T20:03:41Z", "reason": "MinimumReplicasUnavailable", "message": "Deployment does not have minimum availability." }, { "type": "Progressing", "status": "False", "lastUpdateTime": "2024-04-10T20:13:42Z", "lastTransitionTime": "2024-04-10T20:13:42Z", "reason": "ProgressDeadlineExceeded", "message": "ReplicaSet \"node-feature-discovery-gc-8d7b45fbc\" has timed out progressing." } ] } } Expected <bool>: false to be true
caren-e2e.[It] Quick start topology-cilium-helm-addon Should create a workload cluster [provider:Docker, cni:Cilium, addonStrategy:HelmAddon]: caren-e2e#L1
Timed out after 600.001s. Deployment node-feature-discovery/node-feature-discovery-gc failed to get status.Available = True condition Deployment: { "metadata": { "name": "node-feature-discovery-gc", "namespace": "node-feature-discovery", "uid": "d2dea133-affe-46ae-a1f1-6a2c40b30fee", "resourceVersion": "2051", "generation": 1, "creationTimestamp": "2024-04-10T20:16:05Z", "labels": { "app.kubernetes.io/instance": "node-feature-discovery", "app.kubernetes.io/managed-by": "Helm", "app.kubernetes.io/name": "node-feature-discovery", "app.kubernetes.io/version": "v0.15.2", "helm.sh/chart": "node-feature-discovery-0.15.2", "role": "gc" }, "annotations": { "deployment.kubernetes.io/revision": "1", "meta.helm.sh/release-name": "node-feature-discovery", "meta.helm.sh/release-namespace": "node-feature-discovery" }, "managedFields": [ { "manager": "manager", "operation": "Update", "apiVersion": "apps/v1", "time": "2024-04-10T20:16:05Z", "fieldsType": "FieldsV1", "fieldsV1": { "f:metadata": { "f:annotations": { ".": {}, "f:meta.helm.sh/release-name": {}, "f:meta.helm.sh/release-namespace": {} }, "f:labels": { ".": {}, "f:app.kubernetes.io/instance": {}, "f:app.kubernetes.io/managed-by": {}, "f:app.kubernetes.io/name": {}, "f:app.kubernetes.io/version": {}, "f:helm.sh/chart": {}, "f:role": {} } }, "f:spec": { "f:progressDeadlineSeconds": {}, "f:replicas": {}, "f:revisionHistoryLimit": {}, "f:selector": {}, "f:strategy": { "f:rollingUpdate": { ".": {}, "f:maxSurge": {}, "f:maxUnavailable": {} }, "f:type": {} }, "f:template": { "f:metadata": { "f:labels": { ".": {}, "f:app.kubernetes.io/instance": {}, "f:app.kubernetes.io/name": {}, "f:role": {} } }, "f:spec": { "f:containers": { "k:{\"name\":\"gc\"}": { ".": {}, "f:args": {}, "f:command": {}, "f:env": { ".": {}, "k:{\"name\":\"NODE_NAME\"}": { ".": {}, "f:name": {}, "f:valueFrom": { ".": {}, "f:fieldRef": {} } } }, "f:image": {}, "f:imagePullPolicy": {}, "f:name": {}, "f:ports": { ".": {}, "k:{\"containerPort\":8081,\"protocol\":\"TCP\"}": { ".": {}, "f:containerPort": {}, "f:name": {}, "f:protocol": {} } }, "f:resources": {}, "f:securityContext": { ".": {}, "f:allowPrivilegeEscalation": {}, "f:capabilities": { ".": {}, "f:drop": {} }, "f:readOnlyRootFilesystem": {}, "f:runAsNonRoot": {} }, "f:terminationMessagePath": {}, "f:terminationMessagePolicy": {} } }, "f:dnsPolicy": {}, "f:restartPolicy": {}, "f:schedulerName": {}, "f:securityContext": {}, "f:serviceAccount": {}, "f:serviceAccountName": {}, "f:terminationGracePeriodSeconds": {} } } } } }, { "manager": "kube-controller-manager", "operation": "Update", "apiVersion": "apps/v1", "time": "2024-04-10T20:26:14Z", "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": { "app.kubernetes.io/instance": "node-feature-discovery", "app.kubernetes.io/name": "node-feature-discovery", "role": "gc" } }, "template": { "metadata": { "creationTimestamp": null, "labels": { "app.kubernetes.io/instance": "node-feature-discovery", "app.kubernetes.io/name": "node-feature-discovery", "role": "gc" } }, "spec": { "containers": [ { "name": "gc", "image": "registry.k8s.io/nfd/node-feature-discovery:vv0.0.0-dev-minimal", "command": [ "nfd-gc" ], "args": [ "-gc-interval=1h" ], "ports": [ { "name": "metrics", "containerPort": 8081, "protocol": "TCP" } ], "env": [ { "name": "NODE_NAME", "valueFrom": { "fieldRef": { "apiVersion": "v1", "fieldPath": "spec.nodeName" } } } ], "resources": {}, "terminationMessagePath": "/dev/termination-log", "terminationMessagePolicy": "File", "imagePullPolicy": "IfNotPresent", "securityContext": { "capabilities": { "drop": [ "ALL" ] }, "runAsNonRoot": true, "readOnlyRootFilesystem": true, "allowPrivilegeEscalation": false } } ], "restartPolicy": "Always", "terminationGracePeriodSeconds": 30, "dnsPolicy": "ClusterFirstWithHostNet", "serviceAccountName": "node-feature-discovery-gc", "serviceAccount": "node-feature-discovery-gc", "securityContext": {}, "schedulerName": "default-scheduler" } }, "strategy": { "type": "RollingUpdate", "rollingUpdate": { "maxUnavailable": "25%", "maxSurge": "25%" } }, "revisionHistoryLimit": 10, "progressDeadlineSeconds": 600 }, "status": { "observedGeneration": 1, "replicas": 1, "updatedReplicas": 1, "unavailableReplicas": 1, "conditions": [ { "type": "Available", "status": "False", "lastUpdateTime": "2024-04-10T20:16:13Z", "lastTransitionTime": "2024-04-10T20:16:13Z", "reason": "MinimumReplicasUnavailable", "message": "Deployment does not have minimum availability." }, { "type": "Progressing", "status": "False", "lastUpdateTime": "2024-04-10T20:26:14Z", "lastTransitionTime": "2024-04-10T20:26:14Z", "reason": "ProgressDeadlineExceeded", "message": "ReplicaSet \"node-feature-discovery-gc-8d7b45fbc\" has timed out progressing." } ] } } Expected <bool>: false to be true