+ unset CI + exit_code=0 + scripts/openshift-CI-kuttl-tests.sh + export CI=prow + CI=prow + go mod vendor go: downloading github.com/argoproj-labs/argocd-operator v0.10.1-rc4 go: downloading k8s.io/apimachinery v0.28.3 go: downloading github.com/openshift/api v0.0.0-20220929131120-2bde012f248a go: downloading k8s.io/api v0.28.3 go: downloading github.com/coreos/prometheus-operator v0.40.0 go: downloading github.com/argoproj-labs/argo-rollouts-manager v0.0.2-0.20230515023837-0632f3e856d5 go: downloading sigs.k8s.io/controller-runtime v0.17.2 go: downloading github.com/operator-framework/api v0.17.5 go: downloading go.uber.org/zap v1.27.0 go: downloading k8s.io/client-go v0.28.3 go: downloading github.com/onsi/ginkgo v1.16.4 go: downloading github.com/onsi/gomega v1.14.0 go: downloading golang.org/x/mod v0.17.0 go: downloading github.com/stretchr/testify v1.8.4 go: downloading github.com/go-logr/logr v1.4.1 go: downloading github.com/hashicorp/go-version v1.6.0 go: downloading k8s.io/utils v0.0.0-20240102154912-e7106e64919e go: downloading github.com/google/go-cmp v0.6.0 go: downloading gotest.tools v2.2.0+incompatible go: downloading sigs.k8s.io/yaml v1.4.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.120.1 go: downloading sigs.k8s.io/structured-merge-diff/v4 v4.4.1 go: downloading github.com/sirupsen/logrus v1.9.3 go: downloading github.com/go-logr/zapr v1.3.0 go: downloading github.com/prometheus/client_golang v1.19.1 go: downloading gomodules.xyz/jsonpatch/v2 v2.4.0 go: downloading go.uber.org/multierr v1.11.0 go: downloading github.com/evanphx/json-patch/v5 v5.9.0 go: downloading k8s.io/apiextensions-apiserver v0.28.3 go: downloading github.com/evanphx/json-patch v5.9.0+incompatible 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 gopkg.in/inf.v0 v0.9.1 go: downloading github.com/operator-framework/operator-sdk v0.18.2 go: downloading github.com/argoproj/argo-cd/v2 v2.10.9 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 sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd go: downloading github.com/blang/semver/v4 v4.0.0 go: downloading github.com/fsnotify/fsnotify v1.7.0 go: downloading golang.org/x/exp v0.0.0-20240222234643-814bf88cf225 go: downloading k8s.io/component-base v0.28.3 go: downloading golang.org/x/sys v0.19.0 go: downloading k8s.io/kube-openapi v0.0.0-20230717233707-2695361300d9 go: downloading github.com/json-iterator/go v1.1.12 go: downloading github.com/prometheus/client_model v0.6.0 go: downloading github.com/prometheus/common v0.48.0 go: downloading golang.org/x/net v0.24.0 go: downloading github.com/nxadm/tail v1.4.8 go: downloading github.com/golang/protobuf v1.5.3 go: downloading github.com/google/gnostic-models v0.6.8 go: downloading github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da 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.12.0 go: downloading google.golang.org/protobuf v1.33.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.19.0 go: downloading golang.org/x/time v0.5.0 go: downloading github.com/google/uuid v1.6.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 gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 go: downloading golang.org/x/oauth2 v0.17.0 go: downloading golang.org/x/text v0.14.0 go: downloading github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 go: downloading github.com/go-openapi/swag v0.22.9 go: downloading github.com/go-openapi/jsonreference v0.20.4 go: downloading google.golang.org/appengine v1.6.8 go: downloading github.com/emicklei/go-restful/v3 v3.11.3 go: downloading github.com/go-openapi/jsonpointer v0.20.2 go: downloading github.com/mailru/easyjson v0.7.7 go: downloading github.com/josharian/intern v1.0.0 go: downloading github.com/gobwas/glob v0.2.3 go: downloading golang.org/x/crypto v0.22.0 ++ dirname scripts/openshift-CI-kuttl-tests.sh + source scripts/e2e-common.sh + KUBECONFIG=/tmp/kubeconfig-824504217 ++ mktemp -d + TMP_DIR=/tmp/tmp.9BxvCCXQDz + cp /tmp/kubeconfig-824504217 /tmp/tmp.9BxvCCXQDz/kubeconfig + chmod 640 /tmp/tmp.9BxvCCXQDz/kubeconfig + export KUBECONFIG=/tmp/tmp.9BxvCCXQDz/kubeconfig + KUBECONFIG=/tmp/tmp.9BxvCCXQDz/kubeconfig + cp /tmp/tmp.9BxvCCXQDz/kubeconfig /go/src/github.com/redhat-developer/gitops-operator/kubeconfig + pod=openshift-gitops-operator-controller-manager ++ oc get pods --all-namespaces ++ grep openshift-gitops-operator-controller-manager ++ head -1 ++ awk '{print $2}' + oc get pods openshift-gitops-operator-controller-manager-747558d697-nqpsc -n openshift-gitops-operator -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": "NotificationsConfiguration", "metadata": { "name": "default-notifications-configuration" }, "spec": { "templates": { "template.app-created": "email:\n subject: Application {{.app.metadata.name}} has been created.\nmessage: Application {{.app.metadata.name}} has been created.\nteams:\n title: Application {{.app.metadata.name}} has been created.", "template.app-deleted": "email:\n subject: Application {{.app.metadata.name}} has been deleted.\nmessage: Application {{.app.metadata.name}} has been deleted.\nteams:\n title: Application {{.app.metadata.name}} has been deleted.", "template.app-deployed": "email:\n subject: New version of an application {{.app.metadata.name}} is up and running.\nmessage: |\n {{if eq .serviceType \"slack\"}}:white_check_mark:{{end}} Application {{.app.metadata.name}} is now running new version of deployments manifests.\nslack:\n attachments: |\n [{\n \"title\": \"{{ .app.metadata.name}}\",\n \"title_link\":\"{{.context.argocdUrl}}/applications/{{.app.metadata.name}}\",\n \"color\": \"#18be52\",\n \"fields\": [\n {\n \"title\": \"Sync Status\",\n \"value\": \"{{.app.status.sync.status}}\",\n \"short\": true\n },\n {\n \"title\": \"Repository\",\n \"value\": \"{{.app.spec.source.repoURL}}\",\n \"short\": true\n },\n {\n \"title\": \"Revision\",\n \"value\": \"{{.app.status.sync.revision}}\",\n \"short\": true\n }\n {{range $index, $c := .app.status.conditions}}\n {{if not $index}},{{end}}\n {{if $index}},{{end}}\n {\n \"title\": \"{{$c.type}}\",\n \"value\": \"{{$c.message}}\",\n \"short\": true\n }\n {{end}}\n ]\n }]\n deliveryPolicy: Post\n groupingKey: \"\"\n notifyBroadcast: false\nteams:\n facts: |\n [{\n \"name\": \"Sync Status\",\n \"value\": \"{{.app.status.sync.status}}\"\n },\n {\n \"name\": \"Repository\",\n \"value\": \"{{.app.spec.source.repoURL}}\"\n },\n {\n \"name\": \"Revision\",\n \"value\": \"{{.app.status.sync.revision}}\"\n }\n {{range $index, $c := .app.status.conditions}}\n {{if not $index}},{{end}}\n {{if $index}},{{end}}\n {\n \"name\": \"{{$c.type}}\",\n \"value\": \"{{$c.message}}\"\n }\n {{end}}\n ]\n potentialAction: |-\n [{\n \"@type\":\"OpenUri\",\n \"name\":\"Operation Application\",\n \"targets\":[{\n \"os\":\"default\",\n \"uri\":\"{{.context.argocdUrl}}/applications/{{.app.metadata.name}}\"\n }]\n },\n {\n \"@type\":\"OpenUri\",\n \"name\":\"Open Repository\",\n \"targets\":[{\n \"os\":\"default\",\n \"uri\":\"{{.app.spec.source.repoURL | call .repo.RepoURLToHTTPS}}\"\n }]\n }]\n themeColor: '#000080'\n title: New version of an application {{.app.metadata.name}} is up and running.", "template.app-health-degraded": "email:\n subject: Application {{.app.metadata.name}} has degraded.\nmessage: |\n {{if eq .serviceType \"slack\"}}:exclamation:{{end}} Application {{.app.metadata.name}} has degraded.\n Application details: {{.context.argocdUrl}}/applications/{{.app.metadata.name}}.\nslack:\n attachments: |\n [{\n \"title\": \"{{ .app.metadata.name}}\",\n \"title_link\": \"{{.context.argocdUrl}}/applications/{{.app.metadata.name}}\",\n \"color\": \"#f4c030\",\n \"fields\": [\n {\n \"title\": \"Health Status\",\n \"value\": \"{{.app.status.health.status}}\",\n \"short\": true\n },\n {\n \"title\": \"Repository\",\n \"value\": \"{{.app.spec.source.repoURL}}\",\n \"short\": true\n }\n {{range $index, $c := .app.status.conditions}}\n {{if not $index}},{{end}}\n {{if $index}},{{end}}\n {\n \"title\": \"{{$c.type}}\",\n \"value\": \"{{$c.message}}\",\n \"short\": true\n }\n {{end}}\n ]\n }]\n deliveryPolicy: Post\n groupingKey: \"\"\n notifyBroadcast: false\nteams:\n facts: |\n [{\n \"name\": \"Health Status\",\n \"value\": \"{{.app.status.health.status}}\"\n },\n {\n \"name\": \"Repository\",\n \"value\": \"{{.app.spec.source.repoURL}}\"\n }\n {{range $index, $c := .app.status.conditions}}\n {{if not $index}},{{end}}\n {{if $index}},{{end}}\n {\n \"name\": \"{{$c.type}}\",\n \"value\": \"{{$c.message}}\"\n }\n {{end}}\n ]\n potentialAction: |\n [{\n \"@type\":\"OpenUri\",\n \"name\":\"Open Application\",\n \"targets\":[{\n \"os\":\"default\",\n \"uri\":\"{{.context.argocdUrl}}/applications/{{.app.metadata.name}}\"\n }]\n },\n {\n \"@type\":\"OpenUri\",\n \"name\":\"Open Repository\",\n \"targets\":[{\n \"os\":\"default\",\n \"uri\":\"{{.app.spec.source.repoURL | call .repo.RepoURLToHTTPS}}\"\n }]\n }]\n themeColor: '#FF0000'\n title: Application {{.app.metadata.name}} has degraded.", "template.app-sync-failed": "email:\n subject: Failed to sync application {{.app.metadata.name}}.\nmessage: |\n {{if eq .serviceType \"slack\"}}:exclamation:{{end}} The sync operation of application {{.app.metadata.name}} has failed at {{.app.status.operationState.finishedAt}} with the following error: {{.app.status.operationState.message}}\n Sync operation details are available at: {{.context.argocdUrl}}/applications/{{.app.metadata.name}}?operation=true .\nslack:\n attachments: |\n [{\n \"title\": \"{{ .app.metadata.name}}\",\n \"title_link\":\"{{.context.argocdUrl}}/applications/{{.app.metadata.name}}\",\n \"color\": \"#E96D76\",\n \"fields\": [\n {\n \"title\": \"Sync Status\",\n \"value\": \"{{.app.status.sync.status}}\",\n \"short\": true\n },\n {\n \"title\": \"Repository\",\n \"value\": \"{{.app.spec.source.repoURL}}\",\n \"short\": true\n }\n {{range $index, $c := .app.status.conditions}}\n {{if not $index}},{{end}}\n {{if $index}},{{end}}\n {\n \"title\": \"{{$c.type}}\",\n \"value\": \"{{$c.message}}\",\n \"short\": true\n }\n {{end}}\n ]\n }]\n deliveryPolicy: Post\n groupingKey: \"\"\n notifyBroadcast: false\nteams:\n facts: |\n [{\n \"name\": \"Sync Status\",\n \"value\": \"{{.app.status.sync.status}}\"\n },\n {\n \"name\": \"Failed at\",\n \"value\": \"{{.app.status.operationState.finishedAt}}\"\n },\n {\n \"name\": \"Repository\",\n \"value\": \"{{.app.spec.source.repoURL}}\"\n }\n {{range $index, $c := .app.status.conditions}}\n {{if not $index}},{{end}}\n {{if $index}},{{end}}\n {\n \"name\": \"{{$c.type}}\",\n \"value\": \"{{$c.message}}\"\n }\n {{end}}\n ]\n potentialAction: |-\n [{\n \"@type\":\"OpenUri\",\n \"name\":\"Open Operation\",\n \"targets\":[{\n \"os\":\"default\",\n \"uri\":\"{{.context.argocdUrl}}/applications/{{.app.metadata.name}}?operation=true\"\n }]\n },\n {\n \"@type\":\"OpenUri\",\n \"name\":\"Open Repository\",\n \"targets\":[{\n \"os\":\"default\",\n \"uri\":\"{{.app.spec.source.repoURL | call .repo.RepoURLToHTTPS}}\"\n }]\n }]\n themeColor: '#FF0000'\n title: Failed to sync application {{.app.metadata.name}}.", "template.app-sync-running": "email:\n subject: Start syncing application {{.app.metadata.name}}.\nmessage: |\n The sync operation of application {{.app.metadata.name}} has started at {{.app.status.operationState.startedAt}}.\n Sync operation details are available at: {{.context.argocdUrl}}/applications/{{.app.metadata.name}}?operation=true .\nslack:\n attachments: |\n [{\n \"title\": \"{{ .app.metadata.name}}\",\n \"title_link\":\"{{.context.argocdUrl}}/applications/{{.app.metadata.name}}\",\n \"color\": \"#0DADEA\",\n \"fields\": [\n {\n \"title\": \"Sync Status\",\n \"value\": \"{{.app.status.sync.status}}\",\n \"short\": true\n },\n {\n \"title\": \"Repository\",\n \"value\": \"{{.app.spec.source.repoURL}}\",\n \"short\": true\n }\n {{range $index, $c := .app.status.conditions}}\n {{if not $index}},{{end}}\n {{if $index}},{{end}}\n {\n \"title\": \"{{$c.type}}\",\n \"value\": \"{{$c.message}}\",\n \"short\": true\n }\n {{end}}\n ]\n }]\n deliveryPolicy: Post\n groupingKey: \"\"\n notifyBroadcast: false\nteams:\n facts: |\n [{\n \"name\": \"Sync Status\",\n \"value\": \"{{.app.status.sync.status}}\"\n },\n {\n \"name\": \"Started at\",\n \"value\": \"{{.app.status.operationState.startedAt}}\"\n },\n {\n \"name\": \"Repository\",\n \"value\": \"{{.app.spec.source.repoURL}}\"\n }\n {{range $index, $c := .app.status.conditions}}\n {{if not $index}},{{end}}\n {{if $index}},{{end}}\n {\n \"name\": \"{{$c.type}}\",\n \"value\": \"{{$c.message}}\"\n }\n {{end}}\n ]\n potentialAction: |-\n [{\n \"@type\":\"OpenUri\",\n \"name\":\"Open Operation\",\n \"targets\":[{\n \"os\":\"default\",\n \"uri\":\"{{.context.argocdUrl}}/applications/{{.app.metadata.name}}?operation=true\"\n }]\n },\n {\n \"@type\":\"OpenUri\",\n \"name\":\"Open Repository\",\n \"targets\":[{\n \"os\":\"default\",\n \"uri\":\"{{.app.spec.source.repoURL | call .repo.RepoURLToHTTPS}}\"\n }]\n }]\n title: Start syncing application {{.app.metadata.name}}.", "template.app-sync-status-unknown": "email:\n subject: Application {{.app.metadata.name}} sync status is 'Unknown'\nmessage: |\n {{if eq .serviceType \"slack\"}}:exclamation:{{end}} Application {{.app.metadata.name}} sync is 'Unknown'.\n Application details: {{.context.argocdUrl}}/applications/{{.app.metadata.name}}.\n {{if ne .serviceType \"slack\"}}\n {{range $c := .app.status.conditions}}\n * {{$c.message}}\n {{end}}\n {{end}}\nslack:\n attachments: |\n [{\n \"title\": \"{{ .app.metadata.name}}\",\n \"title_link\":\"{{.context.argocdUrl}}/applications/{{.app.metadata.name}}\",\n \"color\": \"#E96D76\",\n \"fields\": [\n {\n \"title\": \"Sync Status\",\n \"value\": \"{{.app.status.sync.status}}\",\n \"short\": true\n },\n {\n \"title\": \"Repository\",\n \"value\": \"{{.app.spec.source.repoURL}}\",\n \"short\": true\n }\n {{range $index, $c := .app.status.conditions}}\n {{if not $index}},{{end}}\n {{if $index}},{{end}}\n {\n \"title\": \"{{$c.type}}\",\n \"value\": \"{{$c.message}}\",\n \"short\": true\n }\n {{end}}\n ]\n }]\n deliveryPolicy: Post\n groupingKey: \"\"\n notifyBroadcast: false\nteams:\n facts: |\n [{\n \"name\": \"Sync Status\",\n \"value\": \"{{.app.status.sync.status}}\"\n },\n {\n \"name\": \"Repository\",\n \"value\": \"{{.app.spec.source.repoURL}}\"\n }\n {{range $index, $c := .app.status.conditions}}\n {{if not $index}},{{end}}\n {{if $index}},{{end}}\n {\n \"name\": \"{{$c.type}}\",\n \"value\": \"{{$c.message}}\"\n }\n {{end}}\n ]\n potentialAction: |-\n [{\n \"@type\":\"OpenUri\",\n \"name\":\"Open Application\",\n \"targets\":[{\n \"os\":\"default\",\n \"uri\":\"{{.context.argocdUrl}}/applications/{{.app.metadata.name}}\"\n }]\n },\n {\n \"@type\":\"OpenUri\",\n \"name\":\"Open Repository\",\n \"targets\":[{\n \"os\":\"default\",\n \"uri\":\"{{.app.spec.source.repoURL | call .repo.RepoURLToHTTPS}}\"\n }]\n }]\n title: Application {{.app.metadata.name}} sync status is 'Unknown'", "template.app-sync-succeeded": "email:\n subject: Application {{.app.metadata.name}} has been successfully synced.\nmessage: |\n {{if eq .serviceType \"slack\"}}:white_check_mark:{{end}} Application {{.app.metadata.name}} has been successfully synced at {{.app.status.operationState.finishedAt}}.\n Sync operation details are available at: {{.context.argocdUrl}}/applications/{{.app.metadata.name}}?operation=true .\nslack:\n attachments: |\n [{\n \"title\": \"{{ .app.metadata.name}}\",\n \"title_link\":\"{{.context.argocdUrl}}/applications/{{.app.metadata.name}}\",\n \"color\": \"#18be52\",\n \"fields\": [\n {\n \"title\": \"Sync Status\",\n \"value\": \"{{.app.status.sync.status}}\",\n \"short\": true\n },\n {\n \"title\": \"Repository\",\n \"value\": \"{{.app.spec.source.repoURL}}\",\n \"short\": true\n }\n {{range $index, $c := .app.status.conditions}}\n {{if not $index}},{{end}}\n {{if $index}},{{end}}\n {\n \"title\": \"{{$c.type}}\",\n \"value\": \"{{$c.message}}\",\n \"short\": true\n }\n {{end}}\n ]\n }]\n deliveryPolicy: Post\n groupingKey: \"\"\n notifyBroadcast: false\nteams:\n facts: |\n [{\n \"name\": \"Sync Status\",\n \"value\": \"{{.app.status.sync.status}}\"\n },\n {\n \"name\": \"Synced at\",\n \"value\": \"{{.app.status.operationState.finishedAt}}\"\n },\n {\n \"name\": \"Repository\",\n \"value\": \"{{.app.spec.source.repoURL}}\"\n }\n {{range $index, $c := .app.status.conditions}}\n {{if not $index}},{{end}}\n {{if $index}},{{end}}\n {\n \"name\": \"{{$c.type}}\",\n \"value\": \"{{$c.message}}\"\n }\n {{end}}\n ]\n potentialAction: |-\n [{\n \"@type\":\"OpenUri\",\n \"name\":\"Operation Details\",\n \"targets\":[{\n \"os\":\"default\",\n \"uri\":\"{{.context.argocdUrl}}/applications/{{.app.metadata.name}}?operation=true\"\n }]\n },\n {\n \"@type\":\"OpenUri\",\n \"name\":\"Open Repository\",\n \"targets\":[{\n \"os\":\"default\",\n \"uri\":\"{{.app.spec.source.repoURL | call .repo.RepoURLToHTTPS}}\"\n }]\n }]\n themeColor: '#000080'\n title: Application {{.app.metadata.name}} has been successfully synced" }, "triggers": { "trigger.on-created": "- description: Application is created.\n oncePer: app.metadata.name\n send:\n - app-created\n when: \"true\"", "trigger.on-deleted": "- description: Application is deleted.\n oncePer: app.metadata.name\n send:\n - app-deleted\n when: app.metadata.deletionTimestamp != nil", "trigger.on-deployed": "- description: Application is synced and healthy. Triggered once per commit.\n oncePer: app.status.operationState.syncResult.revision\n send:\n - app-deployed\n when: app.status.operationState.phase in ['Succeeded'] and app.status.health.status\n == 'Healthy'", "trigger.on-health-degraded": "- description: Application has degraded\n send:\n - app-health-degraded\n when: app.status.health.status == 'Degraded'", "trigger.on-sync-failed": "- description: Application syncing has failed\n send:\n - app-sync-failed\n when: app.status.operationState.phase in ['Error', 'Failed']", "trigger.on-sync-running": "- description: Application is being synced\n send:\n - app-sync-running\n when: app.status.operationState.phase in ['Running']", "trigger.on-sync-status-unknown": "- description: Application status is 'Unknown'\n send:\n - app-sync-status-unknown\n when: app.status.sync.status == 'Unknown'", "trigger.on-sync-succeeded": "- description: Application syncing has succeeded\n send:\n - app-sync-succeeded\n when: app.status.operationState.phase in ['Succeeded']" } } }, { "apiVersion": "argoproj.io/v1beta1", "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:2bfdf47accad02c323b1751514094c442be6660b5a631346f8d270ec93db386b description: Enables teams to adopt GitOps principles for managing cluster configurations and application delivery across hybrid multi-cluster Kubernetes environments. features.operators.openshift.io/disconnected: "true" features.operators.openshift.io/fips-compliant: "false" features.operators.openshift.io/proxy-aware: "true" features.operators.openshift.io/tls-profiles: "false" features.operators.openshift.io/token-auth-aws: "false" features.operators.openshift.io/token-auth-azure: "false" features.operators.openshift.io/token-auth-gcp: "false" k8s.ovn.org/pod-networks: '{"default":{"ip_addresses":["10.131.0.18/23"],"mac_address":"0a:58:0a:83:00:12","gateway_ips":["10.131.0.1"],"routes":[{"dest":"10.128.0.0/14","nextHop":"10.131.0.1"},{"dest":"172.30.0.0/16","nextHop":"10.131.0.1"},{"dest":"100.64.0.0/16","nextHop":"10.131.0.1"}],"ip_address":"10.131.0.18/23","gateway_ip":"10.131.0.1"}}' k8s.v1.cni.cncf.io/network-status: |- [{ "name": "ovn-kubernetes", "interface": "eth0", "ips": [ "10.131.0.18" ], "mac": "0a:58:0a:83:00:12", "default": true, "dns": {} }] olm.operatorGroup: global-operators olm.operatorNamespace: openshift-gitops-operator olm.skipRange: "" olm.targetNamespaces: "" olmcahash: 77de3af0771bc638c1ba2d0ca89559ad2f2c1426d29321d7d604ba665cad103a 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":"NotificationsConfiguration","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.12.3"}}]}' 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: "2024-05-30T18:31:20Z" generateName: openshift-gitops-operator-controller-manager-747558d697- labels: control-plane: gitops-operator pod-template-hash: 747558d697 name: openshift-gitops-operator-controller-manager-747558d697-nqpsc namespace: openshift-gitops-operator ownerReferences: - apiVersion: apps/v1 blockOwnerDeletion: true controller: true kind: ReplicaSet name: openshift-gitops-operator-controller-manager-747558d697 uid: e785b2a9-fc00-43e4-abf5-bebe59b7af33 resourceVersion: "39248" uid: 2bec65ec-97b3-423c-a404-9e1c511f7943 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:1be358ae4610ca430efd2a4469d536e4243332f814ee5a909bad03c2889eaaa4 - name: ARGOCD_DEX_IMAGE value: registry.redhat.io/openshift-gitops-1/dex-rhel8@sha256:1be358ae4610ca430efd2a4469d536e4243332f814ee5a909bad03c2889eaaa4 - 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:770c4f854f2f92766b3cac1326671140253491d033c42c036dcd75a4762783a9 - name: BACKEND_IMAGE value: registry.redhat.io/openshift-gitops-1/gitops-rhel8@sha256:770c4f854f2f92766b3cac1326671140253491d033c42c036dcd75a4762783a9 - name: RELATED_IMAGE_ARGOCD_IMAGE value: registry.redhat.io/openshift-gitops-1/argocd-rhel8@sha256:5bfc4686983f9c62107772d99d900efbcc38175afe621c40958035aa49bfa9ed - name: ARGOCD_IMAGE value: registry.redhat.io/openshift-gitops-1/argocd-rhel8@sha256:5bfc4686983f9c62107772d99d900efbcc38175afe621c40958035aa49bfa9ed - name: ARGOCD_REPOSERVER_IMAGE value: registry.redhat.io/openshift-gitops-1/argocd-rhel8@sha256:5bfc4686983f9c62107772d99d900efbcc38175afe621c40958035aa49bfa9ed - name: RELATED_IMAGE_ARGOCD_REDIS_IMAGE value: registry.redhat.io/rhel8/redis-6@sha256:edbd40185ed8c20ee61ebdf9f2e1e1d7594598fceff963b4dee3201472d6deda - name: ARGOCD_REDIS_IMAGE value: registry.redhat.io/rhel8/redis-6@sha256:edbd40185ed8c20ee61ebdf9f2e1e1d7594598fceff963b4dee3201472d6deda - name: ARGOCD_REDIS_HA_IMAGE value: registry.redhat.io/rhel8/redis-6@sha256:edbd40185ed8c20ee61ebdf9f2e1e1d7594598fceff963b4dee3201472d6deda - 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:4e18c4569a1e9043f823582da4110d15fde2b6ca9bdef2cb68d6cea393db9ab4 - name: GITOPS_CONSOLE_PLUGIN_IMAGE value: registry.redhat.io/openshift-gitops-1/console-plugin-rhel8@sha256:4e18c4569a1e9043f823582da4110d15fde2b6ca9bdef2cb68d6cea393db9ab4 - name: RELATED_IMAGE_KAM_IMAGE value: registry.redhat.io/openshift-gitops-1/kam-delivery-rhel8@sha256:c27bef6ba6ce0dd476be1f9d48789ee8fec535fd93f6472dfa8f4c5de4f632b8 - name: KAM_IMAGE value: registry.redhat.io/openshift-gitops-1/kam-delivery-rhel8@sha256:c27bef6ba6ce0dd476be1f9d48789ee8fec535fd93f6472dfa8f4c5de4f632b8 - name: RELATED_IMAGE_ARGO_ROLLOUTS_IMAGE value: registry.redhat.io/openshift-gitops-1/argo-rollouts-rhel8@sha256:f5184b0db0271f38910e7a52a1703327e164ad8569d6c9ad43f2f840b5c7f70c - name: ARGO_ROLLOUTS_IMAGE value: registry.redhat.io/openshift-gitops-1/argo-rollouts-rhel8@sha256:f5184b0db0271f38910e7a52a1703327e164ad8569d6c9ad43f2f840b5c7f70c - name: RELATED_IMAGE_MUST_GATHER_IMAGE value: registry.redhat.io/openshift-gitops-1/must-gather-rhel8@sha256:cbe88ac35fb4539287859801a4843948b4d50496ff67cfd189a16c0b45bd0d65 - 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.12.3 image: registry.redhat.io/openshift-gitops-1/gitops-rhel8-operator@sha256:2bfdf47accad02c323b1751514094c442be6660b5a631346f8d270ec93db386b 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: 1000700000 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-r8lzs 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 - --http2-disable env: - name: OPERATOR_CONDITION_NAME value: openshift-gitops-operator.v1.12.3 image: registry.redhat.io/openshift4/ose-kube-rbac-proxy@sha256:d35dff5d59e748ef0404e7e76b0237ea96b2bb19b86fa04a3a34df7a379277b2 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: 1000700000 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-r8lzs readOnly: true dnsPolicy: ClusterFirst enableServiceLinks: true imagePullSecrets: - name: openshift-gitops-operator-controller-manager-dockercfg-qnbf5 nodeName: ci-op-cv5pgmhw-042e3-sd7v2-worker-2-m56tm preemptionPolicy: PreemptLowerPriority priority: 0 restartPolicy: Always schedulerName: default-scheduler securityContext: fsGroup: 1000700000 runAsNonRoot: true seLinuxOptions: level: s0:c26,c25 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-r8lzs 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: "2024-05-30T18:31:20Z" status: "True" type: Initialized - lastProbeTime: null lastTransitionTime: "2024-05-30T18:32:36Z" status: "True" type: Ready - lastProbeTime: null lastTransitionTime: "2024-05-30T18:32:36Z" status: "True" type: ContainersReady - lastProbeTime: null lastTransitionTime: "2024-05-30T18:31:20Z" status: "True" type: PodScheduled containerStatuses: - containerID: cri-o://fdb894873a2ceef66afe0c877eae41709c893f2ee6e8ba350e2aa0781b0ca2d1 image: registry.redhat.io/openshift4/ose-kube-rbac-proxy@sha256:d35dff5d59e748ef0404e7e76b0237ea96b2bb19b86fa04a3a34df7a379277b2 imageID: registry.redhat.io/openshift4/ose-kube-rbac-proxy@sha256:40e01c69cf5381c1ad23e009e41febbd57b9048e5497ac7d25d977849f42d29f lastState: {} name: kube-rbac-proxy ready: true restartCount: 0 started: true state: running: startedAt: "2024-05-30T18:32:36Z" - containerID: cri-o://e4b0cda7dc890852f13265832eecaee52818a45f8e1e7d2692091d9cb1d053de image: registry.redhat.io/openshift-gitops-1/gitops-rhel8-operator@sha256:2bfdf47accad02c323b1751514094c442be6660b5a631346f8d270ec93db386b imageID: registry.redhat.io/openshift-gitops-1/gitops-rhel8-operator@sha256:2bfdf47accad02c323b1751514094c442be6660b5a631346f8d270ec93db386b lastState: {} name: manager ready: true restartCount: 0 started: true state: running: startedAt: "2024-05-30T18:31:28Z" hostIP: 10.241.65.5 phase: Running podIP: 10.131.0.18 podIPs: - ip: 10.131.0.18 qosClass: Burstable startTime: "2024-05-30T18:31:20Z" + subscription=gitops-operator- ++ oc get subscription --all-namespaces ++ grep gitops-operator- ++ head -1 ++ awk '{print $2}' + oc get subscription -n openshift-gitops-operator 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-699744d6dd-jrrpn condition met pod/kam-687d6458f6-ccnvt condition met pod/openshift-gitops-application-controller-0 condition met pod/openshift-gitops-applicationset-controller-5f696c58cd-j7dwh condition met pod/openshift-gitops-dex-server-8469df44b8-7457m condition met pod/openshift-gitops-redis-6cd56f9d5d-8bvjc condition met pod/openshift-gitops-repo-server-6ccfd57845-l2lfd condition met pod/openshift-gitops-server-fff4f5c87-qwhwx 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 59s argocd-redis-559456d476-dmsbj 1/1 Running 0 59s argocd-repo-server-7d9dd84bfb-vn942 1/1 Running 0 59s argocd-server-74b66f84bb-jshmh 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-559456d476-dmsbj condition met pod/argocd-repo-server-7d9dd84bfb-vn942 condition met pod/argocd-server-74b66f84bb-jshmh 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 2024/05/30 18:35:13 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. I0530 18:35:14.144752 249 request.go:655] Throttling request took 1.018980953s, request: GET:https://api.ci-op-cv5pgmhw-042e3.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:6443/apis/flowcontrol.apiserver.k8s.io/v1beta2?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 19 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-008_validate-4.9CI-Failures === PAUSE kuttl/harness/1-008_validate-4.9CI-Failures === 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-035_validate_argocd_secret_repopulate === PAUSE kuttl/harness/1-035_validate_argocd_secret_repopulate === 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 === PAUSE kuttl/harness/1-050_validate_sso === 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-077_validate_workload_status_monitoring_alert === PAUSE kuttl/harness/1-077_validate_workload_status_monitoring_alert === 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 === RUN kuttl/harness/1-086_validate_default_argocd_role === PAUSE kuttl/harness/1-086_validate_default_argocd_role === RUN kuttl/harness/1-105_validate_label_selector === PAUSE kuttl/harness/1-105_validate_label_selector === CONT kuttl/harness/1-001_validate_kam_service logger.go:42: 18:35:18 | 1-001_validate_kam_service | Creating namespace: kuttl-test-resolved-monarch logger.go:42: 18:35:18 | 1-001_validate_kam_service/1-check-kam-service | starting test step 1-check-kam-service logger.go:42: 18:35:20 | 1-001_validate_kam_service/1-check-kam-service | test step completed 1-check-kam-service logger.go:42: 18:35:20 | 1-001_validate_kam_service/2-check-route | starting test step 2-check-route logger.go:42: 18:35:20 | 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: 18:35:23 | 1-001_validate_kam_service/2-check-route | test step completed 2-check-route logger.go:42: 18:35:23 | 1-001_validate_kam_service/3-check-download | starting test step 3-check-download logger.go:42: 18:35:23 | 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" ] I0530 18:35:25.519826 249 request.go:655] Throttling request took 1.003925474s, request: GET:https://api.ci-op-cv5pgmhw-042e3.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:6443/apis/monitoring.openshift.io/v1?timeout=32s logger.go:42: 18:35:26 | 1-001_validate_kam_service/3-check-download | test step completed 3-check-download logger.go:42: 18:35:26 | 1-001_validate_kam_service | skipping kubernetes event logging logger.go:42: 18:35:26 | 1-001_validate_kam_service | Deleting namespace: kuttl-test-resolved-monarch === CONT kuttl/harness/1-050_validate_sso logger.go:42: 18:35:27 | 1-050_validate_sso | Creating namespace: kuttl-test-holy-peacock logger.go:42: 18:35:27 | 1-050_validate_sso/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: 18:35:29 | 1-050_validate_sso/1-install | ArgoCD:kuttl-test-holy-peacock/argocd created logger.go:42: 18:36:04 | 1-050_validate_sso/1-install | test step completed 1-install logger.go:42: 18:36:04 | 1-050_validate_sso/2-remove-spec-sso | starting test step 2-remove-spec-sso logger.go:42: 18:36:04 | 1-050_validate_sso/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: 18:36:05 | 1-050_validate_sso/2-remove-spec-sso | argocd.argoproj.io/argocd patched logger.go:42: 18:36:05 | 1-050_validate_sso/2-remove-spec-sso | running command: [sh -c sleep 10] I0530 18:36:16.233987 249 request.go:655] Throttling request took 1.000921074s, request: GET:https://api.ci-op-cv5pgmhw-042e3.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:6443/apis/operators.coreos.com/v1alpha1?timeout=32s logger.go:42: 18:36:17 | 1-050_validate_sso/2-remove-spec-sso | test step completed 2-remove-spec-sso logger.go:42: 18:36:17 | 1-050_validate_sso/7-provider-keycloak-dex-spec | starting test step 7-provider-keycloak-dex-spec logger.go:42: 18:36:20 | 1-050_validate_sso/7-provider-keycloak-dex-spec | ArgoCD:kuttl-test-holy-peacock/argocd updated Warning: apps.openshift.io/v1 DeploymentConfig is deprecated in v4.14+, unavailable in v4.10000+ logger.go:42: 18:36:20 | 1-050_validate_sso/7-provider-keycloak-dex-spec | test step completed 7-provider-keycloak-dex-spec logger.go:42: 18:36:20 | 1-050_validate_sso/8-remove-spec-dex | starting test step 8-remove-spec-dex logger.go:42: 18:36:20 | 1-050_validate_sso/8-remove-spec-dex | running command: [sh -c oc patch -n $NAMESPACE argocd/argocd --type='json' -p='[{"op": "remove", "path": "/spec/sso/dex"}]' ] logger.go:42: 18:36:20 | 1-050_validate_sso/8-remove-spec-dex | argocd.argoproj.io/argocd patched logger.go:42: 18:38:55 | 1-050_validate_sso/8-remove-spec-dex | test step completed 8-remove-spec-dex logger.go:42: 18:38:55 | 1-050_validate_sso | skipping kubernetes event logging logger.go:42: 18:38:55 | 1-050_validate_sso | Deleting namespace: kuttl-test-holy-peacock === CONT kuttl/harness/1-105_validate_label_selector logger.go:42: 18:38:55 | 1-105_validate_label_selector | Creating namespace: kuttl-test-fitting-shiner logger.go:42: 18:38:55 | 1-105_validate_label_selector/1-add-label-selector | starting test step 1-add-label-selector logger.go:42: 18:38:55 | 1-105_validate_label_selector/1-add-label-selector | running command: [sh -c if ! [ -z $NON_OLM ]; then oc set env deployment openshift-gitops-operator-controller-manager -n openshift-gitops-operator ARGOCD_LABEL_SELECTOR=foo=bar -c manager elif [ -z $CI ]; then oc patch -n openshift-gitops-operator subscription openshift-gitops-operator \ --type merge --patch '{"spec": {"config": {"env": [{"name": "ARGOCD_LABEL_SELECTOR", "value": "foo=bar"}]}}}' else oc patch -n openshift-gitops-operator subscription `subscription=gitops-operator- && oc get subscription --all-namespaces | grep $subscription | head -1 | awk '{print $2}'` \ --type merge --patch '{"spec": {"config": {"env": [{"name": "ARGOCD_LABEL_SELECTOR", "value": "foo=bar"}]}}}' fi ] logger.go:42: 18:38:56 | 1-105_validate_label_selector/1-add-label-selector | subscription.operators.coreos.com/openshift-gitops-operator patched logger.go:42: 18:38:56 | 1-105_validate_label_selector/1-add-label-selector | running command: [sh -c sleep 120] I0530 18:40:57.658052 249 request.go:655] Throttling request took 1.021494262s, request: GET:https://api.ci-op-cv5pgmhw-042e3.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:6443/apis/snapshot.storage.k8s.io/v1?timeout=32s logger.go:42: 18:40:59 | 1-105_validate_label_selector/1-add-label-selector | test step completed 1-add-label-selector logger.go:42: 18:40:59 | 1-105_validate_label_selector/2-install | starting test step 2-install logger.go:42: 18:41:01 | 1-105_validate_label_selector/2-install | ArgoCD:test-argocd/test1 created logger.go:42: 18:41:01 | 1-105_validate_label_selector/2-install | test step completed 2-install logger.go:42: 18:41:01 | 1-105_validate_label_selector/3-add-label | starting test step 3-add-label logger.go:42: 18:41:01 | 1-105_validate_label_selector/3-add-label | running command: [sh -c kubectl label argocd test1 foo=bar -n test-argocd ] logger.go:42: 18:41:01 | 1-105_validate_label_selector/3-add-label | argocd.argoproj.io/test1 labeled logger.go:42: 18:41:01 | 1-105_validate_label_selector/3-add-label | running command: [sh -c sleep 30] I0530 18:41:32.855613 249 request.go:655] Throttling request took 1.006195211s, request: GET:https://api.ci-op-cv5pgmhw-042e3.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:6443/apis/argoproj.io/v1alpha1?timeout=32s logger.go:42: 18:41:34 | 1-105_validate_label_selector/3-add-label | test step completed 3-add-label logger.go:42: 18:41:34 | 1-105_validate_label_selector/4-install | starting test step 4-install logger.go:42: 18:41:36 | 1-105_validate_label_selector/4-install | ArgoCD:test-argocd/test1 updated logger.go:42: 18:41:37 | 1-105_validate_label_selector/4-install | test step completed 4-install logger.go:42: 18:41:37 | 1-105_validate_label_selector/5-remove-label | starting test step 5-remove-label logger.go:42: 18:41:37 | 1-105_validate_label_selector/5-remove-label | running command: [sh -c kubectl label argocd test1 foo- -n test-argocd ] logger.go:42: 18:41:38 | 1-105_validate_label_selector/5-remove-label | argocd.argoproj.io/test1 unlabeled logger.go:42: 18:41:38 | 1-105_validate_label_selector/5-remove-label | running command: [sh -c sleep 30] I0530 18:42:09.226849 249 request.go:655] Throttling request took 1.005311393s, request: GET:https://api.ci-op-cv5pgmhw-042e3.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:6443/apis/packages.operators.coreos.com/v1?timeout=32s logger.go:42: 18:42:10 | 1-105_validate_label_selector/5-remove-label | test step completed 5-remove-label logger.go:42: 18:42:10 | 1-105_validate_label_selector/6-install | starting test step 6-install logger.go:42: 18:42:13 | 1-105_validate_label_selector/6-install | ArgoCD:test-argocd/test1 updated logger.go:42: 18:42:13 | 1-105_validate_label_selector/6-install | test step completed 6-install logger.go:42: 18:42:13 | 1-105_validate_label_selector/7-remove-label-selector | starting test step 7-remove-label-selector logger.go:42: 18:42:13 | 1-105_validate_label_selector/7-remove-label-selector | running command: [sh -c if ! [ -z $NON_OLM ]; then oc set env deployment openshift-gitops-operator-controller-manager -n openshift-gitops-operator ARGOCD_LABEL_SELECTOR- -c manager elif [ -z $CI ]; then oc patch -n openshift-gitops-operator subscription openshift-gitops-operator \ --type json --patch '[{"op": "remove", "path": "/spec/config"}]' else oc patch -n openshift-gitops-operator 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: 18:42:13 | 1-105_validate_label_selector/7-remove-label-selector | subscription.operators.coreos.com/openshift-gitops-operator patched logger.go:42: 18:42:13 | 1-105_validate_label_selector/7-remove-label-selector | running command: [sh -c sleep 120] I0530 18:44:15.007590 249 request.go:655] Throttling request took 1.022767661s, request: GET:https://api.ci-op-cv5pgmhw-042e3.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:6443/api/v1?timeout=32s logger.go:42: 18:44:16 | 1-105_validate_label_selector/7-remove-label-selector | test step completed 7-remove-label-selector logger.go:42: 18:44:16 | 1-105_validate_label_selector | skipping kubernetes event logging logger.go:42: 18:44:16 | 1-105_validate_label_selector | Deleting namespace: kuttl-test-fitting-shiner === CONT kuttl/harness/1-086_validate_default_argocd_role logger.go:42: 18:44:16 | 1-086_validate_default_argocd_role | Creating namespace: kuttl-test-novel-colt logger.go:42: 18:44:16 | 1-086_validate_default_argocd_role/1- | starting test step 1- logger.go:42: 18:44:19 | 1-086_validate_default_argocd_role/1- | test step completed 1- logger.go:42: 18:44:19 | 1-086_validate_default_argocd_role/2-install | starting test step 2-install logger.go:42: 18:44:21 | 1-086_validate_default_argocd_role/2-install | Namespace:/test-1-086-custom created logger.go:42: 18:44:21 | 1-086_validate_default_argocd_role/2-install | Namespace:/test-1-086-custom2 created logger.go:42: 18:44:21 | 1-086_validate_default_argocd_role/2-install | Namespace:/test-1-086-custom3 created logger.go:42: 18:44:21 | 1-086_validate_default_argocd_role/2-install | ArgoCD:test-1-086-custom/argocd-default-policy created logger.go:42: 18:44:21 | 1-086_validate_default_argocd_role/2-install | ArgoCD:test-1-086-custom2/argocd-default-policy-empty created logger.go:42: 18:44:21 | 1-086_validate_default_argocd_role/2-install | ArgoCD:test-1-086-custom3/argocd-default-policy-admin created logger.go:42: 18:44:58 | 1-086_validate_default_argocd_role/2-install | test step completed 2-install logger.go:42: 18:44:58 | 1-086_validate_default_argocd_role | skipping kubernetes event logging logger.go:42: 18:44:59 | 1-086_validate_default_argocd_role | Deleting namespace: kuttl-test-novel-colt === CONT kuttl/harness/1-085_validate_dynamic_plugin_installation logger.go:42: 18:44:59 | 1-085_validate_dynamic_plugin_installation | Creating namespace: kuttl-test-tidy-bluegill logger.go:42: 18:44:59 | 1-085_validate_dynamic_plugin_installation/1-install-dynamic-plugin | starting test step 1-install-dynamic-plugin logger.go:42: 18:44:59 | 1-085_validate_dynamic_plugin_installation/1-install-dynamic-plugin | running command: [sh -c set -eo pipefail # Get CSV name and also OCP version. csv_name=$(oc get csv -n openshift-gitops-operator | awk '/gitops-operator/ {print $1}') ocp_version=$(oc version | awk '/Server Version/ {split($3,a,"-"); print a[1]}') if [[ ${ocp_version} =~ "4.15" ]]; then exit 0 fi # Patch the CSV to add the necessary env key:value for Dynamic Plugin oc patch csv "${csv_name}" -n openshift-gitops-operator \ --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 ] I0530 18:45:01.283737 249 request.go:655] Throttling request took 1.003767323s, request: GET:https://api.ci-op-cv5pgmhw-042e3.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:6443/apis/tuned.openshift.io/v1?timeout=32s logger.go:42: 18:45:02 | 1-085_validate_dynamic_plugin_installation/1-install-dynamic-plugin | test step completed 1-install-dynamic-plugin logger.go:42: 18:45:02 | 1-085_validate_dynamic_plugin_installation/2- | starting test step 2- logger.go:42: 18:45:05 | 1-085_validate_dynamic_plugin_installation/2- | test step completed 2- logger.go:42: 18:45:05 | 1-085_validate_dynamic_plugin_installation | skipping kubernetes event logging logger.go:42: 18:45:05 | 1-085_validate_dynamic_plugin_installation | Deleting namespace: kuttl-test-tidy-bluegill === CONT kuttl/harness/1-084_validate_prune_templates 2024/05/30 18:45:05 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 2024/05/30 18:45:05 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 2024/05/30 18:45:05 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 2024/05/30 18:45:05 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 2024/05/30 18:45:05 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: 18:45:05 | 1-084_validate_prune_templates | Creating namespace: kuttl-test-premium-lemur logger.go:42: 18:45:05 | 1-084_validate_prune_templates/1-create-ns-managed-by | starting test step 1-create-ns-managed-by logger.go:42: 18:45:07 | 1-084_validate_prune_templates/1-create-ns-managed-by | test step completed 1-create-ns-managed-by logger.go:42: 18:45:07 | 1-084_validate_prune_templates/2-prune-duplicateGVK-resource | starting test step 2-prune-duplicateGVK-resource logger.go:42: 18:45:10 | 1-084_validate_prune_templates/2-prune-duplicateGVK-resource | test step completed 2-prune-duplicateGVK-resource logger.go:42: 18:45:10 | 1-084_validate_prune_templates/3- | starting test step 3- I0530 18:45:11.500235 249 request.go:655] Throttling request took 1.019322062s, request: GET:https://api.ci-op-cv5pgmhw-042e3.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:6443/apis/machineconfiguration.openshift.io/v1?timeout=32s logger.go:42: 18:45:12 | 1-084_validate_prune_templates/3- | test step completed 3- logger.go:42: 18:45:12 | 1-084_validate_prune_templates/4-delete | starting test step 4-delete logger.go:42: 18:45:15 | 1-084_validate_prune_templates/4-delete | test step completed 4-delete logger.go:42: 18:45:15 | 1-084_validate_prune_templates | skipping kubernetes event logging logger.go:42: 18:45:15 | 1-084_validate_prune_templates | Deleting namespace: kuttl-test-premium-lemur === CONT kuttl/harness/1-078_validate_default_argocd_consoleLink logger.go:42: 18:45:15 | 1-078_validate_default_argocd_consoleLink | Creating namespace: kuttl-test-heroic-ladybug logger.go:42: 18:45:15 | 1-078_validate_default_argocd_consoleLink/1- | starting test step 1- logger.go:42: 18:45:18 | 1-078_validate_default_argocd_consoleLink/1- | test step completed 1- logger.go:42: 18:45:18 | 1-078_validate_default_argocd_consoleLink/2-add_env | starting test step 2-add_env logger.go:42: 18:45:18 | 1-078_validate_default_argocd_consoleLink/2-add_env | running command: [sh -c if ! [ -z $NON_OLM ]; then oc set env deployment openshift-gitops-operator-controller-manager -n openshift-gitops-operator DISABLE_DEFAULT_ARGOCD_CONSOLELINK=true elif [ -z $CI ]; then oc patch -n openshift-gitops-operator subscription openshift-gitops-operator \ --type merge --patch '{"spec": {"config": {"env": [{"name": "DISABLE_DEFAULT_ARGOCD_CONSOLELINK", "value": "true"}]}}}' else oc patch -n openshift-gitops-operator 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: 18:45:18 | 1-078_validate_default_argocd_consoleLink/2-add_env | subscription.operators.coreos.com/openshift-gitops-operator patched logger.go:42: 18:45:45 | 1-078_validate_default_argocd_consoleLink/2-add_env | test step completed 2-add_env logger.go:42: 18:45:45 | 1-078_validate_default_argocd_consoleLink/3-check-env | starting test step 3-check-env logger.go:42: 18:45:45 | 1-078_validate_default_argocd_consoleLink/3-check-env | running command: [sh -c if ! [ -z $NON_OLM ]; then label_value=$(oc get deployment openshift-gitops-operator-controller-manager -n openshift-gitops-operator -o json | jq '.spec.template.spec.containers[]|select(.name=="manager")|.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 elif [ -z $CI ]; then label_value=$(oc get subscriptions openshift-gitops-operator -n openshift-gitops-operator -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-gitops-operator -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 ] I0530 18:45:46.582030 249 request.go:655] Throttling request took 1.007421233s, request: GET:https://api.ci-op-cv5pgmhw-042e3.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:6443/apis/monitoring.openshift.io/v1?timeout=32s logger.go:42: 18:45:48 | 1-078_validate_default_argocd_consoleLink/3-check-env | test step completed 3-check-env logger.go:42: 18:45:48 | 1-078_validate_default_argocd_consoleLink/4-disable-env | starting test step 4-disable-env logger.go:42: 18:45:48 | 1-078_validate_default_argocd_consoleLink/4-disable-env | running command: [sh -c if ! [ -z $NON_OLM ]; then oc set env deployment openshift-gitops-operator-controller-manager -n openshift-gitops-operator DISABLE_DEFAULT_ARGOCD_CONSOLELINK=false elif [ -z $CI ]; then oc patch -n openshift-gitops-operator subscription openshift-gitops-operator \ --type merge --patch '{"spec": {"config": {"env": [{"name": "DISABLE_DEFAULT_ARGOCD_CONSOLELINK", "value": "false"}]}}}' else oc patch -n openshift-gitops-operator 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: 18:45:48 | 1-078_validate_default_argocd_consoleLink/4-disable-env | subscription.operators.coreos.com/openshift-gitops-operator patched logger.go:42: 18:46:15 | 1-078_validate_default_argocd_consoleLink/4-disable-env | test step completed 4-disable-env logger.go:42: 18:46:15 | 1-078_validate_default_argocd_consoleLink/5-check-env | starting test step 5-check-env logger.go:42: 18:46:15 | 1-078_validate_default_argocd_consoleLink/5-check-env | running command: [sh -c if ! [ -z $NON_OLM ]; then label_value=$(oc get deployment openshift-gitops-operator-controller-manager -n openshift-gitops-operator -o json | jq '.spec.template.spec.containers[]|select(.name=="manager")|.env[] | select(.name=="DISABLE_DEFAULT_ARGOCD_CONSOLELINK")|.value') if ! [[ "${label_value}" == '"false"' ]]; then echo "Label value: $label_value" echo "DISABLE_DEFAULT_ARGOCD_CONSOLELINK set" exit 1 else exit 0 fi elif [ -z $CI ]; then label_value=$(oc get subscriptions openshift-gitops-operator -n openshift-gitops-operator -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-gitops-operator -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 ] I0530 18:46:17.083377 249 request.go:655] Throttling request took 1.016069902s, request: GET:https://api.ci-op-cv5pgmhw-042e3.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:6443/apis/cloudcredential.openshift.io/v1?timeout=32s logger.go:42: 18:46:18 | 1-078_validate_default_argocd_consoleLink/5-check-env | test step completed 5-check-env logger.go:42: 18:46:18 | 1-078_validate_default_argocd_consoleLink/6-empty-valued-env | starting test step 6-empty-valued-env logger.go:42: 18:46:18 | 1-078_validate_default_argocd_consoleLink/6-empty-valued-env | running command: [sh -c if ! [ -z $NON_OLM ]; then oc set env deployment openshift-gitops-operator-controller-manager -n openshift-gitops-operator DISABLE_DEFAULT_ARGOCD_CONSOLELINK="" elif [ -z $CI ]; then oc patch -n openshift-gitops-operator subscription openshift-gitops-operator \ --type merge --patch '{"spec": {"config": {"env": [{"name": "DISABLE_DEFAULT_ARGOCD_CONSOLELINK", "value": ""}]}}}' else oc patch -n openshift-gitops-operator 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: 18:46:19 | 1-078_validate_default_argocd_consoleLink/6-empty-valued-env | subscription.operators.coreos.com/openshift-gitops-operator patched logger.go:42: 18:46:21 | 1-078_validate_default_argocd_consoleLink/6-empty-valued-env | test step completed 6-empty-valued-env logger.go:42: 18:46:21 | 1-078_validate_default_argocd_consoleLink/7-check-env | starting test step 7-check-env logger.go:42: 18:46:21 | 1-078_validate_default_argocd_consoleLink/7-check-env | running command: [sh -c if ! [ -z $NON_OLM ]; then label_value=$(oc get deployment openshift-gitops-operator-controller-manager -n openshift-gitops-operator -o json | jq -r '.spec.template.spec.containers[]|select(.name=="manager")|.env[] | select(.name=="DISABLE_DEFAULT_ARGOCD_CONSOLELINK")|.value') if ! [[ "${label_value}" == null ]]; then echo "DISABLE_DEFAULT_ARGOCD_CONSOLELINK is set to ${label_value}" exit 1 else exit 0 fi elif [ -z $CI ]; then label_value=$(oc get subscriptions openshift-gitops-operator -n openshift-gitops-operator -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-gitops-operator -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: 18:46:24 | 1-078_validate_default_argocd_consoleLink/7-check-env | test step completed 7-check-env logger.go:42: 18:46:24 | 1-078_validate_default_argocd_consoleLink/8-remove-env | starting test step 8-remove-env logger.go:42: 18:46:24 | 1-078_validate_default_argocd_consoleLink/8-remove-env | running command: [sh -c if ! [ -z $NON_OLM ]; then oc set env deployment openshift-gitops-operator-controller-manager -n openshift-gitops-operator DISABLE_DEFAULT_ARGOCD_CONSOLELINK=null elif [ -z $CI ]; then oc -n openshift-gitops-operator patch subscription openshift-gitops-operator --type='json' -p='[{"op": "remove", "path": "/spec/config" }]' else oc -n openshift-gitops-operator 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: 18:46:24 | 1-078_validate_default_argocd_consoleLink/8-remove-env | subscription.operators.coreos.com/openshift-gitops-operator patched I0530 18:46:27.101863 249 request.go:655] Throttling request took 2.418516814s, request: GET:https://api.ci-op-cv5pgmhw-042e3.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:6443/apis/apps.openshift.io/v1?timeout=32s logger.go:42: 18:46:27 | 1-078_validate_default_argocd_consoleLink/8-remove-env | test step completed 8-remove-env logger.go:42: 18:46:27 | 1-078_validate_default_argocd_consoleLink | skipping kubernetes event logging logger.go:42: 18:46:27 | 1-078_validate_default_argocd_consoleLink | Deleting namespace: kuttl-test-heroic-ladybug === CONT kuttl/harness/1-077_validate_workload_status_monitoring_alert 2024/05/30 18:46:27 object detected with no GVK Kind for path /go/src/github.com/redhat-developer/gitops-operator/test/openshift/e2e/sequential/1-077_validate_workload_status_monitoring_alert/01-assert.yaml 2024/05/30 18:46:27 object detected with no GVK Kind for path /go/src/github.com/redhat-developer/gitops-operator/test/openshift/e2e/sequential/1-077_validate_workload_status_monitoring_alert/01-install.yaml 2024/05/30 18:46:27 object detected with no GVK Kind for path /go/src/github.com/redhat-developer/gitops-operator/test/openshift/e2e/sequential/1-077_validate_workload_status_monitoring_alert/02-verify-alert.yaml logger.go:42: 18:46:27 | 1-077_validate_workload_status_monitoring_alert | Creating namespace: kuttl-test-merry-fly logger.go:42: 18:46:27 | 1-077_validate_workload_status_monitoring_alert/1-install | starting test step 1-install logger.go:42: 18:46:29 | 1-077_validate_workload_status_monitoring_alert/1-install | test step completed 1-install logger.go:42: 18:46:29 | 1-077_validate_workload_status_monitoring_alert/2-verify-alert | starting test step 2-verify-alert logger.go:42: 18:46:32 | 1-077_validate_workload_status_monitoring_alert/2-verify-alert | test step completed 2-verify-alert logger.go:42: 18:46:32 | 1-077_validate_workload_status_monitoring_alert | skipping kubernetes event logging logger.go:42: 18:46:32 | 1-077_validate_workload_status_monitoring_alert | Deleting namespace: kuttl-test-merry-fly === CONT kuttl/harness/1-071_validate_node_selectors logger.go:42: 18:46:32 | 1-071_validate_node_selectors | Creating namespace: kuttl-test-genuine-pony logger.go:42: 18:46:32 | 1-071_validate_node_selectors/1- | starting test step 1- logger.go:42: 18:46:35 | 1-071_validate_node_selectors/1- | test step completed 1- logger.go:42: 18:46:35 | 1-071_validate_node_selectors/2-custom-node-selector | starting test step 2-custom-node-selector logger.go:42: 18:46:35 | 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: 18:46:35 | 1-071_validate_node_selectors/2-custom-node-selector | gitopsservice.pipelines.openshift.io/cluster patched I0530 18:46:37.133996 249 request.go:655] Throttling request took 1.768811535s, request: GET:https://api.ci-op-cv5pgmhw-042e3.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:6443/apis/build.openshift.io/v1?timeout=32s logger.go:42: 18:46:50 | 1-071_validate_node_selectors/2-custom-node-selector | test step completed 2-custom-node-selector logger.go:42: 18:46:50 | 1-071_validate_node_selectors/3-patch-run-on-infra | starting test step 3-patch-run-on-infra logger.go:42: 18:46:50 | 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: 18:46:51 | 1-071_validate_node_selectors/3-patch-run-on-infra | gitopsservice.pipelines.openshift.io/cluster patched I0530 18:46:52.230394 249 request.go:655] Throttling request took 1.019190302s, request: GET:https://api.ci-op-cv5pgmhw-042e3.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:6443/apis/autoscaling.openshift.io/v1?timeout=32s logger.go:42: 18:46:53 | 1-071_validate_node_selectors/3-patch-run-on-infra | test step completed 3-patch-run-on-infra logger.go:42: 18:46:53 | 1-071_validate_node_selectors/4-change-back | starting test step 4-change-back logger.go:42: 18:46:53 | 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: 18:46:54 | 1-071_validate_node_selectors/4-change-back | gitopsservice.pipelines.openshift.io/cluster patched logger.go:42: 18:46:54 | 1-071_validate_node_selectors/4-change-back | statefulset.apps/openshift-gitops-application-controller patched logger.go:42: 18:46:57 | 1-071_validate_node_selectors/4-change-back | test step completed 4-change-back logger.go:42: 18:46:57 | 1-071_validate_node_selectors | skipping kubernetes event logging logger.go:42: 18:46:57 | 1-071_validate_node_selectors | Deleting namespace: kuttl-test-genuine-pony === CONT kuttl/harness/1-056_validate_managed-by logger.go:42: 18:46:57 | 1-056_validate_managed-by | Creating namespace: kuttl-test-humane-airedale logger.go:42: 18:46:57 | 1-056_validate_managed-by/1-install | starting test step 1-install logger.go:42: 18:46:59 | 1-056_validate_managed-by/1-install | Namespace:/test-1-56-target created logger.go:42: 18:46:59 | 1-056_validate_managed-by/1-install | Namespace:/test-1-56-custom created logger.go:42: 18:46:59 | 1-056_validate_managed-by/1-install | ArgoCD:test-1-56-target/example-argocd created logger.go:42: 18:47:34 | 1-056_validate_managed-by/1-install | test step completed 1-install logger.go:42: 18:47:34 | 1-056_validate_managed-by/2-delete | starting test step 2-delete I0530 18:47:35.763903 249 request.go:655] Throttling request took 1.019579642s, request: GET:https://api.ci-op-cv5pgmhw-042e3.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:6443/apis/performance.openshift.io/v1?timeout=32s logger.go:42: 18:47:37 | 1-056_validate_managed-by/2-delete | test step completed 2-delete logger.go:42: 18:47:37 | 1-056_validate_managed-by/3-check | starting test step 3-check logger.go:42: 18:47:37 | 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: 18:47:37 | 1-056_validate_managed-by/3-check | label value: test-1-56-target logger.go:42: 18:47:37 | 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: 18:47:40 | 1-056_validate_managed-by/3-check | test step completed 3-check logger.go:42: 18:47:40 | 1-056_validate_managed-by/4-add_env | starting test step 4-add_env logger.go:42: 18:47:40 | 1-056_validate_managed-by/4-add_env | running command: [sh -c set -e if ! [ -z $NON_OLM ]; then oc set env deployment openshift-gitops-operator-controller-manager -n openshift-gitops-operator REMOVE_MANAGED_BY_LABEL_ON_ARGOCD_DELETION=true elif [ -z $CI ]; then oc patch -n openshift-gitops-operator 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-gitops-operator 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: 18:47:40 | 1-056_validate_managed-by/4-add_env | subscription.operators.coreos.com/openshift-gitops-operator patched logger.go:42: 18:47:42 | 1-056_validate_managed-by/4-add_env | test step completed 4-add_env logger.go:42: 18:47:42 | 1-056_validate_managed-by/5-check | starting test step 5-check logger.go:42: 18:47:42 | 1-056_validate_managed-by/5-check | running command: [sh -c if ! [ -z $NON_OLM ]; then label_value=$(oc get deployment openshift-gitops-operator-controller-manager -n openshift-gitops-operator -o json | jq '.spec.template.spec.containers[]|select(.name=="manager")|.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 elif [ -z $CI ]; then label_value=$(oc get subscriptions openshift-gitops-operator -n openshift-gitops-operator -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-gitops-operator -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: 18:47:45 | 1-056_validate_managed-by/5-check | test step completed 5-check logger.go:42: 18:47:45 | 1-056_validate_managed-by/6-install | starting test step 6-install I0530 18:47:46.685598 249 request.go:655] Throttling request took 1.019783342s, request: GET:https://api.ci-op-cv5pgmhw-042e3.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:6443/apis/argoproj.io/v1beta1?timeout=32s logger.go:42: 18:47:48 | 1-056_validate_managed-by/6-install | Namespace:/test-1-56-target-2 created logger.go:42: 18:47:48 | 1-056_validate_managed-by/6-install | Namespace:/test-1-56-custom-2 created logger.go:42: 18:47:48 | 1-056_validate_managed-by/6-install | ArgoCD:test-1-56-target-2/example-argocd-2 created logger.go:42: 18:48:13 | 1-056_validate_managed-by/6-install | test step completed 6-install logger.go:42: 18:48:13 | 1-056_validate_managed-by/7-delete | starting test step 7-delete I0530 18:48:14.797822 249 request.go:655] Throttling request took 1.008715023s, request: GET:https://api.ci-op-cv5pgmhw-042e3.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:6443/apis/events.k8s.io/v1?timeout=32s logger.go:42: 18:48:16 | 1-056_validate_managed-by/7-delete | test step completed 7-delete logger.go:42: 18:48:16 | 1-056_validate_managed-by/8-remove_env | starting test step 8-remove_env logger.go:42: 18:48:16 | 1-056_validate_managed-by/8-remove_env | running command: [sh -c if ! [ -z $NON_OLM ]; then oc set env deployment openshift-gitops-operator-controller-manager -n openshift-gitops-operator REMOVE_MANAGED_BY_LABEL_ON_ARGOCD_DELETION=null elif [ -z $CI ]; then oc patch -n openshift-gitops-operator subscription openshift-gitops-operator \ --type json --patch '[{"op": "remove", "path": "/spec/config"}]' else oc patch -n openshift-gitops-operator 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: 18:48:16 | 1-056_validate_managed-by/8-remove_env | subscription.operators.coreos.com/openshift-gitops-operator patched logger.go:42: 18:48:19 | 1-056_validate_managed-by/8-remove_env | test step completed 8-remove_env logger.go:42: 18:48:19 | 1-056_validate_managed-by/99-delete | starting test step 99-delete I0530 18:48:30.031960 249 request.go:655] Throttling request took 1.014863222s, request: GET:https://api.ci-op-cv5pgmhw-042e3.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:6443/apis/controlplane.operator.openshift.io/v1alpha1?timeout=32s logger.go:42: 18:48:31 | 1-056_validate_managed-by/99-delete | test step completed 99-delete logger.go:42: 18:48:31 | 1-056_validate_managed-by | skipping kubernetes event logging logger.go:42: 18:48:31 | 1-056_validate_managed-by | Deleting namespace: kuttl-test-humane-airedale === CONT kuttl/harness/1-028_validate_run_on_infra logger.go:42: 18:48:31 | 1-028_validate_run_on_infra | Ignoring errors.yaml as it does not match file name regexp: ^(\d+)-(?:[^\.]+)(?:\.yaml)?$ logger.go:42: 18:48:31 | 1-028_validate_run_on_infra | Creating namespace: kuttl-test-giving-leech logger.go:42: 18:48:31 | 1-028_validate_run_on_infra/1-install | starting test step 1-install logger.go:42: 18:48:31 | 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: 18:48:31 | 1-028_validate_run_on_infra/1-install | gitopsservice.pipelines.openshift.io/cluster patched logger.go:42: 18:48:47 | 1-028_validate_run_on_infra/1-install | test step completed 1-install logger.go:42: 18:48:47 | 1-028_validate_run_on_infra/2-custom-argocd | starting test step 2-custom-argocd I0530 18:48:48.321374 249 request.go:655] Throttling request took 1.013918072s, request: GET:https://api.ci-op-cv5pgmhw-042e3.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:6443/apis/pipelines.openshift.io/v1alpha1?timeout=32s logger.go:42: 18:48:49 | 1-028_validate_run_on_infra/2-custom-argocd | ArgoCD:kuttl-test-giving-leech/argocd created logger.go:42: 18:49:23 | 1-028_validate_run_on_infra/2-custom-argocd | test step completed 2-custom-argocd logger.go:42: 18:49:23 | 1-028_validate_run_on_infra/3-change-back | starting test step 3-change-back logger.go:42: 18:49:23 | 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: 18:49:24 | 1-028_validate_run_on_infra/3-change-back | gitopsservice.pipelines.openshift.io/cluster patched logger.go:42: 18:49:24 | 1-028_validate_run_on_infra/3-change-back | statefulset.apps/openshift-gitops-application-controller patched I0530 18:49:25.437388 249 request.go:655] Throttling request took 1.00506692s, request: GET:https://api.ci-op-cv5pgmhw-042e3.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:6443/apis/authentication.k8s.io/v1?timeout=32s logger.go:42: 18:49:26 | 1-028_validate_run_on_infra/3-change-back | test step completed 3-change-back logger.go:42: 18:49:26 | 1-028_validate_run_on_infra/4-check | starting test step 4-check logger.go:42: 18:49:29 | 1-028_validate_run_on_infra/4-check | test step completed 4-check logger.go:42: 18:49:29 | 1-028_validate_run_on_infra | skipping kubernetes event logging logger.go:42: 18:49:29 | 1-028_validate_run_on_infra | Deleting namespace: kuttl-test-giving-leech === CONT kuttl/harness/1-035_validate_argocd_secret_repopulate logger.go:42: 18:49:29 | 1-035_validate_argocd_secret_repopulate | Creating namespace: kuttl-test-liberal-salmon logger.go:42: 18:49:29 | 1-035_validate_argocd_secret_repopulate/1- | starting test step 1- logger.go:42: 18:49:35 | 1-035_validate_argocd_secret_repopulate/1- | test step completed 1- logger.go:42: 18:49:35 | 1-035_validate_argocd_secret_repopulate/2-remove_secret_data | starting test step 2-remove_secret_data logger.go:42: 18:49:35 | 1-035_validate_argocd_secret_repopulate/2-remove_secret_data | running command: [sh -c oc patch secret/argocd-secret -p '{"data":null}' -n openshift-gitops ] logger.go:42: 18:49:35 | 1-035_validate_argocd_secret_repopulate/2-remove_secret_data | secret/argocd-secret patched I0530 18:49:36.538158 249 request.go:655] Throttling request took 1.004380251s, request: GET:https://api.ci-op-cv5pgmhw-042e3.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:6443/apis/controlplane.operator.openshift.io/v1alpha1?timeout=32s logger.go:42: 18:49:38 | 1-035_validate_argocd_secret_repopulate/2-remove_secret_data | test step completed 2-remove_secret_data logger.go:42: 18:49:38 | 1-035_validate_argocd_secret_repopulate/3-check_secret_repopulate | starting test step 3-check_secret_repopulate logger.go:42: 18:49:38 | 1-035_validate_argocd_secret_repopulate/3-check_secret_repopulate | running command: [sh -c until [[ $i -eq 20 ]] do secret_data=$(oc get secret/argocd-secret -n openshift-gitops -o custom-columns=SECRET:.data --no-headers) if [[ $secret_data == "" ]] then i=$((i+1)) sleep 6 else echo "argocd-secret was repopulated" exit 0 fi done echo "argocd-secret was not repopulated" exit 1 ] logger.go:42: 18:49:38 | 1-035_validate_argocd_secret_repopulate/3-check_secret_repopulate | argocd-secret was repopulated logger.go:42: 18:49:40 | 1-035_validate_argocd_secret_repopulate/3-check_secret_repopulate | test step completed 3-check_secret_repopulate logger.go:42: 18:49:40 | 1-035_validate_argocd_secret_repopulate/4-check_controller_pod_status | starting test step 4-check_controller_pod_status logger.go:42: 18:49:40 | 1-035_validate_argocd_secret_repopulate/4-check_controller_pod_status | running command: [sh -c oc rollout status deployment openshift-gitops-operator-controller-manager -n openshift-gitops-operator --timeout=1m rollout_status=$? if [ "${rollout_status}" -ne 0 ]; then echo "openshift-gitops-operator-controller-manager deployment was not successfully rolled out" exit 1 fi exit 0 ] logger.go:42: 18:49:41 | 1-035_validate_argocd_secret_repopulate/4-check_controller_pod_status | deployment "openshift-gitops-operator-controller-manager" successfully rolled out logger.go:42: 18:49:43 | 1-035_validate_argocd_secret_repopulate/4-check_controller_pod_status | test step completed 4-check_controller_pod_status logger.go:42: 18:49:43 | 1-035_validate_argocd_secret_repopulate/5-argocd_login | starting test step 5-argocd_login logger.go:42: 18:49:43 | 1-035_validate_argocd_secret_repopulate/5-argocd_login | 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 if [[ "${output}" == *"rpc error: code = Unknown desc = server.secretkey is missing" ]]; then echo "server.secretkey is missing" exit 1 fi fi exit 0 ] logger.go:42: 18:49:44 | 1-035_validate_argocd_secret_repopulate/5-argocd_login | time="2024-05-30T18:49:44Z" level=warning msg="Failed to invoke grpc call. Use flag --grpc-web in grpc calls. To avoid this warning message, use flag --grpc-web." I0530 18:49:46.679253 249 request.go:655] Throttling request took 1.007972063s, request: GET:https://api.ci-op-cv5pgmhw-042e3.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:6443/apis/batch/v1?timeout=32s logger.go:42: 18:49:48 | 1-035_validate_argocd_secret_repopulate/5-argocd_login | test step completed 5-argocd_login logger.go:42: 18:49:48 | 1-035_validate_argocd_secret_repopulate | skipping kubernetes event logging logger.go:42: 18:49:48 | 1-035_validate_argocd_secret_repopulate | Deleting namespace: kuttl-test-liberal-salmon === CONT kuttl/harness/1-034_validate_custom_roles logger.go:42: 18:49:48 | 1-034_validate_custom_roles | Creating namespace: kuttl-test-engaged-pony logger.go:42: 18:49:48 | 1-034_validate_custom_roles/1-install | starting test step 1-install logger.go:42: 18:49:50 | 1-034_validate_custom_roles/1-install | Namespace:/test-1-034-custom created logger.go:42: 18:49:50 | 1-034_validate_custom_roles/1-install | ArgoCD:test-1-034-custom/argocd created logger.go:42: 18:49:50 | 1-034_validate_custom_roles/1-install | Namespace:/custom-role-namespace created logger.go:42: 18:49:51 | 1-034_validate_custom_roles/1-install | ClusterRole:/custom-argocd-role created logger.go:42: 18:50:25 | 1-034_validate_custom_roles/1-install | test step completed 1-install logger.go:42: 18:50:25 | 1-034_validate_custom_roles/2-patch-subscription | starting test step 2-patch-subscription logger.go:42: 18:50:25 | 1-034_validate_custom_roles/2-patch-subscription | running command: [sh -c if ! [ -z $NON_OLM ]; then oc set env deployment openshift-gitops-operator-controller-manager -n openshift-gitops-operator CONTROLLER_CLUSTER_ROLE=custom-argocd-role oc set env deployment openshift-gitops-operator-controller-manager -n openshift-gitops-operator SERVER_CLUSTER_ROLE=custom-argocd-role elif ! [ -z $CI ]; then oc patch -n openshift-gitops-operator 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-gitops-operator 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: 18:50:26 | 1-034_validate_custom_roles/2-patch-subscription | subscription.operators.coreos.com/openshift-gitops-operator patched logger.go:42: 18:50:26 | 1-034_validate_custom_roles/2-patch-subscription | running command: [sh -c sleep 10] I0530 18:50:37.150995 249 request.go:655] Throttling request took 1.005853673s, request: GET:https://api.ci-op-cv5pgmhw-042e3.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:6443/apis/oauth.openshift.io/v1?timeout=32s logger.go:42: 18:50:38 | 1-034_validate_custom_roles/2-patch-subscription | test step completed 2-patch-subscription logger.go:42: 18:50:38 | 1-034_validate_custom_roles/3- | starting test step 3- logger.go:42: 18:51:06 | 1-034_validate_custom_roles/3- | test step completed 3- logger.go:42: 18:51:06 | 1-034_validate_custom_roles/4- | starting test step 4- I0530 18:51:07.820678 249 request.go:655] Throttling request took 1.006948423s, request: GET:https://api.ci-op-cv5pgmhw-042e3.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:6443/apis/operator.openshift.io/v1?timeout=32s logger.go:42: 18:51:09 | 1-034_validate_custom_roles/4- | test step completed 4- logger.go:42: 18:51:09 | 1-034_validate_custom_roles/5-delete | starting test step 5-delete I0530 18:51:19.417287 249 request.go:655] Throttling request took 1.017457882s, request: GET:https://api.ci-op-cv5pgmhw-042e3.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:6443/api/v1?timeout=32s logger.go:42: 18:51:20 | 1-034_validate_custom_roles/5-delete | test step completed 5-delete logger.go:42: 18:51:20 | 1-034_validate_custom_roles/6-revert-patch | starting test step 6-revert-patch logger.go:42: 18:51:20 | 1-034_validate_custom_roles/6-revert-patch | running command: [sh -c if ! [ -z $NON_OLM ]; then oc set env deployment openshift-gitops-operator-controller-manager -n openshift-gitops-operator SERVER_CLUSTER_ROLE=null elif ! [ -z $CI ]; then oc patch -n openshift-gitops-operator 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-gitops-operator --type json --patch='[ { "op": "remove", "path": "/spec/config" } ]' fi ] logger.go:42: 18:51:21 | 1-034_validate_custom_roles/6-revert-patch | subscription.operators.coreos.com/openshift-gitops-operator patched logger.go:42: 18:51:21 | 1-034_validate_custom_roles/6-revert-patch | running command: [sh -c sleep 10] I0530 18:51:32.326023 249 request.go:655] Throttling request took 1.002960163s, request: GET:https://api.ci-op-cv5pgmhw-042e3.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:6443/apis/operators.coreos.com/v2?timeout=32s logger.go:42: 18:51:33 | 1-034_validate_custom_roles/6-revert-patch | test step completed 6-revert-patch logger.go:42: 18:51:33 | 1-034_validate_custom_roles | skipping kubernetes event logging logger.go:42: 18:51:33 | 1-034_validate_custom_roles | Deleting namespace: kuttl-test-engaged-pony === CONT kuttl/harness/1-041_validate_argocd_sync_alert logger.go:42: 18:51:33 | 1-041_validate_argocd_sync_alert | Creating namespace: kuttl-test-deciding-macaw logger.go:42: 18:51:33 | 1-041_validate_argocd_sync_alert/1- | starting test step 1- logger.go:42: 18:51:36 | 1-041_validate_argocd_sync_alert/1- | test step completed 1- logger.go:42: 18:51:36 | 1-041_validate_argocd_sync_alert | skipping kubernetes event logging logger.go:42: 18:51:36 | 1-041_validate_argocd_sync_alert | Deleting namespace: kuttl-test-deciding-macaw === CONT kuttl/harness/1-020_validate_redis_ha_nonha logger.go:42: 18:51:36 | 1-020_validate_redis_ha_nonha | Creating namespace: kuttl-test-sincere-locust logger.go:42: 18:51:36 | 1-020_validate_redis_ha_nonha/1- | starting test step 1- logger.go:42: 18:51:39 | 1-020_validate_redis_ha_nonha/1- | test step completed 1- logger.go:42: 18:51:39 | 1-020_validate_redis_ha_nonha/2-enable-ha | starting test step 2-enable-ha logger.go:42: 18:51:41 | 1-020_validate_redis_ha_nonha/2-enable-ha | ArgoCD:openshift-gitops/openshift-gitops updated logger.go:42: 18:54:27 | 1-020_validate_redis_ha_nonha/2-enable-ha | test step completed 2-enable-ha logger.go:42: 18:54:27 | 1-020_validate_redis_ha_nonha/3-update-ha-resources | starting test step 3-update-ha-resources I0530 18:54:28.916371 249 request.go:655] Throttling request took 1.020474851s, request: GET:https://api.ci-op-cv5pgmhw-042e3.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:6443/apis/tuned.openshift.io/v1?timeout=32s logger.go:42: 18:54:30 | 1-020_validate_redis_ha_nonha/3-update-ha-resources | ArgoCD:openshift-gitops/openshift-gitops updated logger.go:42: 18:57:05 | 1-020_validate_redis_ha_nonha/3-update-ha-resources | test step completed 3-update-ha-resources logger.go:42: 18:57:05 | 1-020_validate_redis_ha_nonha/4-disable-ha | starting test step 4-disable-ha I0530 18:57:06.551647 249 request.go:655] Throttling request took 1.019084081s, request: GET:https://api.ci-op-cv5pgmhw-042e3.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:6443/apis/helm.openshift.io/v1beta1?timeout=32s logger.go:42: 18:57:08 | 1-020_validate_redis_ha_nonha/4-disable-ha | ArgoCD:openshift-gitops/openshift-gitops updated logger.go:42: 18:57:21 | 1-020_validate_redis_ha_nonha/4-disable-ha | test step completed 4-disable-ha logger.go:42: 18:57:21 | 1-020_validate_redis_ha_nonha | skipping kubernetes event logging logger.go:42: 18:57:21 | 1-020_validate_redis_ha_nonha | Deleting namespace: kuttl-test-sincere-locust === CONT kuttl/harness/1-026-validate_backend_service_permissions logger.go:42: 18:57:21 | 1-026-validate_backend_service_permissions | Creating namespace: kuttl-test-funny-bat logger.go:42: 18:57:21 | 1-026-validate_backend_service_permissions/1-check-backend-service | starting test step 1-check-backend-service I0530 18:57:22.576000 249 request.go:655] Throttling request took 1.017173042s, request: GET:https://api.ci-op-cv5pgmhw-042e3.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:6443/apis/admissionregistration.k8s.io/v1?timeout=32s logger.go:42: 18:57:24 | 1-026-validate_backend_service_permissions/1-check-backend-service | test step completed 1-check-backend-service logger.go:42: 18:57:24 | 1-026-validate_backend_service_permissions | skipping kubernetes event logging logger.go:42: 18:57:24 | 1-026-validate_backend_service_permissions | Deleting namespace: kuttl-test-funny-bat === CONT kuttl/harness/1-040_validate_quoted_RBAC_group_names logger.go:42: 18:57:24 | 1-040_validate_quoted_RBAC_group_names | Creating namespace: kuttl-test-charming-elephant logger.go:42: 18:57:24 | 1-040_validate_quoted_RBAC_group_names/1-login_argocd_api_server | starting test step 1-login_argocd_api_server logger.go:42: 18:57:24 | 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: 18:57:24 | 1-040_validate_quoted_RBAC_group_names/1-login_argocd_api_server | Error from server (NotFound): secrets "openshift-gitops-cluster" not found case.go:361: failed in step 1-login_argocd_api_server case.go:363: exit status 1 logger.go:42: 18:57:27 | 1-040_validate_quoted_RBAC_group_names | skipping kubernetes event logging logger.go:42: 18:57:27 | 1-040_validate_quoted_RBAC_group_names | Deleting namespace: kuttl-test-charming-elephant === CONT kuttl/harness/1-008_validate-4.9CI-Failures logger.go:42: 18:57:27 | 1-008_validate-4.9CI-Failures | Creating namespace: kuttl-test-polished-werewolf logger.go:42: 18:57:27 | 1-008_validate-4.9CI-Failures/1-install | starting test step 1-install logger.go:42: 18:57:29 | 1-008_validate-4.9CI-Failures/1-install | Namespace:/source-ns created logger.go:42: 18:57:30 | 1-008_validate-4.9CI-Failures/1-install | ArgoCD:source-ns/argocd created logger.go:42: 18:57:30 | 1-008_validate-4.9CI-Failures/1-install | Namespace:/target-ns created logger.go:42: 18:58:04 | 1-008_validate-4.9CI-Failures/1-install | test step completed 1-install logger.go:42: 18:58:04 | 1-008_validate-4.9CI-Failures/2-create-rbac | starting test step 2-create-rbac I0530 18:58:05.307531 249 request.go:655] Throttling request took 1.018642272s, request: GET:https://api.ci-op-cv5pgmhw-042e3.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:6443/apis/operators.coreos.com/v1?timeout=32s logger.go:42: 18:58:06 | 1-008_validate-4.9CI-Failures/2-create-rbac | Role:source-ns/source-ns-openshift-gitops-argocd-application-controller created logger.go:42: 18:58:06 | 1-008_validate-4.9CI-Failures/2-create-rbac | RoleBinding:source-ns/source-ns-openshift-gitops-argocd-application-controller created logger.go:42: 18:58:06 | 1-008_validate-4.9CI-Failures/2-create-rbac | test step completed 2-create-rbac logger.go:42: 18:58:06 | 1-008_validate-4.9CI-Failures/3-create-app | starting test step 3-create-app logger.go:42: 18:58:09 | 1-008_validate-4.9CI-Failures/3-create-app | Application:source-ns/nginx created logger.go:42: 18:58:26 | 1-008_validate-4.9CI-Failures/3-create-app | test step completed 3-create-app logger.go:42: 18:58:26 | 1-008_validate-4.9CI-Failures | skipping kubernetes event logging logger.go:42: 18:58:26 | 1-008_validate-4.9CI-Failures | Deleting namespace: kuttl-test-polished-werewolf === CONT kuttl/harness/1-002_validate_backend_service logger.go:42: 18:58:26 | 1-002_validate_backend_service | Creating namespace: kuttl-test-engaging-maggot logger.go:42: 18:58:26 | 1-002_validate_backend_service/1-check-backend-service | starting test step 1-check-backend-service I0530 18:58:28.026062 249 request.go:655] Throttling request took 1.006959793s, request: GET:https://api.ci-op-cv5pgmhw-042e3.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:6443/apis/argoproj.io/v1alpha1?timeout=32s logger.go:42: 18:58:29 | 1-002_validate_backend_service/1-check-backend-service | test step completed 1-check-backend-service logger.go:42: 18:58:29 | 1-002_validate_backend_service | skipping kubernetes event logging logger.go:42: 18:58:29 | 1-002_validate_backend_service | Deleting namespace: kuttl-test-engaging-maggot === CONT kuttl harness.go:402: run tests finished harness.go:511: cleaning up harness.go:568: removing temp folder: "" --- FAIL: kuttl (1396.56s) --- FAIL: kuttl/harness (0.00s) --- PASS: kuttl/harness/1-001_validate_kam_service (8.93s) --- PASS: kuttl/harness/1-050_validate_sso (208.91s) --- PASS: kuttl/harness/1-105_validate_label_selector (320.53s) --- PASS: kuttl/harness/1-086_validate_default_argocd_role (43.14s) --- PASS: kuttl/harness/1-085_validate_dynamic_plugin_installation (5.79s) --- PASS: kuttl/harness/1-084_validate_prune_templates (10.13s) --- PASS: kuttl/harness/1-078_validate_default_argocd_consoleLink (71.73s) --- PASS: kuttl/harness/1-077_validate_workload_status_monitoring_alert (5.11s) --- PASS: kuttl/harness/1-071_validate_node_selectors (24.70s) --- PASS: kuttl/harness/1-056_validate_managed-by (94.46s) --- PASS: kuttl/harness/1-028_validate_run_on_infra (58.06s) --- PASS: kuttl/harness/1-035_validate_argocd_secret_repopulate (18.59s) --- PASS: kuttl/harness/1-034_validate_custom_roles (105.65s) --- PASS: kuttl/harness/1-041_validate_argocd_sync_alert (2.64s) --- PASS: kuttl/harness/1-020_validate_redis_ha_nonha (345.03s) --- PASS: kuttl/harness/1-026-validate_backend_service_permissions (2.68s) --- FAIL: kuttl/harness/1-040_validate_quoted_RBAC_group_names (3.19s) --- PASS: kuttl/harness/1-008_validate-4.9CI-Failures (59.59s) --- PASS: kuttl/harness/1-002_validate_backend_service (2.64s) FAIL + exit_code=1 + cp ./kuttl-test.xml /logs/artifacts/junit_gitops-sequential.xml + exit 1