+ unset CI + exit_code=0 + scripts/openshift-CI-kuttl-tests.sh + export CI=prow + CI=prow + go mod vendor 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/argoproj-labs/argocd-operator v0.0.16-0.20230707151228-cbc97a02a8ce go: downloading github.com/argoproj-labs/argo-rollouts-manager v0.0.2-0.20230515023837-0632f3e856d5 go: downloading github.com/operator-framework/api v0.17.5 go: downloading k8s.io/apimachinery v0.23.7-rc.0 go: downloading k8s.io/client-go v0.23.6 go: downloading k8s.io/api v0.23.6 go: downloading sigs.k8s.io/controller-runtime v0.11.0 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/onsi/ginkgo v1.16.4 go: downloading github.com/onsi/gomega v1.14.0 go: downloading github.com/google/go-cmp v0.5.9 go: downloading sigs.k8s.io/yaml v1.3.0 go: downloading gotest.tools v2.2.0+incompatible 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 k8s.io/klog/v2 v2.100.1 go: downloading sigs.k8s.io/structured-merge-diff/v4 v4.2.3 go: downloading github.com/google/gofuzz v1.2.0 go: downloading gopkg.in/inf.v0 v0.9.1 go: downloading golang.org/x/net v0.11.0 go: downloading github.com/evanphx/json-patch v5.6.0+incompatible go: downloading k8s.io/apiextensions-apiserver v0.23.6 go: downloading github.com/go-logr/zapr v1.2.4 go: downloading go.uber.org/zap v1.24.0 go: downloading github.com/operator-framework/operator-sdk v0.18.2 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/pkg/errors v0.9.1 go: downloading github.com/sethvargo/go-password v0.2.0 go: downloading gopkg.in/yaml.v2 v2.4.0 go: downloading github.com/prometheus/client_golang v1.16.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 github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da 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 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 golang.org/x/term v0.9.0 go: downloading golang.org/x/time v0.3.0 go: downloading k8s.io/kube-openapi v0.0.0-20210323165736-1a6458611d18 go: downloading github.com/nxadm/tail v1.4.8 go: downloading go.uber.org/atomic v1.11.0 go: downloading go.uber.org/multierr v1.11.0 go: downloading github.com/golang/protobuf v1.5.3 go: downloading github.com/googleapis/gnostic v0.5.5 go: downloading gomodules.xyz/jsonpatch/v2 v2.3.0 go: downloading k8s.io/component-base v0.23.6 go: downloading github.com/spf13/pflag v1.0.5 go: downloading github.com/imdario/mergo v0.3.16 go: downloading github.com/prometheus/client_model v0.4.0 go: downloading github.com/prometheus/common v0.44.0 go: downloading github.com/go-openapi/spec v0.20.9 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/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 gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 go: downloading google.golang.org/protobuf v1.31.0 go: downloading golang.org/x/text v0.10.0 go: downloading github.com/google/uuid v1.3.0 go: downloading github.com/fsnotify/fsnotify v1.6.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 github.com/matttproud/golang_protobuf_extensions v1.0.4 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/emicklei/go-restful v2.16.0+incompatible 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-2713614729 ++ mktemp -d + TMP_DIR=/tmp/tmp.Gp9Jx5joy8 + cp /tmp/kubeconfig-2713614729 /tmp/tmp.Gp9Jx5joy8/kubeconfig + chmod 640 /tmp/tmp.Gp9Jx5joy8/kubeconfig + export KUBECONFIG=/tmp/tmp.Gp9Jx5joy8/kubeconfig + KUBECONFIG=/tmp/tmp.Gp9Jx5joy8/kubeconfig + cp /tmp/tmp.Gp9Jx5joy8/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 gitops-operator-controller-manager-6fb84cdb5b-xqdfj -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": "argoproj.io/v1alpha1", "kind": "RolloutManager", "metadata": { "name": "argo-rollout" }, "spec": null }, { "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:1a18c6f2029544c9174c94ae216b6334f74d0d71a24edfbf1afc9bb8a3e51e26 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.18/23"],"mac_address":"0a:58:0a:81:02:12","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.18/23","gateway_ip":"10.129.2.1"}}' k8s.v1.cni.cncf.io/network-status: |- [{ "name": "ovn-kubernetes", "interface": "eth0", "ips": [ "10.129.2.18" ], "mac": "0a:58:0a:81:02:12", "default": true, "dns": {} }] olm.operatorGroup: global-operators olm.operatorNamespace: openshift-operators olm.skipRange: "" olm.targetNamespaces: "" openshift.io/scc: restricted-v2 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":"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.9.1"}}]}' 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-08-28T06:41:15Z" generateName: gitops-operator-controller-manager-6fb84cdb5b- labels: control-plane: controller-manager pod-template-hash: 6fb84cdb5b name: gitops-operator-controller-manager-6fb84cdb5b-xqdfj namespace: openshift-operators ownerReferences: - apiVersion: apps/v1 blockOwnerDeletion: true controller: true kind: ReplicaSet name: gitops-operator-controller-manager-6fb84cdb5b uid: 85e7ea97-109d-4273-b1e0-d061310c3cf3 resourceVersion: "33440" uid: 18db5a85-23ab-4402-8d36-2ccbbfcf2847 spec: containers: - 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:7d8ba2051b56928c627d26c6decaf149caf5e4f7fd4394d798482d32a21e1ded - name: ARGOCD_DEX_IMAGE value: registry.redhat.io/openshift-gitops-1/dex-rhel8@sha256:7d8ba2051b56928c627d26c6decaf149caf5e4f7fd4394d798482d32a21e1ded - name: RELATED_IMAGE_ARGOCD_KEYCLOAK_IMAGE value: registry.redhat.io/rh-sso-7/sso75-openshift-rhel8@sha256:d5829e880db4b82a50a4962d61ea148522a93644174931b256d7ad866eadcf40 - name: ARGOCD_KEYCLOAK_IMAGE value: registry.redhat.io/rh-sso-7/sso75-openshift-rhel8@sha256:d5829e880db4b82a50a4962d61ea148522a93644174931b256d7ad866eadcf40 - name: RELATED_IMAGE_BACKEND_IMAGE value: registry.redhat.io/openshift-gitops-1/gitops-rhel8@sha256:263e65faff81c20c14aa0c5063aa3cb8bc3359e1b722ed49db11d1d849de835f - name: BACKEND_IMAGE value: registry.redhat.io/openshift-gitops-1/gitops-rhel8@sha256:263e65faff81c20c14aa0c5063aa3cb8bc3359e1b722ed49db11d1d849de835f - name: RELATED_IMAGE_ARGOCD_IMAGE value: registry.redhat.io/openshift-gitops-1/argocd-rhel8@sha256:cf44b39d1aae7ea2bbb3f7b10b3df98d29e8a1efbde3b002beaa2a00e638316c - name: ARGOCD_IMAGE value: registry.redhat.io/openshift-gitops-1/argocd-rhel8@sha256:cf44b39d1aae7ea2bbb3f7b10b3df98d29e8a1efbde3b002beaa2a00e638316c - name: ARGOCD_REPOSERVER_IMAGE value: registry.redhat.io/openshift-gitops-1/argocd-rhel8@sha256:cf44b39d1aae7ea2bbb3f7b10b3df98d29e8a1efbde3b002beaa2a00e638316c - 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:4cc865d272402035ae33ca6ac8b626283964625152fe86baf9e355c20da474a7 - name: GITOPS_CONSOLE_PLUGIN_IMAGE value: registry.redhat.io/openshift-gitops-1/console-plugin-rhel8@sha256:4cc865d272402035ae33ca6ac8b626283964625152fe86baf9e355c20da474a7 - name: RELATED_IMAGE_KAM_IMAGE value: registry.redhat.io/openshift-gitops-1/kam-delivery-rhel8@sha256:030eef7243068db82b7ab2d1c509d9081d6ed14f15da5a242224b8ae4dfb861b - name: KAM_IMAGE value: registry.redhat.io/openshift-gitops-1/kam-delivery-rhel8@sha256:030eef7243068db82b7ab2d1c509d9081d6ed14f15da5a242224b8ae4dfb861b - name: RELATED_IMAGE_ARGO_ROLLOUTS_IMAGE value: registry.redhat.io/openshift-gitops-1/argo-rollouts-rhel8@sha256:09189eedd4a0dae5158f45e010a88dc5000a3eb6679d52fa4832471e5605f7b1 - name: ARGO_ROLLOUTS_IMAGE value: registry.redhat.io/openshift-gitops-1/argo-rollouts-rhel8@sha256:09189eedd4a0dae5158f45e010a88dc5000a3eb6679d52fa4832471e5605f7b1 - name: RELATED_IMAGE_MUST_GATHER_IMAGE value: registry.redhat.io/openshift-gitops-1/must-gather-rhel8@sha256:d0b08ab18fd49457091669e4378c58637fdf732fff866c6d699ae6a6285cc3ad - name: OPERATOR_CONDITION_NAME value: openshift-gitops-operator.v1.9.1 image: registry.redhat.io/openshift-gitops-1/gitops-rhel8-operator@sha256:1a18c6f2029544c9174c94ae216b6334f74d0d71a24edfbf1afc9bb8a3e51e26 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 3 httpGet: path: /healthz port: 8081 scheme: HTTP initialDelaySeconds: 15 periodSeconds: 20 successThreshold: 1 timeoutSeconds: 1 name: manager 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: /var/run/secrets/kubernetes.io/serviceaccount name: kube-api-access-2gxwh readOnly: true dnsPolicy: ClusterFirst enableServiceLinks: true imagePullSecrets: - name: gitops-operator-controller-manager-dockercfg-w9h2j nodeName: ip-10-0-96-123.ec2.internal preemptionPolicy: PreemptLowerPriority priority: 0 restartPolicy: Always schedulerName: default-scheduler securityContext: fsGroup: 1000410000 runAsNonRoot: true seLinuxOptions: level: s0:c20,c15 seccompProfile: type: RuntimeDefault serviceAccount: gitops-operator-controller-manager serviceAccountName: 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 volumes: - name: kube-api-access-2gxwh 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-08-28T06:41:15Z" status: "True" type: Initialized - lastProbeTime: null lastTransitionTime: "2023-08-28T06:41:26Z" status: "True" type: Ready - lastProbeTime: null lastTransitionTime: "2023-08-28T06:41:26Z" status: "True" type: ContainersReady - lastProbeTime: null lastTransitionTime: "2023-08-28T06:41:15Z" status: "True" type: PodScheduled containerStatuses: - containerID: cri-o://bd8825beb80b8a8826d018bf6f0c7eb76a2bdf2cd2b507691a379b677591d03a image: registry.redhat.io/openshift-gitops-1/gitops-rhel8-operator@sha256:1a18c6f2029544c9174c94ae216b6334f74d0d71a24edfbf1afc9bb8a3e51e26 imageID: registry.redhat.io/openshift-gitops-1/gitops-rhel8-operator@sha256:1a18c6f2029544c9174c94ae216b6334f74d0d71a24edfbf1afc9bb8a3e51e26 lastState: {} name: manager ready: true restartCount: 0 started: true state: running: startedAt: "2023-08-28T06:41:20Z" hostIP: 10.0.96.123 phase: Running podIP: 10.129.2.18 podIPs: - ip: 10.129.2.18 qosClass: BestEffort startTime: "2023-08-28T06:41:15Z" + subscription=gitops-operator- ++ oc get subscription --all-namespaces ++ grep gitops-operator- ++ awk '{print $2}' ++ head -1 + 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-5fcbb57f87-qwmth condition met pod/kam-5647cfcf7b-zqbq7 condition met pod/openshift-gitops-application-controller-0 condition met pod/openshift-gitops-applicationset-controller-848d6cdf8f-45jj8 condition met pod/openshift-gitops-dex-server-79c58467b6-mj5q2 condition met pod/openshift-gitops-redis-6977b44c8-6s24p condition met pod/openshift-gitops-repo-server-7c8b98b5d9-skcfx condition met pod/openshift-gitops-server-7549749954-vkhs2 condition met + oc create ns test-argocd namespace/test-argocd created + cat + oc apply -f - 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 59s argocd-redis-5ff9886c77-6lpqk 1/1 Running 0 59s argocd-repo-server-5864dc6f8c-5w44h 1/1 Running 0 59s argocd-server-7b6d659dfd-vnf6c 1/1 Running 0 59s + 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-6lpqk condition met pod/argocd-repo-server-5864dc6f8c-5w44h condition met pod/argocd-server-7b6d659dfd-vnf6c 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/08/28 06:43:24 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. I0828 06:43:25.493715 214 request.go:655] Throttling request took 1.036233894s, request: GET:https://api.ci-op-zxdc9fw2-d30ee.cspilp.interop.ccitredhat.com:6443/apis/tuned.openshift.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: 06:43:29 | 1-001_validate_kam_service | Creating namespace: kuttl-test-sterling-monkfish logger.go:42: 06:43:29 | 1-001_validate_kam_service/1-check-kam-service | starting test step 1-check-kam-service logger.go:42: 06:43:31 | 1-001_validate_kam_service/1-check-kam-service | test step completed 1-check-kam-service logger.go:42: 06:43:31 | 1-001_validate_kam_service/2-check-route | starting test step 2-check-route logger.go:42: 06:43:31 | 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: 06:43:34 | 1-001_validate_kam_service/2-check-route | test step completed 2-check-route logger.go:42: 06:43:34 | 1-001_validate_kam_service/3-check-download | starting test step 3-check-download logger.go:42: 06:43:34 | 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" ] I0828 06:43:35.660518 214 request.go:655] Throttling request took 1.045784462s, request: GET:https://api.ci-op-zxdc9fw2-d30ee.cspilp.interop.ccitredhat.com:6443/apis/operator.openshift.io/v1alpha1?timeout=32s logger.go:42: 06:43:37 | 1-001_validate_kam_service/3-check-download | test step completed 3-check-download logger.go:42: 06:43:37 | 1-001_validate_kam_service | skipping kubernetes event logging logger.go:42: 06:43:37 | 1-001_validate_kam_service | Deleting namespace: kuttl-test-sterling-monkfish === CONT kuttl/harness/1-050_validate_sso_config logger.go:42: 06:43:37 | 1-050_validate_sso_config | Creating namespace: kuttl-test-pretty-pup logger.go:42: 06:43:37 | 1-050_validate_sso_config/1-install | starting test step 1-install logger.go:42: 06:43:39 | 1-050_validate_sso_config/1-install | ArgoCD:kuttl-test-pretty-pup/argocd created logger.go:42: 06:43:43 | 1-050_validate_sso_config/1-install | test step completed 1-install logger.go:42: 06:43:43 | 1-050_validate_sso_config/2-remove-spec-sso | starting test step 2-remove-spec-sso logger.go:42: 06:43:43 | 1-050_validate_sso_config/2-remove-spec-sso | running command: [sh -c oc patch -n $NAMESPACE argocd/argocd --type='json' -p='[{"op": "remove", "path": "/spec/sso"}]' ] logger.go:42: 06:43:43 | 1-050_validate_sso_config/2-remove-spec-sso | argocd.argoproj.io/argocd patched logger.go:42: 06:43:43 | 1-050_validate_sso_config/2-remove-spec-sso | running command: [sh -c sleep 10] I0828 06:43:54.841535 214 request.go:655] Throttling request took 1.04470568s, request: GET:https://api.ci-op-zxdc9fw2-d30ee.cspilp.interop.ccitredhat.com:6443/apis/storage.k8s.io/v1?timeout=32s logger.go:42: 06:43:56 | 1-050_validate_sso_config/2-remove-spec-sso | test step completed 2-remove-spec-sso logger.go:42: 06:43:56 | 1-050_validate_sso_config/3-add-spec-dex | starting test step 3-add-spec-dex logger.go:42: 06:43:58 | 1-050_validate_sso_config/3-add-spec-dex | ArgoCD:kuttl-test-pretty-pup/argocd updated logger.go:42: 06:44:02 | 1-050_validate_sso_config/3-add-spec-dex | test step completed 3-add-spec-dex logger.go:42: 06:44:02 | 1-050_validate_sso_config/4-disable-dex-through-sub | starting test step 4-disable-dex-through-sub logger.go:42: 06:44:02 | 1-050_validate_sso_config/4-disable-dex-through-sub | 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_DEX", "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_DEX", "value": "true"}]}}}' fi ] logger.go:42: 06:44:03 | 1-050_validate_sso_config/4-disable-dex-through-sub | subscription.operators.coreos.com/openshift-gitops-operator patched logger.go:42: 06:44:03 | 1-050_validate_sso_config/4-disable-dex-through-sub | running command: [sh -c sleep 30] I0828 06:44:34.061183 214 request.go:655] Throttling request took 1.044643117s, request: GET:https://api.ci-op-zxdc9fw2-d30ee.cspilp.interop.ccitredhat.com:6443/apis/events.k8s.io/v1?timeout=32s logger.go:42: 06:44:35 | 1-050_validate_sso_config/4-disable-dex-through-sub | test step completed 4-disable-dex-through-sub logger.go:42: 06:44:35 | 1-050_validate_sso_config/5-unset-disable-dex-env-var | starting test step 5-unset-disable-dex-env-var logger.go:42: 06:44:35 | 1-050_validate_sso_config/5-unset-disable-dex-env-var | 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_DEX", "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_DEX", "value": ""}]}}}' fi ] logger.go:42: 06:44:35 | 1-050_validate_sso_config/5-unset-disable-dex-env-var | subscription.operators.coreos.com/openshift-gitops-operator patched logger.go:42: 06:44:35 | 1-050_validate_sso_config/5-unset-disable-dex-env-var | running command: [sh -c sleep 30] I0828 06:45:06.650564 214 request.go:655] Throttling request took 1.03678096s, request: GET:https://api.ci-op-zxdc9fw2-d30ee.cspilp.interop.ccitredhat.com:6443/apis/template.openshift.io/v1?timeout=32s logger.go:42: 06:45:08 | 1-050_validate_sso_config/5-unset-disable-dex-env-var | test step completed 5-unset-disable-dex-env-var logger.go:42: 06:45:08 | 1-050_validate_sso_config/6-remove-spec-dex | starting test step 6-remove-spec-dex logger.go:42: 06:45:08 | 1-050_validate_sso_config/6-remove-spec-dex | running command: [sh -c oc patch -n $NAMESPACE argocd/argocd --type='json' -p='[{"op": "remove", "path": "/spec/dex"}]' ] logger.go:42: 06:45:08 | 1-050_validate_sso_config/6-remove-spec-dex | argocd.argoproj.io/argocd patched logger.go:42: 06:45:08 | 1-050_validate_sso_config/6-remove-spec-dex | running command: [sh -c sleep 10] I0828 06:45:19.381359 214 request.go:655] Throttling request took 1.044701783s, request: GET:https://api.ci-op-zxdc9fw2-d30ee.cspilp.interop.ccitredhat.com:6443/apis/user.openshift.io/v1?timeout=32s logger.go:42: 06:45:20 | 1-050_validate_sso_config/6-remove-spec-dex | test step completed 6-remove-spec-dex logger.go:42: 06:45:20 | 1-050_validate_sso_config/7-provider-keycloak-dex-spec | starting test step 7-provider-keycloak-dex-spec logger.go:42: 06:45:23 | 1-050_validate_sso_config/7-provider-keycloak-dex-spec | ArgoCD:kuttl-test-pretty-pup/argocd updated Warning: apps.openshift.io/v1 DeploymentConfig is deprecated in v4.14+, unavailable in v4.10000+ logger.go:42: 06:45:24 | 1-050_validate_sso_config/7-provider-keycloak-dex-spec | test step completed 7-provider-keycloak-dex-spec logger.go:42: 06:45:24 | 1-050_validate_sso_config/8-remove-spec-dex | starting test step 8-remove-spec-dex logger.go:42: 06:45:24 | 1-050_validate_sso_config/8-remove-spec-dex | running command: [sh -c oc patch -n $NAMESPACE argocd/argocd --type='json' -p='[{"op": "remove", "path": "/spec/dex"}]' ] logger.go:42: 06:45:24 | 1-050_validate_sso_config/8-remove-spec-dex | argocd.argoproj.io/argocd patched logger.go:42: 06:45:26 | 1-050_validate_sso_config/8-remove-spec-dex | test step completed 8-remove-spec-dex logger.go:42: 06:45:26 | 1-050_validate_sso_config | skipping kubernetes event logging logger.go:42: 06:45:26 | 1-050_validate_sso_config | Deleting namespace: kuttl-test-pretty-pup === CONT kuttl/harness/1-085_validate_dynamic_plugin_installation logger.go:42: 06:45:26 | 1-085_validate_dynamic_plugin_installation | Creating namespace: kuttl-test-content-longhorn logger.go:42: 06:45:26 | 1-085_validate_dynamic_plugin_installation/1- | starting test step 1- logger.go:42: 06:45:29 | 1-085_validate_dynamic_plugin_installation/1- | test step completed 1- logger.go:42: 06:45:29 | 1-085_validate_dynamic_plugin_installation/2-install-dynamic-plugin | starting test step 2-install-dynamic-plugin logger.go:42: 06:45:29 | 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: 06:45:29 | 1-085_validate_dynamic_plugin_installation/2-install-dynamic-plugin | clusterserviceversion.operators.coreos.com/openshift-gitops-operator.v1.9.1 patched I0828 06:45:35.891788 214 request.go:655] Throttling request took 1.039610868s, request: GET:https://api.ci-op-zxdc9fw2-d30ee.cspilp.interop.ccitredhat.com:6443/apis/metal3.io/v1alpha1?timeout=32s logger.go:42: 06:45:49 | 1-085_validate_dynamic_plugin_installation/2-install-dynamic-plugin | test step completed 2-install-dynamic-plugin logger.go:42: 06:45:49 | 1-085_validate_dynamic_plugin_installation | skipping kubernetes event logging logger.go:42: 06:45:49 | 1-085_validate_dynamic_plugin_installation | Deleting namespace: kuttl-test-content-longhorn === CONT kuttl/harness/1-084_validate_prune_templates 2023/08/28 06:45:49 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/08/28 06:45:49 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/08/28 06:45:49 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/08/28 06:45:49 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/08/28 06:45:49 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: 06:45:49 | 1-084_validate_prune_templates | Creating namespace: kuttl-test-ready-hermit logger.go:42: 06:45:49 | 1-084_validate_prune_templates/1-create-ns-managed-by | starting test step 1-create-ns-managed-by I0828 06:45:50.645351 214 request.go:655] Throttling request took 1.045229656s, request: GET:https://api.ci-op-zxdc9fw2-d30ee.cspilp.interop.ccitredhat.com:6443/apis/performance.openshift.io/v1alpha1?timeout=32s logger.go:42: 06:45:52 | 1-084_validate_prune_templates/1-create-ns-managed-by | test step completed 1-create-ns-managed-by logger.go:42: 06:45:52 | 1-084_validate_prune_templates/2-prune-duplicateGVK-resource | starting test step 2-prune-duplicateGVK-resource logger.go:42: 06:45:54 | 1-084_validate_prune_templates/2-prune-duplicateGVK-resource | test step completed 2-prune-duplicateGVK-resource logger.go:42: 06:45:54 | 1-084_validate_prune_templates/3- | starting test step 3- logger.go:42: 06:45:56 | 1-084_validate_prune_templates/3- | test step completed 3- logger.go:42: 06:45:56 | 1-084_validate_prune_templates/4-delete | starting test step 4-delete logger.go:42: 06:45:59 | 1-084_validate_prune_templates/4-delete | test step completed 4-delete logger.go:42: 06:45:59 | 1-084_validate_prune_templates | skipping kubernetes event logging logger.go:42: 06:45:59 | 1-084_validate_prune_templates | Deleting namespace: kuttl-test-ready-hermit === CONT kuttl/harness/1-078_validate_default_argocd_consoleLink logger.go:42: 06:45:59 | 1-078_validate_default_argocd_consoleLink | Creating namespace: kuttl-test-dominant-pangolin logger.go:42: 06:45:59 | 1-078_validate_default_argocd_consoleLink/1- | starting test step 1- I0828 06:46:00.675987 214 request.go:655] Throttling request took 1.24613504s, request: GET:https://api.ci-op-zxdc9fw2-d30ee.cspilp.interop.ccitredhat.com:6443/apis/security.internal.openshift.io/v1?timeout=32s logger.go:42: 06:46:01 | 1-078_validate_default_argocd_consoleLink/1- | test step completed 1- logger.go:42: 06:46:01 | 1-078_validate_default_argocd_consoleLink/2-add_env | starting test step 2-add_env logger.go:42: 06:46:01 | 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: 06:46:02 | 1-078_validate_default_argocd_consoleLink/2-add_env | subscription.operators.coreos.com/openshift-gitops-operator patched logger.go:42: 06:46:09 | 1-078_validate_default_argocd_consoleLink/2-add_env | test step completed 2-add_env logger.go:42: 06:46:09 | 1-078_validate_default_argocd_consoleLink/3-check-env | starting test step 3-check-env logger.go:42: 06:46:09 | 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 ] I0828 06:46:10.728166 214 request.go:655] Throttling request took 1.043314314s, request: GET:https://api.ci-op-zxdc9fw2-d30ee.cspilp.interop.ccitredhat.com:6443/apis/performance.openshift.io/v1?timeout=32s logger.go:42: 06:46:12 | 1-078_validate_default_argocd_consoleLink/3-check-env | test step completed 3-check-env logger.go:42: 06:46:12 | 1-078_validate_default_argocd_consoleLink/4-disable-env | starting test step 4-disable-env logger.go:42: 06:46:12 | 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: 06:46:12 | 1-078_validate_default_argocd_consoleLink/4-disable-env | subscription.operators.coreos.com/openshift-gitops-operator patched logger.go:42: 06:46:16 | 1-078_validate_default_argocd_consoleLink/4-disable-env | test step completed 4-disable-env logger.go:42: 06:46:16 | 1-078_validate_default_argocd_consoleLink/5-check-env | starting test step 5-check-env logger.go:42: 06:46:16 | 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 ] logger.go:42: 06:46:19 | 1-078_validate_default_argocd_consoleLink/5-check-env | test step completed 5-check-env logger.go:42: 06:46:19 | 1-078_validate_default_argocd_consoleLink/6-empty-valued-env | starting test step 6-empty-valued-env logger.go:42: 06:46:19 | 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: 06:46:19 | 1-078_validate_default_argocd_consoleLink/6-empty-valued-env | subscription.operators.coreos.com/openshift-gitops-operator patched I0828 06:46:20.754093 214 request.go:655] Throttling request took 1.345435744s, request: GET:https://api.ci-op-zxdc9fw2-d30ee.cspilp.interop.ccitredhat.com:6443/apis/project.openshift.io/v1?timeout=32s logger.go:42: 06:46:21 | 1-078_validate_default_argocd_consoleLink/6-empty-valued-env | test step completed 6-empty-valued-env logger.go:42: 06:46:21 | 1-078_validate_default_argocd_consoleLink/7-check-env | starting test step 7-check-env logger.go:42: 06:46:21 | 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: 06:46:24 | 1-078_validate_default_argocd_consoleLink/7-check-env | test step completed 7-check-env logger.go:42: 06:46:24 | 1-078_validate_default_argocd_consoleLink/8-remove-env | starting test step 8-remove-env logger.go:42: 06:46:24 | 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: 06:46:24 | 1-078_validate_default_argocd_consoleLink/8-remove-env | subscription.operators.coreos.com/openshift-gitops-operator patched logger.go:42: 06:46:27 | 1-078_validate_default_argocd_consoleLink/8-remove-env | test step completed 8-remove-env logger.go:42: 06:46:27 | 1-078_validate_default_argocd_consoleLink | skipping kubernetes event logging logger.go:42: 06:46:27 | 1-078_validate_default_argocd_consoleLink | Deleting namespace: kuttl-test-dominant-pangolin === CONT kuttl/harness/1-076_validate_single_deprecation_notice logger.go:42: 06:46:27 | 1-076_validate_single_deprecation_notice | Creating namespace: kuttl-test-flying-ibex logger.go:42: 06:46:27 | 1-076_validate_single_deprecation_notice/1-install | starting test step 1-install logger.go:42: 06:46:29 | 1-076_validate_single_deprecation_notice/1-install | Namespace:/test-1-076-custom created logger.go:42: 06:46:29 | 1-076_validate_single_deprecation_notice/1-install | Namespace:/test-1-076-custom2 created logger.go:42: 06:46:29 | 1-076_validate_single_deprecation_notice/1-install | ArgoCD:test-1-076-custom/argocd created logger.go:42: 06:46:29 | 1-076_validate_single_deprecation_notice/1-install | ArgoCD:test-1-076-custom2/argocd created logger.go:42: 06:46:35 | 1-076_validate_single_deprecation_notice/1-install | test step completed 1-install logger.go:42: 06:46:35 | 1-076_validate_single_deprecation_notice/2-count-occurrence | starting test step 2-count-occurrence logger.go:42: 06:46:35 | 1-076_validate_single_deprecation_notice/2-count-occurrence | running command: [sh -c set -eo pipefail expected_count_spec_dex=3 expected_count_verify_tls=3 count_spec_dex=$(oc get events -n test-1-076-custom | grep -o '`.spec.dex` is deprecated' - | wc -l) if ! [[ $count_spec_dex -le $expected_count_spec_dex ]]; then echo "No. of .spec.dex deprecation notice found in test-1-076-custom:${count_spec_dex} expected less than:$expected_count_spec_dex" exit 1 fi count_spec_dex=$(oc get events -n test-1-076-custom2 | grep -o '`.spec.dex` is deprecated' - | wc -l) if ! [[ $count_spec_dex -le $expected_count_spec_dex ]]; then echo "No. of .spec.dex deprecation notice found in test-1-076-custom2:${count_spec_dex} expected less than:$expected_count_spec_dex" exit 1 fi count_verify_tls=$(oc get events -n test-1-076-custom | grep -o '`.spec.SSO.Image`, `.spec.SSO.Version`, `.spec.SSO.Resources` and `.spec.SSO.VerifyTLS` are deprecated' - | wc -l) if ! [[ $count_verify_tls -le $expected_count_verify_tls ]]; then echo "No. of .spec.dex deprecation notice found in test-1-076-custom:${count_verify_tls} expected less than:$expected_count_verify_tls" exit 1 fi count_verify_tls=$(oc get events -n test-1-076-custom2 | grep -o '`.spec.SSO.Image`, `.spec.SSO.Version`, `.spec.SSO.Resources` and `.spec.SSO.VerifyTLS` are deprecated' - | wc -l) if ! [[ $count_verify_tls -le $expected_count_verify_tls ]]; then echo "No. of .spec.dex deprecation notice found in test-1-076-custom2:${count_verify_tls} expected less than:$expected_count_verify_tls" exit 1 fi ] I0828 06:46:37.238317 214 request.go:655] Throttling request took 1.044422625s, request: GET:https://api.ci-op-zxdc9fw2-d30ee.cspilp.interop.ccitredhat.com:6443/apis/operators.coreos.com/v1alpha1?timeout=32s logger.go:42: 06:46:38 | 1-076_validate_single_deprecation_notice/2-count-occurrence | test step completed 2-count-occurrence logger.go:42: 06:46:38 | 1-076_validate_single_deprecation_notice/3-delete | starting test step 3-delete I0828 06:46:48.533693 214 request.go:655] Throttling request took 1.033182597s, request: GET:https://api.ci-op-zxdc9fw2-d30ee.cspilp.interop.ccitredhat.com:6443/apis/k8s.ovn.org/v1?timeout=32s logger.go:42: 06:46:49 | 1-076_validate_single_deprecation_notice/3-delete | test step completed 3-delete logger.go:42: 06:46:49 | 1-076_validate_single_deprecation_notice/4-install | starting test step 4-install logger.go:42: 06:46:52 | 1-076_validate_single_deprecation_notice/4-install | Namespace:/test-1-076-custom2 created logger.go:42: 06:46:52 | 1-076_validate_single_deprecation_notice/4-install | ArgoCD:test-1-076-custom/argocd created logger.go:42: 06:46:52 | 1-076_validate_single_deprecation_notice/4-install | ArgoCD:test-1-076-custom2/argocd created logger.go:42: 06:46:54 | 1-076_validate_single_deprecation_notice/4-install | test step completed 4-install logger.go:42: 06:46:54 | 1-076_validate_single_deprecation_notice/5-count-occurrence | starting test step 5-count-occurrence logger.go:42: 06:46:54 | 1-076_validate_single_deprecation_notice/5-count-occurrence | running command: [sh -c set -eo pipefail expected_count_spec_dex_namespace1=4 expected_count_spec_dex_namespace2=3 expected_count_verify_tls_namespace1=4 expected_count_verify_tls_namespace2=3 count_spec_dex=$(oc get events -n test-1-076-custom | grep -o '`.spec.dex` is deprecated' - | wc -l) if ! [[ $count_spec_dex -le $expected_count_spec_dex_namespace1 ]]; then echo "No. of .spec.dex deprecation notice found in test-1-076-custom:${count_spec_dex} expected less than:$expected_count_spec_dex_namespace1" exit 1 fi count_spec_dex=$(oc get events -n test-1-076-custom2 | grep -o '`.spec.dex` is deprecated' - | wc -l) if ! [[ $count_spec_dex -le $expected_count_spec_dex_namespace2 ]]; then echo "No. of .spec.dex deprecation notice found in test-1-076-custom2:${count_spec_dex} expected less than:$expected_count_spec_dex_namespace2" exit 1 fi count_verify_tls=$(oc get events -n test-1-076-custom | grep -o '`.spec.SSO.Image`, `.spec.SSO.Version`, `.spec.SSO.Resources` and `.spec.SSO.VerifyTLS` are deprecated' - | wc -l) if ! [[ $count_verify_tls -le $expected_count_verify_tls_namespace1 ]]; then echo "No. of .spec.dex deprecation notice found in test-1-076-custom:${count_verify_tls} expected less than:$expected_count_verify_tls_namespace1" exit 1 fi count_verify_tls=$(oc get events -n test-1-076-custom2 | grep -o '`.spec.SSO.Image`, `.spec.SSO.Version`, `.spec.SSO.Resources` and `.spec.SSO.VerifyTLS` are deprecated' - | wc -l) if ! [[ $count_verify_tls -le $expected_count_verify_tls_namespace2 ]]; then echo "No. of .spec.dex deprecation notice found in test-1-076-custom2:${count_verify_tls} expected less than:$expected_count_verify_tls_namespace2" exit 1 fi ] logger.go:42: 06:46:57 | 1-076_validate_single_deprecation_notice/5-count-occurrence | test step completed 5-count-occurrence logger.go:42: 06:46:57 | 1-076_validate_single_deprecation_notice/99-delete | starting test step 99-delete I0828 06:47:11.687239 214 request.go:655] Throttling request took 1.044920818s, request: GET:https://api.ci-op-zxdc9fw2-d30ee.cspilp.interop.ccitredhat.com:6443/apis/authorization.k8s.io/v1?timeout=32s logger.go:42: 06:47:13 | 1-076_validate_single_deprecation_notice/99-delete | test step completed 99-delete logger.go:42: 06:47:13 | 1-076_validate_single_deprecation_notice | skipping kubernetes event logging logger.go:42: 06:47:13 | 1-076_validate_single_deprecation_notice | Deleting namespace: kuttl-test-flying-ibex === CONT kuttl/harness/1-056_validate_managed-by logger.go:42: 06:47:13 | 1-056_validate_managed-by | Creating namespace: kuttl-test-adapting-owl logger.go:42: 06:47:13 | 1-056_validate_managed-by/1-install | starting test step 1-install logger.go:42: 06:47:15 | 1-056_validate_managed-by/1-install | Namespace:/test-1-56-target created logger.go:42: 06:47:15 | 1-056_validate_managed-by/1-install | Namespace:/test-1-56-custom created logger.go:42: 06:47:15 | 1-056_validate_managed-by/1-install | ArgoCD:test-1-56-target/example-argocd created logger.go:42: 06:47:48 | 1-056_validate_managed-by/1-install | test step completed 1-install logger.go:42: 06:47:48 | 1-056_validate_managed-by/2-delete | starting test step 2-delete I0828 06:47:50.163841 214 request.go:655] Throttling request took 1.045674438s, request: GET:https://api.ci-op-zxdc9fw2-d30ee.cspilp.interop.ccitredhat.com:6443/apis/security.internal.openshift.io/v1?timeout=32s logger.go:42: 06:47:51 | 1-056_validate_managed-by/2-delete | test step completed 2-delete logger.go:42: 06:47:51 | 1-056_validate_managed-by/3-check | starting test step 3-check logger.go:42: 06:47:51 | 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: 06:47:51 | 1-056_validate_managed-by/3-check | label value: test-1-56-target logger.go:42: 06:47:51 | 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: 06:47:54 | 1-056_validate_managed-by/3-check | test step completed 3-check logger.go:42: 06:47:54 | 1-056_validate_managed-by/4-add_env | starting test step 4-add_env logger.go:42: 06:47:54 | 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: 06:47:54 | 1-056_validate_managed-by/4-add_env | subscription.operators.coreos.com/openshift-gitops-operator patched logger.go:42: 06:47:56 | 1-056_validate_managed-by/4-add_env | test step completed 4-add_env logger.go:42: 06:47:56 | 1-056_validate_managed-by/5-check | starting test step 5-check logger.go:42: 06:47:56 | 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: 06:47:59 | 1-056_validate_managed-by/5-check | test step completed 5-check logger.go:42: 06:47:59 | 1-056_validate_managed-by/6-install | starting test step 6-install I0828 06:48:00.349500 214 request.go:655] Throttling request took 1.046310148s, request: GET:https://api.ci-op-zxdc9fw2-d30ee.cspilp.interop.ccitredhat.com:6443/apis/discovery.k8s.io/v1?timeout=32s logger.go:42: 06:48:01 | 1-056_validate_managed-by/6-install | Namespace:/test-1-56-target-2 created logger.go:42: 06:48:01 | 1-056_validate_managed-by/6-install | Namespace:/test-1-56-custom-2 created logger.go:42: 06:48:01 | 1-056_validate_managed-by/6-install | ArgoCD:test-1-56-target-2/example-argocd-2 created logger.go:42: 06:48:36 | 1-056_validate_managed-by/6-install | test step completed 6-install logger.go:42: 06:48:36 | 1-056_validate_managed-by/7-delete | starting test step 7-delete I0828 06:48:37.499862 214 request.go:655] Throttling request took 1.032560236s, request: GET:https://api.ci-op-zxdc9fw2-d30ee.cspilp.interop.ccitredhat.com:6443/apis/autoscaling.openshift.io/v1?timeout=32s logger.go:42: 06:48:38 | 1-056_validate_managed-by/7-delete | test step completed 7-delete logger.go:42: 06:48:38 | 1-056_validate_managed-by/8-remove_env | starting test step 8-remove_env logger.go:42: 06:48:38 | 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: 06:48:39 | 1-056_validate_managed-by/8-remove_env | subscription.operators.coreos.com/openshift-gitops-operator patched logger.go:42: 06:48:41 | 1-056_validate_managed-by/8-remove_env | test step completed 8-remove_env logger.go:42: 06:48:41 | 1-056_validate_managed-by/99-delete | starting test step 99-delete I0828 06:48:48.998635 214 request.go:655] Throttling request took 1.046224601s, request: GET:https://api.ci-op-zxdc9fw2-d30ee.cspilp.interop.ccitredhat.com:6443/apis/operators.coreos.com/v2?timeout=32s logger.go:42: 06:48:50 | 1-056_validate_managed-by/99-delete | test step completed 99-delete logger.go:42: 06:48:50 | 1-056_validate_managed-by | skipping kubernetes event logging logger.go:42: 06:48:50 | 1-056_validate_managed-by | Deleting namespace: kuttl-test-adapting-owl === CONT kuttl/harness/1-028_validate_run_on_infra logger.go:42: 06:48:50 | 1-028_validate_run_on_infra | Ignoring errors.yaml as it does not match file name regexp: ^(\d+)-(?:[^\.]+)(?:\.yaml)?$ logger.go:42: 06:48:50 | 1-028_validate_run_on_infra | Creating namespace: kuttl-test-splendid-lobster logger.go:42: 06:48:50 | 1-028_validate_run_on_infra/1-install | starting test step 1-install logger.go:42: 06:48:50 | 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: 06:48:50 | 1-028_validate_run_on_infra/1-install | gitopsservice.pipelines.openshift.io/cluster patched logger.go:42: 06:48:53 | 1-028_validate_run_on_infra/1-install | test step completed 1-install logger.go:42: 06:48:53 | 1-028_validate_run_on_infra/2-custom-argocd | starting test step 2-custom-argocd logger.go:42: 06:48:55 | 1-028_validate_run_on_infra/2-custom-argocd | ArgoCD:kuttl-test-splendid-lobster/argocd created logger.go:42: 06:48:56 | 1-028_validate_run_on_infra/2-custom-argocd | test step completed 2-custom-argocd logger.go:42: 06:48:56 | 1-028_validate_run_on_infra/3-change-back | starting test step 3-change-back logger.go:42: 06:48:56 | 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: 06:48:56 | 1-028_validate_run_on_infra/3-change-back | gitopsservice.pipelines.openshift.io/cluster patched logger.go:42: 06:48:56 | 1-028_validate_run_on_infra/3-change-back | statefulset.apps/openshift-gitops-application-controller patched I0828 06:48:59.002303 214 request.go:655] Throttling request took 2.192423321s, request: GET:https://api.ci-op-zxdc9fw2-d30ee.cspilp.interop.ccitredhat.com:6443/apis/project.openshift.io/v1?timeout=32s logger.go:42: 06:48:59 | 1-028_validate_run_on_infra/3-change-back | test step completed 3-change-back logger.go:42: 06:48:59 | 1-028_validate_run_on_infra/4-check | starting test step 4-check logger.go:42: 06:49:01 | 1-028_validate_run_on_infra/4-check | test step completed 4-check logger.go:42: 06:49:01 | 1-028_validate_run_on_infra | skipping kubernetes event logging logger.go:42: 06:49:01 | 1-028_validate_run_on_infra | Deleting namespace: kuttl-test-splendid-lobster === CONT kuttl/harness/1-041_validate_argocd_sync_alert logger.go:42: 06:49:01 | 1-041_validate_argocd_sync_alert | Creating namespace: kuttl-test-refined-mule logger.go:42: 06:49:01 | 1-041_validate_argocd_sync_alert/1- | starting test step 1- logger.go:42: 06:49:04 | 1-041_validate_argocd_sync_alert/1- | test step completed 1- logger.go:42: 06:49:04 | 1-041_validate_argocd_sync_alert | skipping kubernetes event logging logger.go:42: 06:49:04 | 1-041_validate_argocd_sync_alert | Deleting namespace: kuttl-test-refined-mule === CONT kuttl/harness/1-040_validate_quoted_RBAC_group_names logger.go:42: 06:49:04 | 1-040_validate_quoted_RBAC_group_names | Creating namespace: kuttl-test-thorough-raptor logger.go:42: 06:49:04 | 1-040_validate_quoted_RBAC_group_names/1-login_argocd_api_server | starting test step 1-login_argocd_api_server logger.go:42: 06:49:04 | 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 ] logger.go:42: 06:49:07 | 1-040_validate_quoted_RBAC_group_names/1-login_argocd_api_server | test step completed 1-login_argocd_api_server logger.go:42: 06:49:07 | 1-040_validate_quoted_RBAC_group_names/2-create_role | starting test step 2-create_role logger.go:42: 06:49:07 | 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 ] I0828 06:49:09.445190 214 request.go:655] Throttling request took 1.044177206s, request: GET:https://api.ci-op-zxdc9fw2-d30ee.cspilp.interop.ccitredhat.com:6443/apis/image.openshift.io/v1?timeout=32s logger.go:42: 06:49:10 | 1-040_validate_quoted_RBAC_group_names/2-create_role | test step completed 2-create_role logger.go:42: 06:49:10 | 1-040_validate_quoted_RBAC_group_names/3-specify_group_names | starting test step 3-specify_group_names logger.go:42: 06:49:10 | 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: 06:49:11 | 1-040_validate_quoted_RBAC_group_names/3-specify_group_names | Role 'somerole' deleted logger.go:42: 06:49:13 | 1-040_validate_quoted_RBAC_group_names/3-specify_group_names | test step completed 3-specify_group_names logger.go:42: 06:49:13 | 1-040_validate_quoted_RBAC_group_names | skipping kubernetes event logging logger.go:42: 06:49:13 | 1-040_validate_quoted_RBAC_group_names | Deleting namespace: kuttl-test-thorough-raptor === CONT kuttl/harness/1-034_validate_custom_roles logger.go:42: 06:49:13 | 1-034_validate_custom_roles | Creating namespace: kuttl-test-bright-crappie logger.go:42: 06:49:13 | 1-034_validate_custom_roles/1-install | starting test step 1-install logger.go:42: 06:49:15 | 1-034_validate_custom_roles/1-install | Namespace:/test-1-034-custom created logger.go:42: 06:49:15 | 1-034_validate_custom_roles/1-install | ArgoCD:test-1-034-custom/argocd created logger.go:42: 06:49:16 | 1-034_validate_custom_roles/1-install | Namespace:/custom-role-namespace created logger.go:42: 06:49:16 | 1-034_validate_custom_roles/1-install | ClusterRole:/custom-argocd-role created logger.go:42: 06:49:17 | 1-034_validate_custom_roles/1-install | test step completed 1-install logger.go:42: 06:49:17 | 1-034_validate_custom_roles/2-patch-subscription | starting test step 2-patch-subscription logger.go:42: 06:49:17 | 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: 06:49:17 | 1-034_validate_custom_roles/2-patch-subscription | subscription.operators.coreos.com/openshift-gitops-operator patched logger.go:42: 06:49:17 | 1-034_validate_custom_roles/2-patch-subscription | running command: [sh -c sleep 10] I0828 06:49:28.294024 214 request.go:655] Throttling request took 1.044456302s, request: GET:https://api.ci-op-zxdc9fw2-d30ee.cspilp.interop.ccitredhat.com:6443/apis/image.openshift.io/v1?timeout=32s logger.go:42: 06:49:29 | 1-034_validate_custom_roles/2-patch-subscription | test step completed 2-patch-subscription logger.go:42: 06:49:29 | 1-034_validate_custom_roles/3- | starting test step 3- logger.go:42: 06:49:32 | 1-034_validate_custom_roles/3- | test step completed 3- logger.go:42: 06:49:32 | 1-034_validate_custom_roles/4- | starting test step 4- logger.go:42: 06:49:34 | 1-034_validate_custom_roles/4- | test step completed 4- logger.go:42: 06:49:34 | 1-034_validate_custom_roles/5-delete | starting test step 5-delete I0828 06:49:42.550514 214 request.go:655] Throttling request took 1.044916055s, request: GET:https://api.ci-op-zxdc9fw2-d30ee.cspilp.interop.ccitredhat.com:6443/apis/machineconfiguration.openshift.io/v1?timeout=32s logger.go:42: 06:49:43 | 1-034_validate_custom_roles/5-delete | test step completed 5-delete logger.go:42: 06:49:43 | 1-034_validate_custom_roles/6-revert-patch | starting test step 6-revert-patch logger.go:42: 06:49:43 | 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: 06:49:44 | 1-034_validate_custom_roles/6-revert-patch | subscription.operators.coreos.com/openshift-gitops-operator patched logger.go:42: 06:49:44 | 1-034_validate_custom_roles/6-revert-patch | running command: [sh -c sleep 10] I0828 06:49:55.092664 214 request.go:655] Throttling request took 1.044494922s, request: GET:https://api.ci-op-zxdc9fw2-d30ee.cspilp.interop.ccitredhat.com:6443/apis/autoscaling.openshift.io/v1beta1?timeout=32s logger.go:42: 06:49:56 | 1-034_validate_custom_roles/6-revert-patch | test step completed 6-revert-patch logger.go:42: 06:49:56 | 1-034_validate_custom_roles | skipping kubernetes event logging logger.go:42: 06:49:56 | 1-034_validate_custom_roles | Deleting namespace: kuttl-test-bright-crappie === CONT kuttl/harness/1-020_validate_redis_ha_nonha logger.go:42: 06:49:56 | 1-020_validate_redis_ha_nonha | Creating namespace: kuttl-test-internal-molly logger.go:42: 06:49:56 | 1-020_validate_redis_ha_nonha/1- | starting test step 1- logger.go:42: 06:49:59 | 1-020_validate_redis_ha_nonha/1- | test step completed 1- logger.go:42: 06:49:59 | 1-020_validate_redis_ha_nonha/2-enable-ha | starting test step 2-enable-ha logger.go:42: 06:50:01 | 1-020_validate_redis_ha_nonha/2-enable-ha | ArgoCD:openshift-gitops/openshift-gitops updated logger.go:42: 06:52:19 | 1-020_validate_redis_ha_nonha/2-enable-ha | test step completed 2-enable-ha logger.go:42: 06:52:19 | 1-020_validate_redis_ha_nonha/3-update-ha-resources | starting test step 3-update-ha-resources I0828 06:52:20.745683 214 request.go:655] Throttling request took 1.045626673s, request: GET:https://api.ci-op-zxdc9fw2-d30ee.cspilp.interop.ccitredhat.com:6443/apis/samples.operator.openshift.io/v1?timeout=32s logger.go:42: 06:52:22 | 1-020_validate_redis_ha_nonha/3-update-ha-resources | ArgoCD:openshift-gitops/openshift-gitops updated logger.go:42: 06:54:57 | 1-020_validate_redis_ha_nonha/3-update-ha-resources | test step completed 3-update-ha-resources logger.go:42: 06:54:57 | 1-020_validate_redis_ha_nonha/4-disable-ha | starting test step 4-disable-ha I0828 06:54:58.529220 214 request.go:655] Throttling request took 1.044575627s, request: GET:https://api.ci-op-zxdc9fw2-d30ee.cspilp.interop.ccitredhat.com:6443/apis/performance.openshift.io/v2?timeout=32s logger.go:42: 06:54:59 | 1-020_validate_redis_ha_nonha/4-disable-ha | ArgoCD:openshift-gitops/openshift-gitops updated logger.go:42: 06:55:03 | 1-020_validate_redis_ha_nonha/4-disable-ha | test step completed 4-disable-ha logger.go:42: 06:55:03 | 1-020_validate_redis_ha_nonha | skipping kubernetes event logging logger.go:42: 06:55:03 | 1-020_validate_redis_ha_nonha | Deleting namespace: kuttl-test-internal-molly === CONT kuttl/harness/1-026-validate_backend_service_permissions logger.go:42: 06:55:03 | 1-026-validate_backend_service_permissions | Creating namespace: kuttl-test-precious-sloth logger.go:42: 06:55:03 | 1-026-validate_backend_service_permissions/1-check-backend-service | starting test step 1-check-backend-service logger.go:42: 06:55:05 | 1-026-validate_backend_service_permissions/1-check-backend-service | test step completed 1-check-backend-service logger.go:42: 06:55:05 | 1-026-validate_backend_service_permissions | skipping kubernetes event logging logger.go:42: 06:55:05 | 1-026-validate_backend_service_permissions | Deleting namespace: kuttl-test-precious-sloth === CONT kuttl/harness/1-002_validate_backend_service logger.go:42: 06:55:05 | 1-002_validate_backend_service | Creating namespace: kuttl-test-strong-whale logger.go:42: 06:55:05 | 1-002_validate_backend_service/1-check-backend-service | starting test step 1-check-backend-service logger.go:42: 06:55:08 | 1-002_validate_backend_service/1-check-backend-service | test step completed 1-check-backend-service logger.go:42: 06:55:08 | 1-002_validate_backend_service | skipping kubernetes event logging logger.go:42: 06:55:08 | 1-002_validate_backend_service | Deleting namespace: kuttl-test-strong-whale === CONT kuttl/harness/1-071_validate_node_selectors logger.go:42: 06:55:08 | 1-071_validate_node_selectors | Creating namespace: kuttl-test-super-mayfly logger.go:42: 06:55:08 | 1-071_validate_node_selectors/1- | starting test step 1- I0828 06:55:09.101835 214 request.go:655] Throttling request took 1.045803924s, request: GET:https://api.ci-op-zxdc9fw2-d30ee.cspilp.interop.ccitredhat.com:6443/apis/argoproj.io/v1alpha1?timeout=32s logger.go:42: 07:07:11 | 1-071_validate_node_selectors/1- | test step failed 1- case.go:361: failed in step 1- case.go:363: deployments.apps "openshift-gitops-server" not found case.go:363: deployments.apps "openshift-gitops-repo-server" not found case.go:363: deployments.apps "openshift-gitops-dex-server" not found case.go:363: deployments.apps "openshift-gitops-redis" not found case.go:363: statefulsets.apps "openshift-gitops-application-controller" not found logger.go:42: 07:07:11 | 1-071_validate_node_selectors | skipping kubernetes event logging logger.go:42: 07:07:11 | 1-071_validate_node_selectors | Deleting namespace: kuttl-test-super-mayfly === CONT kuttl harness.go:402: run tests finished harness.go:511: cleaning up harness.go:568: removing temp folder: "" --- FAIL: kuttl (1427.01s) --- FAIL: kuttl/harness (0.00s) --- PASS: kuttl/harness/1-001_validate_kam_service (7.72s) --- PASS: kuttl/harness/1-050_validate_sso_config (109.85s) --- PASS: kuttl/harness/1-085_validate_dynamic_plugin_installation (22.67s) --- PASS: kuttl/harness/1-084_validate_prune_templates (9.83s) --- PASS: kuttl/harness/1-078_validate_default_argocd_consoleLink (27.60s) --- PASS: kuttl/harness/1-076_validate_single_deprecation_notice (46.08s) --- PASS: kuttl/harness/1-056_validate_managed-by (97.31s) --- PASS: kuttl/harness/1-028_validate_run_on_infra (11.35s) --- PASS: kuttl/harness/1-041_validate_argocd_sync_alert (2.48s) --- PASS: kuttl/harness/1-040_validate_quoted_RBAC_group_names (9.25s) --- PASS: kuttl/harness/1-034_validate_custom_roles (43.01s) --- PASS: kuttl/harness/1-020_validate_redis_ha_nonha (306.56s) --- PASS: kuttl/harness/1-026-validate_backend_service_permissions (2.49s) --- PASS: kuttl/harness/1-002_validate_backend_service (2.48s) --- FAIL: kuttl/harness/1-071_validate_node_selectors (723.40s) FAIL + exit_code=1 + cp ./kuttl-test.xml /logs/artifacts/junit_gitops-sequential.xml + exit 1