STEP-RUN-KUTTL-E2E-TESTS Logging in as kubeadmin user WARNING: Using insecure TLS client config. Setting this option is not supported! Login successful. You have access to 74 projects, the list has been suppressed. You can list all projects with 'oc projects' Using project "default". Welcome! See 'oc help' to get started. make: Entering directory '/kuttl-e2e/gitops-operator' Running GitOps Operator sequential E2E tests... . ./test.sh sequential ================================== ==== RUNNING SEQUENTIAL TESTS ==== ================================== Running sequential test suite 2024/07/31 08:27:02 kutt-test config testdirs is overridden with args: [ /kuttl-e2e/gitops-operator/tests/sequential ] === RUN kuttl harness.go:462: starting setup harness.go:252: running tests using configured kubeconfig. I0731 08:27:04.093466 121 request.go:682] Waited for 1.041490391s due to client-side throttling, not priority and fairness, request: GET:https://api.psi-1116412.ocp-gitops-qe.com:6443/apis/cloudcredential.openshift.io/v1?timeout=32s harness.go:275: Successful connection to cluster at: https://api.psi-1116412.ocp-gitops-qe.com:6443 harness.go:360: running tests harness.go:73: going to run test suite with timeout of 600 seconds for each step harness.go:372: testsuite: /kuttl-e2e/gitops-operator/tests/sequential has 31 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-003_validate_cluster_config === PAUSE kuttl/harness/1-003_validate_cluster_config === RUN kuttl/harness/1-004_validate_argocd_installation === PAUSE kuttl/harness/1-004_validate_argocd_installation === RUN kuttl/harness/1-005_validate_metrics === PAUSE kuttl/harness/1-005_validate_metrics === RUN kuttl/harness/1-006_validate_machine_config === PAUSE kuttl/harness/1-006_validate_machine_config === RUN kuttl/harness/1-010_validate-ootb-manage-other-namespace === PAUSE kuttl/harness/1-010_validate-ootb-manage-other-namespace === RUN kuttl/harness/1-018_validate_disable_default_instance === PAUSE kuttl/harness/1-018_validate_disable_default_instance === 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-027_validate_operand_from_git === PAUSE kuttl/harness/1-027_validate_operand_from_git === RUN kuttl/harness/1-028_validate_run_on_infra === PAUSE kuttl/harness/1-028_validate_run_on_infra === RUN kuttl/harness/1-031_validate_toolchain === PAUSE kuttl/harness/1-031_validate_toolchain === 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-036_validate_role_rolebinding_for_source_namespace === PAUSE kuttl/harness/1-036_validate_role_rolebinding_for_source_namespace === RUN kuttl/harness/1-037_validate_applicationset_in_any_namespace === PAUSE kuttl/harness/1-037_validate_applicationset_in_any_namespace === 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-042_validate_status_host === PAUSE kuttl/harness/1-042_validate_status_host === 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-064_validate_tcp_reset_error === PAUSE kuttl/harness/1-064_validate_tcp_reset_error === RUN kuttl/harness/1-071_validate_node_selectors === PAUSE kuttl/harness/1-071_validate_node_selectors === RUN kuttl/harness/1-078_validate_default_argocd_consoleLink === PAUSE kuttl/harness/1-078_validate_default_argocd_consoleLink === RUN kuttl/harness/1-083_validate_apps_in_any_namespace === PAUSE kuttl/harness/1-083_validate_apps_in_any_namespace === 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-104_validate_prometheus_alert === PAUSE kuttl/harness/1-104_validate_prometheus_alert === 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: 08:27:10 | 1-001_validate_kam_service | Creating namespace: kuttl-test-mutual-macaque logger.go:42: 08:27:10 | 1-001_validate_kam_service/1-check-kam-service | starting test step 1-check-kam-service logger.go:42: 08:27:13 | 1-001_validate_kam_service/1-check-kam-service | test step completed 1-check-kam-service logger.go:42: 08:27:13 | 1-001_validate_kam_service/2-check-route | starting test step 2-check-route logger.go:42: 08:27:13 | 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 ] I0731 08:27:15.049483 121 request.go:682] Waited for 1.029921127s due to client-side throttling, not priority and fairness, request: GET:https://api.psi-1116412.ocp-gitops-qe.com:6443/apis/policy/v1?timeout=32s logger.go:42: 08:27:16 | 1-001_validate_kam_service/2-check-route | test step completed 2-check-route logger.go:42: 08:27:16 | 1-001_validate_kam_service/3-check-download | starting test step 3-check-download logger.go:42: 08:27:16 | 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" ] logger.go:42: 08:27:19 | 1-001_validate_kam_service/3-check-download | test step completed 3-check-download logger.go:42: 08:27:19 | 1-001_validate_kam_service | skipping kubernetes event logging logger.go:42: 08:27:19 | 1-001_validate_kam_service | Deleting namespace: kuttl-test-mutual-macaque === CONT kuttl/harness/1-037_validate_applicationset_in_any_namespace logger.go:42: 08:27:25 | 1-037_validate_applicationset_in_any_namespace | Creating namespace: kuttl-test-harmless-locust logger.go:42: 08:27:25 | 1-037_validate_applicationset_in_any_namespace/0-prepare | starting test step 0-prepare I0731 08:27:26.653815 121 request.go:682] Waited for 1.0276872s due to client-side throttling, not priority and fairness, request: GET:https://api.psi-1116412.ocp-gitops-qe.com:6443/apis/console.openshift.io/v1?timeout=32s logger.go:42: 08:27:28 | 1-037_validate_applicationset_in_any_namespace/0-prepare | Namespace:/appset-argocd created logger.go:42: 08:27:28 | 1-037_validate_applicationset_in_any_namespace/0-prepare | Namespace:/appset-old-ns created logger.go:42: 08:27:28 | 1-037_validate_applicationset_in_any_namespace/0-prepare | Namespace:/appset-new-ns created logger.go:42: 08:27:28 | 1-037_validate_applicationset_in_any_namespace/0-prepare | test step completed 0-prepare logger.go:42: 08:27:28 | 1-037_validate_applicationset_in_any_namespace/1-argocd | starting test step 1-argocd logger.go:42: 08:27:30 | 1-037_validate_applicationset_in_any_namespace/1-argocd | ArgoCD:appset-argocd/example created logger.go:42: 08:28:03 | 1-037_validate_applicationset_in_any_namespace/1-argocd | test step completed 1-argocd logger.go:42: 08:28:03 | 1-037_validate_applicationset_in_any_namespace/2-enable-appset-in-any-ns | starting test step 2-enable-appset-in-any-ns I0731 08:28:04.141799 121 request.go:682] Waited for 1.026994329s due to client-side throttling, not priority and fairness, request: GET:https://api.psi-1116412.ocp-gitops-qe.com:6443/apis/monitoring.coreos.com/v1alpha1?timeout=32s logger.go:42: 08:28:05 | 1-037_validate_applicationset_in_any_namespace/2-enable-appset-in-any-ns | ArgoCD:appset-argocd/example updated logger.go:42: 08:28:05 | 1-037_validate_applicationset_in_any_namespace/2-enable-appset-in-any-ns | test step completed 2-enable-appset-in-any-ns logger.go:42: 08:28:05 | 1-037_validate_applicationset_in_any_namespace/3-add-new-appset-ns | starting test step 3-add-new-appset-ns logger.go:42: 08:28:08 | 1-037_validate_applicationset_in_any_namespace/3-add-new-appset-ns | ArgoCD:appset-argocd/example updated logger.go:42: 08:28:08 | 1-037_validate_applicationset_in_any_namespace/3-add-new-appset-ns | test step completed 3-add-new-appset-ns logger.go:42: 08:28:08 | 1-037_validate_applicationset_in_any_namespace/4-enable-apps-in-new-ns | starting test step 4-enable-apps-in-new-ns logger.go:42: 08:28:11 | 1-037_validate_applicationset_in_any_namespace/4-enable-apps-in-new-ns | ArgoCD:appset-argocd/example updated logger.go:42: 08:28:12 | 1-037_validate_applicationset_in_any_namespace/4-enable-apps-in-new-ns | test step completed 4-enable-apps-in-new-ns logger.go:42: 08:28:12 | 1-037_validate_applicationset_in_any_namespace/5-enable-apps-in-old-ns | starting test step 5-enable-apps-in-old-ns I0731 08:28:14.169084 121 request.go:682] Waited for 1.62471724s due to client-side throttling, not priority and fairness, request: GET:https://api.psi-1116412.ocp-gitops-qe.com:6443/apis/helm.openshift.io/v1beta1?timeout=32s logger.go:42: 08:28:15 | 1-037_validate_applicationset_in_any_namespace/5-enable-apps-in-old-ns | ArgoCD:appset-argocd/example updated logger.go:42: 08:28:16 | 1-037_validate_applicationset_in_any_namespace/5-enable-apps-in-old-ns | test step completed 5-enable-apps-in-old-ns logger.go:42: 08:28:16 | 1-037_validate_applicationset_in_any_namespace/6-disable-appset-in-new-ns | starting test step 6-disable-appset-in-new-ns logger.go:42: 08:28:19 | 1-037_validate_applicationset_in_any_namespace/6-disable-appset-in-new-ns | ArgoCD:appset-argocd/example updated logger.go:42: 08:28:20 | 1-037_validate_applicationset_in_any_namespace/6-disable-appset-in-new-ns | test step completed 6-disable-appset-in-new-ns logger.go:42: 08:28:20 | 1-037_validate_applicationset_in_any_namespace/7-disable-apps-in-all-ns | starting test step 7-disable-apps-in-all-ns logger.go:42: 08:28:22 | 1-037_validate_applicationset_in_any_namespace/7-disable-apps-in-all-ns | ArgoCD:appset-argocd/example updated logger.go:42: 08:28:24 | 1-037_validate_applicationset_in_any_namespace/7-disable-apps-in-all-ns | test step completed 7-disable-apps-in-all-ns logger.go:42: 08:28:24 | 1-037_validate_applicationset_in_any_namespace/99-cleanup | starting test step 99-cleanup I0731 08:29:00.935474 121 request.go:682] Waited for 1.028824586s due to client-side throttling, not priority and fairness, request: GET:https://api.psi-1116412.ocp-gitops-qe.com:6443/apis/performance.openshift.io/v1?timeout=32s logger.go:42: 08:29:02 | 1-037_validate_applicationset_in_any_namespace/99-cleanup | test step completed 99-cleanup logger.go:42: 08:29:02 | 1-037_validate_applicationset_in_any_namespace | skipping kubernetes event logging logger.go:42: 08:29:02 | 1-037_validate_applicationset_in_any_namespace | Deleting namespace: kuttl-test-harmless-locust === CONT kuttl/harness/1-105_validate_label_selector logger.go:42: 08:29:08 | 1-105_validate_label_selector | Creating namespace: kuttl-test-humble-jackass logger.go:42: 08:29:08 | 1-105_validate_label_selector/1-add-label-selector | starting test step 1-add-label-selector logger.go:42: 08:29:08 | 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-operators 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: 08:29:09 | 1-105_validate_label_selector/1-add-label-selector | subscription.operators.coreos.com/openshift-gitops-operator patched logger.go:42: 08:29:09 | 1-105_validate_label_selector/1-add-label-selector | running command: [sh -c sleep 120] I0731 08:31:10.489098 121 request.go:682] Waited for 1.038772243s due to client-side throttling, not priority and fairness, request: GET:https://api.psi-1116412.ocp-gitops-qe.com:6443/apis/operator.openshift.io/v1alpha1?timeout=32s logger.go:42: 08:31:11 | 1-105_validate_label_selector/1-add-label-selector | test step completed 1-add-label-selector logger.go:42: 08:31:11 | 1-105_validate_label_selector/2-create-ns | starting test step 2-create-ns logger.go:42: 08:31:14 | 1-105_validate_label_selector/2-create-ns | Namespace:/test-argocd created logger.go:42: 08:31:14 | 1-105_validate_label_selector/2-create-ns | ArgoCD:test-argocd/argocd created logger.go:42: 08:31:14 | 1-105_validate_label_selector/2-create-ns | ArgoCD:test-argocd/test1 created logger.go:42: 08:31:14 | 1-105_validate_label_selector/2-create-ns | test step completed 2-create-ns logger.go:42: 08:31:14 | 1-105_validate_label_selector/3-add-label | starting test step 3-add-label logger.go:42: 08:31:14 | 1-105_validate_label_selector/3-add-label | running command: [sh -c kubectl label argocd test1 foo=bar -n test-argocd ] logger.go:42: 08:31:15 | 1-105_validate_label_selector/3-add-label | argocd.argoproj.io/test1 labeled logger.go:42: 08:31:15 | 1-105_validate_label_selector/3-add-label | running command: [sh -c sleep 30] I0731 08:31:46.109773 121 request.go:682] Waited for 1.028975114s due to client-side throttling, not priority and fairness, request: GET:https://api.psi-1116412.ocp-gitops-qe.com:6443/apis/packages.operators.coreos.com/v1?timeout=32s logger.go:42: 08:31:47 | 1-105_validate_label_selector/3-add-label | test step completed 3-add-label logger.go:42: 08:31:47 | 1-105_validate_label_selector/4-install | starting test step 4-install logger.go:42: 08:31:50 | 1-105_validate_label_selector/4-install | ArgoCD:test-argocd/test1 updated logger.go:42: 08:31:51 | 1-105_validate_label_selector/4-install | test step completed 4-install logger.go:42: 08:31:51 | 1-105_validate_label_selector/5-remove-label | starting test step 5-remove-label logger.go:42: 08:31:51 | 1-105_validate_label_selector/5-remove-label | running command: [sh -c kubectl label argocd test1 foo- -n test-argocd ] logger.go:42: 08:31:51 | 1-105_validate_label_selector/5-remove-label | argocd.argoproj.io/test1 unlabeled logger.go:42: 08:31:51 | 1-105_validate_label_selector/5-remove-label | running command: [sh -c sleep 30] I0731 08:32:22.803259 121 request.go:682] Waited for 1.027985902s due to client-side throttling, not priority and fairness, request: GET:https://api.psi-1116412.ocp-gitops-qe.com:6443/apis/samples.operator.openshift.io/v1?timeout=32s logger.go:42: 08:32:24 | 1-105_validate_label_selector/5-remove-label | test step completed 5-remove-label logger.go:42: 08:32:24 | 1-105_validate_label_selector/6-install | starting test step 6-install logger.go:42: 08:32:26 | 1-105_validate_label_selector/6-install | ArgoCD:test-argocd/test1 updated logger.go:42: 08:32:26 | 1-105_validate_label_selector/6-install | test step completed 6-install logger.go:42: 08:32:26 | 1-105_validate_label_selector/7-remove-label-selector | starting test step 7-remove-label-selector logger.go:42: 08:32:26 | 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-operators subscription `subscription=gitops-operator && oc get subscription --all-namespaces | grep $subscription | head -1 | awk '{print $2}'` \ --type json --patch '[{"op": "remove", "path": "/spec/config"}]' fi ] logger.go:42: 08:32:27 | 1-105_validate_label_selector/7-remove-label-selector | subscription.operators.coreos.com/openshift-gitops-operator patched logger.go:42: 08:32:27 | 1-105_validate_label_selector/7-remove-label-selector | running command: [sh -c sleep 120] I0731 08:34:28.842758 121 request.go:682] Waited for 1.037402391s due to client-side throttling, not priority and fairness, request: GET:https://api.psi-1116412.ocp-gitops-qe.com:6443/apis/argoproj.io/v1beta1?timeout=32s logger.go:42: 08:34:30 | 1-105_validate_label_selector/7-remove-label-selector | test step completed 7-remove-label-selector logger.go:42: 08:34:30 | 1-105_validate_label_selector/99-delete | starting test step 99-delete I0731 08:34:43.716324 121 request.go:682] Waited for 1.026767823s due to client-side throttling, not priority and fairness, request: GET:https://api.psi-1116412.ocp-gitops-qe.com:6443/apis/apps.openshift.io/v1?timeout=32s logger.go:42: 08:34:45 | 1-105_validate_label_selector/99-delete | test step completed 99-delete logger.go:42: 08:34:45 | 1-105_validate_label_selector | skipping kubernetes event logging logger.go:42: 08:34:45 | 1-105_validate_label_selector | Deleting namespace: kuttl-test-humble-jackass === CONT kuttl/harness/1-104_validate_prometheus_alert logger.go:42: 08:34:51 | 1-104_validate_prometheus_alert | Creating namespace: kuttl-test-charming-redfish logger.go:42: 08:34:51 | 1-104_validate_prometheus_alert/1- | starting test step 1- I0731 08:34:53.748481 121 request.go:682] Waited for 2.476784471s due to client-side throttling, not priority and fairness, request: GET:https://api.psi-1116412.ocp-gitops-qe.com:6443/apis/monitoring.coreos.com/v1alpha1?timeout=32s logger.go:42: 08:34:53 | 1-104_validate_prometheus_alert/1- | test step completed 1- logger.go:42: 08:34:53 | 1-104_validate_prometheus_alert | skipping kubernetes event logging logger.go:42: 08:34:53 | 1-104_validate_prometheus_alert | Deleting namespace: kuttl-test-charming-redfish === CONT kuttl/harness/1-086_validate_default_argocd_role logger.go:42: 08:34:59 | 1-086_validate_default_argocd_role | Creating namespace: kuttl-test-lasting-whale logger.go:42: 08:34:59 | 1-086_validate_default_argocd_role/1- | starting test step 1- logger.go:42: 08:35:02 | 1-086_validate_default_argocd_role/1- | test step completed 1- logger.go:42: 08:35:02 | 1-086_validate_default_argocd_role/2-install | starting test step 2-install I0731 08:35:03.760643 121 request.go:682] Waited for 1.326681011s due to client-side throttling, not priority and fairness, request: GET:https://api.psi-1116412.ocp-gitops-qe.com:6443/apis/apiserver.openshift.io/v1?timeout=32s logger.go:42: 08:35:05 | 1-086_validate_default_argocd_role/2-install | Namespace:/test-1-086-custom created logger.go:42: 08:35:05 | 1-086_validate_default_argocd_role/2-install | Namespace:/test-1-086-custom2 created logger.go:42: 08:35:05 | 1-086_validate_default_argocd_role/2-install | Namespace:/test-1-086-custom3 created logger.go:42: 08:35:05 | 1-086_validate_default_argocd_role/2-install | ArgoCD:test-1-086-custom/argocd-default-policy created logger.go:42: 08:35:05 | 1-086_validate_default_argocd_role/2-install | ArgoCD:test-1-086-custom2/argocd-default-policy-empty created logger.go:42: 08:35:05 | 1-086_validate_default_argocd_role/2-install | ArgoCD:test-1-086-custom3/argocd-default-policy-admin created logger.go:42: 08:35:39 | 1-086_validate_default_argocd_role/2-install | test step completed 2-install logger.go:42: 08:35:39 | 1-086_validate_default_argocd_role | skipping kubernetes event logging logger.go:42: 08:35:39 | 1-086_validate_default_argocd_role | Deleting namespace: kuttl-test-lasting-whale === CONT kuttl/harness/1-085_validate_dynamic_plugin_installation logger.go:42: 08:35:45 | 1-085_validate_dynamic_plugin_installation | Creating namespace: kuttl-test-keen-bobcat logger.go:42: 08:35:45 | 1-085_validate_dynamic_plugin_installation/1-install-dynamic-plugin | starting test step 1-install-dynamic-plugin logger.go:42: 08:35:45 | 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 ] logger.go:42: 08:35:45 | 1-085_validate_dynamic_plugin_installation/1-install-dynamic-plugin | No resources found in openshift-gitops-operator namespace. logger.go:42: 08:35:46 | 1-085_validate_dynamic_plugin_installation/1-install-dynamic-plugin | error: resource name may not be empty I0731 08:35:47.605748 121 request.go:682] Waited for 1.026567351s due to client-side throttling, not priority and fairness, request: GET:https://api.psi-1116412.ocp-gitops-qe.com:6443/apis/operators.coreos.com/v1alpha2?timeout=32s case.go:364: failed in step 1-install-dynamic-plugin case.go:366: exit status 1 logger.go:42: 08:35:49 | 1-085_validate_dynamic_plugin_installation | skipping kubernetes event logging logger.go:42: 08:35:49 | 1-085_validate_dynamic_plugin_installation | Deleting namespace: kuttl-test-keen-bobcat === CONT kuttl/harness/1-084_validate_prune_templates logger.go:42: 08:35:55 | 1-084_validate_prune_templates | Creating namespace: kuttl-test-positive-lemming logger.go:42: 08:35:55 | 1-084_validate_prune_templates/1-create-ns-managed-by | starting test step 1-create-ns-managed-by logger.go:42: 08:35:57 | 1-084_validate_prune_templates/1-create-ns-managed-by | Namespace:/namespace-gitops-1672 created logger.go:42: 08:35:57 | 1-084_validate_prune_templates/1-create-ns-managed-by | test step completed 1-create-ns-managed-by logger.go:42: 08:35:57 | 1-084_validate_prune_templates/2-prune-duplicateGVK-resource | starting test step 2-prune-duplicateGVK-resource logger.go:42: 08:35:57 | 1-084_validate_prune_templates/2-prune-duplicateGVK-resource | running command: [sh -c set -eou pipefail DIR="$(pwd)" cleanup() { argocd logout "${api_server}" oc delete application app-kustomize -n openshift-gitops rm -rf $WORK_DIR } WORK_DIR=`mktemp -d -p "$DIR"` # check if tmp dir was created if [[ ! "$WORK_DIR" || ! -d "$WORK_DIR" ]]; then echo "Could not create temp dir" exit 1 fi trap cleanup INT TERM EXIT # Login to apiserver 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) # ensure namespace exists oc get ns namespace-gitops-1672 2>/dev/null || { oc new-project namespace-gitops-1672 oc label namespace namespace-gitops-1672 argocd.argoproj.io/managed-by=openshift-gitops } # ensure template cleanup, if exists in namespace before we start tests oc delete template redis-template-gitops -n namespace-gitops-1672 --ignore-not-found=true # Adding duplicate GVK to check prune functionality against issue #GITOPS-1672 cat > $WORK_DIR/app-template.yaml << EOF apiVersion: template.openshift.io/v1 kind: Template metadata: name: redis-template-gitops annotations: description: "Description" iconClass: "icon-redis" tags: "database,nosql" objects: - apiVersion: v1 kind: Pod metadata: name: redis-master spec: containers: - env: - name: REDIS_PASSWORD value: xyz1234s image: dockerfile/redis name: master ports: - containerPort: 6379 protocol: TCP parameters: - description: Password used for Redis authentication from: '[A-Z0-9]{8}' generate: expression name: REDIS_PASSWORD labels: redis: master EOF cat > $WORK_DIR/app-template2.yaml << EOF apiVersion: template.openshift.io/v1 kind: Template metadata: name: redis-template-gitops2 annotations: description: "Description" iconClass: "icon-redis" tags: "database,nosql" objects: - apiVersion: v1 kind: Pod metadata: name: redis-master spec: containers: - env: - name: REDIS_PASSWORD value: xyz1234s image: dockerfile/redis name: master ports: - containerPort: 6379 protocol: TCP parameters: - description: Password used for Redis authentication from: '[A-Z0-9]{8}' generate: expression name: REDIS_PASSWORD labels: redis: master EOF # create application.yaml cat </dev/null; then echo "Application listing failed" exit 1 fi if ! argocd app sync app-kustomize --local $WORK_DIR --timeout 100 2>/dev/null; then echo "App didn't sync well with local flag" exit 1 fi # Now delete resource from git source and try to resync back rm -rf $WORK_DIR/app-template.yaml sleep 5 # Now sync application with prune and PruneLast options enabled if ! argocd app sync app-kustomize --local $WORK_DIR --prune --timeout 100 2>/dev/null; then echo "App didn't prune or synced well with local flag" exit 1 fi if oc get template redis-template-gitops -n namespace-gitops-1672 --no-headers 2>/dev/null; then echo "Templete is not pruned properly." exit 1 else echo "Test is successful, no templates found" exit 0 fi ] logger.go:42: 08:36:00 | 1-084_validate_prune_templates/2-prune-duplicateGVK-resource | NAME STATUS AGE logger.go:42: 08:36:00 | 1-084_validate_prune_templates/2-prune-duplicateGVK-resource | namespace-gitops-1672 Active 3s logger.go:42: 08:36:01 | 1-084_validate_prune_templates/2-prune-duplicateGVK-resource | application.argoproj.io/app-kustomize created logger.go:42: 08:36:07 | 1-084_validate_prune_templates/2-prune-duplicateGVK-resource | NAME CLUSTER NAMESPACE PROJECT STATUS HEALTH SYNCPOLICY CONDITIONS REPO PATH TARGET logger.go:42: 08:36:07 | 1-084_validate_prune_templates/2-prune-duplicateGVK-resource | openshift-gitops/app-kustomize https://kubernetes.default.svc namespace-gitops-1672 default Unknown Healthy Manual ComparisonError file:///kuttl-e2e/gitops-operator/tests/sequential/1-084_validate_prune_templates/tmp.KV8lHoL97I.git . HEAD logger.go:42: 08:36:07 | 1-084_validate_prune_templates/2-prune-duplicateGVK-resource | openshift-gitops/builds-config https://kubernetes.default.svc openshift-gitops default Synced Healthy Auto-Prune https://github.com/openshift/openshift-gitops-examples.git argocd/builds/base HEAD logger.go:42: 08:36:07 | 1-084_validate_prune_templates/2-prune-duplicateGVK-resource | openshift-gitops/console-config https://kubernetes.default.svc openshift-gitops default Synced Healthy Auto-Prune https://github.com/openshift/openshift-gitops-examples.git argocd/console HEAD logger.go:42: 08:36:07 | 1-084_validate_prune_templates/2-prune-duplicateGVK-resource | openshift-gitops/image-config https://kubernetes.default.svc openshift-gitops default Synced Healthy Auto-Prune https://github.com/openshift/openshift-gitops-examples.git argocd/image HEAD logger.go:42: 08:36:07 | 1-084_validate_prune_templates/2-prune-duplicateGVK-resource | TIMESTAMP GROUP KIND NAMESPACE NAME STATUS HEALTH HOOK MESSAGE logger.go:42: 08:36:08 | 1-084_validate_prune_templates/2-prune-duplicateGVK-resource | 2024-07-31T08:36:08+00:00 template.openshift.io Template namespace-gitops-1672 redis-template-gitops2 OutOfSync Missing logger.go:42: 08:36:08 | 1-084_validate_prune_templates/2-prune-duplicateGVK-resource | 2024-07-31T08:36:08+00:00 template.openshift.io Template namespace-gitops-1672 redis-template-gitops Synced logger.go:42: 08:36:08 | 1-084_validate_prune_templates/2-prune-duplicateGVK-resource | 2024-07-31T08:36:08+00:00 template.openshift.io Template namespace-gitops-1672 redis-template-gitops Synced template.template.openshift.io/redis-template-gitops created logger.go:42: 08:36:08 | 1-084_validate_prune_templates/2-prune-duplicateGVK-resource | 2024-07-31T08:36:08+00:00 template.openshift.io Template namespace-gitops-1672 redis-template-gitops2 OutOfSync Missing template.template.openshift.io/redis-template-gitops2 created logger.go:42: 08:36:08 | 1-084_validate_prune_templates/2-prune-duplicateGVK-resource | 2024-07-31T08:36:08+00:00 template.openshift.io Template namespace-gitops-1672 redis-template-gitops2 Synced Missing template.template.openshift.io/redis-template-gitops2 created logger.go:42: 08:36:08 | 1-084_validate_prune_templates/2-prune-duplicateGVK-resource | logger.go:42: 08:36:08 | 1-084_validate_prune_templates/2-prune-duplicateGVK-resource | Name: openshift-gitops/app-kustomize logger.go:42: 08:36:08 | 1-084_validate_prune_templates/2-prune-duplicateGVK-resource | Project: default logger.go:42: 08:36:08 | 1-084_validate_prune_templates/2-prune-duplicateGVK-resource | Server: https://kubernetes.default.svc logger.go:42: 08:36:08 | 1-084_validate_prune_templates/2-prune-duplicateGVK-resource | Namespace: namespace-gitops-1672 logger.go:42: 08:36:08 | 1-084_validate_prune_templates/2-prune-duplicateGVK-resource | URL: https://openshift-gitops-server-openshift-gitops.apps.psi-1116412.ocp-gitops-qe.com/applications/app-kustomize logger.go:42: 08:36:08 | 1-084_validate_prune_templates/2-prune-duplicateGVK-resource | Source: logger.go:42: 08:36:08 | 1-084_validate_prune_templates/2-prune-duplicateGVK-resource | - Repo: file:///kuttl-e2e/gitops-operator/tests/sequential/1-084_validate_prune_templates/tmp.KV8lHoL97I.git logger.go:42: 08:36:08 | 1-084_validate_prune_templates/2-prune-duplicateGVK-resource | Target: HEAD logger.go:42: 08:36:08 | 1-084_validate_prune_templates/2-prune-duplicateGVK-resource | Path: . logger.go:42: 08:36:08 | 1-084_validate_prune_templates/2-prune-duplicateGVK-resource | SyncWindow: Sync Allowed logger.go:42: 08:36:08 | 1-084_validate_prune_templates/2-prune-duplicateGVK-resource | Sync Policy: Manual logger.go:42: 08:36:08 | 1-084_validate_prune_templates/2-prune-duplicateGVK-resource | Sync Status: Synced to HEAD logger.go:42: 08:36:08 | 1-084_validate_prune_templates/2-prune-duplicateGVK-resource | Health Status: Healthy logger.go:42: 08:36:08 | 1-084_validate_prune_templates/2-prune-duplicateGVK-resource | logger.go:42: 08:36:08 | 1-084_validate_prune_templates/2-prune-duplicateGVK-resource | Operation: Sync logger.go:42: 08:36:08 | 1-084_validate_prune_templates/2-prune-duplicateGVK-resource | Sync Revision: logger.go:42: 08:36:08 | 1-084_validate_prune_templates/2-prune-duplicateGVK-resource | Phase: Succeeded logger.go:42: 08:36:08 | 1-084_validate_prune_templates/2-prune-duplicateGVK-resource | Start: 2024-07-31 08:36:07 +0000 UTC logger.go:42: 08:36:08 | 1-084_validate_prune_templates/2-prune-duplicateGVK-resource | Finished: 2024-07-31 08:36:08 +0000 UTC logger.go:42: 08:36:08 | 1-084_validate_prune_templates/2-prune-duplicateGVK-resource | Duration: 1s logger.go:42: 08:36:08 | 1-084_validate_prune_templates/2-prune-duplicateGVK-resource | Message: successfully synced (all tasks run) logger.go:42: 08:36:08 | 1-084_validate_prune_templates/2-prune-duplicateGVK-resource | logger.go:42: 08:36:08 | 1-084_validate_prune_templates/2-prune-duplicateGVK-resource | GROUP KIND NAMESPACE NAME STATUS HEALTH HOOK MESSAGE logger.go:42: 08:36:08 | 1-084_validate_prune_templates/2-prune-duplicateGVK-resource | template.openshift.io Template namespace-gitops-1672 redis-template-gitops Synced template.template.openshift.io/redis-template-gitops created logger.go:42: 08:36:08 | 1-084_validate_prune_templates/2-prune-duplicateGVK-resource | template.openshift.io Template namespace-gitops-1672 redis-template-gitops2 Synced template.template.openshift.io/redis-template-gitops2 created logger.go:42: 08:36:14 | 1-084_validate_prune_templates/2-prune-duplicateGVK-resource | TIMESTAMP GROUP KIND NAMESPACE NAME STATUS HEALTH HOOK MESSAGE logger.go:42: 08:36:14 | 1-084_validate_prune_templates/2-prune-duplicateGVK-resource | 2024-07-31T08:36:14+00:00 template.openshift.io Template namespace-gitops-1672 redis-template-gitops Synced logger.go:42: 08:36:14 | 1-084_validate_prune_templates/2-prune-duplicateGVK-resource | 2024-07-31T08:36:14+00:00 template.openshift.io Template namespace-gitops-1672 redis-template-gitops2 Synced logger.go:42: 08:36:16 | 1-084_validate_prune_templates/2-prune-duplicateGVK-resource | 2024-07-31T08:36:16+00:00 template.openshift.io Template namespace-gitops-1672 redis-template-gitops2 Synced template.template.openshift.io/redis-template-gitops2 unchanged logger.go:42: 08:36:16 | 1-084_validate_prune_templates/2-prune-duplicateGVK-resource | 2024-07-31T08:36:16+00:00 template.openshift.io Template namespace-gitops-1672 redis-template-gitops Synced pruned logger.go:42: 08:36:16 | 1-084_validate_prune_templates/2-prune-duplicateGVK-resource | 2024-07-31T08:36:16+00:00 template.openshift.io Template namespace-gitops-1672 redis-template-gitops OutOfSync Progressing pruned logger.go:42: 08:36:16 | 1-084_validate_prune_templates/2-prune-duplicateGVK-resource | logger.go:42: 08:36:16 | 1-084_validate_prune_templates/2-prune-duplicateGVK-resource | Name: openshift-gitops/app-kustomize logger.go:42: 08:36:16 | 1-084_validate_prune_templates/2-prune-duplicateGVK-resource | Project: default logger.go:42: 08:36:16 | 1-084_validate_prune_templates/2-prune-duplicateGVK-resource | Server: https://kubernetes.default.svc logger.go:42: 08:36:16 | 1-084_validate_prune_templates/2-prune-duplicateGVK-resource | Namespace: namespace-gitops-1672 logger.go:42: 08:36:16 | 1-084_validate_prune_templates/2-prune-duplicateGVK-resource | URL: https://openshift-gitops-server-openshift-gitops.apps.psi-1116412.ocp-gitops-qe.com/applications/app-kustomize logger.go:42: 08:36:16 | 1-084_validate_prune_templates/2-prune-duplicateGVK-resource | Source: logger.go:42: 08:36:16 | 1-084_validate_prune_templates/2-prune-duplicateGVK-resource | - Repo: file:///kuttl-e2e/gitops-operator/tests/sequential/1-084_validate_prune_templates/tmp.KV8lHoL97I.git logger.go:42: 08:36:16 | 1-084_validate_prune_templates/2-prune-duplicateGVK-resource | Target: HEAD logger.go:42: 08:36:16 | 1-084_validate_prune_templates/2-prune-duplicateGVK-resource | Path: . logger.go:42: 08:36:16 | 1-084_validate_prune_templates/2-prune-duplicateGVK-resource | SyncWindow: Sync Allowed logger.go:42: 08:36:16 | 1-084_validate_prune_templates/2-prune-duplicateGVK-resource | Sync Policy: Manual logger.go:42: 08:36:16 | 1-084_validate_prune_templates/2-prune-duplicateGVK-resource | Sync Status: Synced to HEAD logger.go:42: 08:36:16 | 1-084_validate_prune_templates/2-prune-duplicateGVK-resource | Health Status: Healthy logger.go:42: 08:36:16 | 1-084_validate_prune_templates/2-prune-duplicateGVK-resource | logger.go:42: 08:36:16 | 1-084_validate_prune_templates/2-prune-duplicateGVK-resource | Operation: Sync logger.go:42: 08:36:16 | 1-084_validate_prune_templates/2-prune-duplicateGVK-resource | Sync Revision: logger.go:42: 08:36:16 | 1-084_validate_prune_templates/2-prune-duplicateGVK-resource | Phase: Succeeded logger.go:42: 08:36:16 | 1-084_validate_prune_templates/2-prune-duplicateGVK-resource | Start: 2024-07-31 08:36:13 +0000 UTC logger.go:42: 08:36:16 | 1-084_validate_prune_templates/2-prune-duplicateGVK-resource | Finished: 2024-07-31 08:36:16 +0000 UTC logger.go:42: 08:36:16 | 1-084_validate_prune_templates/2-prune-duplicateGVK-resource | Duration: 3s logger.go:42: 08:36:16 | 1-084_validate_prune_templates/2-prune-duplicateGVK-resource | Message: successfully synced (all tasks run) logger.go:42: 08:36:16 | 1-084_validate_prune_templates/2-prune-duplicateGVK-resource | logger.go:42: 08:36:16 | 1-084_validate_prune_templates/2-prune-duplicateGVK-resource | GROUP KIND NAMESPACE NAME STATUS HEALTH HOOK MESSAGE logger.go:42: 08:36:16 | 1-084_validate_prune_templates/2-prune-duplicateGVK-resource | template.openshift.io Template namespace-gitops-1672 redis-template-gitops2 Synced template.template.openshift.io/redis-template-gitops2 unchanged logger.go:42: 08:36:16 | 1-084_validate_prune_templates/2-prune-duplicateGVK-resource | template.openshift.io Template namespace-gitops-1672 redis-template-gitops Succeeded Pruned pruned logger.go:42: 08:36:17 | 1-084_validate_prune_templates/2-prune-duplicateGVK-resource | Test is successful, no templates found logger.go:42: 08:36:17 | 1-084_validate_prune_templates/2-prune-duplicateGVK-resource | Logged out from 'openshift-gitops-server-openshift-gitops.apps.psi-1116412.ocp-gitops-qe.com' logger.go:42: 08:36:17 | 1-084_validate_prune_templates/2-prune-duplicateGVK-resource | application.argoproj.io "app-kustomize" deleted I0731 08:36:18.914689 121 request.go:682] Waited for 1.02663517s due to client-side throttling, not priority and fairness, request: GET:https://api.psi-1116412.ocp-gitops-qe.com:6443/apis/storage.k8s.io/v1?timeout=32s logger.go:42: 08:36:20 | 1-084_validate_prune_templates/2-prune-duplicateGVK-resource | test step completed 2-prune-duplicateGVK-resource logger.go:42: 08:36:20 | 1-084_validate_prune_templates/3- | starting test step 3- logger.go:42: 08:36:23 | 1-084_validate_prune_templates/3- | test step completed 3- logger.go:42: 08:36:23 | 1-084_validate_prune_templates/4-delete | starting test step 4-delete I0731 08:36:29.915931 121 request.go:682] Waited for 1.027117023s due to client-side throttling, not priority and fairness, request: GET:https://api.psi-1116412.ocp-gitops-qe.com:6443/apis/authorization.openshift.io/v1?timeout=32s logger.go:42: 08:36:31 | 1-084_validate_prune_templates/4-delete | test step completed 4-delete logger.go:42: 08:36:31 | 1-084_validate_prune_templates | skipping kubernetes event logging logger.go:42: 08:36:31 | 1-084_validate_prune_templates | Deleting namespace: kuttl-test-positive-lemming === CONT kuttl/harness/1-083_validate_apps_in_any_namespace logger.go:42: 08:36:37 | 1-083_validate_apps_in_any_namespace | Ignoring errors.yaml as it does not match file name regexp: ^(\d+)-(?:[^\.]+)(?:\.yaml)?$ logger.go:42: 08:36:37 | 1-083_validate_apps_in_any_namespace | Creating namespace: kuttl-test-factual-wahoo logger.go:42: 08:36:37 | 1-083_validate_apps_in_any_namespace/1-create-ns-managed-by | starting test step 1-create-ns-managed-by I0731 08:36:39.940922 121 request.go:682] Waited for 2.427139434s due to client-side throttling, not priority and fairness, request: GET:https://api.psi-1116412.ocp-gitops-qe.com:6443/apis/quota.openshift.io/v1?timeout=32s logger.go:42: 08:36:40 | 1-083_validate_apps_in_any_namespace/1-create-ns-managed-by | Namespace:/test-1-24-custom created logger.go:42: 08:36:40 | 1-083_validate_apps_in_any_namespace/1-create-ns-managed-by | test step completed 1-create-ns-managed-by logger.go:42: 08:36:40 | 1-083_validate_apps_in_any_namespace/2-add-source-ns | starting test step 2-add-source-ns logger.go:42: 08:36:42 | 1-083_validate_apps_in_any_namespace/2-add-source-ns | ArgoCD:openshift-gitops/openshift-gitops updated logger.go:42: 08:36:43 | 1-083_validate_apps_in_any_namespace/2-add-source-ns | test step completed 2-add-source-ns logger.go:42: 08:36:43 | 1-083_validate_apps_in_any_namespace/3-delete | starting test step 3-delete I0731 08:36:50.107086 121 request.go:682] Waited for 1.027497144s due to client-side throttling, not priority and fairness, request: GET:https://api.psi-1116412.ocp-gitops-qe.com:6443/apis/whereabouts.cni.cncf.io/v1alpha1?timeout=32s logger.go:42: 08:36:51 | 1-083_validate_apps_in_any_namespace/3-delete | test step completed 3-delete logger.go:42: 08:36:51 | 1-083_validate_apps_in_any_namespace/4-change-source-namespaces | starting test step 4-change-source-namespaces logger.go:42: 08:36:54 | 1-083_validate_apps_in_any_namespace/4-change-source-namespaces | ArgoCD:openshift-gitops/openshift-gitops updated logger.go:42: 08:36:55 | 1-083_validate_apps_in_any_namespace/4-change-source-namespaces | test step completed 4-change-source-namespaces logger.go:42: 08:36:55 | 1-083_validate_apps_in_any_namespace/5-create-ns-and-add-source-ns | starting test step 5-create-ns-and-add-source-ns logger.go:42: 08:36:57 | 1-083_validate_apps_in_any_namespace/5-create-ns-and-add-source-ns | Namespace:/test-1-24-custom created logger.go:42: 08:36:58 | 1-083_validate_apps_in_any_namespace/5-create-ns-and-add-source-ns | ArgoCD:openshift-gitops/openshift-gitops updated logger.go:42: 08:37:29 | 1-083_validate_apps_in_any_namespace/5-create-ns-and-add-source-ns | test step completed 5-create-ns-and-add-source-ns logger.go:42: 08:37:29 | 1-083_validate_apps_in_any_namespace/6-add-managed-by | starting test step 6-add-managed-by I0731 08:37:30.804088 121 request.go:682] Waited for 1.02570396s due to client-side throttling, not priority and fairness, request: GET:https://api.psi-1116412.ocp-gitops-qe.com:6443/apis/autoscaling.openshift.io/v1?timeout=32s logger.go:42: 08:37:32 | 1-083_validate_apps_in_any_namespace/6-add-managed-by | Namespace:/test-1-24-custom updated logger.go:42: 08:37:33 | 1-083_validate_apps_in_any_namespace/6-add-managed-by | test step completed 6-add-managed-by logger.go:42: 08:37:33 | 1-083_validate_apps_in_any_namespace/7-remove-managed-by | starting test step 7-remove-managed-by logger.go:42: 08:37:33 | 1-083_validate_apps_in_any_namespace/7-remove-managed-by | running command: [sh -c oc label ns test-1-24-custom argocd.argoproj.io/managed-by-] logger.go:42: 08:37:34 | 1-083_validate_apps_in_any_namespace/7-remove-managed-by | namespace/test-1-24-custom unlabeled logger.go:42: 08:37:34 | 1-083_validate_apps_in_any_namespace/7-remove-managed-by | running command: [sh -c oc rollout restart deployment.apps/openshift-gitops-server -n openshift-gitops] logger.go:42: 08:37:34 | 1-083_validate_apps_in_any_namespace/7-remove-managed-by | deployment.apps/openshift-gitops-server restarted logger.go:42: 08:37:34 | 1-083_validate_apps_in_any_namespace/7-remove-managed-by | running command: [sh -c oc rollout restart statefulset.apps/openshift-gitops-application-controller -n openshift-gitops] logger.go:42: 08:37:34 | 1-083_validate_apps_in_any_namespace/7-remove-managed-by | statefulset.apps/openshift-gitops-application-controller restarted logger.go:42: 08:37:34 | 1-083_validate_apps_in_any_namespace/7-remove-managed-by | running command: [sh -c sleep 5] I0731 08:37:40.810248 121 request.go:682] Waited for 1.026407515s due to client-side throttling, not priority and fairness, request: GET:https://api.psi-1116412.ocp-gitops-qe.com:6443/apis/admissionregistration.k8s.io/v1?timeout=32s logger.go:42: 08:38:05 | 1-083_validate_apps_in_any_namespace/7-remove-managed-by | test step completed 7-remove-managed-by logger.go:42: 08:38:05 | 1-083_validate_apps_in_any_namespace/8-change-source-namespaces | starting test step 8-change-source-namespaces I0731 08:38:06.953700 121 request.go:682] Waited for 1.026920564s due to client-side throttling, not priority and fairness, request: GET:https://api.psi-1116412.ocp-gitops-qe.com:6443/apis/network.openshift.io/v1?timeout=32s logger.go:42: 08:38:08 | 1-083_validate_apps_in_any_namespace/8-change-source-namespaces | ArgoCD:openshift-gitops/openshift-gitops updated logger.go:42: 08:38:08 | 1-083_validate_apps_in_any_namespace/8-change-source-namespaces | test step completed 8-change-source-namespaces logger.go:42: 08:38:08 | 1-083_validate_apps_in_any_namespace/99-delete | starting test step 99-delete I0731 08:38:16.970476 121 request.go:682] Waited for 2.477015328s due to client-side throttling, not priority and fairness, request: GET:https://api.psi-1116412.ocp-gitops-qe.com:6443/apis/samples.operator.openshift.io/v1?timeout=32s logger.go:42: 08:38:17 | 1-083_validate_apps_in_any_namespace/99-delete | test step completed 99-delete logger.go:42: 08:38:17 | 1-083_validate_apps_in_any_namespace | skipping kubernetes event logging logger.go:42: 08:38:17 | 1-083_validate_apps_in_any_namespace | Deleting namespace: kuttl-test-factual-wahoo === CONT kuttl/harness/1-078_validate_default_argocd_consoleLink logger.go:42: 08:38:22 | 1-078_validate_default_argocd_consoleLink | Creating namespace: kuttl-test-welcomed-impala logger.go:42: 08:38:22 | 1-078_validate_default_argocd_consoleLink/1- | starting test step 1- logger.go:42: 08:38:25 | 1-078_validate_default_argocd_consoleLink/1- | test step completed 1- logger.go:42: 08:38:25 | 1-078_validate_default_argocd_consoleLink/2-add_env | starting test step 2-add_env logger.go:42: 08:38:25 | 1-078_validate_default_argocd_consoleLink/2-add_env | running command: [sh -c oc patch -n openshift-operators subscription openshift-gitops-operator \ --type merge --patch '{"spec": {"config": {"env": [{"name": "DISABLE_DEFAULT_ARGOCD_CONSOLELINK", "value": "true"}]}}}' ] logger.go:42: 08:38:26 | 1-078_validate_default_argocd_consoleLink/2-add_env | subscription.operators.coreos.com/openshift-gitops-operator patched I0731 08:38:27.066328 121 request.go:682] Waited for 1.027289808s due to client-side throttling, not priority and fairness, request: GET:https://api.psi-1116412.ocp-gitops-qe.com:6443/apis/operator.openshift.io/v1alpha1?timeout=32s logger.go:42: 08:38:57 | 1-078_validate_default_argocd_consoleLink/2-add_env | test step completed 2-add_env logger.go:42: 08:38:57 | 1-078_validate_default_argocd_consoleLink/3-disable-env | starting test step 3-disable-env logger.go:42: 08:38:57 | 1-078_validate_default_argocd_consoleLink/3-disable-env | running command: [sh -c oc patch -n openshift-operators subscription openshift-gitops-operator \ --type merge --patch '{"spec": {"config": {"env": [{"name": "DISABLE_DEFAULT_ARGOCD_CONSOLELINK", "value": "false"}]}}}' ] logger.go:42: 08:38:58 | 1-078_validate_default_argocd_consoleLink/3-disable-env | subscription.operators.coreos.com/openshift-gitops-operator patched I0731 08:38:59.306304 121 request.go:682] Waited for 1.027081547s due to client-side throttling, not priority and fairness, request: GET:https://api.psi-1116412.ocp-gitops-qe.com:6443/apis/whereabouts.cni.cncf.io/v1alpha1?timeout=32s logger.go:42: 08:39:27 | 1-078_validate_default_argocd_consoleLink/3-disable-env | test step completed 3-disable-env logger.go:42: 08:39:27 | 1-078_validate_default_argocd_consoleLink/4-empty-valued-env | starting test step 4-empty-valued-env logger.go:42: 08:39:27 | 1-078_validate_default_argocd_consoleLink/4-empty-valued-env | running command: [sh -c oc patch -n openshift-operators subscription openshift-gitops-operator \ --type merge --patch '{"spec": {"config": {"env": [{"name": "DISABLE_DEFAULT_ARGOCD_CONSOLELINK", "value": ""}]}}}' ] logger.go:42: 08:39:28 | 1-078_validate_default_argocd_consoleLink/4-empty-valued-env | subscription.operators.coreos.com/openshift-gitops-operator patched I0731 08:39:29.469236 121 request.go:682] Waited for 1.024926004s due to client-side throttling, not priority and fairness, request: GET:https://api.psi-1116412.ocp-gitops-qe.com:6443/apis/security.internal.openshift.io/v1?timeout=32s logger.go:42: 08:39:31 | 1-078_validate_default_argocd_consoleLink/4-empty-valued-env | test step completed 4-empty-valued-env logger.go:42: 08:39:31 | 1-078_validate_default_argocd_consoleLink/5-remove-env | starting test step 5-remove-env logger.go:42: 08:39:31 | 1-078_validate_default_argocd_consoleLink/5-remove-env | running command: [sh -c oc -n openshift-operators patch subscription openshift-gitops-operator --type='json' -p='[{"op": "remove", "path": "/spec/config" }]' ] logger.go:42: 08:39:31 | 1-078_validate_default_argocd_consoleLink/5-remove-env | subscription.operators.coreos.com/openshift-gitops-operator patched logger.go:42: 08:39:34 | 1-078_validate_default_argocd_consoleLink/5-remove-env | test step completed 5-remove-env logger.go:42: 08:39:34 | 1-078_validate_default_argocd_consoleLink | skipping kubernetes event logging logger.go:42: 08:39:34 | 1-078_validate_default_argocd_consoleLink | Deleting namespace: kuttl-test-welcomed-impala === CONT kuttl/harness/1-071_validate_node_selectors logger.go:42: 08:39:40 | 1-071_validate_node_selectors | Creating namespace: kuttl-test-beloved-labrador logger.go:42: 08:39:40 | 1-071_validate_node_selectors/1- | starting test step 1- I0731 08:39:41.486074 121 request.go:682] Waited for 1.025344146s due to client-side throttling, not priority and fairness, request: GET:https://api.psi-1116412.ocp-gitops-qe.com:6443/apis/operators.coreos.com/v1alpha1?timeout=32s logger.go:42: 08:39:43 | 1-071_validate_node_selectors/1- | test step completed 1- logger.go:42: 08:39:43 | 1-071_validate_node_selectors/2-custom-node-selector | starting test step 2-custom-node-selector logger.go:42: 08:39:43 | 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: 08:39:43 | 1-071_validate_node_selectors/2-custom-node-selector | gitopsservice.pipelines.openshift.io/cluster patched logger.go:42: 08:40:01 | 1-071_validate_node_selectors/2-custom-node-selector | test step completed 2-custom-node-selector logger.go:42: 08:40:01 | 1-071_validate_node_selectors/3-patch-run-on-infra | starting test step 3-patch-run-on-infra logger.go:42: 08:40:01 | 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: 08:40:02 | 1-071_validate_node_selectors/3-patch-run-on-infra | gitopsservice.pipelines.openshift.io/cluster patched I0731 08:40:03.180360 121 request.go:682] Waited for 1.026570319s due to client-side throttling, not priority and fairness, request: GET:https://api.psi-1116412.ocp-gitops-qe.com:6443/apis/authorization.k8s.io/v1?timeout=32s logger.go:42: 08:40:04 | 1-071_validate_node_selectors/3-patch-run-on-infra | test step completed 3-patch-run-on-infra logger.go:42: 08:40:04 | 1-071_validate_node_selectors/4-change-back | starting test step 4-change-back logger.go:42: 08:40:04 | 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: 08:40:05 | 1-071_validate_node_selectors/4-change-back | gitopsservice.pipelines.openshift.io/cluster patched logger.go:42: 08:40:05 | 1-071_validate_node_selectors/4-change-back | statefulset.apps/openshift-gitops-application-controller patched logger.go:42: 08:40:08 | 1-071_validate_node_selectors/4-change-back | test step completed 4-change-back logger.go:42: 08:40:08 | 1-071_validate_node_selectors | skipping kubernetes event logging logger.go:42: 08:40:08 | 1-071_validate_node_selectors | Deleting namespace: kuttl-test-beloved-labrador === CONT kuttl/harness/1-064_validate_tcp_reset_error logger.go:42: 08:40:14 | 1-064_validate_tcp_reset_error | Creating namespace: kuttl-test-fancy-possum logger.go:42: 08:40:14 | 1-064_validate_tcp_reset_error/1- | starting test step 1- I0731 08:40:15.217084 121 request.go:682] Waited for 1.024266344s due to client-side throttling, not priority and fairness, request: GET:https://api.psi-1116412.ocp-gitops-qe.com:6443/apis/metal3.io/v1alpha1?timeout=32s logger.go:42: 08:40:16 | 1-064_validate_tcp_reset_error/1- | test step completed 1- logger.go:42: 08:40:16 | 1-064_validate_tcp_reset_error/2-install | starting test step 2-install logger.go:42: 08:40:19 | 1-064_validate_tcp_reset_error/2-install | Application:openshift-gitops/1-27-argocd created logger.go:42: 08:40:52 | 1-064_validate_tcp_reset_error/2-install | test step completed 2-install logger.go:42: 08:40:52 | 1-064_validate_tcp_reset_error/3-create-app | starting test step 3-create-app I0731 08:40:53.341384 121 request.go:682] Waited for 1.027017274s due to client-side throttling, not priority and fairness, request: GET:https://api.psi-1116412.ocp-gitops-qe.com:6443/apis/authorization.openshift.io/v1?timeout=32s logger.go:42: 08:40:54 | 1-064_validate_tcp_reset_error/3-create-app | Application:test-1-27-custom/guestbook created logger.go:42: 08:41:03 | 1-064_validate_tcp_reset_error/3-create-app | test step completed 3-create-app logger.go:42: 08:41:03 | 1-064_validate_tcp_reset_error/4-check-app-manifest | starting test step 4-check-app-manifest logger.go:42: 08:41:03 | 1-064_validate_tcp_reset_error/4-check-app-manifest | running command: [sh -c set -e cleanup() { argocd logout "${api_server}" unset api_server unset password } trap cleanup INT TERM EXIT # Get credentials 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) # Login into ArgoCD login=$(argocd login $api_server --username admin --password $password --insecure) if ! [[ "${login}" =~ "'admin:login' logged in successfully" ]]; then echo "ERROR: unable to login to ArgoCD remote api server" exit 1 fi # Execute 'argocd app manifest' and check the 'read tcp' error app_manifests=$(argocd app manifests 1-27-argocd --source git --revision HEAD) if [[ "${app_manifests}" =~ 'Original error: read tcp' ]]; then echo "ERROR: TCP reset error is present in this code" exit 2 fi exit 0 ] logger.go:42: 08:41:05 | 1-064_validate_tcp_reset_error/4-check-app-manifest | Logged out from 'openshift-gitops-server-openshift-gitops.apps.psi-1116412.ocp-gitops-qe.com' I0731 08:41:06.419070 121 request.go:682] Waited for 1.026481035s due to client-side throttling, not priority and fairness, request: GET:https://api.psi-1116412.ocp-gitops-qe.com:6443/apis/argoproj.io/v1beta1?timeout=32s logger.go:42: 08:41:07 | 1-064_validate_tcp_reset_error/4-check-app-manifest | test step completed 4-check-app-manifest logger.go:42: 08:41:07 | 1-064_validate_tcp_reset_error/99-delete | starting test step 99-delete I0731 08:41:21.384885 121 request.go:682] Waited for 1.026544711s due to client-side throttling, not priority and fairness, request: GET:https://api.psi-1116412.ocp-gitops-qe.com:6443/apis/performance.openshift.io/v2?timeout=32s logger.go:42: 08:41:22 | 1-064_validate_tcp_reset_error/99-delete | test step completed 99-delete logger.go:42: 08:41:22 | 1-064_validate_tcp_reset_error | skipping kubernetes event logging logger.go:42: 08:41:22 | 1-064_validate_tcp_reset_error | Deleting namespace: kuttl-test-fancy-possum === CONT kuttl/harness/1-056_validate_managed-by logger.go:42: 08:41:28 | 1-056_validate_managed-by | Creating namespace: kuttl-test-star-guppy logger.go:42: 08:41:28 | 1-056_validate_managed-by/1-install | starting test step 1-install I0731 08:41:31.385786 121 request.go:682] Waited for 2.426187205s due to client-side throttling, not priority and fairness, request: GET:https://api.psi-1116412.ocp-gitops-qe.com:6443/apis/build.openshift.io/v1?timeout=32s logger.go:42: 08:41:31 | 1-056_validate_managed-by/1-install | Namespace:/test-1-56-target created logger.go:42: 08:41:31 | 1-056_validate_managed-by/1-install | Namespace:/test-1-56-custom created logger.go:42: 08:41:31 | 1-056_validate_managed-by/1-install | ArgoCD:test-1-56-target/example-argocd created logger.go:42: 08:42:03 | 1-056_validate_managed-by/1-install | test step completed 1-install logger.go:42: 08:42:03 | 1-056_validate_managed-by/2-delete | starting test step 2-delete I0731 08:42:04.667335 121 request.go:682] Waited for 1.02283188s due to client-side throttling, not priority and fairness, request: GET:https://api.psi-1116412.ocp-gitops-qe.com:6443/apis/network.operator.openshift.io/v1?timeout=32s logger.go:42: 08:42:06 | 1-056_validate_managed-by/2-delete | test step completed 2-delete logger.go:42: 08:42:06 | 1-056_validate_managed-by/3-check | starting test step 3-check logger.go:42: 08:42:06 | 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: 08:42:06 | 1-056_validate_managed-by/3-check | label value: test-1-56-target logger.go:42: 08:42:06 | 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: 08:42:09 | 1-056_validate_managed-by/3-check | test step completed 3-check logger.go:42: 08:42:09 | 1-056_validate_managed-by/4-add_env | starting test step 4-add_env logger.go:42: 08:42:09 | 1-056_validate_managed-by/4-add_env | running command: [sh -c set -e oc patch -n openshift-operators subscription openshift-gitops-operator \ --type merge --patch '{"spec": {"config": {"env": [{"name": "REMOVE_MANAGED_BY_LABEL_ON_ARGOCD_DELETION", "value": "true"}]}}}' ] logger.go:42: 08:42:09 | 1-056_validate_managed-by/4-add_env | subscription.operators.coreos.com/openshift-gitops-operator patched logger.go:42: 08:42:12 | 1-056_validate_managed-by/4-add_env | test step completed 4-add_env logger.go:42: 08:42:12 | 1-056_validate_managed-by/5-check | starting test step 5-check logger.go:42: 08:42:12 | 1-056_validate_managed-by/5-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: 08:42:12 | 1-056_validate_managed-by/5-check | label value: test-1-56-target logger.go:42: 08:42:12 | 1-056_validate_managed-by/5-check | managed-by label exists, set REMOVE_MANAGED_BY_LABEL_ON_ARGOCD_DELETION variable to delete the label I0731 08:42:14.713257 121 request.go:682] Waited for 2.377346769s due to client-side throttling, not priority and fairness, request: GET:https://api.psi-1116412.ocp-gitops-qe.com:6443/apis/quota.openshift.io/v1?timeout=32s logger.go:42: 08:42:14 | 1-056_validate_managed-by/5-check | test step completed 5-check logger.go:42: 08:42:14 | 1-056_validate_managed-by/6-install | starting test step 6-install logger.go:42: 08:42:17 | 1-056_validate_managed-by/6-install | Namespace:/test-1-56-target-2 created logger.go:42: 08:42:17 | 1-056_validate_managed-by/6-install | Namespace:/test-1-56-custom-2 created logger.go:42: 08:42:17 | 1-056_validate_managed-by/6-install | ArgoCD:test-1-56-target-2/example-argocd-2 created logger.go:42: 08:42:38 | 1-056_validate_managed-by/6-install | test step completed 6-install logger.go:42: 08:42:38 | 1-056_validate_managed-by/7-delete | starting test step 7-delete I0731 08:42:39.673990 121 request.go:682] Waited for 1.024403083s due to client-side throttling, not priority and fairness, request: GET:https://api.psi-1116412.ocp-gitops-qe.com:6443/apis/ingress.operator.openshift.io/v1?timeout=32s logger.go:42: 08:42:41 | 1-056_validate_managed-by/7-delete | test step completed 7-delete logger.go:42: 08:42:41 | 1-056_validate_managed-by/8-remove_env | starting test step 8-remove_env logger.go:42: 08:42:41 | 1-056_validate_managed-by/8-remove_env | running command: [sh -c oc patch -n openshift-operators subscription openshift-gitops-operator \ --type json --patch '[{"op": "remove", "path": "/spec/config"}]' ] logger.go:42: 08:42:41 | 1-056_validate_managed-by/8-remove_env | subscription.operators.coreos.com/openshift-gitops-operator patched logger.go:42: 08:42:44 | 1-056_validate_managed-by/8-remove_env | test step completed 8-remove_env logger.go:42: 08:42:44 | 1-056_validate_managed-by/99-delete | starting test step 99-delete I0731 08:42:51.750507 121 request.go:682] Waited for 1.027251039s due to client-side throttling, not priority and fairness, request: GET:https://api.psi-1116412.ocp-gitops-qe.com:6443/apis/metal3.io/v1alpha1?timeout=32s logger.go:42: 08:42:53 | 1-056_validate_managed-by/99-delete | test step completed 99-delete logger.go:42: 08:42:53 | 1-056_validate_managed-by | skipping kubernetes event logging logger.go:42: 08:42:53 | 1-056_validate_managed-by | Deleting namespace: kuttl-test-star-guppy === CONT kuttl/harness/1-050_validate_sso logger.go:42: 08:42:59 | 1-050_validate_sso | Creating namespace: kuttl-test-moved-reindeer logger.go:42: 08:42:59 | 1-050_validate_sso/1-install | starting test step 1-install I0731 08:43:01.772304 121 request.go:682] Waited for 2.277709398s due to client-side throttling, not priority and fairness, request: GET:https://api.psi-1116412.ocp-gitops-qe.com:6443/apis/machineconfiguration.openshift.io/v1?timeout=32s logger.go:42: 08:43:02 | 1-050_validate_sso/1-install | ArgoCD:kuttl-test-moved-reindeer/argocd created logger.go:42: 08:43:43 | 1-050_validate_sso/1-install | test step completed 1-install logger.go:42: 08:43:43 | 1-050_validate_sso/2-remove-spec-sso | starting test step 2-remove-spec-sso logger.go:42: 08:43:43 | 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: 08:43:44 | 1-050_validate_sso/2-remove-spec-sso | argocd.argoproj.io/argocd patched logger.go:42: 08:43:44 | 1-050_validate_sso/2-remove-spec-sso | running command: [sh -c sleep 10] I0731 08:43:55.102781 121 request.go:682] Waited for 1.026099432s due to client-side throttling, not priority and fairness, request: GET:https://api.psi-1116412.ocp-gitops-qe.com:6443/apis/samples.operator.openshift.io/v1?timeout=32s logger.go:42: 08:43:56 | 1-050_validate_sso/2-remove-spec-sso | test step completed 2-remove-spec-sso logger.go:42: 08:43:56 | 1-050_validate_sso/7-provider-keycloak-dex-spec | starting test step 7-provider-keycloak-dex-spec logger.go:42: 08:43:59 | 1-050_validate_sso/7-provider-keycloak-dex-spec | ArgoCD:kuttl-test-moved-reindeer/argocd updated logger.go:42: 08:43:59 | 1-050_validate_sso/7-provider-keycloak-dex-spec | test step completed 7-provider-keycloak-dex-spec logger.go:42: 08:43:59 | 1-050_validate_sso/8-remove-spec-dex | starting test step 8-remove-spec-dex logger.go:42: 08:43:59 | 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: 08:43:59 | 1-050_validate_sso/8-remove-spec-dex | argocd.argoproj.io/argocd patched logger.go:42: 08:46:15 | 1-050_validate_sso/8-remove-spec-dex | test step completed 8-remove-spec-dex logger.go:42: 08:46:15 | 1-050_validate_sso | skipping kubernetes event logging logger.go:42: 08:46:15 | 1-050_validate_sso | Deleting namespace: kuttl-test-moved-reindeer === CONT kuttl/harness/1-042_validate_status_host logger.go:42: 08:46:27 | 1-042_validate_status_host | Creating namespace: kuttl-test-fun-maggot logger.go:42: 08:46:27 | 1-042_validate_status_host/1-install | starting test step 1-install I0731 08:46:28.397638 121 request.go:682] Waited for 1.023826181s due to client-side throttling, not priority and fairness, request: GET:https://api.psi-1116412.ocp-gitops-qe.com:6443/apis/security.internal.openshift.io/v1?timeout=32s logger.go:42: 08:46:29 | 1-042_validate_status_host/1-install | ArgoCD:kuttl-test-fun-maggot/example-argocd created logger.go:42: 08:47:02 | 1-042_validate_status_host/1-install | test step completed 1-install logger.go:42: 08:47:02 | 1-042_validate_status_host/2-check_URL | starting test step 2-check_URL logger.go:42: 08:47:02 | 1-042_validate_status_host/2-check_URL | running command: [sh -c until [[ $i -eq 20 ]] do route_URL=$(oc get routes -o jsonpath="{.items[*]['spec.host']}" --field-selector metadata.name=example-argocd-server -n $NAMESPACE) status_URL=$(oc get argocd -o jsonpath="{.items[*]['status.host']}" -n $NAMESPACE) echo -e "route_URL:${route_URL}\nstatus_URL:${status_URL}" if ! [[ "${status_URL}" == "${route_URL}" ]]; then i=$((i+1)) sleep 6 else exit 0 fi done echo "Error: Route does not match" exit 1 ] logger.go:42: 08:47:02 | 1-042_validate_status_host/2-check_URL | route_URL:example-argocd-server-kuttl-test-fun-maggot.apps.psi-1116412.ocp-gitops-qe.com logger.go:42: 08:47:02 | 1-042_validate_status_host/2-check_URL | status_URL:example-argocd-server-kuttl-test-fun-maggot.apps.psi-1116412.ocp-gitops-qe.com I0731 08:47:03.993306 121 request.go:682] Waited for 1.026801376s due to client-side throttling, not priority and fairness, request: GET:https://api.psi-1116412.ocp-gitops-qe.com:6443/apis/network.operator.openshift.io/v1?timeout=32s logger.go:42: 08:47:05 | 1-042_validate_status_host/2-check_URL | test step completed 2-check_URL logger.go:42: 08:47:05 | 1-042_validate_status_host/3-modify_route_URL | starting test step 3-modify_route_URL logger.go:42: 08:47:05 | 1-042_validate_status_host/3-modify_route_URL | running command: [sh -c oc patch route example-argocd-server -n $NAMESPACE --type='json' -p='[{"op": "replace", "path": "/spec/host", "value":"modified-route"}]' ] logger.go:42: 08:47:05 | 1-042_validate_status_host/3-modify_route_URL | route.route.openshift.io/example-argocd-server patched logger.go:42: 08:47:08 | 1-042_validate_status_host/3-modify_route_URL | test step completed 3-modify_route_URL logger.go:42: 08:47:08 | 1-042_validate_status_host/4-disable_route | starting test step 4-disable_route logger.go:42: 08:47:11 | 1-042_validate_status_host/4-disable_route | ArgoCD:kuttl-test-fun-maggot/example-argocd updated logger.go:42: 08:47:11 | 1-042_validate_status_host/4-disable_route | test step completed 4-disable_route logger.go:42: 08:47:11 | 1-042_validate_status_host/5-check_URL_gone | starting test step 5-check_URL_gone logger.go:42: 08:47:11 | 1-042_validate_status_host/5-check_URL_gone | running command: [sh -c sleep 5 status_URL=$(oc get argocd -o jsonpath="{.items[*]['status.host']}" -n $NAMESPACE) echo "${status_URL}" if test "${status_URL}" != ""; then echo "Error: status.host should not be present in argocd" exit 1 fi exit 0 ] logger.go:42: 08:47:16 | 1-042_validate_status_host/5-check_URL_gone | I0731 08:47:17.458390 121 request.go:682] Waited for 1.026155162s due to client-side throttling, not priority and fairness, request: GET:https://api.psi-1116412.ocp-gitops-qe.com:6443/apis/machine.openshift.io/v1?timeout=32s logger.go:42: 08:47:18 | 1-042_validate_status_host/5-check_URL_gone | test step completed 5-check_URL_gone logger.go:42: 08:47:18 | 1-042_validate_status_host | skipping kubernetes event logging logger.go:42: 08:47:18 | 1-042_validate_status_host | Deleting namespace: kuttl-test-fun-maggot === CONT kuttl/harness/1-040_validate_quoted_RBAC_group_names logger.go:42: 08:47:25 | 1-040_validate_quoted_RBAC_group_names | Creating namespace: kuttl-test-summary-kiwi logger.go:42: 08:47:25 | 1-040_validate_quoted_RBAC_group_names/1-login_argocd_api_server | starting test step 1-login_argocd_api_server logger.go:42: 08:47:25 | 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 echo $output exit 1 fi exit 0 ] I0731 08:47:27.788610 121 request.go:682] Waited for 1.026374193s due to client-side throttling, not priority and fairness, request: GET:https://api.psi-1116412.ocp-gitops-qe.com:6443/apis/operator.openshift.io/v1?timeout=32s logger.go:42: 08:47:29 | 1-040_validate_quoted_RBAC_group_names/1-login_argocd_api_server | test step completed 1-login_argocd_api_server logger.go:42: 08:47:29 | 1-040_validate_quoted_RBAC_group_names/2-create_role | starting test step 2-create_role logger.go:42: 08:47:29 | 1-040_validate_quoted_RBAC_group_names/2-create_role | running command: [sh -c output=$(argocd proj role create default somerole) if ! [[ "$output" =~ "Role 'somerole' created" ]]; then echo "Error creating role" exit 1 fi exit 0 ] logger.go:42: 08:47:32 | 1-040_validate_quoted_RBAC_group_names/2-create_role | test step completed 2-create_role logger.go:42: 08:47:32 | 1-040_validate_quoted_RBAC_group_names/3-specify_group_names | starting test step 3-specify_group_names logger.go:42: 08:47:32 | 1-040_validate_quoted_RBAC_group_names/3-specify_group_names | running command: [sh -c output=$(argocd proj role add-group default somerole '"CN=foo,OU=bar,O=baz"') cleanup() { argocd proj role delete default somerole } trap cleanup INT TERM EXIT if ! [[ "${output}" =~ "added to role 'somerole'" ]]; then echo "Contains comma characters!" exit 1 fi ] logger.go:42: 08:47:32 | 1-040_validate_quoted_RBAC_group_names/3-specify_group_names | Role 'somerole' deleted logger.go:42: 08:47:35 | 1-040_validate_quoted_RBAC_group_names/3-specify_group_names | test step completed 3-specify_group_names logger.go:42: 08:47:35 | 1-040_validate_quoted_RBAC_group_names | skipping kubernetes event logging logger.go:42: 08:47:35 | 1-040_validate_quoted_RBAC_group_names | Deleting namespace: kuttl-test-summary-kiwi === CONT kuttl/harness/1-020_validate_redis_ha_nonha logger.go:42: 08:47:41 | 1-020_validate_redis_ha_nonha | Creating namespace: kuttl-test-gorgeous-wren logger.go:42: 08:47:41 | 1-020_validate_redis_ha_nonha/1- | starting test step 1- I0731 08:47:42.107670 121 request.go:682] Waited for 1.015144887s due to client-side throttling, not priority and fairness, request: GET:https://api.psi-1116412.ocp-gitops-qe.com:6443/apis/operator.openshift.io/v1?timeout=32s logger.go:42: 08:47:43 | 1-020_validate_redis_ha_nonha/1- | test step completed 1- logger.go:42: 08:47:43 | 1-020_validate_redis_ha_nonha/2-enable-ha | starting test step 2-enable-ha logger.go:42: 08:47:46 | 1-020_validate_redis_ha_nonha/2-enable-ha | ArgoCD:openshift-gitops/openshift-gitops updated logger.go:42: 08:56:49 | 1-020_validate_redis_ha_nonha/2-enable-ha | test step completed 2-enable-ha logger.go:42: 08:56:49 | 1-020_validate_redis_ha_nonha/3-update-ha-resources | starting test step 3-update-ha-resources I0731 08:56:50.608123 121 request.go:682] Waited for 1.017896406s due to client-side throttling, not priority and fairness, request: GET:https://api.psi-1116412.ocp-gitops-qe.com:6443/apis/image.openshift.io/v1?timeout=32s logger.go:42: 08:56:52 | 1-020_validate_redis_ha_nonha/3-update-ha-resources | ArgoCD:openshift-gitops/openshift-gitops updated logger.go:42: 08:57:39 | 1-020_validate_redis_ha_nonha/3-update-ha-resources | test step completed 3-update-ha-resources logger.go:42: 08:57:39 | 1-020_validate_redis_ha_nonha/4-disable-ha | starting test step 4-disable-ha I0731 08:57:40.764074 121 request.go:682] Waited for 1.027177246s due to client-side throttling, not priority and fairness, request: GET:https://api.psi-1116412.ocp-gitops-qe.com:6443/apis/authorization.openshift.io/v1?timeout=32s logger.go:42: 08:57:42 | 1-020_validate_redis_ha_nonha/4-disable-ha | ArgoCD:openshift-gitops/openshift-gitops updated logger.go:42: 08:57:54 | 1-020_validate_redis_ha_nonha/4-disable-ha | test step completed 4-disable-ha logger.go:42: 08:57:54 | 1-020_validate_redis_ha_nonha | skipping kubernetes event logging logger.go:42: 08:57:54 | 1-020_validate_redis_ha_nonha | Deleting namespace: kuttl-test-gorgeous-wren === CONT kuttl/harness/1-036_validate_role_rolebinding_for_source_namespace logger.go:42: 08:57:59 | 1-036_validate_role_rolebinding_for_source_namespace | Creating namespace: kuttl-test-alive-adder logger.go:42: 08:57:59 | 1-036_validate_role_rolebinding_for_source_namespace/1-sourcenamespace_without_wildcard | starting test step 1-sourcenamespace_without_wildcard I0731 08:58:01.040563 121 request.go:682] Waited for 1.025018778s due to client-side throttling, not priority and fairness, request: GET:https://api.psi-1116412.ocp-gitops-qe.com:6443/apis/flowcontrol.apiserver.k8s.io/v1beta2?timeout=32s logger.go:42: 08:58:02 | 1-036_validate_role_rolebinding_for_source_namespace/1-sourcenamespace_without_wildcard | Namespace:/test created logger.go:42: 08:58:02 | 1-036_validate_role_rolebinding_for_source_namespace/1-sourcenamespace_without_wildcard | ArgoCD:default/example-argocd created logger.go:42: 08:58:03 | 1-036_validate_role_rolebinding_for_source_namespace/1-sourcenamespace_without_wildcard | test step completed 1-sourcenamespace_without_wildcard logger.go:42: 08:58:03 | 1-036_validate_role_rolebinding_for_source_namespace/2-sourceNamespace_with_wildcard_pattern | starting test step 2-sourceNamespace_with_wildcard_pattern logger.go:42: 08:58:06 | 1-036_validate_role_rolebinding_for_source_namespace/2-sourceNamespace_with_wildcard_pattern | Namespace:/test-1 created logger.go:42: 08:58:06 | 1-036_validate_role_rolebinding_for_source_namespace/2-sourceNamespace_with_wildcard_pattern | Namespace:/dev created logger.go:42: 08:58:06 | 1-036_validate_role_rolebinding_for_source_namespace/2-sourceNamespace_with_wildcard_pattern | ArgoCD:default/example-argocd updated logger.go:42: 08:58:07 | 1-036_validate_role_rolebinding_for_source_namespace/2-sourceNamespace_with_wildcard_pattern | test step completed 2-sourceNamespace_with_wildcard_pattern logger.go:42: 08:58:07 | 1-036_validate_role_rolebinding_for_source_namespace/3-new_namespace_with_match_pattern | starting test step 3-new_namespace_with_match_pattern logger.go:42: 08:58:10 | 1-036_validate_role_rolebinding_for_source_namespace/3-new_namespace_with_match_pattern | Namespace:/test-2 created logger.go:42: 08:58:11 | 1-036_validate_role_rolebinding_for_source_namespace/3-new_namespace_with_match_pattern | test step completed 3-new_namespace_with_match_pattern logger.go:42: 08:58:11 | 1-036_validate_role_rolebinding_for_source_namespace/4-sourceNamespace_with_wildcard | starting test step 4-sourceNamespace_with_wildcard I0731 08:58:12.487097 121 request.go:682] Waited for 1.02711443s due to client-side throttling, not priority and fairness, request: GET:https://api.psi-1116412.ocp-gitops-qe.com:6443/apis/monitoring.coreos.com/v1alpha1?timeout=32s logger.go:42: 08:58:14 | 1-036_validate_role_rolebinding_for_source_namespace/4-sourceNamespace_with_wildcard | Namespace:/test-3 created logger.go:42: 08:58:14 | 1-036_validate_role_rolebinding_for_source_namespace/4-sourceNamespace_with_wildcard | ArgoCD:default/example-argocd updated logger.go:42: 08:58:17 | 1-036_validate_role_rolebinding_for_source_namespace/4-sourceNamespace_with_wildcard | test step completed 4-sourceNamespace_with_wildcard logger.go:42: 08:58:17 | 1-036_validate_role_rolebinding_for_source_namespace/5-multiple_sourcenamespace | starting test step 5-multiple_sourcenamespace logger.go:42: 08:58:20 | 1-036_validate_role_rolebinding_for_source_namespace/5-multiple_sourcenamespace | Namespace:/test-ns-1 created logger.go:42: 08:58:20 | 1-036_validate_role_rolebinding_for_source_namespace/5-multiple_sourcenamespace | Namespace:/dev-ns-1 created logger.go:42: 08:58:20 | 1-036_validate_role_rolebinding_for_source_namespace/5-multiple_sourcenamespace | Namespace:/other-ns created logger.go:42: 08:58:20 | 1-036_validate_role_rolebinding_for_source_namespace/5-multiple_sourcenamespace | ArgoCD:default/example-argocd updated logger.go:42: 08:58:23 | 1-036_validate_role_rolebinding_for_source_namespace/5-multiple_sourcenamespace | test step completed 5-multiple_sourcenamespace logger.go:42: 08:58:23 | 1-036_validate_role_rolebinding_for_source_namespace/6-validate_labels_role_rolebinding_after_removing_namespace_from_sourcenamespace | starting test step 6-validate_labels_role_rolebinding_after_removing_namespace_from_sourcenamespace I0731 08:58:24.219532 121 request.go:682] Waited for 1.027253836s due to client-side throttling, not priority and fairness, request: GET:https://api.psi-1116412.ocp-gitops-qe.com:6443/apis/apps.openshift.io/v1?timeout=32s logger.go:42: 08:58:25 | 1-036_validate_role_rolebinding_for_source_namespace/6-validate_labels_role_rolebinding_after_removing_namespace_from_sourcenamespace | ArgoCD:default/example-argocd updated logger.go:42: 08:58:26 | 1-036_validate_role_rolebinding_for_source_namespace/6-validate_labels_role_rolebinding_after_removing_namespace_from_sourcenamespace | test step completed 6-validate_labels_role_rolebinding_after_removing_namespace_from_sourcenamespace logger.go:42: 08:58:26 | 1-036_validate_role_rolebinding_for_source_namespace | skipping kubernetes event logging logger.go:42: 08:58:27 | 1-036_validate_role_rolebinding_for_source_namespace | Deleting namespace: kuttl-test-alive-adder === CONT kuttl/harness/1-035_validate_argocd_secret_repopulate logger.go:42: 08:58:33 | 1-035_validate_argocd_secret_repopulate | Creating namespace: kuttl-test-accepted-goblin logger.go:42: 08:58:33 | 1-035_validate_argocd_secret_repopulate/1- | starting test step 1- I0731 08:58:34.290433 121 request.go:682] Waited for 1.027763931s due to client-side throttling, not priority and fairness, request: GET:https://api.psi-1116412.ocp-gitops-qe.com:6443/apis/project.openshift.io/v1?timeout=32s logger.go:42: 08:58:35 | 1-035_validate_argocd_secret_repopulate/1- | test step completed 1- logger.go:42: 08:58:35 | 1-035_validate_argocd_secret_repopulate/2-remove_secret_data | starting test step 2-remove_secret_data logger.go:42: 08:58: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: 08:58:36 | 1-035_validate_argocd_secret_repopulate/2-remove_secret_data | secret/argocd-secret patched logger.go:42: 08:58:38 | 1-035_validate_argocd_secret_repopulate/2-remove_secret_data | test step completed 2-remove_secret_data logger.go:42: 08:58:38 | 1-035_validate_argocd_secret_repopulate/3-check_secret_repopulate | starting test step 3-check_secret_repopulate logger.go:42: 08:58:38 | 1-035_validate_argocd_secret_repopulate/3-check_secret_repopulate | running command: [sh -c sleep 30 secret_data=$(oc get secret/argocd-secret -n openshift-gitops -o custom-columns=SECRET:.data --no-headers) if test "${secret_data}" = ""; then echo "argocd-secret was not repopulated" exit 1 fi exit 0 ] I0731 08:59:10.096159 121 request.go:682] Waited for 1.025626464s due to client-side throttling, not priority and fairness, request: GET:https://api.psi-1116412.ocp-gitops-qe.com:6443/apis/template.openshift.io/v1?timeout=32s logger.go:42: 08:59:11 | 1-035_validate_argocd_secret_repopulate/3-check_secret_repopulate | test step completed 3-check_secret_repopulate logger.go:42: 08:59:11 | 1-035_validate_argocd_secret_repopulate/4-check_controller_pod_status | starting test step 4-check_controller_pod_status logger.go:42: 08:59:11 | 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-operators --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: 08:59:11 | 1-035_validate_argocd_secret_repopulate/4-check_controller_pod_status | deployment "openshift-gitops-operator-controller-manager" successfully rolled out logger.go:42: 08:59:14 | 1-035_validate_argocd_secret_repopulate/4-check_controller_pod_status | test step completed 4-check_controller_pod_status logger.go:42: 08:59:14 | 1-035_validate_argocd_secret_repopulate/5-argocd_login | starting test step 5-argocd_login logger.go:42: 08:59:14 | 1-035_validate_argocd_secret_repopulate/5-argocd_login | running command: [sh -c set -eo pipefail 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: 08:59:18 | 1-035_validate_argocd_secret_repopulate/5-argocd_login | test step completed 5-argocd_login logger.go:42: 08:59:18 | 1-035_validate_argocd_secret_repopulate | skipping kubernetes event logging logger.go:42: 08:59:18 | 1-035_validate_argocd_secret_repopulate | Deleting namespace: kuttl-test-accepted-goblin === CONT kuttl/harness/1-034_validate_custom_roles logger.go:42: 08:59:24 | 1-034_validate_custom_roles | Creating namespace: kuttl-test-humorous-lab logger.go:42: 08:59:25 | 1-034_validate_custom_roles/1-install | starting test step 1-install I0731 08:59:26.061728 121 request.go:682] Waited for 1.025979517s due to client-side throttling, not priority and fairness, request: GET:https://api.psi-1116412.ocp-gitops-qe.com:6443/apis/discovery.k8s.io/v1?timeout=32s logger.go:42: 08:59:27 | 1-034_validate_custom_roles/1-install | Namespace:/test-1-034-custom created logger.go:42: 08:59:27 | 1-034_validate_custom_roles/1-install | ArgoCD:test-1-034-custom/argocd created logger.go:42: 08:59:27 | 1-034_validate_custom_roles/1-install | Namespace:/custom-role-namespace created logger.go:42: 08:59:27 | 1-034_validate_custom_roles/1-install | ClusterRole:/custom-argocd-role created logger.go:42: 08:59:39 | 1-034_validate_custom_roles/1-install | test step completed 1-install logger.go:42: 08:59:39 | 1-034_validate_custom_roles/2-patch-subscription | starting test step 2-patch-subscription logger.go:42: 08:59:39 | 1-034_validate_custom_roles/2-patch-subscription | running command: [sh -c oc patch -n openshift-operators subscription openshift-gitops-operator \ --type merge --patch '{"spec": {"config": {"env": [{"name": "CONTROLLER_CLUSTER_ROLE", "value": "custom-argocd-role"},{"name": "SERVER_CLUSTER_ROLE", "value": "custom-argocd-role"}]}}}' ] logger.go:42: 08:59:39 | 1-034_validate_custom_roles/2-patch-subscription | subscription.operators.coreos.com/openshift-gitops-operator patched logger.go:42: 08:59:39 | 1-034_validate_custom_roles/2-patch-subscription | running command: [sh -c sleep 10] I0731 08:59:50.713503 121 request.go:682] Waited for 1.026331956s due to client-side throttling, not priority and fairness, request: GET:https://api.psi-1116412.ocp-gitops-qe.com:6443/apis/coordination.k8s.io/v1?timeout=32s logger.go:42: 08:59:52 | 1-034_validate_custom_roles/2-patch-subscription | test step completed 2-patch-subscription logger.go:42: 08:59:52 | 1-034_validate_custom_roles/3- | starting test step 3- logger.go:42: 09:00:11 | 1-034_validate_custom_roles/3- | test step completed 3- logger.go:42: 09:00:11 | 1-034_validate_custom_roles/4- | starting test step 4- I0731 09:00:12.918431 121 request.go:682] Waited for 1.025311821s due to client-side throttling, not priority and fairness, request: GET:https://api.psi-1116412.ocp-gitops-qe.com:6443/apis/ingress.operator.openshift.io/v1?timeout=32s logger.go:42: 09:00:14 | 1-034_validate_custom_roles/4- | test step completed 4- logger.go:42: 09:00:14 | 1-034_validate_custom_roles/5-delete | starting test step 5-delete I0731 09:00:22.942067 121 request.go:682] Waited for 2.077323027s due to client-side throttling, not priority and fairness, request: GET:https://api.psi-1116412.ocp-gitops-qe.com:6443/apis/autoscaling.openshift.io/v1?timeout=32s logger.go:42: 09:00:23 | 1-034_validate_custom_roles/5-delete | test step completed 5-delete logger.go:42: 09:00:23 | 1-034_validate_custom_roles/6-revert-patch | starting test step 6-revert-patch logger.go:42: 09:00:23 | 1-034_validate_custom_roles/6-revert-patch | running command: [sh -c oc patch subscription/openshift-gitops-operator -n openshift-operators --type json --patch='[ { "op": "remove", "path": "/spec/config" } ]' ] logger.go:42: 09:00:23 | 1-034_validate_custom_roles/6-revert-patch | subscription.operators.coreos.com/openshift-gitops-operator patched logger.go:42: 09:00:23 | 1-034_validate_custom_roles/6-revert-patch | running command: [sh -c sleep 10] I0731 09:00:34.803046 121 request.go:682] Waited for 1.026506449s due to client-side throttling, not priority and fairness, request: GET:https://api.psi-1116412.ocp-gitops-qe.com:6443/apis/build.openshift.io/v1?timeout=32s logger.go:42: 09:00:36 | 1-034_validate_custom_roles/6-revert-patch | test step completed 6-revert-patch logger.go:42: 09:00:36 | 1-034_validate_custom_roles | skipping kubernetes event logging logger.go:42: 09:00:36 | 1-034_validate_custom_roles | Deleting namespace: kuttl-test-humorous-lab === CONT kuttl/harness/1-031_validate_toolchain logger.go:42: 09:00:42 | 1-031_validate_toolchain | Creating namespace: kuttl-test-grand-hen logger.go:42: 09:00:42 | 1-031_validate_toolchain/1-check | starting test step 1-check logger.go:42: 09:00:42 | 1-031_validate_toolchain/1-check | running command: [sh -c set -e set -o pipefail # These variables need to be maintained according to the component matrix: https://spaces.redhat.com/display/GITOPS/GitOps+Component+Matrix expected_kustomizeVersion='v5.2.1' expected_helmVersion='v3.14.4' expected_argocdVersion='v2.10.16' expected_dexVersion='v2.37.0' expected_redisVersion='6.2.7' gitops_server_pod=$(oc get -n openshift-gitops pods \ -o custom-columns=NAME:.metadata.name --no-headers | \ grep openshift-gitops-server | \ head -1 ) dex_pod=$(oc get -n openshift-gitops pods \ -o custom-columns=NAME:.metadata.name --no-headers | \ grep openshift-gitops-dex-server | \ head -1 ) redis_pod=$(oc get -n openshift-gitops pods \ -o custom-columns=NAME:.metadata.name --no-headers | \ grep openshift-gitops-redis | \ head -1 ) route=$(oc get route -n openshift-gitops \ -o custom-columns=NAME:.spec.host --no-headers | \ grep openshift-gitops-server | \ head -1 ) kustomizeVersion=$(oc -n openshift-gitops exec $gitops_server_pod \ -- kustomize version ) helmVersion=$(oc -n openshift-gitops exec $gitops_server_pod \ -- helm version | \ sed -e 's/version.BuildInfo//' -e 's/\"//g' | \ awk -F':' '{ print $2 }' | \ awk -F',' '{ print $1 }' ) argocdVersion=$(oc -n openshift-gitops exec $gitops_server_pod \ -- argocd version --short --server $route --insecure | \ grep 'argocd-server' | \ awk -F' ' '{ print $2 }' | \ sed 's/\+.*//' ) dexVersion=$(oc -n openshift-gitops exec $dex_pod -- dex version 2>&1 | \ grep '^Dex Version' | \ awk -F': ' '{ print $2 }' ) redisVersion=$(oc -n openshift-gitops exec $redis_pod -- \ redis-server -v | awk -F '=' '{ print $2 }' | cut -d' ' -f 1 ) if test "${kustomizeVersion}" != "${expected_kustomizeVersion}"; then echo "Kustomize version mismatch. Should be ${expected_kustomizeVersion}, is ${kustomizeVersion}" exit 1 fi if test "${helmVersion}" != "${expected_helmVersion}"; then echo "Helm version mismatch. Should be ${expected_helmVersion}, is ${helmVersion}" exit 1 fi if test "${argocdVersion}" != "${expected_argocdVersion}"; then echo "ArgoCD version mismatch. Should be ${expected_argocdVersion}, is ${argocdVersion}" exit 1 fi if test "${dexVersion}" != "${expected_dexVersion}"; then echo "Dex version mismatch. Should be ${expected_dexVersion}, is ${dexVersion}" exit 1 fi if test "${redisVersion}" != "${expected_redisVersion}"; then echo "Redis version mismatch. Should be ${expected_redisVersion}, is ${redisVersion}" exit 1 fi ] I0731 09:00:48.046602 121 request.go:682] Waited for 1.025475597s due to client-side throttling, not priority and fairness, request: GET:https://api.psi-1116412.ocp-gitops-qe.com:6443/apis/helm.openshift.io/v1beta1?timeout=32s logger.go:42: 09:00:49 | 1-031_validate_toolchain/1-check | test step completed 1-check logger.go:42: 09:00:49 | 1-031_validate_toolchain | skipping kubernetes event logging logger.go:42: 09:00:49 | 1-031_validate_toolchain | Deleting namespace: kuttl-test-grand-hen === CONT kuttl/harness/1-028_validate_run_on_infra logger.go:42: 09:00:55 | 1-028_validate_run_on_infra | Ignoring errors.yaml as it does not match file name regexp: ^(\d+)-(?:[^\.]+)(?:\.yaml)?$ logger.go:42: 09:00:55 | 1-028_validate_run_on_infra | Creating namespace: kuttl-test-capital-sheep logger.go:42: 09:00:55 | 1-028_validate_run_on_infra/1-install | starting test step 1-install logger.go:42: 09:00:55 | 1-028_validate_run_on_infra/1-install | running command: [sh -c oc patch gitopsservice cluster --type=merge --patch='{"spec": {"runOnInfra": true, "tolerations": [{"effect": "NoSchedule", "key": "infra", "value": "reserved"}]}}' ] logger.go:42: 09:00:55 | 1-028_validate_run_on_infra/1-install | gitopsservice.pipelines.openshift.io/cluster patched I0731 09:00:58.073777 121 request.go:682] Waited for 2.126516732s due to client-side throttling, not priority and fairness, request: GET:https://api.psi-1116412.ocp-gitops-qe.com:6443/apis/storage.k8s.io/v1beta1?timeout=32s logger.go:42: 09:00:58 | 1-028_validate_run_on_infra/1-install | test step completed 1-install logger.go:42: 09:00:58 | 1-028_validate_run_on_infra/2-custom-argocd | starting test step 2-custom-argocd logger.go:42: 09:01:01 | 1-028_validate_run_on_infra/2-custom-argocd | ArgoCD:kuttl-test-capital-sheep/argocd created logger.go:42: 09:01:13 | 1-028_validate_run_on_infra/2-custom-argocd | test step completed 2-custom-argocd logger.go:42: 09:01:13 | 1-028_validate_run_on_infra/3-change-back | starting test step 3-change-back logger.go:42: 09:01:13 | 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: 09:01:13 | 1-028_validate_run_on_infra/3-change-back | gitopsservice.pipelines.openshift.io/cluster patched logger.go:42: 09:01:14 | 1-028_validate_run_on_infra/3-change-back | statefulset.apps/openshift-gitops-application-controller patched I0731 09:01:15.287225 121 request.go:682] Waited for 1.024182221s due to client-side throttling, not priority and fairness, request: GET:https://api.psi-1116412.ocp-gitops-qe.com:6443/apis/apiserver.openshift.io/v1?timeout=32s logger.go:42: 09:01:16 | 1-028_validate_run_on_infra/3-change-back | test step completed 3-change-back logger.go:42: 09:01:16 | 1-028_validate_run_on_infra/4-check | starting test step 4-check logger.go:42: 09:01:19 | 1-028_validate_run_on_infra/4-check | test step completed 4-check logger.go:42: 09:01:19 | 1-028_validate_run_on_infra | skipping kubernetes event logging logger.go:42: 09:01:19 | 1-028_validate_run_on_infra | Deleting namespace: kuttl-test-capital-sheep === CONT kuttl/harness/1-027_validate_operand_from_git logger.go:42: 09:01:25 | 1-027_validate_operand_from_git | Creating namespace: kuttl-test-endless-longhorn logger.go:42: 09:01:25 | 1-027_validate_operand_from_git/1- | starting test step 1- I0731 09:01:26.893311 121 request.go:682] Waited for 1.026919571s due to client-side throttling, not priority and fairness, request: GET:https://api.psi-1116412.ocp-gitops-qe.com:6443/apis/machine.openshift.io/v1beta1?timeout=32s logger.go:42: 09:01:28 | 1-027_validate_operand_from_git/1- | test step completed 1- logger.go:42: 09:01:28 | 1-027_validate_operand_from_git/2-install | starting test step 2-install logger.go:42: 09:01:31 | 1-027_validate_operand_from_git/2-install | Application:openshift-gitops/1-27-argocd created logger.go:42: 09:02:04 | 1-027_validate_operand_from_git/2-install | test step completed 2-install logger.go:42: 09:02:04 | 1-027_validate_operand_from_git/3-create-app | starting test step 3-create-app I0731 09:02:05.136093 121 request.go:682] Waited for 1.026148049s due to client-side throttling, not priority and fairness, request: GET:https://api.psi-1116412.ocp-gitops-qe.com:6443/apis/autoscaling.openshift.io/v1beta1?timeout=32s logger.go:42: 09:02:06 | 1-027_validate_operand_from_git/3-create-app | Application:test-1-27-custom/guestbook created logger.go:42: 09:02:14 | 1-027_validate_operand_from_git/3-create-app | test step completed 3-create-app logger.go:42: 09:02:14 | 1-027_validate_operand_from_git/99-delete | starting test step 99-delete I0731 09:02:28.339024 121 request.go:682] Waited for 1.027203786s due to client-side throttling, not priority and fairness, request: GET:https://api.psi-1116412.ocp-gitops-qe.com:6443/apis/oauth.openshift.io/v1?timeout=32s logger.go:42: 09:02:29 | 1-027_validate_operand_from_git/99-delete | test step completed 99-delete logger.go:42: 09:02:29 | 1-027_validate_operand_from_git | skipping kubernetes event logging logger.go:42: 09:02:29 | 1-027_validate_operand_from_git | Deleting namespace: kuttl-test-endless-longhorn === CONT kuttl/harness/1-026-validate_backend_service_permissions logger.go:42: 09:02:35 | 1-026-validate_backend_service_permissions | Creating namespace: kuttl-test-positive-grubworm logger.go:42: 09:02:35 | 1-026-validate_backend_service_permissions/1-check-backend-service | starting test step 1-check-backend-service I0731 09:02:38.383665 121 request.go:682] Waited for 2.462506806s due to client-side throttling, not priority and fairness, request: GET:https://api.psi-1116412.ocp-gitops-qe.com:6443/apis/apps.openshift.io/v1?timeout=32s logger.go:42: 09:02:38 | 1-026-validate_backend_service_permissions/1-check-backend-service | test step completed 1-check-backend-service logger.go:42: 09:02:38 | 1-026-validate_backend_service_permissions | skipping kubernetes event logging logger.go:42: 09:02:38 | 1-026-validate_backend_service_permissions | Deleting namespace: kuttl-test-positive-grubworm === CONT kuttl/harness/1-005_validate_metrics logger.go:42: 09:02:44 | 1-005_validate_metrics | Creating namespace: kuttl-test-intense-liger logger.go:42: 09:02:44 | 1-005_validate_metrics/1- | starting test step 1- logger.go:42: 09:02:47 | 1-005_validate_metrics/1- | test step completed 1- logger.go:42: 09:02:47 | 1-005_validate_metrics | skipping kubernetes event logging logger.go:42: 09:02:47 | 1-005_validate_metrics | Deleting namespace: kuttl-test-intense-liger === CONT kuttl/harness/1-041_validate_argocd_sync_alert logger.go:42: 09:02:52 | 1-041_validate_argocd_sync_alert | Creating namespace: kuttl-test-talented-gator logger.go:42: 09:02:52 | 1-041_validate_argocd_sync_alert/1- | starting test step 1- I0731 09:02:54.037328 121 request.go:682] Waited for 1.024454551s due to client-side throttling, not priority and fairness, request: GET:https://api.psi-1116412.ocp-gitops-qe.com:6443/apis/monitoring.coreos.com/v1?timeout=32s logger.go:42: 09:02:55 | 1-041_validate_argocd_sync_alert/1- | test step completed 1- logger.go:42: 09:02:55 | 1-041_validate_argocd_sync_alert | skipping kubernetes event logging logger.go:42: 09:02:55 | 1-041_validate_argocd_sync_alert | Deleting namespace: kuttl-test-talented-gator === CONT kuttl/harness/1-018_validate_disable_default_instance logger.go:42: 09:03:01 | 1-018_validate_disable_default_instance | Ignoring errors.yaml as it does not match file name regexp: ^(\d+)-(?:[^\.]+)(?:\.yaml)?$ logger.go:42: 09:03:01 | 1-018_validate_disable_default_instance | Creating namespace: kuttl-test-amused-koala logger.go:42: 09:03:01 | 1-018_validate_disable_default_instance/1- | starting test step 1- logger.go:42: 09:03:04 | 1-018_validate_disable_default_instance/1- | test step completed 1- logger.go:42: 09:03:04 | 1-018_validate_disable_default_instance/2-patch-subscription | starting test step 2-patch-subscription logger.go:42: 09:03:04 | 1-018_validate_disable_default_instance/2-patch-subscription | running command: [sh -c oc patch -n openshift-operators subscription openshift-gitops-operator \ --type merge --patch '{"spec": {"config": {"env": [{"name": "DISABLE_DEFAULT_ARGOCD_INSTANCE", "value": "true"}]}}}' ] logger.go:42: 09:03:04 | 1-018_validate_disable_default_instance/2-patch-subscription | subscription.operators.coreos.com/openshift-gitops-operator patched logger.go:42: 09:03:04 | 1-018_validate_disable_default_instance/2-patch-subscription | running command: [sh -c sleep 20] I0731 09:03:25.594880 121 request.go:682] Waited for 1.003916504s due to client-side throttling, not priority and fairness, request: GET:https://api.psi-1116412.ocp-gitops-qe.com:6443/apis/cloud.network.openshift.io/v1?timeout=32s logger.go:42: 09:03:27 | 1-018_validate_disable_default_instance/2-patch-subscription | test step completed 2-patch-subscription logger.go:42: 09:03:27 | 1-018_validate_disable_default_instance/3-check | starting test step 3-check logger.go:42: 09:03:34 | 1-018_validate_disable_default_instance/3-check | test step completed 3-check logger.go:42: 09:03:34 | 1-018_validate_disable_default_instance/4-patch-subscription | starting test step 4-patch-subscription logger.go:42: 09:03:34 | 1-018_validate_disable_default_instance/4-patch-subscription | running command: [sh -c oc patch -n openshift-operators subscription openshift-gitops-operator \ --type json --patch '[{"op": "remove", "path": "/spec/config"}]' ] logger.go:42: 09:03:35 | 1-018_validate_disable_default_instance/4-patch-subscription | subscription.operators.coreos.com/openshift-gitops-operator patched I0731 09:03:36.306857 121 request.go:682] Waited for 1.025382043s due to client-side throttling, not priority and fairness, request: GET:https://api.psi-1116412.ocp-gitops-qe.com:6443/apis/performance.openshift.io/v1?timeout=32s logger.go:42: 09:04:18 | 1-018_validate_disable_default_instance/4-patch-subscription | test step completed 4-patch-subscription logger.go:42: 09:04:18 | 1-018_validate_disable_default_instance | skipping kubernetes event logging logger.go:42: 09:04:18 | 1-018_validate_disable_default_instance | Deleting namespace: kuttl-test-amused-koala === CONT kuttl/harness/1-010_validate-ootb-manage-other-namespace logger.go:42: 09:04:24 | 1-010_validate-ootb-manage-other-namespace | Ignoring README.md as it does not match file name regexp: ^(\d+)-(?:[^\.]+)(?:\.yaml)?$ logger.go:42: 09:04:24 | 1-010_validate-ootb-manage-other-namespace | Ignoring errors.yaml as it does not match file name regexp: ^(\d+)-(?:[^\.]+)(?:\.yaml)?$ logger.go:42: 09:04:24 | 1-010_validate-ootb-manage-other-namespace | Creating namespace: kuttl-test-apt-kitten logger.go:42: 09:04:24 | 1-010_validate-ootb-manage-other-namespace/1-install | starting test step 1-install I0731 09:04:25.555010 121 request.go:682] Waited for 1.027403992s due to client-side throttling, not priority and fairness, request: GET:https://api.psi-1116412.ocp-gitops-qe.com:6443/apis/imageregistry.operator.openshift.io/v1?timeout=32s logger.go:42: 09:04:27 | 1-010_validate-ootb-manage-other-namespace/1-install | Namespace:/test-1-10-custom created logger.go:42: 09:04:27 | 1-010_validate-ootb-manage-other-namespace/1-install | test step completed 1-install logger.go:42: 09:04:27 | 1-010_validate-ootb-manage-other-namespace/2- | starting test step 2- logger.go:42: 09:04:29 | 1-010_validate-ootb-manage-other-namespace/2- | test step completed 2- logger.go:42: 09:04:29 | 1-010_validate-ootb-manage-other-namespace/3-create-application | starting test step 3-create-application logger.go:42: 09:04:32 | 1-010_validate-ootb-manage-other-namespace/3-create-application | Application:openshift-gitops/test-1-10-custom created logger.go:42: 09:04:40 | 1-010_validate-ootb-manage-other-namespace/3-create-application | test step completed 3-create-application logger.go:42: 09:04:40 | 1-010_validate-ootb-manage-other-namespace/4-unlabel-namespace | starting test step 4-unlabel-namespace logger.go:42: 09:04:40 | 1-010_validate-ootb-manage-other-namespace/4-unlabel-namespace | running command: [sh -c kubectl label ns test-1-10-custom argocd.argoproj.io/managed-by-] logger.go:42: 09:04:40 | 1-010_validate-ootb-manage-other-namespace/4-unlabel-namespace | namespace/test-1-10-custom unlabeled logger.go:42: 09:04:40 | 1-010_validate-ootb-manage-other-namespace/4-unlabel-namespace | running command: [sh -c sleep 5] I0731 09:04:47.010807 121 request.go:682] Waited for 1.026002944s due to client-side throttling, not priority and fairness, request: GET:https://api.psi-1116412.ocp-gitops-qe.com:6443/apis/route.openshift.io/v1?timeout=32s logger.go:42: 09:04:48 | 1-010_validate-ootb-manage-other-namespace/4-unlabel-namespace | test step completed 4-unlabel-namespace logger.go:42: 09:04:48 | 1-010_validate-ootb-manage-other-namespace/5-check-rbac | starting test step 5-check-rbac logger.go:42: 09:04:51 | 1-010_validate-ootb-manage-other-namespace/5-check-rbac | test step completed 5-check-rbac logger.go:42: 09:04:51 | 1-010_validate-ootb-manage-other-namespace/99-delete | starting test step 99-delete I0731 09:05:03.987978 121 request.go:682] Waited for 1.026722493s due to client-side throttling, not priority and fairness, request: GET:https://api.psi-1116412.ocp-gitops-qe.com:6443/apis/storage.k8s.io/v1?timeout=32s logger.go:42: 09:05:05 | 1-010_validate-ootb-manage-other-namespace/99-delete | test step completed 99-delete logger.go:42: 09:05:05 | 1-010_validate-ootb-manage-other-namespace | skipping kubernetes event logging logger.go:42: 09:05:05 | 1-010_validate-ootb-manage-other-namespace | Deleting namespace: kuttl-test-apt-kitten === CONT kuttl/harness/1-006_validate_machine_config logger.go:42: 09:05:11 | 1-006_validate_machine_config | Creating namespace: kuttl-test-civil-woodcock logger.go:42: 09:05:11 | 1-006_validate_machine_config/1-install | starting test step 1-install I0731 09:05:14.020636 121 request.go:682] Waited for 2.475950326s due to client-side throttling, not priority and fairness, request: GET:https://api.psi-1116412.ocp-gitops-qe.com:6443/apis/controlplane.operator.openshift.io/v1alpha1?timeout=32s logger.go:42: 09:05:14 | 1-006_validate_machine_config/1-install | ArgoCD:openshift-gitops/openshift-gitops updated logger.go:42: 09:05:14 | 1-006_validate_machine_config/1-install | Application:openshift-gitops/validate-machine-config created logger.go:42: 09:05:25 | 1-006_validate_machine_config/1-install | test step completed 1-install logger.go:42: 09:05:25 | 1-006_validate_machine_config/2- | starting test step 2- I0731 09:05:26.497784 121 request.go:682] Waited for 1.025501884s due to client-side throttling, not priority and fairness, request: GET:https://api.psi-1116412.ocp-gitops-qe.com:6443/apis/autoscaling.openshift.io/v1?timeout=32s logger.go:42: 09:05:28 | 1-006_validate_machine_config/2- | test step completed 2- logger.go:42: 09:05:28 | 1-006_validate_machine_config/3-scale-down-repo-server | starting test step 3-scale-down-repo-server logger.go:42: 09:05:30 | 1-006_validate_machine_config/3-scale-down-repo-server | ArgoCD:openshift-gitops/openshift-gitops updated logger.go:42: 09:05:31 | 1-006_validate_machine_config/3-scale-down-repo-server | test step completed 3-scale-down-repo-server logger.go:42: 09:05:31 | 1-006_validate_machine_config/99-delete | starting test step 99-delete logger.go:42: 09:05:34 | 1-006_validate_machine_config/99-delete | test step completed 99-delete logger.go:42: 09:05:34 | 1-006_validate_machine_config | skipping kubernetes event logging logger.go:42: 09:05:34 | 1-006_validate_machine_config | Deleting namespace: kuttl-test-civil-woodcock === CONT kuttl/harness/1-003_validate_cluster_config logger.go:42: 09:05:40 | 1-003_validate_cluster_config | Creating namespace: kuttl-test-smart-parrot logger.go:42: 09:05:40 | 1-003_validate_cluster_config/0-cluster-scoped-argocd | starting test step 0-cluster-scoped-argocd I0731 09:05:41.403166 121 request.go:682] Waited for 1.026126023s due to client-side throttling, not priority and fairness, request: GET:https://api.psi-1116412.ocp-gitops-qe.com:6443/apis/performance.openshift.io/v1alpha1?timeout=32s logger.go:42: 09:05:42 | 1-003_validate_cluster_config/0-cluster-scoped-argocd | Namespace:/argocd-e2e-cluster-config created logger.go:42: 09:05:43 | 1-003_validate_cluster_config/0-cluster-scoped-argocd | ArgoCD:argocd-e2e-cluster-config/example-argocd created logger.go:42: 09:05:43 | 1-003_validate_cluster_config/0-cluster-scoped-argocd | test step completed 0-cluster-scoped-argocd logger.go:42: 09:05:43 | 1-003_validate_cluster_config/1-cluster-scoped | starting test step 1-cluster-scoped logger.go:42: 09:05:43 | 1-003_validate_cluster_config/1-cluster-scoped | running command: [sh -c oc patch -n openshift-operators subscription openshift-gitops-operator \ --type merge --patch '{"spec": {"config": {"env": [{"name": "ARGOCD_CLUSTER_CONFIG_NAMESPACES", "value": "openshift-gitops, argocd-e2e-cluster-config"}]}}}' ] logger.go:42: 09:05:43 | 1-003_validate_cluster_config/1-cluster-scoped | subscription.operators.coreos.com/openshift-gitops-operator patched logger.go:42: 09:06:14 | 1-003_validate_cluster_config/1-cluster-scoped | test step completed 1-cluster-scoped logger.go:42: 09:06:14 | 1-003_validate_cluster_config/2- | starting test step 2- I0731 09:06:15.208751 121 request.go:682] Waited for 1.026631322s due to client-side throttling, not priority and fairness, request: GET:https://api.psi-1116412.ocp-gitops-qe.com:6443/apis/console.openshift.io/v1alpha1?timeout=32s logger.go:42: 09:06:16 | 1-003_validate_cluster_config/2- | test step completed 2- logger.go:42: 09:06:16 | 1-003_validate_cluster_config/3-enable-appset-in-any-namespace | starting test step 3-enable-appset-in-any-namespace logger.go:42: 09:06:19 | 1-003_validate_cluster_config/3-enable-appset-in-any-namespace | ArgoCD:argocd-e2e-cluster-config/example-argocd updated logger.go:42: 09:06:22 | 1-003_validate_cluster_config/3-enable-appset-in-any-namespace | test step completed 3-enable-appset-in-any-namespace logger.go:42: 09:06:22 | 1-003_validate_cluster_config/99-delete | starting test step 99-delete I0731 09:06:36.146957 121 request.go:682] Waited for 1.024394332s due to client-side throttling, not priority and fairness, request: GET:https://api.psi-1116412.ocp-gitops-qe.com:6443/apis/rbac.authorization.k8s.io/v1?timeout=32s logger.go:42: 09:06:37 | 1-003_validate_cluster_config/99-delete | test step completed 99-delete logger.go:42: 09:06:37 | 1-003_validate_cluster_config | skipping kubernetes event logging logger.go:42: 09:06:37 | 1-003_validate_cluster_config | Deleting namespace: kuttl-test-smart-parrot === CONT kuttl/harness/1-002_validate_backend_service logger.go:42: 09:06:43 | 1-002_validate_backend_service | Creating namespace: kuttl-test-classic-jay logger.go:42: 09:06:43 | 1-002_validate_backend_service/1-check-backend-service | starting test step 1-check-backend-service logger.go:42: 09:06:46 | 1-002_validate_backend_service/1-check-backend-service | test step completed 1-check-backend-service logger.go:42: 09:06:46 | 1-002_validate_backend_service | skipping kubernetes event logging logger.go:42: 09:06:46 | 1-002_validate_backend_service | Deleting namespace: kuttl-test-classic-jay === CONT kuttl/harness/1-004_validate_argocd_installation logger.go:42: 09:06:52 | 1-004_validate_argocd_installation | Creating namespace: kuttl-test-prepared-mudfish logger.go:42: 09:06:52 | 1-004_validate_argocd_installation/1-check-prereqs | starting test step 1-check-prereqs I0731 09:06:53.283077 121 request.go:682] Waited for 1.025958858s due to client-side throttling, not priority and fairness, request: GET:https://api.psi-1116412.ocp-gitops-qe.com:6443/apis/scheduling.k8s.io/v1?timeout=32s logger.go:42: 09:06:54 | 1-004_validate_argocd_installation/1-check-prereqs | test step completed 1-check-prereqs logger.go:42: 09:06:54 | 1-004_validate_argocd_installation/2-change-operand | starting test step 2-change-operand logger.go:42: 09:06:57 | 1-004_validate_argocd_installation/2-change-operand | ArgoCD:openshift-gitops/openshift-gitops updated logger.go:42: 09:06:57 | 1-004_validate_argocd_installation/2-change-operand | test step completed 2-change-operand logger.go:42: 09:06:57 | 1-004_validate_argocd_installation/3-wait | starting test step 3-wait logger.go:42: 09:06:57 | 1-004_validate_argocd_installation/3-wait | running command: [sh -c sleep 5] I0731 09:07:03.548742 121 request.go:682] Waited for 1.049123514s due to client-side throttling, not priority and fairness, request: GET:https://api.psi-1116412.ocp-gitops-qe.com:6443/apis/samples.operator.openshift.io/v1?timeout=32s logger.go:42: 09:07:05 | 1-004_validate_argocd_installation/3-wait | test step completed 3-wait logger.go:42: 09:07:05 | 1-004_validate_argocd_installation/4- | starting test step 4- logger.go:42: 09:07:09 | 1-004_validate_argocd_installation/4- | test step completed 4- logger.go:42: 09:07:09 | 1-004_validate_argocd_installation | skipping kubernetes event logging logger.go:42: 09:07:09 | 1-004_validate_argocd_installation | Deleting namespace: kuttl-test-prepared-mudfish === CONT kuttl harness.go:405: run tests finished harness.go:513: cleaning up harness.go:570: removing temp folder: "" --- FAIL: kuttl (2412.62s) --- FAIL: kuttl/harness (0.00s) --- PASS: kuttl/harness/1-001_validate_kam_service (14.79s) --- PASS: kuttl/harness/1-037_validate_applicationset_in_any_namespace (102.95s) --- PASS: kuttl/harness/1-105_validate_label_selector (342.76s) --- PASS: kuttl/harness/1-104_validate_prometheus_alert (8.56s) --- PASS: kuttl/harness/1-086_validate_default_argocd_role (45.66s) --- FAIL: kuttl/harness/1-085_validate_dynamic_plugin_installation (9.55s) --- PASS: kuttl/harness/1-084_validate_prune_templates (42.40s) --- PASS: kuttl/harness/1-083_validate_apps_in_any_namespace (105.54s) --- PASS: kuttl/harness/1-078_validate_default_argocd_consoleLink (77.45s) --- PASS: kuttl/harness/1-071_validate_node_selectors (33.73s) --- PASS: kuttl/harness/1-064_validate_tcp_reset_error (74.77s) --- PASS: kuttl/harness/1-056_validate_managed-by (90.54s) --- PASS: kuttl/harness/1-050_validate_sso (207.88s) --- PASS: kuttl/harness/1-042_validate_status_host (57.74s) --- PASS: kuttl/harness/1-040_validate_quoted_RBAC_group_names (15.96s) --- PASS: kuttl/harness/1-020_validate_redis_ha_nonha (618.92s) --- PASS: kuttl/harness/1-036_validate_role_rolebinding_for_source_namespace (33.29s) --- PASS: kuttl/harness/1-035_validate_argocd_secret_repopulate (51.76s) --- PASS: kuttl/harness/1-034_validate_custom_roles (77.25s) --- PASS: kuttl/harness/1-031_validate_toolchain (13.29s) --- PASS: kuttl/harness/1-028_validate_run_on_infra (30.29s) --- PASS: kuttl/harness/1-027_validate_operand_from_git (70.04s) --- PASS: kuttl/harness/1-026-validate_backend_service_permissions (8.53s) --- PASS: kuttl/harness/1-005_validate_metrics (8.59s) --- PASS: kuttl/harness/1-041_validate_argocd_sync_alert (8.47s) --- PASS: kuttl/harness/1-018_validate_disable_default_instance (83.02s) --- PASS: kuttl/harness/1-010_validate-ootb-manage-other-namespace (47.02s) --- PASS: kuttl/harness/1-006_validate_machine_config (28.83s) --- PASS: kuttl/harness/1-003_validate_cluster_config (63.22s) --- PASS: kuttl/harness/1-002_validate_backend_service (8.66s) --- PASS: kuttl/harness/1-004_validate_argocd_installation (23.40s) FAIL ===================================== ==== SEQUENTIAL E2E TESTS FAILED ==== ===================================== Copying results Deleted temp working directory /kuttl-e2e/gitops-operator/tmp.CRewaM2Lkr make: *** [Makefile:13: e2e-tests-sequential] Error 1 make: Leaving directory '/kuttl-e2e/gitops-operator' File has been uploaded to CI/kuttl-tests-seq-41267d6b/240731-082637/sequential_2024.07.31-08.27.00.xml 🚀 File has been uploaded to CI/kuttl-tests-seq-41267d6b/240731-082637/sequential_2024.07.31-08.27.00.log 🚀 Updating artifacts path to results http://uploader.devtools-gitops--pipeline.svc.cluster.local:8080/CI/kuttl-tests-seq-41267d6b/240731-082637/