+ unset CI + exit_code=0 + scripts/openshift-CI-kuttl-tests.sh + export CI=prow + CI=prow + go mod vendor go: downloading sigs.k8s.io/controller-runtime v0.11.0 go: downloading k8s.io/apimachinery v0.23.7-rc.0 go: downloading k8s.io/api v0.23.6 go: downloading github.com/argoproj-labs/argo-rollouts-manager v0.0.2-0.20230515023837-0632f3e856d5 go: downloading github.com/argoproj-labs/argocd-operator v0.0.16-0.20230707151228-cbc97a02a8ce go: downloading github.com/coreos/prometheus-operator v0.40.0 go: downloading github.com/openshift/api v0.0.0-20220929131120-2bde012f248a go: downloading github.com/operator-framework/api v0.17.5 go: downloading k8s.io/client-go v0.23.6 go: downloading github.com/onsi/ginkgo v1.16.4 go: downloading github.com/onsi/gomega v1.14.0 go: downloading sigs.k8s.io/yaml v1.3.0 go: downloading gotest.tools v2.2.0+incompatible go: downloading golang.org/x/mod v0.11.0 go: downloading github.com/go-logr/logr v1.2.4 go: downloading github.com/hashicorp/go-version v1.6.0 go: downloading k8s.io/utils v0.0.0-20230505201702-9f6742963106 go: downloading github.com/google/go-cmp v0.5.9 go: downloading github.com/stretchr/testify v1.8.4 go: downloading github.com/sirupsen/logrus v1.9.0 go: downloading github.com/gogo/protobuf v1.3.2 go: downloading github.com/google/gofuzz v1.2.0 go: downloading k8s.io/klog/v2 v2.100.1 go: downloading sigs.k8s.io/structured-merge-diff/v4 v4.2.3 go: downloading github.com/go-logr/zapr v1.2.4 go: downloading go.uber.org/zap v1.24.0 go: downloading github.com/prometheus/client_golang v1.16.0 go: downloading gopkg.in/inf.v0 v0.9.1 go: downloading github.com/evanphx/json-patch v5.6.0+incompatible go: downloading k8s.io/apiextensions-apiserver v0.23.6 go: downloading gopkg.in/yaml.v2 v2.4.0 go: downloading github.com/davecgh/go-spew v1.1.1 go: downloading github.com/pmezard/go-difflib v1.0.0 go: downloading gopkg.in/yaml.v3 v3.0.1 go: downloading github.com/blang/semver/v4 v4.0.0 go: downloading golang.org/x/sys v0.9.0 go: downloading sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd go: downloading github.com/json-iterator/go v1.1.12 go: downloading go.uber.org/atomic v1.11.0 go: downloading go.uber.org/multierr v1.11.0 go: downloading github.com/prometheus/client_model v0.4.0 go: downloading github.com/prometheus/common v0.44.0 go: downloading k8s.io/component-base v0.23.6 go: downloading github.com/argoproj/argo-cd/v2 v2.7.6 go: downloading github.com/keycloak/keycloak-operator v0.0.0-20221116085200-4b9abfb29226 go: downloading github.com/openshift/client-go v0.0.0-20200325131901-f7baeb993edb go: downloading github.com/operator-framework/operator-sdk v0.18.2 go: downloading github.com/pkg/errors v0.9.1 go: downloading github.com/sethvargo/go-password v0.2.0 go: downloading gomodules.xyz/jsonpatch/v2 v2.3.0 go: downloading golang.org/x/net v0.11.0 go: downloading github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da go: downloading github.com/nxadm/tail v1.4.8 go: downloading k8s.io/kube-openapi v0.0.0-20210323165736-1a6458611d18 go: downloading golang.org/x/time v0.3.0 go: downloading github.com/imdario/mergo v0.3.16 go: downloading github.com/spf13/pflag v1.0.5 go: downloading golang.org/x/term v0.9.0 go: downloading github.com/beorn7/perks v1.0.1 go: downloading github.com/cespare/xxhash/v2 v2.2.0 go: downloading github.com/prometheus/procfs v0.11.0 go: downloading google.golang.org/protobuf v1.31.0 go: downloading github.com/google/uuid v1.3.0 go: downloading github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd go: downloading github.com/modern-go/reflect2 v1.0.2 go: downloading github.com/matttproud/golang_protobuf_extensions v1.0.4 go: downloading github.com/golang/protobuf v1.5.3 go: downloading github.com/googleapis/gnostic v0.5.5 go: downloading github.com/fsnotify/fsnotify v1.6.0 go: downloading github.com/Azure/go-autorest/autorest v0.11.29 go: downloading github.com/Azure/go-autorest/autorest/adal v0.9.23 go: downloading github.com/Azure/go-autorest v14.2.0+incompatible go: downloading golang.org/x/oauth2 v0.9.0 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 go: downloading golang.org/x/text v0.10.0 go: downloading github.com/go-openapi/spec v0.20.9 go: downloading github.com/Azure/go-autorest/logger v0.2.1 go: downloading github.com/Azure/go-autorest/tracing v0.6.0 go: downloading github.com/Azure/go-autorest/autorest/date v0.3.0 go: downloading github.com/golang-jwt/jwt/v4 v4.5.0 go: downloading golang.org/x/crypto v0.10.0 go: downloading cloud.google.com/go/compute/metadata v0.2.3 go: downloading google.golang.org/appengine v1.6.7 go: downloading cloud.google.com/go/compute v1.20.1 go: downloading github.com/emicklei/go-restful v2.16.0+incompatible go: downloading github.com/go-openapi/jsonpointer v0.19.6 go: downloading github.com/go-openapi/jsonreference v0.20.2 go: downloading github.com/go-openapi/swag v0.22.4 go: downloading github.com/mailru/easyjson v0.7.7 go: downloading github.com/josharian/intern v1.0.0 ++ dirname scripts/openshift-CI-kuttl-tests.sh + source scripts/e2e-common.sh + KUBECONFIG=/tmp/kubeconfig-1807311777 ++ mktemp -d + TMP_DIR=/tmp/tmp.eNlqzBa71r + cp /tmp/kubeconfig-1807311777 /tmp/tmp.eNlqzBa71r/kubeconfig + chmod 640 /tmp/tmp.eNlqzBa71r/kubeconfig + export KUBECONFIG=/tmp/tmp.eNlqzBa71r/kubeconfig + KUBECONFIG=/tmp/tmp.eNlqzBa71r/kubeconfig + cp /tmp/tmp.eNlqzBa71r/kubeconfig /go/src/github.com/redhat-developer/gitops-operator/kubeconfig + pod=gitops-operator-controller-manager ++ oc get pods --all-namespaces ++ grep gitops-operator-controller-manager ++ head -1 ++ awk '{print $2}' + oc get pods openshift-gitops-operator-controller-manager-79bd94cd68-mj6zk -n openshift-operators -o yaml apiVersion: v1 kind: Pod metadata: annotations: alm-examples: |- [ { "apiVersion": "argoproj.io/v1alpha1", "kind": "AppProject", "metadata": { "name": "example" }, "spec": null }, { "apiVersion": "argoproj.io/v1alpha1", "kind": "Application", "metadata": { "name": "example" }, "spec": null }, { "apiVersion": "argoproj.io/v1alpha1", "kind": "ApplicationSet", "metadata": { "name": "example" }, "spec": null }, { "apiVersion": "argoproj.io/v1alpha1", "kind": "ArgoCD", "metadata": { "name": "argocd" }, "spec": { "controller": { "resources": { "limits": { "cpu": "2000m", "memory": "2048Mi" }, "requests": { "cpu": "250m", "memory": "1024Mi" } } }, "ha": { "enabled": false, "resources": { "limits": { "cpu": "500m", "memory": "256Mi" }, "requests": { "cpu": "250m", "memory": "128Mi" } } }, "rbac": { "defaultPolicy": "", "policy": "g, system:cluster-admins, role:admin\n", "scopes": "[groups]" }, "redis": { "resources": { "limits": { "cpu": "500m", "memory": "256Mi" }, "requests": { "cpu": "250m", "memory": "128Mi" } } }, "repo": { "resources": { "limits": { "cpu": "1000m", "memory": "1024Mi" }, "requests": { "cpu": "250m", "memory": "256Mi" } } }, "resourceExclusions": "- apiGroups:\n - tekton.dev\n clusters:\n - '*'\n kinds:\n - TaskRun\n - PipelineRun \n", "server": { "resources": { "limits": { "cpu": "500m", "memory": "256Mi" }, "requests": { "cpu": "125m", "memory": "128Mi" } }, "route": { "enabled": true } }, "sso": { "dex": { "openShiftOAuth": true, "resources": { "limits": { "cpu": "500m", "memory": "256Mi" }, "requests": { "cpu": "250m", "memory": "128Mi" } } }, "provider": "dex" } } }, { "apiVersion": "pipelines.openshift.io/v1alpha1", "kind": "GitopsService", "metadata": { "name": "gitopsservice-sample" }, "spec": null } ] capabilities: Deep Insights console.openshift.io/plugins: '["gitops-plugin"]' containerImage: registry.redhat.io/openshift-gitops-1/gitops-rhel8-operator@sha256:7c4296aa0d1c8d3edc2a1f6f9f4243b2bab415c05b61468a9abc7f2497f1dd87 description: Enables teams to adopt GitOps principles for managing cluster configurations and application delivery across hybrid multi-cluster Kubernetes environments. k8s.ovn.org/pod-networks: '{"default":{"ip_addresses":["10.129.2.11/23"],"mac_address":"0a:58:0a:81:02:0b","gateway_ips":["10.129.2.1"],"routes":[{"dest":"10.128.0.0/14","nextHop":"10.129.2.1"},{"dest":"172.30.0.0/16","nextHop":"10.129.2.1"},{"dest":"100.64.0.0/16","nextHop":"10.129.2.1"}],"ip_address":"10.129.2.11/23","gateway_ip":"10.129.2.1"}}' k8s.v1.cni.cncf.io/network-status: |- [{ "name": "ovn-kubernetes", "interface": "eth0", "ips": [ "10.129.2.11" ], "mac": "0a:58:0a:81:02:0b", "default": true, "dns": {} }] olm.operatorGroup: global-operators olm.operatorNamespace: openshift-operators olm.skipRange: '>=1.0.0 <1.10.0' olm.targetNamespaces: "" olmcahash: b49d6a9c880a25e8eb684f122504948fca5c6ebdc379d96528545b8162a35cf9 openshift.io/scc: restricted-v2 operatorframework.io/cluster-monitoring: "true" operatorframework.io/properties: '{"properties":[{"type":"olm.gvk","value":{"group":"argoproj.io","kind":"AnalysisRun","version":"v1alpha1"}},{"type":"olm.gvk","value":{"group":"argoproj.io","kind":"AnalysisTemplate","version":"v1alpha1"}},{"type":"olm.gvk","value":{"group":"argoproj.io","kind":"AppProject","version":"v1alpha1"}},{"type":"olm.gvk","value":{"group":"argoproj.io","kind":"Application","version":"v1alpha1"}},{"type":"olm.gvk","value":{"group":"argoproj.io","kind":"ApplicationSet","version":"v1alpha1"}},{"type":"olm.gvk","value":{"group":"argoproj.io","kind":"ArgoCD","version":"v1alpha1"}},{"type":"olm.gvk","value":{"group":"argoproj.io","kind":"ArgoCD","version":"v1beta1"}},{"type":"olm.gvk","value":{"group":"argoproj.io","kind":"ClusterAnalysisTemplate","version":"v1alpha1"}},{"type":"olm.gvk","value":{"group":"argoproj.io","kind":"Experiment","version":"v1alpha1"}},{"type":"olm.gvk","value":{"group":"argoproj.io","kind":"Rollout","version":"v1alpha1"}},{"type":"olm.gvk","value":{"group":"argoproj.io","kind":"RolloutManager","version":"v1alpha1"}},{"type":"olm.gvk","value":{"group":"pipelines.openshift.io","kind":"GitopsService","version":"v1alpha1"}},{"type":"olm.package","value":{"packageName":"openshift-gitops-operator","version":"1.10.0"}}]}' operatorframework.io/suggested-namespace: openshift-gitops-operator operators.openshift.io/infrastructure-features: '["disconnected"]' operators.openshift.io/valid-subscription: '["OpenShift Container Platform", "OpenShift Platform Plus"]' operators.operatorframework.io/builder: operator-sdk-v1.10.0+git operators.operatorframework.io/internal-objects: '["gitopsservices.pipelines.openshift.io"]' operators.operatorframework.io/project_layout: go.kubebuilder.io/v3 repository: https://github.com/redhat-developer/gitops-operator seccomp.security.alpha.kubernetes.io/pod: runtime/default support: Red Hat creationTimestamp: "2023-10-02T12:30:52Z" generateName: openshift-gitops-operator-controller-manager-79bd94cd68- labels: control-plane: gitops-operator pod-template-hash: 79bd94cd68 name: openshift-gitops-operator-controller-manager-79bd94cd68-mj6zk namespace: openshift-operators ownerReferences: - apiVersion: apps/v1 blockOwnerDeletion: true controller: true kind: ReplicaSet name: openshift-gitops-operator-controller-manager-79bd94cd68 uid: 05fd88d2-199d-4834-be2a-b84a386c6cf6 resourceVersion: "29687" uid: d4a0d768-36e1-4243-8f34-0eab7ea66489 spec: containers: - args: - --health-probe-bind-address=:8081 - --metrics-bind-address=127.0.0.1:8080 - --leader-elect command: - /usr/local/bin/manager env: - name: ARGOCD_CLUSTER_CONFIG_NAMESPACES value: openshift-gitops - name: OPERATOR_NAME value: gitops-operator - name: RELATED_IMAGE_ARGOCD_DEX_IMAGE value: registry.redhat.io/openshift-gitops-1/dex-rhel8@sha256:62459d647b69c6fa0deebb9494cf7f874ec414742535b86109f680596077bd0f - name: ARGOCD_DEX_IMAGE value: registry.redhat.io/openshift-gitops-1/dex-rhel8@sha256:62459d647b69c6fa0deebb9494cf7f874ec414742535b86109f680596077bd0f - name: RELATED_IMAGE_ARGOCD_KEYCLOAK_IMAGE value: registry.redhat.io/rh-sso-7/sso76-openshift-rhel8@sha256:ec9f60018694dcc5d431ba47d5536b761b71cb3f66684978fe6bb74c157679ac - name: ARGOCD_KEYCLOAK_IMAGE value: registry.redhat.io/rh-sso-7/sso76-openshift-rhel8@sha256:ec9f60018694dcc5d431ba47d5536b761b71cb3f66684978fe6bb74c157679ac - name: RELATED_IMAGE_BACKEND_IMAGE value: registry.redhat.io/openshift-gitops-1/gitops-rhel8@sha256:a28832792d8f10264fdc4035efd75853e8edee7a5f6688204166d42fe67c7c0f - name: BACKEND_IMAGE value: registry.redhat.io/openshift-gitops-1/gitops-rhel8@sha256:a28832792d8f10264fdc4035efd75853e8edee7a5f6688204166d42fe67c7c0f - name: RELATED_IMAGE_ARGOCD_IMAGE value: registry.redhat.io/openshift-gitops-1/argocd-rhel8@sha256:84d6d72c30f7eb877e6036ea1623766ac7cddc0e4639198f249dcadc3b605dc3 - name: ARGOCD_IMAGE value: registry.redhat.io/openshift-gitops-1/argocd-rhel8@sha256:84d6d72c30f7eb877e6036ea1623766ac7cddc0e4639198f249dcadc3b605dc3 - name: ARGOCD_REPOSERVER_IMAGE value: registry.redhat.io/openshift-gitops-1/argocd-rhel8@sha256:84d6d72c30f7eb877e6036ea1623766ac7cddc0e4639198f249dcadc3b605dc3 - name: RELATED_IMAGE_ARGOCD_REDIS_IMAGE value: registry.redhat.io/rhel8/redis-6@sha256:53598a6effeb90e4f1b005b2521beffd2fa2b0c52d0e7f2347ee2abd2577cab3 - name: ARGOCD_REDIS_IMAGE value: registry.redhat.io/rhel8/redis-6@sha256:53598a6effeb90e4f1b005b2521beffd2fa2b0c52d0e7f2347ee2abd2577cab3 - name: ARGOCD_REDIS_HA_IMAGE value: registry.redhat.io/rhel8/redis-6@sha256:53598a6effeb90e4f1b005b2521beffd2fa2b0c52d0e7f2347ee2abd2577cab3 - name: RELATED_IMAGE_ARGOCD_REDIS_HA_PROXY_IMAGE value: registry.redhat.io/openshift4/ose-haproxy-router@sha256:edf7ce748b703e195220b7bd7b42fa2caa4cdfd96840445e096036a0d85f1ff2 - name: ARGOCD_REDIS_HA_PROXY_IMAGE value: registry.redhat.io/openshift4/ose-haproxy-router@sha256:edf7ce748b703e195220b7bd7b42fa2caa4cdfd96840445e096036a0d85f1ff2 - name: RELATED_IMAGE_GITOPS_CONSOLE_PLUGIN_IMAGE value: registry.redhat.io/openshift-gitops-1/console-plugin-rhel8@sha256:9aaffb8d856177454c59d05772b75c4f7f4416162bf63243b8c04146f9fb4309 - name: GITOPS_CONSOLE_PLUGIN_IMAGE value: registry.redhat.io/openshift-gitops-1/console-plugin-rhel8@sha256:9aaffb8d856177454c59d05772b75c4f7f4416162bf63243b8c04146f9fb4309 - name: RELATED_IMAGE_KAM_IMAGE value: registry.redhat.io/openshift-gitops-1/kam-delivery-rhel8@sha256:8576c7e6e548c5b032432f387d1468a5ea9c48d189250aa00c710ed1a28cbbbf - name: KAM_IMAGE value: registry.redhat.io/openshift-gitops-1/kam-delivery-rhel8@sha256:8576c7e6e548c5b032432f387d1468a5ea9c48d189250aa00c710ed1a28cbbbf - name: RELATED_IMAGE_ARGO_ROLLOUTS_IMAGE value: registry.redhat.io/openshift-gitops-1/argo-rollouts-rhel8@sha256:94225b471f6befedf64a8e4e12f777059f0dc39ef7a9eb7030f168ced06e6dec - name: ARGO_ROLLOUTS_IMAGE value: registry.redhat.io/openshift-gitops-1/argo-rollouts-rhel8@sha256:94225b471f6befedf64a8e4e12f777059f0dc39ef7a9eb7030f168ced06e6dec - name: RELATED_IMAGE_MUST_GATHER_IMAGE value: registry.redhat.io/openshift-gitops-1/must-gather-rhel8@sha256:05a71242731d34b45e19f987ad96de9d32b6f731762312629f7fe3333f2f6ce5 - name: ENABLE_CONVERSION_WEBHOOK value: "true" - name: RELATED_IMAGE_KUBE_RBAC_PROXY_IMAGE value: registry.redhat.io/openshift4/ose-kube-rbac-proxy@sha256:da5d5061dbc2ec5082cf14b6c600fb5400b83cf91d7ccebfa80680a238d275db - name: OPERATOR_CONDITION_NAME value: openshift-gitops-operator.v1.10.0 image: registry.redhat.io/openshift-gitops-1/gitops-rhel8-operator@sha256:7c4296aa0d1c8d3edc2a1f6f9f4243b2bab415c05b61468a9abc7f2497f1dd87 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 3 httpGet: path: /healthz port: 8081 scheme: HTTP initialDelaySeconds: 15 periodSeconds: 20 successThreshold: 1 timeoutSeconds: 1 name: manager ports: - containerPort: 9443 name: webhook-server protocol: TCP readinessProbe: failureThreshold: 3 httpGet: path: /readyz port: 8081 scheme: HTTP initialDelaySeconds: 5 periodSeconds: 10 successThreshold: 1 timeoutSeconds: 1 resources: {} securityContext: allowPrivilegeEscalation: false capabilities: drop: - ALL readOnlyRootFilesystem: true runAsNonRoot: true runAsUser: 1000410000 terminationMessagePath: /dev/termination-log terminationMessagePolicy: File volumeMounts: - mountPath: /apiserver.local.config/certificates name: apiservice-cert - mountPath: /tmp/k8s-webhook-server/serving-certs name: webhook-cert - mountPath: /var/run/secrets/kubernetes.io/serviceaccount name: kube-api-access-dthfb readOnly: true - args: - --secure-listen-address=0.0.0.0:8443 - --upstream=http://127.0.0.1:8080 - --tls-cert-file=/etc/tls/private/tls.crt - --tls-private-key-file=/etc/tls/private/tls.key - --logtostderr=true - --allow-paths=/metrics env: - name: OPERATOR_CONDITION_NAME value: openshift-gitops-operator.v1.10.0 image: registry.redhat.io/openshift4/ose-kube-rbac-proxy@sha256:da5d5061dbc2ec5082cf14b6c600fb5400b83cf91d7ccebfa80680a238d275db imagePullPolicy: IfNotPresent name: kube-rbac-proxy ports: - containerPort: 8443 name: metrics protocol: TCP resources: limits: cpu: 500m memory: 128Mi requests: cpu: 1m memory: 15Mi securityContext: allowPrivilegeEscalation: false capabilities: drop: - ALL runAsUser: 1000410000 terminationMessagePath: /dev/termination-log terminationMessagePolicy: File volumeMounts: - mountPath: /etc/tls/private name: kube-rbac-proxy-tls readOnly: true - mountPath: /apiserver.local.config/certificates name: apiservice-cert - mountPath: /tmp/k8s-webhook-server/serving-certs name: webhook-cert - mountPath: /var/run/secrets/kubernetes.io/serviceaccount name: kube-api-access-dthfb readOnly: true dnsPolicy: ClusterFirst enableServiceLinks: true imagePullSecrets: - name: openshift-gitops-operator-controller-manager-dockercfg-4w2zz nodeName: ip-10-0-39-99.us-east-2.compute.internal preemptionPolicy: PreemptLowerPriority priority: 0 restartPolicy: Always schedulerName: default-scheduler securityContext: fsGroup: 1000410000 runAsNonRoot: true seLinuxOptions: level: s0:c20,c15 seccompProfile: type: RuntimeDefault serviceAccount: openshift-gitops-operator-controller-manager serviceAccountName: openshift-gitops-operator-controller-manager terminationGracePeriodSeconds: 10 tolerations: - effect: NoExecute key: node.kubernetes.io/not-ready operator: Exists tolerationSeconds: 300 - effect: NoExecute key: node.kubernetes.io/unreachable operator: Exists tolerationSeconds: 300 - effect: NoSchedule key: node.kubernetes.io/memory-pressure operator: Exists volumes: - name: kube-rbac-proxy-tls secret: defaultMode: 420 secretName: kube-rbac-proxy-tls - name: apiservice-cert secret: defaultMode: 420 items: - key: tls.crt path: apiserver.crt - key: tls.key path: apiserver.key secretName: openshift-gitops-operator-controller-manager-service-cert - name: webhook-cert secret: defaultMode: 420 items: - key: tls.crt path: tls.crt - key: tls.key path: tls.key secretName: openshift-gitops-operator-controller-manager-service-cert - name: kube-api-access-dthfb projected: defaultMode: 420 sources: - serviceAccountToken: expirationSeconds: 3607 path: token - configMap: items: - key: ca.crt path: ca.crt name: kube-root-ca.crt - downwardAPI: items: - fieldRef: apiVersion: v1 fieldPath: metadata.namespace path: namespace - configMap: items: - key: service-ca.crt path: service-ca.crt name: openshift-service-ca.crt status: conditions: - lastProbeTime: null lastTransitionTime: "2023-10-02T12:30:52Z" status: "True" type: Initialized - lastProbeTime: null lastTransitionTime: "2023-10-02T12:31:02Z" status: "True" type: Ready - lastProbeTime: null lastTransitionTime: "2023-10-02T12:31:02Z" status: "True" type: ContainersReady - lastProbeTime: null lastTransitionTime: "2023-10-02T12:30:52Z" status: "True" type: PodScheduled containerStatuses: - containerID: cri-o://c2b4f127505ddf5c803d8bcc51949d5f4f219373256f938f556dd62694aadf5f image: registry.redhat.io/openshift4/ose-kube-rbac-proxy@sha256:da5d5061dbc2ec5082cf14b6c600fb5400b83cf91d7ccebfa80680a238d275db imageID: registry.redhat.io/openshift4/ose-kube-rbac-proxy@sha256:128a542e1ce40ba0682716c642d2d6b6526d94d6a099c9b99cae33a31d806b21 lastState: {} name: kube-rbac-proxy ready: true restartCount: 0 started: true state: running: startedAt: "2023-10-02T12:31:02Z" - containerID: cri-o://d47e6d2e5fb5becee953ebc73ab2dfd25d076defe20b76afa539ca2f35840ad2 image: registry.redhat.io/openshift-gitops-1/gitops-rhel8-operator@sha256:7c4296aa0d1c8d3edc2a1f6f9f4243b2bab415c05b61468a9abc7f2497f1dd87 imageID: registry.redhat.io/openshift-gitops-1/gitops-rhel8-operator@sha256:7c4296aa0d1c8d3edc2a1f6f9f4243b2bab415c05b61468a9abc7f2497f1dd87 lastState: {} name: manager ready: true restartCount: 0 started: true state: running: startedAt: "2023-10-02T12:30:56Z" hostIP: 10.0.39.99 phase: Running podIP: 10.129.2.11 podIPs: - ip: 10.129.2.11 qosClass: Burstable startTime: "2023-10-02T12:30:52Z" + subscription=gitops-operator- ++ oc get subscription --all-namespaces ++ grep gitops-operator- ++ head -1 ++ awk '{print $2}' + oc get subscription -n openshift-operators NAME PACKAGE SOURCE CHANNEL openshift-gitops-operator openshift-gitops-operator redhat-operators latest + oc wait --for=condition=Ready -n openshift-gitops pod --timeout=15m -l 'app.kubernetes.io/name in (cluster,kam,openshift-gitops-application-controller,openshift-gitops-applicationset-controller,openshift-gitops-dex-server,openshift-gitops-redis,openshift-gitops-repo-server,openshift-gitops-server)' pod/cluster-67dbf76465-2bhfw condition met pod/kam-68c9d67d7c-xpn9p condition met pod/openshift-gitops-application-controller-0 condition met pod/openshift-gitops-applicationset-controller-5f6dcb877b-xhsr9 condition met pod/openshift-gitops-dex-server-58847c5f79-nqtkd condition met pod/openshift-gitops-redis-6977b44c8-ssvnc condition met pod/openshift-gitops-repo-server-6869998859-pc99w condition met pod/openshift-gitops-server-5b95cfc6f9-8vfdj condition met + oc create ns test-argocd namespace/test-argocd created + cat + oc apply -f - Warning: ArgoCD v1alpha1 version is deprecated and will be converted to v1beta1 automatically. Moving forward, please use v1beta1 as the ArgoCD API version. argocd.argoproj.io/argocd created + sleep 60s + oc get pods -n test-argocd NAME READY STATUS RESTARTS AGE argocd-application-controller-0 1/1 Running 0 60s argocd-redis-5ff9886c77-svwl5 1/1 Running 0 60s argocd-repo-server-6df5d8ddf-55ghs 1/1 Running 0 60s argocd-server-7c57f96cc7-qf898 1/1 Running 0 60s + oc wait --for=condition=Ready -n test-argocd pod --timeout=15m -l 'app.kubernetes.io/name in (argocd-application-controller,argocd-redis,argocd-repo-server,argocd-server)' pod/argocd-application-controller-0 condition met pod/argocd-redis-5ff9886c77-svwl5 condition met pod/argocd-repo-server-6df5d8ddf-55ghs condition met pod/argocd-server-7c57f96cc7-qf898 condition met + echo '>> Running tests on prow' >> Running tests on prow + kubectl kuttl test test/openshift/e2e/sequential --config test/openshift/e2e/sequential/kuttl-test.yaml --report xml 2023/10/02 12:32:56 kutt-test config testdirs is overridden with args: [ test/openshift/e2e/sequential ] === RUN kuttl harness.go:460: starting setup harness.go:251: running tests using configured kubeconfig. I1002 12:32:57.756661 267 request.go:655] Throttling request took 1.037872037s, request: GET:https://api.ci-op-xqkb8t0b-d30ee.cspilp.interop.ccitredhat.com:6443/apis/k8s.cni.cncf.io/v1?timeout=32s harness.go:356: running tests harness.go:74: going to run test suite with timeout of 720 seconds for each step harness.go:368: testsuite: test/openshift/e2e/sequential has 15 tests === RUN kuttl/harness === RUN kuttl/harness/1-001_validate_kam_service === PAUSE kuttl/harness/1-001_validate_kam_service === RUN kuttl/harness/1-002_validate_backend_service === PAUSE kuttl/harness/1-002_validate_backend_service === RUN kuttl/harness/1-020_validate_redis_ha_nonha === PAUSE kuttl/harness/1-020_validate_redis_ha_nonha === RUN kuttl/harness/1-026-validate_backend_service_permissions === PAUSE kuttl/harness/1-026-validate_backend_service_permissions === RUN kuttl/harness/1-028_validate_run_on_infra === PAUSE kuttl/harness/1-028_validate_run_on_infra === RUN kuttl/harness/1-034_validate_custom_roles === PAUSE kuttl/harness/1-034_validate_custom_roles === RUN kuttl/harness/1-040_validate_quoted_RBAC_group_names === PAUSE kuttl/harness/1-040_validate_quoted_RBAC_group_names === RUN kuttl/harness/1-041_validate_argocd_sync_alert === PAUSE kuttl/harness/1-041_validate_argocd_sync_alert === RUN kuttl/harness/1-050_validate_sso_config === PAUSE kuttl/harness/1-050_validate_sso_config === RUN kuttl/harness/1-056_validate_managed-by === PAUSE kuttl/harness/1-056_validate_managed-by === RUN kuttl/harness/1-071_validate_node_selectors === PAUSE kuttl/harness/1-071_validate_node_selectors === RUN kuttl/harness/1-076_validate_single_deprecation_notice === PAUSE kuttl/harness/1-076_validate_single_deprecation_notice === RUN kuttl/harness/1-078_validate_default_argocd_consoleLink === PAUSE kuttl/harness/1-078_validate_default_argocd_consoleLink === RUN kuttl/harness/1-084_validate_prune_templates === PAUSE kuttl/harness/1-084_validate_prune_templates === RUN kuttl/harness/1-085_validate_dynamic_plugin_installation === PAUSE kuttl/harness/1-085_validate_dynamic_plugin_installation === CONT kuttl/harness/1-001_validate_kam_service logger.go:42: 12:33:01 | 1-001_validate_kam_service | Creating namespace: kuttl-test-fluent-whale logger.go:42: 12:33:01 | 1-001_validate_kam_service/1-check-kam-service | starting test step 1-check-kam-service logger.go:42: 12:33:04 | 1-001_validate_kam_service/1-check-kam-service | test step completed 1-check-kam-service logger.go:42: 12:33:04 | 1-001_validate_kam_service/2-check-route | starting test step 2-check-route logger.go:42: 12:33:04 | 1-001_validate_kam_service/2-check-route | running command: [sh -c status=$(oc get -n openshift-gitops route kam -o json | jq -r .status) route_admitted=$(echo "$status" | jq -r '.ingress[0].conditions[0].type') route_status=$(echo "$status" | jq -r '.ingress[0].conditions[0].status') route_host=$(echo "$status" | jq -r '.ingress[0].host') router_name=$(echo "$status" | jq -r '.ingress[0].routerName') route_wildcard_policy=$(echo "$status" | jq -r '.ingress[0].wildcardPolicy') if test "$route_admitted" != "Admitted" -o "$route_status" != "True"; then echo "Route not ready" exit 1 fi if test "$route_host" = ""; then echo "Route has no host" exit 1 fi if test "$router_name" != "default"; then echo "Router is not default" exit 1 fi if test "$route_wildcard_policy" != "None"; then echo "Route wildcard policy is not None" exit 1 fi exit 0 ] logger.go:42: 12:33:07 | 1-001_validate_kam_service/2-check-route | test step completed 2-check-route logger.go:42: 12:33:07 | 1-001_validate_kam_service/3-check-download | starting test step 3-check-download logger.go:42: 12:33:07 | 1-001_validate_kam_service/3-check-download | running command: [sh -c set -e base_url=$(oc get -n openshift-gitops route kam -o json | jq -r '.status.ingress[0].host') curl -k --silent -o/dev/null "${base_url}/kam/kam_linux_amd64" curl -k --silent -o/dev/null "${base_url}/kam/kam_darwin_amd64" curl -k --silent -o/dev/null "${base_url}/kam/kam_windows_amd64.exe" ] I1002 12:33:08.407165 267 request.go:655] Throttling request took 1.026670487s, request: GET:https://api.ci-op-xqkb8t0b-d30ee.cspilp.interop.ccitredhat.com:6443/apis/user.openshift.io/v1?timeout=32s logger.go:42: 12:33:09 | 1-001_validate_kam_service/3-check-download | test step completed 3-check-download logger.go:42: 12:33:09 | 1-001_validate_kam_service | skipping kubernetes event logging logger.go:42: 12:33:09 | 1-001_validate_kam_service | Deleting namespace: kuttl-test-fluent-whale === CONT kuttl/harness/1-050_validate_sso_config logger.go:42: 12:33:09 | 1-050_validate_sso_config | Creating namespace: kuttl-test-enjoyed-tick logger.go:42: 12:33:09 | 1-050_validate_sso_config/1-install | starting test step 1-install Warning: ArgoCD v1alpha1 version is deprecated and will be converted to v1beta1 automatically. Moving forward, please use v1beta1 as the ArgoCD API version. logger.go:42: 12:33:12 | 1-050_validate_sso_config/1-install | ArgoCD:kuttl-test-enjoyed-tick/argocd created logger.go:42: 12:45:13 | 1-050_validate_sso_config/1-install | test step failed 1-install case.go:361: failed in step 1-install case.go:363: --- ArgoCD:kuttl-test-enjoyed-tick/argocd +++ ArgoCD:kuttl-test-enjoyed-tick/argocd @@ -1,10 +1,100 @@ apiVersion: argoproj.io/v1alpha1 kind: ArgoCD metadata: + finalizers: + - argoproj.io/finalizer + managedFields: + - apiVersion: argoproj.io/v1alpha1 + fieldsType: FieldsV1 + fieldsV1: + f:spec: + .: {} + f:sso: + .: {} + f:dex: + .: {} + f:openShiftOAuth: {} + f:provider: {} + manager: kubectl-kuttl + operation: Update + time: "2023-10-02T12:33:12Z" + - apiVersion: argoproj.io/v1beta1 + fieldsType: FieldsV1 + fieldsV1: + f:metadata: + f:finalizers: + .: {} + v:"argoproj.io/finalizer": {} + manager: manager + operation: Update + time: "2023-10-02T12:33:12Z" + - apiVersion: argoproj.io/v1beta1 + fieldsType: FieldsV1 + fieldsV1: + f:status: + f:applicationController: {} + f:applicationSetController: {} + f:phase: {} + f:redis: {} + f:repo: {} + f:server: {} + f:sso: {} + manager: manager + operation: Update + subresource: status + time: "2023-10-02T12:33:25Z" name: argocd namespace: kuttl-test-enjoyed-tick +spec: + controller: + processors: {} + sharding: {} + grafana: + enabled: false + ingress: + enabled: false + route: + enabled: false + ha: + enabled: false + initialSSHKnownHosts: {} + monitoring: + enabled: false + notifications: + enabled: false + prometheus: + enabled: false + ingress: + enabled: false + route: + enabled: false + rbac: {} + redis: {} + repo: {} + server: + autoscale: + enabled: false + grpc: + ingress: + enabled: false + ingress: + enabled: false + route: + enabled: false + service: + type: "" + sso: + dex: + openShiftOAuth: true + provider: dex + tls: + ca: {} status: - dex: Running + applicationController: Running + applicationSetController: Unknown phase: Available - ssoConfig: Success + redis: Running + repo: Running + server: Running + sso: Running case.go:363: resource ArgoCD:kuttl-test-enjoyed-tick/argocd: .status.dex: key is missing from map logger.go:42: 12:45:13 | 1-050_validate_sso_config | skipping kubernetes event logging logger.go:42: 12:45:13 | 1-050_validate_sso_config | Deleting namespace: kuttl-test-enjoyed-tick === CONT kuttl/harness/1-085_validate_dynamic_plugin_installation logger.go:42: 12:45:13 | 1-085_validate_dynamic_plugin_installation | Creating namespace: kuttl-test-valued-monkfish logger.go:42: 12:45:13 | 1-085_validate_dynamic_plugin_installation/1- | starting test step 1- I1002 12:45:14.173345 267 request.go:655] Throttling request took 1.002847974s, request: GET:https://api.ci-op-xqkb8t0b-d30ee.cspilp.interop.ccitredhat.com:6443/apis/flowcontrol.apiserver.k8s.io/v1beta3?timeout=32s logger.go:42: 12:45:15 | 1-085_validate_dynamic_plugin_installation/1- | test step completed 1- logger.go:42: 12:45:15 | 1-085_validate_dynamic_plugin_installation/2-install-dynamic-plugin | starting test step 2-install-dynamic-plugin logger.go:42: 12:45:15 | 1-085_validate_dynamic_plugin_installation/2-install-dynamic-plugin | running command: [sh -c set -eo pipefail # Get CSV name and also OCP version. csv_name=$(oc get csv -n openshift-operators | awk '/gitops-operator/ {print $1}') ocp_version=$(oc version | awk '/Server Version/ {split($3,a,"-"); print a[1]}') # Patch the CSV to add the necessary env key:value for Dynamic Plugin oc patch csv "${csv_name}" -n openshift-operators \ --type='json' \ -p='[{ "op": "add", "path": "/spec/install/spec/deployments/0/spec/template/spec/containers/0/env/-", "value": { "name": "DYNAMIC_PLUGIN_START_OCP_VERSION", "value": "'${ocp_version}'" } }]' # Sleep 10 seconds, so the resources are launched before next assert step. sleep 5 exit 0 ] logger.go:42: 12:45:16 | 1-085_validate_dynamic_plugin_installation/2-install-dynamic-plugin | clusterserviceversion.operators.coreos.com/openshift-gitops-operator.v1.10.0 patched logger.go:42: 12:45:57 | 1-085_validate_dynamic_plugin_installation/2-install-dynamic-plugin | test step completed 2-install-dynamic-plugin logger.go:42: 12:45:57 | 1-085_validate_dynamic_plugin_installation | skipping kubernetes event logging logger.go:42: 12:45:57 | 1-085_validate_dynamic_plugin_installation | Deleting namespace: kuttl-test-valued-monkfish === CONT kuttl/harness/1-084_validate_prune_templates 2023/10/02 12:45:57 object detected with no GVK Kind for path /go/src/github.com/redhat-developer/gitops-operator/test/openshift/e2e/sequential/1-084_validate_prune_templates/01-assert.yaml 2023/10/02 12:45:57 object detected with no GVK Kind for path /go/src/github.com/redhat-developer/gitops-operator/test/openshift/e2e/sequential/1-084_validate_prune_templates/01-create-ns-managed-by.yaml 2023/10/02 12:45:57 object detected with no GVK Kind for path /go/src/github.com/redhat-developer/gitops-operator/test/openshift/e2e/sequential/1-084_validate_prune_templates/02-prune-duplicateGVK-resource.yaml 2023/10/02 12:45:57 object detected with no GVK Kind for path /go/src/github.com/redhat-developer/gitops-operator/test/openshift/e2e/sequential/1-084_validate_prune_templates/03-errors.yaml 2023/10/02 12:45:57 object detected with no GVK Kind for path /go/src/github.com/redhat-developer/gitops-operator/test/openshift/e2e/sequential/1-084_validate_prune_templates/04-delete.yaml logger.go:42: 12:45:57 | 1-084_validate_prune_templates | Creating namespace: kuttl-test-concrete-viper logger.go:42: 12:45:57 | 1-084_validate_prune_templates/1-create-ns-managed-by | starting test step 1-create-ns-managed-by I1002 12:45:58.631061 267 request.go:655] Throttling request took 1.023946482s, request: GET:https://api.ci-op-xqkb8t0b-d30ee.cspilp.interop.ccitredhat.com:6443/apis/k8s.ovn.org/v1?timeout=32s logger.go:42: 12:46:00 | 1-084_validate_prune_templates/1-create-ns-managed-by | test step completed 1-create-ns-managed-by logger.go:42: 12:46:00 | 1-084_validate_prune_templates/2-prune-duplicateGVK-resource | starting test step 2-prune-duplicateGVK-resource logger.go:42: 12:46:02 | 1-084_validate_prune_templates/2-prune-duplicateGVK-resource | test step completed 2-prune-duplicateGVK-resource logger.go:42: 12:46:02 | 1-084_validate_prune_templates/3- | starting test step 3- logger.go:42: 12:46:05 | 1-084_validate_prune_templates/3- | test step completed 3- logger.go:42: 12:46:05 | 1-084_validate_prune_templates/4-delete | starting test step 4-delete logger.go:42: 12:46:07 | 1-084_validate_prune_templates/4-delete | test step completed 4-delete logger.go:42: 12:46:07 | 1-084_validate_prune_templates | skipping kubernetes event logging logger.go:42: 12:46:07 | 1-084_validate_prune_templates | Deleting namespace: kuttl-test-concrete-viper === CONT kuttl/harness/1-078_validate_default_argocd_consoleLink logger.go:42: 12:46:07 | 1-078_validate_default_argocd_consoleLink | Creating namespace: kuttl-test-worthy-rabbit logger.go:42: 12:46:07 | 1-078_validate_default_argocd_consoleLink/1- | starting test step 1- I1002 12:46:08.728249 267 request.go:655] Throttling request took 1.023350361s, request: GET:https://api.ci-op-xqkb8t0b-d30ee.cspilp.interop.ccitredhat.com:6443/apis/monitoring.coreos.com/v1alpha1?timeout=32s logger.go:42: 12:46:10 | 1-078_validate_default_argocd_consoleLink/1- | test step completed 1- logger.go:42: 12:46:10 | 1-078_validate_default_argocd_consoleLink/2-add_env | starting test step 2-add_env logger.go:42: 12:46:10 | 1-078_validate_default_argocd_consoleLink/2-add_env | running command: [sh -c if [ -z $CI ]; then oc patch -n openshift-operators subscription openshift-gitops-operator \ --type merge --patch '{"spec": {"config": {"env": [{"name": "DISABLE_DEFAULT_ARGOCD_CONSOLELINK", "value": "true"}]}}}' else oc patch -n openshift-operators subscription `subscription=gitops-operator- && oc get subscription --all-namespaces | grep $subscription | head -1 | awk '{print $2}'` \ --type merge --patch '{"spec": {"config": {"env": [{"name": "DISABLE_DEFAULT_ARGOCD_CONSOLELINK", "value": "true"}]}}}' fi ] logger.go:42: 12:46:10 | 1-078_validate_default_argocd_consoleLink/2-add_env | subscription.operators.coreos.com/openshift-gitops-operator patched logger.go:42: 12:46:41 | 1-078_validate_default_argocd_consoleLink/2-add_env | test step completed 2-add_env logger.go:42: 12:46:41 | 1-078_validate_default_argocd_consoleLink/3-check-env | starting test step 3-check-env logger.go:42: 12:46:41 | 1-078_validate_default_argocd_consoleLink/3-check-env | running command: [sh -c if [ -z $CI ]; then label_value=$(oc get subscriptions openshift-gitops-operator -n openshift-operators -o json | jq '.spec.config.env[]|select(.name=="DISABLE_DEFAULT_ARGOCD_CONSOLELINK").value') if ! [[ "${label_value}" == '"true"' ]]; then echo "Label value: $label_value" echo "DISABLE_DEFAULT_ARGOCD_CONSOLELINK not set" exit 1 else exit 0 fi else label_value=$(oc get subscription `subscription=gitops-operator- && oc get subscription --all-namespaces | grep $subscription | head -1 | awk '{print $2}'` -n openshift-operators -o json | jq '.spec.config.env[]|select(.name=="DISABLE_DEFAULT_ARGOCD_CONSOLELINK").value') if ! [[ "${label_value}" == '"true"' ]]; then echo "Label value: $label_value" echo "DISABLE_DEFAULT_ARGOCD_CONSOLELINK not set" exit 1 else exit 0 fi fi ] I1002 12:46:42.415665 267 request.go:655] Throttling request took 1.016056531s, request: GET:https://api.ci-op-xqkb8t0b-d30ee.cspilp.interop.ccitredhat.com:6443/apis/flowcontrol.apiserver.k8s.io/v1beta3?timeout=32s logger.go:42: 12:46:43 | 1-078_validate_default_argocd_consoleLink/3-check-env | test step completed 3-check-env logger.go:42: 12:46:43 | 1-078_validate_default_argocd_consoleLink/4-disable-env | starting test step 4-disable-env logger.go:42: 12:46:43 | 1-078_validate_default_argocd_consoleLink/4-disable-env | running command: [sh -c if [ -z $CI ]; then oc patch -n openshift-operators subscription openshift-gitops-operator \ --type merge --patch '{"spec": {"config": {"env": [{"name": "DISABLE_DEFAULT_ARGOCD_CONSOLELINK", "value": "false"}]}}}' else oc patch -n openshift-operators subscription `subscription=gitops-operator- && oc get subscription --all-namespaces | grep $subscription | head -1 | awk '{print $2}'` \ --type merge --patch '{"spec": {"config": {"env": [{"name": "DISABLE_DEFAULT_ARGOCD_CONSOLELINK", "value": "false"}]}}}' fi ] logger.go:42: 12:46:44 | 1-078_validate_default_argocd_consoleLink/4-disable-env | subscription.operators.coreos.com/openshift-gitops-operator patched logger.go:42: 12:47:12 | 1-078_validate_default_argocd_consoleLink/4-disable-env | test step completed 4-disable-env logger.go:42: 12:47:12 | 1-078_validate_default_argocd_consoleLink/5-check-env | starting test step 5-check-env logger.go:42: 12:47:12 | 1-078_validate_default_argocd_consoleLink/5-check-env | running command: [sh -c if [ -z $CI ]; then label_value=$(oc get subscriptions openshift-gitops-operator -n openshift-operators -o json | jq '.spec.config.env[]|select(.name=="DISABLE_DEFAULT_ARGOCD_CONSOLELINK").value') if ! [[ "${label_value}" == '"false"' ]]; then echo "DISABLE_DEFAULT_ARGOCD_CONSOLELINK set" exit 1 else exit 0 fi else label_value=$(oc get subscription `subscription=gitops-operator- && oc get subscription --all-namespaces | grep $subscription | head -1 | awk '{print $2}'` -n openshift-operators -o json | jq '.spec.config.env[]|select(.name=="DISABLE_DEFAULT_ARGOCD_CONSOLELINK").value') if ! [[ "${label_value}" == '"false"' ]]; then echo "DISABLE_DEFAULT_ARGOCD_CONSOLELINK set" exit 1 else exit 0 fi fi ] I1002 12:47:13.609240 267 request.go:655] Throttling request took 1.027203055s, request: GET:https://api.ci-op-xqkb8t0b-d30ee.cspilp.interop.ccitredhat.com:6443/apis/monitoring.coreos.com/v1?timeout=32s logger.go:42: 12:47:15 | 1-078_validate_default_argocd_consoleLink/5-check-env | test step completed 5-check-env logger.go:42: 12:47:15 | 1-078_validate_default_argocd_consoleLink/6-empty-valued-env | starting test step 6-empty-valued-env logger.go:42: 12:47:15 | 1-078_validate_default_argocd_consoleLink/6-empty-valued-env | running command: [sh -c if [ -z $CI ]; then oc patch -n openshift-operators subscription openshift-gitops-operator \ --type merge --patch '{"spec": {"config": {"env": [{"name": "DISABLE_DEFAULT_ARGOCD_CONSOLELINK", "value": ""}]}}}' else oc patch -n openshift-operators subscription `subscription=gitops-operator- && oc get subscription --all-namespaces | grep $subscription | head -1 | awk '{print $2}'` \ --type merge --patch '{"spec": {"config": {"env": [{"name": "DISABLE_DEFAULT_ARGOCD_CONSOLELINK", "value": ""}]}}}' fi ] logger.go:42: 12:47:15 | 1-078_validate_default_argocd_consoleLink/6-empty-valued-env | subscription.operators.coreos.com/openshift-gitops-operator patched logger.go:42: 12:47:17 | 1-078_validate_default_argocd_consoleLink/6-empty-valued-env | test step completed 6-empty-valued-env logger.go:42: 12:47:17 | 1-078_validate_default_argocd_consoleLink/7-check-env | starting test step 7-check-env logger.go:42: 12:47:17 | 1-078_validate_default_argocd_consoleLink/7-check-env | running command: [sh -c if [ -z $CI ]; then label_value=$(oc get subscriptions openshift-gitops-operator -n openshift-operators -o json | jq '.spec.config.env[]|select(.name=="DISABLE_DEFAULT_ARGOCD_CONSOLELINK").value') if ! [[ "${label_value}" == '""' ]]; then echo "DISABLE_DEFAULT_ARGOCD_CONSOLELINK is set to ${label_value}" exit 1 else exit 0 fi else label_value=$(oc get subscription `subscription=gitops-operator- && oc get subscription --all-namespaces | grep $subscription | head -1 | awk '{print $2}'` -n openshift-operators -o json | jq '.spec.config.env[]|select(.name=="DISABLE_DEFAULT_ARGOCD_CONSOLELINK").value') if ! [[ "${label_value}" == '""' ]]; then echo "DISABLE_DEFAULT_ARGOCD_CONSOLELINK is set to ${label_value}" exit 1 else exit 0 fi fi ] logger.go:42: 12:47:20 | 1-078_validate_default_argocd_consoleLink/7-check-env | test step completed 7-check-env logger.go:42: 12:47:20 | 1-078_validate_default_argocd_consoleLink/8-remove-env | starting test step 8-remove-env logger.go:42: 12:47:20 | 1-078_validate_default_argocd_consoleLink/8-remove-env | running command: [sh -c if [ -z $CI ]; then oc -n openshift-operators patch subscription openshift-gitops-operator --type='json' -p='[{"op": "remove", "path": "/spec/config" }]' else oc -n openshift-operators patch subscription `subscription=gitops-operator- && oc get subscription --all-namespaces | grep $subscription | head -1 | awk '{print $2}'` --type='json' -p='[{"op": "remove", "path": "/spec/config" }]' fi ] logger.go:42: 12:47:20 | 1-078_validate_default_argocd_consoleLink/8-remove-env | subscription.operators.coreos.com/openshift-gitops-operator patched logger.go:42: 12:47:23 | 1-078_validate_default_argocd_consoleLink/8-remove-env | test step completed 8-remove-env logger.go:42: 12:47:23 | 1-078_validate_default_argocd_consoleLink | skipping kubernetes event logging logger.go:42: 12:47:23 | 1-078_validate_default_argocd_consoleLink | Deleting namespace: kuttl-test-worthy-rabbit === CONT kuttl/harness/1-076_validate_single_deprecation_notice logger.go:42: 12:47:23 | 1-076_validate_single_deprecation_notice | Creating namespace: kuttl-test-smooth-blowfish logger.go:42: 12:47:23 | 1-076_validate_single_deprecation_notice/1-install | starting test step 1-install I1002 12:47:24.129974 267 request.go:655] Throttling request took 1.02308017s, request: GET:https://api.ci-op-xqkb8t0b-d30ee.cspilp.interop.ccitredhat.com:6443/apis/infrastructure.cluster.x-k8s.io/v1alpha5?timeout=32s logger.go:42: 12:47:25 | 1-076_validate_single_deprecation_notice/1-install | Namespace:/test-1-076-custom created logger.go:42: 12:47:25 | 1-076_validate_single_deprecation_notice/1-install | Namespace:/test-1-076-custom2 created logger.go:42: 12:47:25 | 1-076_validate_single_deprecation_notice/1-install | ArgoCD:test-1-076-custom/argocd created logger.go:42: 12:47:25 | 1-076_validate_single_deprecation_notice/1-install | ArgoCD:test-1-076-custom2/argocd created logger.go:42: 12:59:26 | 1-076_validate_single_deprecation_notice/1-install | test step failed 1-install case.go:361: failed in step 1-install case.go:363: --- ArgoCD:test-1-076-custom/argocd +++ ArgoCD:test-1-076-custom/argocd @@ -1,16 +1,109 @@ apiVersion: argoproj.io/v1alpha1 kind: ArgoCD metadata: + finalizers: + - argoproj.io/finalizer + managedFields: + - apiVersion: argoproj.io/v1alpha1 + fieldsType: FieldsV1 + fieldsV1: + f:spec: + .: {} + f:dex: + .: {} + f:config: {} + f:server: + .: {} + f:route: + .: {} + f:enabled: {} + f:sso: + .: {} + f:verifyTLS: {} + manager: kubectl-kuttl + operation: Update + time: "2023-10-02T12:47:25Z" + - apiVersion: argoproj.io/v1beta1 + fieldsType: FieldsV1 + fieldsV1: + f:metadata: + f:finalizers: + .: {} + v:"argoproj.io/finalizer": {} + manager: manager + operation: Update + time: "2023-10-02T12:47:25Z" + - apiVersion: argoproj.io/v1beta1 + fieldsType: FieldsV1 + fieldsV1: + f:status: + f:applicationController: {} + f:applicationSetController: {} + f:host: {} + f:phase: {} + f:redis: {} + f:repo: {} + f:server: {} + f:sso: {} + manager: manager + operation: Update + subresource: status + time: "2023-10-02T12:47:59Z" name: argocd namespace: test-1-076-custom spec: - dex: - config: test-config + controller: + processors: {} + sharding: {} + grafana: + enabled: false + ingress: + enabled: false + route: + enabled: false + ha: + enabled: false + initialSSHKnownHosts: {} + monitoring: + enabled: false + notifications: + enabled: false + prometheus: + enabled: false + ingress: + enabled: false + route: + enabled: false + rbac: {} + redis: {} + repo: {} server: + autoscale: + enabled: false + grpc: + ingress: + enabled: false + ingress: + enabled: false route: enabled: true + service: + type: "" sso: - verifyTLS: true + dex: + config: test-config + keycloak: + verifyTLS: true + provider: dex + tls: + ca: {} status: + applicationController: Running + applicationSetController: Unknown + host: argocd-server-test-1-076-custom.apps.ci-op-xqkb8t0b-d30ee.cspilp.interop.ccitredhat.com phase: Available + redis: Running + repo: Running + server: Running + sso: Failed case.go:363: resource ArgoCD:test-1-076-custom/argocd: .spec.dex: key is missing from map case.go:363: --- ArgoCD:test-1-076-custom2/argocd +++ ArgoCD:test-1-076-custom2/argocd @@ -1,16 +1,109 @@ apiVersion: argoproj.io/v1alpha1 kind: ArgoCD metadata: + finalizers: + - argoproj.io/finalizer + managedFields: + - apiVersion: argoproj.io/v1alpha1 + fieldsType: FieldsV1 + fieldsV1: + f:spec: + .: {} + f:dex: + .: {} + f:config: {} + f:server: + .: {} + f:route: + .: {} + f:enabled: {} + f:sso: + .: {} + f:verifyTLS: {} + manager: kubectl-kuttl + operation: Update + time: "2023-10-02T12:47:25Z" + - apiVersion: argoproj.io/v1beta1 + fieldsType: FieldsV1 + fieldsV1: + f:metadata: + f:finalizers: + .: {} + v:"argoproj.io/finalizer": {} + manager: manager + operation: Update + time: "2023-10-02T12:47:27Z" + - apiVersion: argoproj.io/v1beta1 + fieldsType: FieldsV1 + fieldsV1: + f:status: + f:applicationController: {} + f:applicationSetController: {} + f:host: {} + f:phase: {} + f:redis: {} + f:repo: {} + f:server: {} + f:sso: {} + manager: manager + operation: Update + subresource: status + time: "2023-10-02T12:48:00Z" name: argocd namespace: test-1-076-custom2 spec: - dex: - config: test-config + controller: + processors: {} + sharding: {} + grafana: + enabled: false + ingress: + enabled: false + route: + enabled: false + ha: + enabled: false + initialSSHKnownHosts: {} + monitoring: + enabled: false + notifications: + enabled: false + prometheus: + enabled: false + ingress: + enabled: false + route: + enabled: false + rbac: {} + redis: {} + repo: {} server: + autoscale: + enabled: false + grpc: + ingress: + enabled: false + ingress: + enabled: false route: enabled: true + service: + type: "" sso: - verifyTLS: true + dex: + config: test-config + keycloak: + verifyTLS: true + provider: dex + tls: + ca: {} status: + applicationController: Running + applicationSetController: Unknown + host: argocd-server-test-1-076-custom2.apps.ci-op-xqkb8t0b-d30ee.cspilp.interop.ccitredhat.com phase: Available + redis: Running + repo: Running + server: Running + sso: Failed case.go:363: resource ArgoCD:test-1-076-custom2/argocd: .spec.dex: key is missing from map logger.go:42: 12:59:26 | 1-076_validate_single_deprecation_notice | skipping kubernetes event logging logger.go:42: 12:59:26 | 1-076_validate_single_deprecation_notice | Deleting namespace: kuttl-test-smooth-blowfish === CONT kuttl/harness/1-071_validate_node_selectors logger.go:42: 12:59:26 | 1-071_validate_node_selectors | Creating namespace: kuttl-test-live-grouse logger.go:42: 12:59:26 | 1-071_validate_node_selectors/1- | starting test step 1- I1002 12:59:27.522542 267 request.go:655] Throttling request took 1.019356048s, request: GET:https://api.ci-op-xqkb8t0b-d30ee.cspilp.interop.ccitredhat.com:6443/apis/performance.openshift.io/v1?timeout=32s logger.go:42: 12:59:29 | 1-071_validate_node_selectors/1- | test step completed 1- logger.go:42: 12:59:29 | 1-071_validate_node_selectors/2-custom-node-selector | starting test step 2-custom-node-selector logger.go:42: 12:59:29 | 1-071_validate_node_selectors/2-custom-node-selector | running command: [sh -c oc patch gitopsservice cluster --type=merge --patch='{"spec": {"nodeSelector": {"key1": "value1"}}}' ] logger.go:42: 12:59:29 | 1-071_validate_node_selectors/2-custom-node-selector | gitopsservice.pipelines.openshift.io/cluster patched logger.go:42: 12:59:31 | 1-071_validate_node_selectors/2-custom-node-selector | test step completed 2-custom-node-selector logger.go:42: 12:59:31 | 1-071_validate_node_selectors/3-patch-run-on-infra | starting test step 3-patch-run-on-infra logger.go:42: 12:59:31 | 1-071_validate_node_selectors/3-patch-run-on-infra | running command: [sh -c oc patch gitopsservice cluster --type=merge --patch='{"spec": {"runOnInfra": true, "tolerations": [{"effect": "NoSchedule", "key": "infra", "value": "reserved"}]}}' ] logger.go:42: 12:59:31 | 1-071_validate_node_selectors/3-patch-run-on-infra | gitopsservice.pipelines.openshift.io/cluster patched logger.go:42: 12:59:34 | 1-071_validate_node_selectors/3-patch-run-on-infra | test step completed 3-patch-run-on-infra logger.go:42: 12:59:34 | 1-071_validate_node_selectors/4-change-back | starting test step 4-change-back logger.go:42: 12:59:34 | 1-071_validate_node_selectors/4-change-back | running command: [sh -c oc patch gitopsservice cluster --type=json --patch='[{"op": "remove", "path": "/spec/tolerations"}, {"op": "remove", "path": "/spec/runOnInfra"}, {"op": "remove", "path": "/spec/nodeSelector"}]' oc patch statefulset openshift-gitops-application-controller -n openshift-gitops -p '{"spec":{"replicas":0}}' ] logger.go:42: 12:59:34 | 1-071_validate_node_selectors/4-change-back | gitopsservice.pipelines.openshift.io/cluster patched logger.go:42: 12:59:34 | 1-071_validate_node_selectors/4-change-back | statefulset.apps/openshift-gitops-application-controller patched logger.go:42: 12:59:37 | 1-071_validate_node_selectors/4-change-back | test step completed 4-change-back logger.go:42: 12:59:37 | 1-071_validate_node_selectors | skipping kubernetes event logging logger.go:42: 12:59:37 | 1-071_validate_node_selectors | Deleting namespace: kuttl-test-live-grouse === CONT kuttl/harness/1-056_validate_managed-by logger.go:42: 12:59:37 | 1-056_validate_managed-by | Creating namespace: kuttl-test-national-fowl logger.go:42: 12:59:37 | 1-056_validate_managed-by/1-install | starting test step 1-install I1002 12:59:38.661982 267 request.go:655] Throttling request took 1.026635552s, request: GET:https://api.ci-op-xqkb8t0b-d30ee.cspilp.interop.ccitredhat.com:6443/apis/scheduling.k8s.io/v1?timeout=32s logger.go:42: 12:59:40 | 1-056_validate_managed-by/1-install | Namespace:/test-1-56-target created logger.go:42: 12:59:40 | 1-056_validate_managed-by/1-install | Namespace:/test-1-56-custom created logger.go:42: 12:59:40 | 1-056_validate_managed-by/1-install | ArgoCD:test-1-56-target/example-argocd created logger.go:42: 12:59:52 | 1-056_validate_managed-by/1-install | test step completed 1-install logger.go:42: 12:59:52 | 1-056_validate_managed-by/2-delete | starting test step 2-delete I1002 12:59:54.053420 267 request.go:655] Throttling request took 1.023636876s, request: GET:https://api.ci-op-xqkb8t0b-d30ee.cspilp.interop.ccitredhat.com:6443/apis/k8s.ovn.org/v1?timeout=32s logger.go:42: 12:59:55 | 1-056_validate_managed-by/2-delete | test step completed 2-delete logger.go:42: 12:59:55 | 1-056_validate_managed-by/3-check | starting test step 3-check logger.go:42: 12:59:55 | 1-056_validate_managed-by/3-check | running command: [sh -c set -e label_value=$(oc get ns/test-1-56-custom -o go-template=$'{{index .metadata.labels "argocd.argoproj.io/managed-by"}}') echo "label value: ${label_value}" if [[ "${label_value}" == "test-1-56-target" ]]; then echo "managed-by label exists, set REMOVE_MANAGED_BY_LABEL_ON_ARGOCD_DELETION variable to delete the label" exit 0 fi exit 1 ] logger.go:42: 12:59:55 | 1-056_validate_managed-by/3-check | label value: test-1-56-target logger.go:42: 12:59:55 | 1-056_validate_managed-by/3-check | managed-by label exists, set REMOVE_MANAGED_BY_LABEL_ON_ARGOCD_DELETION variable to delete the label logger.go:42: 12:59:58 | 1-056_validate_managed-by/3-check | test step completed 3-check logger.go:42: 12:59:58 | 1-056_validate_managed-by/4-add_env | starting test step 4-add_env logger.go:42: 12:59:58 | 1-056_validate_managed-by/4-add_env | running command: [sh -c set -e if [ -z $CI ]; then oc patch -n openshift-operators subscription openshift-gitops-operator \ --type merge --patch '{"spec": {"config": {"env": [{"name": "REMOVE_MANAGED_BY_LABEL_ON_ARGOCD_DELETION", "value": "true"}]}}}' else oc patch -n openshift-operators subscription `subscription=gitops-operator- && oc get subscription --all-namespaces | grep $subscription | head -1 | awk '{print $2}'` \ --type merge --patch '{"spec": {"config": {"env": [{"name": "REMOVE_MANAGED_BY_LABEL_ON_ARGOCD_DELETION", "value": "true"}]}}}' fi ] logger.go:42: 12:59:58 | 1-056_validate_managed-by/4-add_env | subscription.operators.coreos.com/openshift-gitops-operator patched logger.go:42: 13:00:00 | 1-056_validate_managed-by/4-add_env | test step completed 4-add_env logger.go:42: 13:00:00 | 1-056_validate_managed-by/5-check | starting test step 5-check logger.go:42: 13:00:00 | 1-056_validate_managed-by/5-check | running command: [sh -c if [ -z $CI ]; then label_value=$(oc get subscriptions openshift-gitops-operator -n openshift-operators -o json | jq '.spec.config.env[]|select(.name=="REMOVE_MANAGED_BY_LABEL_ON_ARGOCD_DELETION").value') if [ -z $label_value ]; then echo "REMOVE_MANAGED_BY_LABEL_ON_ARGOCD_DELETION not set" exit 1 else exit 0 fi else label_value=$(oc get subscription `subscription=gitops-operator- && oc get subscription --all-namespaces | grep $subscription | head -1 | awk '{print $2}'` -n openshift-operators -o json | jq '.spec.config.env[]|select(.name=="REMOVE_MANAGED_BY_LABEL_ON_ARGOCD_DELETION").value') if [ -z $label_value ]; then echo "REMOVE_MANAGED_BY_LABEL_ON_ARGOCD_DELETION not set" exit 1 else exit 0 fi fi ] logger.go:42: 13:00:03 | 1-056_validate_managed-by/5-check | test step completed 5-check logger.go:42: 13:00:03 | 1-056_validate_managed-by/6-install | starting test step 6-install I1002 13:00:04.725501 267 request.go:655] Throttling request took 1.026267279s, request: GET:https://api.ci-op-xqkb8t0b-d30ee.cspilp.interop.ccitredhat.com:6443/apis/monitoring.openshift.io/v1?timeout=32s logger.go:42: 13:00:06 | 1-056_validate_managed-by/6-install | Namespace:/test-1-56-target-2 created logger.go:42: 13:00:06 | 1-056_validate_managed-by/6-install | Namespace:/test-1-56-custom-2 created logger.go:42: 13:00:06 | 1-056_validate_managed-by/6-install | ArgoCD:test-1-56-target-2/example-argocd-2 created logger.go:42: 13:00:40 | 1-056_validate_managed-by/6-install | test step completed 6-install logger.go:42: 13:00:40 | 1-056_validate_managed-by/7-delete | starting test step 7-delete I1002 13:00:41.628261 267 request.go:655] Throttling request took 1.022081046s, request: GET:https://api.ci-op-xqkb8t0b-d30ee.cspilp.interop.ccitredhat.com:6443/apis/cloudcredential.openshift.io/v1?timeout=32s logger.go:42: 13:00:43 | 1-056_validate_managed-by/7-delete | test step completed 7-delete logger.go:42: 13:00:43 | 1-056_validate_managed-by/8-remove_env | starting test step 8-remove_env logger.go:42: 13:00:43 | 1-056_validate_managed-by/8-remove_env | running command: [sh -c if [ -z $CI ]; then oc patch -n openshift-operators subscription openshift-gitops-operator \ --type json --patch '[{"op": "remove", "path": "/spec/config"}]' else oc patch -n openshift-operators subscription `subscription=gitops-operator- && oc get subscription --all-namespaces | grep $subscription | head -1 | awk '{print $2}'` \ --type json --patch '[{"op": "remove", "path": "/spec/config"}]' fi ] logger.go:42: 13:00:43 | 1-056_validate_managed-by/8-remove_env | subscription.operators.coreos.com/openshift-gitops-operator patched logger.go:42: 13:00:45 | 1-056_validate_managed-by/8-remove_env | test step completed 8-remove_env logger.go:42: 13:00:45 | 1-056_validate_managed-by/99-delete | starting test step 99-delete I1002 13:00:53.697926 267 request.go:655] Throttling request took 1.025512098s, request: GET:https://api.ci-op-xqkb8t0b-d30ee.cspilp.interop.ccitredhat.com:6443/apis/operator.openshift.io/v1?timeout=32s logger.go:42: 13:00:55 | 1-056_validate_managed-by/99-delete | test step completed 99-delete logger.go:42: 13:00:55 | 1-056_validate_managed-by | skipping kubernetes event logging logger.go:42: 13:00:55 | 1-056_validate_managed-by | Deleting namespace: kuttl-test-national-fowl === CONT kuttl/harness/1-028_validate_run_on_infra logger.go:42: 13:00:55 | 1-028_validate_run_on_infra | Ignoring errors.yaml as it does not match file name regexp: ^(\d+)-(?:[^\.]+)(?:\.yaml)?$ logger.go:42: 13:00:55 | 1-028_validate_run_on_infra | Creating namespace: kuttl-test-accurate-ghoul logger.go:42: 13:00:55 | 1-028_validate_run_on_infra/1-install | starting test step 1-install logger.go:42: 13:00:55 | 1-028_validate_run_on_infra/1-install | running command: [sh -c oc patch gitopsservice cluster --type=merge --patch='{"spec": {"runOnInfra": true, "tolerations": [{"effect": "NoSchedule", "key": "infra", "value": "reserved"}]}}' ] logger.go:42: 13:00:55 | 1-028_validate_run_on_infra/1-install | gitopsservice.pipelines.openshift.io/cluster patched logger.go:42: 13:01:12 | 1-028_validate_run_on_infra/1-install | test step completed 1-install logger.go:42: 13:01:12 | 1-028_validate_run_on_infra/2-custom-argocd | starting test step 2-custom-argocd I1002 13:01:13.415125 267 request.go:655] Throttling request took 1.025770585s, request: GET:https://api.ci-op-xqkb8t0b-d30ee.cspilp.interop.ccitredhat.com:6443/apis/machine.openshift.io/v1beta1?timeout=32s logger.go:42: 13:01:14 | 1-028_validate_run_on_infra/2-custom-argocd | ArgoCD:kuttl-test-accurate-ghoul/argocd created logger.go:42: 13:01:47 | 1-028_validate_run_on_infra/2-custom-argocd | test step completed 2-custom-argocd logger.go:42: 13:01:47 | 1-028_validate_run_on_infra/3-change-back | starting test step 3-change-back logger.go:42: 13:01:47 | 1-028_validate_run_on_infra/3-change-back | running command: [sh -c oc patch gitopsservice cluster --type=json --patch='[{"op": "remove", "path": "/spec/tolerations"}, {"op": "remove", "path": "/spec/runOnInfra"}]' oc patch statefulset openshift-gitops-application-controller -n openshift-gitops -p '{"spec":{"replicas":0}}' ] logger.go:42: 13:01:47 | 1-028_validate_run_on_infra/3-change-back | gitopsservice.pipelines.openshift.io/cluster patched logger.go:42: 13:01:47 | 1-028_validate_run_on_infra/3-change-back | statefulset.apps/openshift-gitops-application-controller patched I1002 13:01:49.045639 267 request.go:655] Throttling request took 1.026614652s, request: GET:https://api.ci-op-xqkb8t0b-d30ee.cspilp.interop.ccitredhat.com:6443/apis/machineconfiguration.openshift.io/v1?timeout=32s logger.go:42: 13:01:50 | 1-028_validate_run_on_infra/3-change-back | test step completed 3-change-back logger.go:42: 13:01:50 | 1-028_validate_run_on_infra/4-check | starting test step 4-check logger.go:42: 13:01:53 | 1-028_validate_run_on_infra/4-check | test step completed 4-check logger.go:42: 13:01:53 | 1-028_validate_run_on_infra | skipping kubernetes event logging logger.go:42: 13:01:53 | 1-028_validate_run_on_infra | Deleting namespace: kuttl-test-accurate-ghoul === CONT kuttl/harness/1-041_validate_argocd_sync_alert logger.go:42: 13:01:53 | 1-041_validate_argocd_sync_alert | Creating namespace: kuttl-test-noted-pheasant logger.go:42: 13:01:53 | 1-041_validate_argocd_sync_alert/1- | starting test step 1- logger.go:42: 13:01:58 | 1-041_validate_argocd_sync_alert/1- | test step completed 1- logger.go:42: 13:01:58 | 1-041_validate_argocd_sync_alert | skipping kubernetes event logging logger.go:42: 13:01:58 | 1-041_validate_argocd_sync_alert | Deleting namespace: kuttl-test-noted-pheasant === CONT kuttl/harness/1-040_validate_quoted_RBAC_group_names logger.go:42: 13:01:58 | 1-040_validate_quoted_RBAC_group_names | Creating namespace: kuttl-test-enjoyed-redfish logger.go:42: 13:01:58 | 1-040_validate_quoted_RBAC_group_names/1-login_argocd_api_server | starting test step 1-login_argocd_api_server logger.go:42: 13:01:58 | 1-040_validate_quoted_RBAC_group_names/1-login_argocd_api_server | running command: [sh -c api_server=$(oc get routes -n openshift-gitops --field-selector metadata.name=openshift-gitops-server -o jsonpath="{.items[*]['spec.host']}") password=$(oc get secret openshift-gitops-cluster -n openshift-gitops -o jsonpath='{.data.admin\.password}' | base64 -d) output=$(argocd login $api_server --username admin --password $password --insecure) if ! [[ "${output}" =~ "'admin:login' logged in successfully" ]]; then exit 1 fi exit 0 ] I1002 13:02:01.315494 267 request.go:655] Throttling request took 1.025771647s, request: GET:https://api.ci-op-xqkb8t0b-d30ee.cspilp.interop.ccitredhat.com:6443/apis/monitoring.coreos.com/v1alpha1?timeout=32s logger.go:42: 13:02:02 | 1-040_validate_quoted_RBAC_group_names/1-login_argocd_api_server | test step completed 1-login_argocd_api_server logger.go:42: 13:02:02 | 1-040_validate_quoted_RBAC_group_names/2-create_role | starting test step 2-create_role logger.go:42: 13:02:02 | 1-040_validate_quoted_RBAC_group_names/2-create_role | running command: [sh -c output=$(argocd proj role create default somerole) if ! [[ "$output" =~ "Role 'somerole' created" ]]; then echo "Error creating role" exit 1 fi exit 0 ] logger.go:42: 13:02:05 | 1-040_validate_quoted_RBAC_group_names/2-create_role | test step completed 2-create_role logger.go:42: 13:02:05 | 1-040_validate_quoted_RBAC_group_names/3-specify_group_names | starting test step 3-specify_group_names logger.go:42: 13:02:05 | 1-040_validate_quoted_RBAC_group_names/3-specify_group_names | running command: [sh -c output=$(argocd proj role add-group default somerole '"CN=foo,OU=bar,O=baz"') cleanup() { argocd proj role delete default somerole } trap cleanup INT TERM EXIT if ! [[ "${output}" =~ "added to role 'somerole'" ]]; then echo "Contains comma characters!" exit 1 fi ] logger.go:42: 13:02:05 | 1-040_validate_quoted_RBAC_group_names/3-specify_group_names | Role 'somerole' deleted logger.go:42: 13:02:08 | 1-040_validate_quoted_RBAC_group_names/3-specify_group_names | test step completed 3-specify_group_names logger.go:42: 13:02:08 | 1-040_validate_quoted_RBAC_group_names | skipping kubernetes event logging logger.go:42: 13:02:08 | 1-040_validate_quoted_RBAC_group_names | Deleting namespace: kuttl-test-enjoyed-redfish === CONT kuttl/harness/1-034_validate_custom_roles logger.go:42: 13:02:08 | 1-034_validate_custom_roles | Creating namespace: kuttl-test-actual-elf logger.go:42: 13:02:08 | 1-034_validate_custom_roles/1-install | starting test step 1-install logger.go:42: 13:02:10 | 1-034_validate_custom_roles/1-install | Namespace:/test-1-034-custom created logger.go:42: 13:02:11 | 1-034_validate_custom_roles/1-install | ArgoCD:test-1-034-custom/argocd created logger.go:42: 13:02:11 | 1-034_validate_custom_roles/1-install | Namespace:/custom-role-namespace created logger.go:42: 13:02:11 | 1-034_validate_custom_roles/1-install | ClusterRole:/custom-argocd-role created logger.go:42: 13:02:42 | 1-034_validate_custom_roles/1-install | test step completed 1-install logger.go:42: 13:02:42 | 1-034_validate_custom_roles/2-patch-subscription | starting test step 2-patch-subscription logger.go:42: 13:02:42 | 1-034_validate_custom_roles/2-patch-subscription | running command: [sh -c if ! [ -z $CI ]; then oc patch -n openshift-operators subscription `subscription=gitops-operator- && oc get subscription --all-namespaces | grep $subscription | head -1 | awk '{print $2}'`\ --type merge --patch '{"spec": {"config": {"env": [{"name": "CONTROLLER_CLUSTER_ROLE", "value": "custom-argocd-role"},{"name": "SERVER_CLUSTER_ROLE", "value": "custom-argocd-role"}]}}}' else oc patch -n openshift-operators subscription openshift-gitops-operator \ --type merge --patch '{"spec": {"config": {"env": [{"name": "CONTROLLER_CLUSTER_ROLE", "value": "custom-argocd-role"},{"name": "SERVER_CLUSTER_ROLE", "value": "custom-argocd-role"}]}}}' fi ] logger.go:42: 13:02:42 | 1-034_validate_custom_roles/2-patch-subscription | subscription.operators.coreos.com/openshift-gitops-operator patched logger.go:42: 13:02:42 | 1-034_validate_custom_roles/2-patch-subscription | running command: [sh -c sleep 10] I1002 13:02:53.852865 267 request.go:655] Throttling request took 1.016610672s, request: GET:https://api.ci-op-xqkb8t0b-d30ee.cspilp.interop.ccitredhat.com:6443/apis/operator.openshift.io/v1?timeout=32s logger.go:42: 13:02:55 | 1-034_validate_custom_roles/2-patch-subscription | test step completed 2-patch-subscription logger.go:42: 13:02:55 | 1-034_validate_custom_roles/3- | starting test step 3- logger.go:42: 13:03:11 | 1-034_validate_custom_roles/3- | test step completed 3- logger.go:42: 13:03:11 | 1-034_validate_custom_roles/4- | starting test step 4- I1002 13:03:12.784921 267 request.go:655] Throttling request took 1.016144517s, request: GET:https://api.ci-op-xqkb8t0b-d30ee.cspilp.interop.ccitredhat.com:6443/apis/performance.openshift.io/v1alpha1?timeout=32s logger.go:42: 13:03:14 | 1-034_validate_custom_roles/4- | test step completed 4- logger.go:42: 13:03:14 | 1-034_validate_custom_roles/5-delete | starting test step 5-delete I1002 13:03:22.824391 267 request.go:655] Throttling request took 2.276404781s, request: GET:https://api.ci-op-xqkb8t0b-d30ee.cspilp.interop.ccitredhat.com:6443/apis/apiregistration.k8s.io/v1?timeout=32s logger.go:42: 13:03:23 | 1-034_validate_custom_roles/5-delete | test step completed 5-delete logger.go:42: 13:03:23 | 1-034_validate_custom_roles/6-revert-patch | starting test step 6-revert-patch logger.go:42: 13:03:23 | 1-034_validate_custom_roles/6-revert-patch | running command: [sh -c if ! [ -z $CI ]; then oc patch -n openshift-operators subscription `subscription=gitops-operator- && oc get subscription --all-namespaces | grep $subscription | head -1 | awk '{print $2}'` --type json --patch='[ { "op": "remove", "path": "/spec/config" } ]' else oc patch subscription/openshift-gitops-operator -n openshift-operators --type json --patch='[ { "op": "remove", "path": "/spec/config" } ]' fi ] logger.go:42: 13:03:23 | 1-034_validate_custom_roles/6-revert-patch | subscription.operators.coreos.com/openshift-gitops-operator patched logger.go:42: 13:03:23 | 1-034_validate_custom_roles/6-revert-patch | running command: [sh -c sleep 10] I1002 13:03:34.225902 267 request.go:655] Throttling request took 1.016693911s, request: GET:https://api.ci-op-xqkb8t0b-d30ee.cspilp.interop.ccitredhat.com:6443/apis/apps/v1?timeout=32s logger.go:42: 13:03:35 | 1-034_validate_custom_roles/6-revert-patch | test step completed 6-revert-patch logger.go:42: 13:03:35 | 1-034_validate_custom_roles | skipping kubernetes event logging logger.go:42: 13:03:35 | 1-034_validate_custom_roles | Deleting namespace: kuttl-test-actual-elf === CONT kuttl/harness/1-020_validate_redis_ha_nonha logger.go:42: 13:03:35 | 1-020_validate_redis_ha_nonha | Creating namespace: kuttl-test-polished-civet logger.go:42: 13:03:35 | 1-020_validate_redis_ha_nonha/1- | starting test step 1- logger.go:42: 13:03:38 | 1-020_validate_redis_ha_nonha/1- | test step completed 1- logger.go:42: 13:03:38 | 1-020_validate_redis_ha_nonha/2-enable-ha | starting test step 2-enable-ha logger.go:42: 13:03:40 | 1-020_validate_redis_ha_nonha/2-enable-ha | ArgoCD:openshift-gitops/openshift-gitops updated logger.go:42: 13:06:40 | 1-020_validate_redis_ha_nonha/2-enable-ha | test step completed 2-enable-ha logger.go:42: 13:06:40 | 1-020_validate_redis_ha_nonha/3-update-ha-resources | starting test step 3-update-ha-resources I1002 13:06:41.890844 267 request.go:655] Throttling request took 1.026885326s, request: GET:https://api.ci-op-xqkb8t0b-d30ee.cspilp.interop.ccitredhat.com:6443/apis/network.operator.openshift.io/v1?timeout=32s logger.go:42: 13:06:43 | 1-020_validate_redis_ha_nonha/3-update-ha-resources | ArgoCD:openshift-gitops/openshift-gitops updated logger.go:42: 13:09:18 | 1-020_validate_redis_ha_nonha/3-update-ha-resources | test step completed 3-update-ha-resources logger.go:42: 13:09:18 | 1-020_validate_redis_ha_nonha/4-disable-ha | starting test step 4-disable-ha I1002 13:09:19.855117 267 request.go:655] Throttling request took 1.025751477s, request: GET:https://api.ci-op-xqkb8t0b-d30ee.cspilp.interop.ccitredhat.com:6443/apis/operators.coreos.com/v1alpha1?timeout=32s logger.go:42: 13:09:21 | 1-020_validate_redis_ha_nonha/4-disable-ha | ArgoCD:openshift-gitops/openshift-gitops updated logger.go:42: 13:09:34 | 1-020_validate_redis_ha_nonha/4-disable-ha | test step completed 4-disable-ha logger.go:42: 13:09:34 | 1-020_validate_redis_ha_nonha | skipping kubernetes event logging logger.go:42: 13:09:34 | 1-020_validate_redis_ha_nonha | Deleting namespace: kuttl-test-polished-civet === CONT kuttl/harness/1-026-validate_backend_service_permissions logger.go:42: 13:09:34 | 1-026-validate_backend_service_permissions | Creating namespace: kuttl-test-flexible-lab logger.go:42: 13:09:34 | 1-026-validate_backend_service_permissions/1-check-backend-service | starting test step 1-check-backend-service I1002 13:09:35.315817 267 request.go:655] Throttling request took 1.021136692s, request: GET:https://api.ci-op-xqkb8t0b-d30ee.cspilp.interop.ccitredhat.com:6443/apis/operator.openshift.io/v1alpha1?timeout=32s logger.go:42: 13:09:36 | 1-026-validate_backend_service_permissions/1-check-backend-service | test step completed 1-check-backend-service logger.go:42: 13:09:36 | 1-026-validate_backend_service_permissions | skipping kubernetes event logging logger.go:42: 13:09:36 | 1-026-validate_backend_service_permissions | Deleting namespace: kuttl-test-flexible-lab === CONT kuttl/harness/1-002_validate_backend_service logger.go:42: 13:09:36 | 1-002_validate_backend_service | Creating namespace: kuttl-test-busy-cod logger.go:42: 13:09:36 | 1-002_validate_backend_service/1-check-backend-service | starting test step 1-check-backend-service logger.go:42: 13:09:39 | 1-002_validate_backend_service/1-check-backend-service | test step completed 1-check-backend-service logger.go:42: 13:09:39 | 1-002_validate_backend_service | skipping kubernetes event logging logger.go:42: 13:09:39 | 1-002_validate_backend_service | Deleting namespace: kuttl-test-busy-cod === CONT kuttl harness.go:402: run tests finished harness.go:511: cleaning up harness.go:568: removing temp folder: "" --- FAIL: kuttl (2202.82s) --- FAIL: kuttl/harness (0.00s) --- PASS: kuttl/harness/1-001_validate_kam_service (8.20s) --- FAIL: kuttl/harness/1-050_validate_sso_config (723.20s) --- PASS: kuttl/harness/1-085_validate_dynamic_plugin_installation (44.47s) --- PASS: kuttl/harness/1-084_validate_prune_templates (10.09s) --- PASS: kuttl/harness/1-078_validate_default_argocd_consoleLink (75.40s) --- FAIL: kuttl/harness/1-076_validate_single_deprecation_notice (723.39s) --- PASS: kuttl/harness/1-071_validate_node_selectors (11.08s) --- PASS: kuttl/harness/1-056_validate_managed-by (77.65s) --- PASS: kuttl/harness/1-028_validate_run_on_infra (57.96s) --- PASS: kuttl/harness/1-041_validate_argocd_sync_alert (5.70s) --- PASS: kuttl/harness/1-040_validate_quoted_RBAC_group_names (9.56s) --- PASS: kuttl/harness/1-034_validate_custom_roles (87.31s) --- PASS: kuttl/harness/1-020_validate_redis_ha_nonha (358.53s) --- PASS: kuttl/harness/1-026-validate_backend_service_permissions (2.64s) --- PASS: kuttl/harness/1-002_validate_backend_service (2.60s) FAIL + exit_code=1 + cp ./kuttl-test.xml /logs/artifacts/junit_gitops-sequential.xml + exit 1