undefined step-generate Cluster name generated: admin-122021 Is nightly?: false Image repository: devtools_gitops Result path: CI/z-stream-test-pipeline-upgradekuttletest2489z/241220-082332 Result path URL: http://uploader.devtools-gitops--pipeline.svc.cluster.local:8080/CI/z-stream-test-pipeline-upgradekuttletest2489z/241220-082332/ undefined step-create-cluster-dir Directory with cluster info exists, logging in error: dial tcp: lookup a817bdbe97979419a925f195e2e3f432-3416cf13ca917772.elb.us-east-1.amazonaws.com on 172.30.0.10:53: no such host - verify you have provided the correct host and port and that the server is currently running. https://a6005cf9ec79040fbadbf93e777ebad0-b1e1c28c91430fab.elb.us-east-1.amazonaws.com:6443 nrj9Z-pUAH3-V3HTh-VdPs2 WARNING: Using insecure TLS client config. Setting this option is not supported! Login successful. You have access to 61 projects, the list has been suppressed. You can list all projects with 'oc projects' Using project "default". Welcome! See 'oc help' to get started. undefined step-clone + '[' false = true ']' + '[' false = true ']' + '[' false = true ']' + CHECKOUT_DIR=/workspace/output/ + '[' false = true ']' + test -z '' + test -z '' + test -z '' + git config --global --add safe.directory /workspace/output + /ko-app/git-init -url=https://gitlab.cee.redhat.com/gitops/plumbing-gitops.git -revision= -refspec= -path=/workspace/output/ -sslVerify=false -submodules=true -depth=1 -sparseCheckoutDirectories= {"level":"info","ts":1734683026.989223,"caller":"git/git.go:176","msg":"Successfully cloned https://gitlab.cee.redhat.com/gitops/plumbing-gitops.git @ 1ad80727f4378f0d28f43db2404d282eb973c4a7 (grafted, HEAD) in path /workspace/output/"} {"level":"info","ts":1734683027.0850258,"caller":"git/git.go:215","msg":"Successfully initialized and updated submodules in path /workspace/output/"} + cd /workspace/output/ ++ git rev-parse HEAD + RESULT_SHA=1ad80727f4378f0d28f43db2404d282eb973c4a7 + EXIT_CODE=0 + '[' 0 '!=' 0 ']' ++ git log -1 --pretty=%ct + RESULT_COMMITTER_DATE=1733400141 + printf %s 1733400141 + printf %s 1ad80727f4378f0d28f43db2404d282eb973c4a7 + printf %s https://gitlab.cee.redhat.com/gitops/plumbing-gitops.git undefined step-create-catalog-source Logging in as kubeadmin user WARNING: Using insecure TLS client config. Setting this option is not supported! Login successful. You have access to 61 projects, the list has been suppressed. You can list all projects with 'oc projects' Using project "default". Welcome! See 'oc help' to get started. NAME DISPLAY TYPE PUBLISHER AGE redhat-operators Red Hat Operators grpc Red Hat 23m error: error executing jsonpath "{.items[0].metadata.name}": Error executing template: array index out of bounds: index 0, length 0. Printing more information for debugging the template: template was: {.items[0].metadata.name} object given to jsonpath engine was: map[string]interface {}{"apiVersion":"v1", "items":[]interface {}{}, "kind":"List", "metadata":map[string]interface {}{"resourceVersion":""}} error: resource(s) were provided, but no name was specified Catalog source not in Ready state Error from server (NotFound): catalogsources.operators.coreos.com "iib-" not found IIB index = registry-proxy.engineering.redhat.com/rh-osbs/iib: MIRROR index = quay.io/devtools_gitops/iib: secret/pull-secret data updated error: "registry-proxy.engineering.redhat.com/rh-osbs/iib:" is not a valid image reference: invalid reference format imagecontentsourcepolicy.operator.openshift.io/brew-registry created error: error parsing STDIN: error converting YAML to JSON: yaml: line 8: mapping values are not allowed in this context Error from server (BadRequest): Unable to find "/v1, Resource=pods" that match label selector "olm.catalogSource=iib-", field selector "": unable to parse requirement: values[0][olm.catalogSource]: Invalid value: "iib-": a valid label must be an empty string or consist of alphanumeric characters, '-', '_' or '.', and must start and end with an alphanumeric character (e.g. 'MyValue', or 'my_value', or '12345', regex used for validation is '(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?') error executing jsonpath "{.items[0].metadata.name}": Error executing template: array index out of bounds: index 0, length 0. Printing more information for debugging the template: template was: {.items[0].metadata.name} object given to jsonpath engine was: map[string]interface {}{"apiVersion":"v1", "items":[]interface {}{}, "kind":"List", "metadata":map[string]interface {}{"resourceVersion":""}} error: resource(s) were provided, but no name was specified Error from server (BadRequest): Unable to find "/v1, Resource=pods" that match label selector "olm.catalogSource=iib-", field selector "": unable to parse requirement: values[0][olm.catalogSource]: Invalid value: "iib-": a valid label must be an empty string or consist of alphanumeric characters, '-', '_' or '.', and must start and end with an alphanumeric character (e.g. 'MyValue', or 'my_value', or '12345', regex used for validation is '(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?') error executing jsonpath "{.items[0].metadata.name}": Error executing template: array index out of bounds: index 0, length 0. Printing more information for debugging the template: template was: {.items[0].metadata.name} object given to jsonpath engine was: map[string]interface {}{"apiVersion":"v1", "items":[]interface {}{}, "kind":"List", "metadata":map[string]interface {}{"resourceVersion":""}} error: resource(s) were provided, but no name was specified Error from server (BadRequest): Unable to find "/v1, Resource=pods" that match label selector "olm.catalogSource=iib-", field selector "": unable to parse requirement: values[0][olm.catalogSource]: Invalid value: "iib-": a valid label must be an empty string or consist of alphanumeric characters, '-', '_' or '.', and must start and end with an alphanumeric character (e.g. 'MyValue', or 'my_value', or '12345', regex used for validation is '(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?') error executing jsonpath "{.items[0].metadata.name}": Error executing template: array index out of bounds: index 0, length 0. Printing more information for debugging the template: template was: {.items[0].metadata.name} object given to jsonpath engine was: map[string]interface {}{"apiVersion":"v1", "items":[]interface {}{}, "kind":"List", "metadata":map[string]interface {}{"resourceVersion":""}} error: resource(s) were provided, but no name was specified Error from server (BadRequest): Unable to find "/v1, Resource=pods" that match label selector "olm.catalogSource=iib-", field selector "": unable to parse requirement: values[0][olm.catalogSource]: Invalid value: "iib-": a valid label must be an empty string or consist of alphanumeric characters, '-', '_' or '.', and must start and end with an alphanumeric character (e.g. 'MyValue', or 'my_value', or '12345', regex used for validation is '(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?') error executing jsonpath "{.items[0].metadata.name}": Error executing template: array index out of bounds: index 0, length 0. Printing more information for debugging the template: template was: {.items[0].metadata.name} object given to jsonpath engine was: map[string]interface {}{"apiVersion":"v1", "items":[]interface {}{}, "kind":"List", "metadata":map[string]interface {}{"resourceVersion":""}} error: resource(s) were provided, but no name was specified Error from server (BadRequest): Unable to find "/v1, Resource=pods" that match label selector "olm.catalogSource=iib-", field selector "": unable to parse requirement: values[0][olm.catalogSource]: Invalid value: "iib-": a valid label must be an empty string or consist of alphanumeric characters, '-', '_' or '.', and must start and end with an alphanumeric character (e.g. 'MyValue', or 'my_value', or '12345', regex used for validation is '(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?') error executing jsonpath "{.items[0].metadata.name}": Error executing template: array index out of bounds: index 0, length 0. Printing more information for debugging the template: template was: {.items[0].metadata.name} object given to jsonpath engine was: map[string]interface {}{"apiVersion":"v1", "items":[]interface {}{}, "kind":"List", "metadata":map[string]interface {}{"resourceVersion":""}} error: resource(s) were provided, but no name was specified Error from server (BadRequest): Unable to find "/v1, Resource=pods" that match label selector "olm.catalogSource=iib-", field selector "": unable to parse requirement: values[0][olm.catalogSource]: Invalid value: "iib-": a valid label must be an empty string or consist of alphanumeric characters, '-', '_' or '.', and must start and end with an alphanumeric character (e.g. 'MyValue', or 'my_value', or '12345', regex used for validation is '(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?') error executing jsonpath "{.items[0].metadata.name}": Error executing template: array index out of bounds: index 0, length 0. Printing more information for debugging the template: template was: {.items[0].metadata.name} object given to jsonpath engine was: map[string]interface {}{"apiVersion":"v1", "items":[]interface {}{}, "kind":"List", "metadata":map[string]interface {}{"resourceVersion":""}} error: resource(s) were provided, but no name was specified Error from server (BadRequest): Unable to find "/v1, Resource=pods" that match label selector "olm.catalogSource=iib-", field selector "": unable to parse requirement: values[0][olm.catalogSource]: Invalid value: "iib-": a valid label must be an empty string or consist of alphanumeric characters, '-', '_' or '.', and must start and end with an alphanumeric character (e.g. 'MyValue', or 'my_value', or '12345', regex used for validation is '(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?') error executing jsonpath "{.items[0].metadata.name}": Error executing template: array index out of bounds: index 0, length 0. Printing more information for debugging the template: template was: {.items[0].metadata.name} object given to jsonpath engine was: map[string]interface {}{"apiVersion":"v1", "items":[]interface {}{}, "kind":"List", "metadata":map[string]interface {}{"resourceVersion":""}} error: resource(s) were provided, but no name was specified Error from server (BadRequest): Unable to find "/v1, Resource=pods" that match label selector "olm.catalogSource=iib-", field selector "": unable to parse requirement: values[0][olm.catalogSource]: Invalid value: "iib-": a valid label must be an empty string or consist of alphanumeric characters, '-', '_' or '.', and must start and end with an alphanumeric character (e.g. 'MyValue', or 'my_value', or '12345', regex used for validation is '(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?') error executing jsonpath "{.items[0].metadata.name}": Error executing template: array index out of bounds: index 0, length 0. Printing more information for debugging the template: template was: {.items[0].metadata.name} object given to jsonpath engine was: map[string]interface {}{"apiVersion":"v1", "items":[]interface {}{}, "kind":"List", "metadata":map[string]interface {}{"resourceVersion":""}} error: resource(s) were provided, but no name was specified Error from server (BadRequest): Unable to find "/v1, Resource=pods" that match label selector "olm.catalogSource=iib-", field selector "": unable to parse requirement: values[0][olm.catalogSource]: Invalid value: "iib-": a valid label must be an empty string or consist of alphanumeric characters, '-', '_' or '.', and must start and end with an alphanumeric character (e.g. 'MyValue', or 'my_value', or '12345', regex used for validation is '(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?') error executing jsonpath "{.items[0].metadata.name}": Error executing template: array index out of bounds: index 0, length 0. Printing more information for debugging the template: template was: {.items[0].metadata.name} object given to jsonpath engine was: map[string]interface {}{"apiVersion":"v1", "items":[]interface {}{}, "kind":"List", "metadata":map[string]interface {}{"resourceVersion":""}} error: resource(s) were provided, but no name was specified Error from server (BadRequest): Unable to find "/v1, Resource=pods" that match label selector "olm.catalogSource=iib-", field selector "": unable to parse requirement: values[0][olm.catalogSource]: Invalid value: "iib-": a valid label must be an empty string or consist of alphanumeric characters, '-', '_' or '.', and must start and end with an alphanumeric character (e.g. 'MyValue', or 'my_value', or '12345', regex used for validation is '(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?') error executing jsonpath "{.items[0].metadata.name}": Error executing template: array index out of bounds: index 0, length 0. Printing more information for debugging the template: template was: {.items[0].metadata.name} object given to jsonpath engine was: map[string]interface {}{"apiVersion":"v1", "items":[]interface {}{}, "kind":"List", "metadata":map[string]interface {}{"resourceVersion":""}} error: resource(s) were provided, but no name was specified Error from server (BadRequest): Unable to find "/v1, Resource=pods" that match label selector "olm.catalogSource=iib-", field selector "": unable to parse requirement: values[0][olm.catalogSource]: Invalid value: "iib-": a valid label must be an empty string or consist of alphanumeric characters, '-', '_' or '.', and must start and end with an alphanumeric character (e.g. 'MyValue', or 'my_value', or '12345', regex used for validation is '(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?') error executing jsonpath "{.items[0].metadata.name}": Error executing template: array index out of bounds: index 0, length 0. Printing more information for debugging the template: template was: {.items[0].metadata.name} object given to jsonpath engine was: map[string]interface {}{"apiVersion":"v1", "items":[]interface {}{}, "kind":"List", "metadata":map[string]interface {}{"resourceVersion":""}} error: resource(s) were provided, but no name was specified Error from server (BadRequest): Unable to find "/v1, Resource=pods" that match label selector "olm.catalogSource=iib-", field selector "": unable to parse requirement: values[0][olm.catalogSource]: Invalid value: "iib-": a valid label must be an empty string or consist of alphanumeric characters, '-', '_' or '.', and must start and end with an alphanumeric character (e.g. 'MyValue', or 'my_value', or '12345', regex used for validation is '(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?') error executing jsonpath "{.items[0].metadata.name}": Error executing template: array index out of bounds: index 0, length 0. Printing more information for debugging the template: template was: {.items[0].metadata.name} object given to jsonpath engine was: map[string]interface {}{"apiVersion":"v1", "items":[]interface {}{}, "kind":"List", "metadata":map[string]interface {}{"resourceVersion":""}} error: resource(s) were provided, but no name was specified Error from server (BadRequest): Unable to find "/v1, Resource=pods" that match label selector "olm.catalogSource=iib-", field selector "": unable to parse requirement: values[0][olm.catalogSource]: Invalid value: "iib-": a valid label must be an empty string or consist of alphanumeric characters, '-', '_' or '.', and must start and end with an alphanumeric character (e.g. 'MyValue', or 'my_value', or '12345', regex used for validation is '(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?') error executing jsonpath "{.items[0].metadata.name}": Error executing template: array index out of bounds: index 0, length 0. Printing more information for debugging the template: template was: {.items[0].metadata.name} object given to jsonpath engine was: map[string]interface {}{"apiVersion":"v1", "items":[]interface {}{}, "kind":"List", "metadata":map[string]interface {}{"resourceVersion":""}} error: resource(s) were provided, but no name was specified Error from server (BadRequest): Unable to find "/v1, Resource=pods" that match label selector "olm.catalogSource=iib-", field selector "": unable to parse requirement: values[0][olm.catalogSource]: Invalid value: "iib-": a valid label must be an empty string or consist of alphanumeric characters, '-', '_' or '.', and must start and end with an alphanumeric character (e.g. 'MyValue', or 'my_value', or '12345', regex used for validation is '(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?') error executing jsonpath "{.items[0].metadata.name}": Error executing template: array index out of bounds: index 0, length 0. Printing more information for debugging the template: template was: {.items[0].metadata.name} object given to jsonpath engine was: map[string]interface {}{"apiVersion":"v1", "items":[]interface {}{}, "kind":"List", "metadata":map[string]interface {}{"resourceVersion":""}} error: resource(s) were provided, but no name was specified Error from server (BadRequest): Unable to find "/v1, Resource=pods" that match label selector "olm.catalogSource=iib-", field selector "": unable to parse requirement: values[0][olm.catalogSource]: Invalid value: "iib-": a valid label must be an empty string or consist of alphanumeric characters, '-', '_' or '.', and must start and end with an alphanumeric character (e.g. 'MyValue', or 'my_value', or '12345', regex used for validation is '(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?') error executing jsonpath "{.items[0].metadata.name}": Error executing template: array index out of bounds: index 0, length 0. Printing more information for debugging the template: template was: {.items[0].metadata.name} object given to jsonpath engine was: map[string]interface {}{"apiVersion":"v1", "items":[]interface {}{}, "kind":"List", "metadata":map[string]interface {}{"resourceVersion":""}} error: resource(s) were provided, but no name was specified Error from server (BadRequest): Unable to find "/v1, Resource=pods" that match label selector "olm.catalogSource=iib-", field selector "": unable to parse requirement: values[0][olm.catalogSource]: Invalid value: "iib-": a valid label must be an empty string or consist of alphanumeric characters, '-', '_' or '.', and must start and end with an alphanumeric character (e.g. 'MyValue', or 'my_value', or '12345', regex used for validation is '(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?') error executing jsonpath "{.items[0].metadata.name}": Error executing template: array index out of bounds: index 0, length 0. Printing more information for debugging the template: template was: {.items[0].metadata.name} object given to jsonpath engine was: map[string]interface {}{"apiVersion":"v1", "items":[]interface {}{}, "kind":"List", "metadata":map[string]interface {}{"resourceVersion":""}} error: resource(s) were provided, but no name was specified iib- passed undefined step-branch-version gitops version latest is Present undefined step-clone + '[' false = true ']' + '[' false = true ']' + '[' false = true ']' + CHECKOUT_DIR=/workspace/output/ + '[' false = true ']' + test -z '' + test -z '' + test -z '' + git config --global --add safe.directory /workspace/output + /ko-app/git-init -url=https://gitlab.cee.redhat.com/gitops/operator-e2e.git -revision=master -refspec= -path=/workspace/output/ -sslVerify=false -submodules=true -depth=1 -sparseCheckoutDirectories= {"level":"info","ts":1734683083.5710104,"caller":"git/git.go:176","msg":"Successfully cloned https://gitlab.cee.redhat.com/gitops/operator-e2e.git @ 7d4bdd30c8e1084365aaa247ab3444789d8bc2af (grafted, HEAD, origin/master) in path /workspace/output/"} {"level":"info","ts":1734683083.6706824,"caller":"git/git.go:215","msg":"Successfully initialized and updated submodules in path /workspace/output/"} + cd /workspace/output/ ++ git rev-parse HEAD + RESULT_SHA=7d4bdd30c8e1084365aaa247ab3444789d8bc2af + EXIT_CODE=0 + '[' 0 '!=' 0 ']' ++ git log -1 --pretty=%ct + RESULT_COMMITTER_DATE=1733486964 + printf %s 1733486964 + printf %s 7d4bdd30c8e1084365aaa247ab3444789d8bc2af + printf %s https://gitlab.cee.redhat.com/gitops/operator-e2e.git undefined step-test-argo-rollouts + RESULT=/install-dir/admin-result.txt Logging in as kubeadmin user + trap update_result EXIT + echo -e 'Logging in as kubeadmin user' ++ cat /install-dir/admin/auth/kubeadmin-password ++ cat /install-dir/admin/auth/api-url + oc login -u kubeadmin -p nrj9Z-pUAH3-V3HTh-VdPs2 https://a6005cf9ec79040fbadbf93e777ebad0-b1e1c28c91430fab.elb.us-east-1.amazonaws.com:6443 --insecure-skip-tls-verify=true WARNING: Using insecure TLS client config. Setting this option is not supported! Login successful. You have access to 61 projects, the list has been suppressed. You can list all projects with 'oc projects' Using project "default". Welcome! See 'oc help' to get started. ++ echo false ++ tr '[:upper:]' '[:lower:]' + [[ false == \f\a\l\s\e ]] + echo '$RUN_ARGO_ROLLOUTS_TESTS is set to false, skipping the execution' $RUN_ARGO_ROLLOUTS_TESTS is set to false, skipping the execution + echo 0 + tee /tekton/results/result 0 + exit 0 + update_result + [[ '' != 0 ]] + echo test-argo-rollouts + tee /install-dir/admin-result.txt test-argo-rollouts + exit 0 undefined 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 61 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 E2E tests... . ./test.sh all =========================== ==== RUNNING ALL TESTS ==== =========================== Running parallel test suite 2024/12/20 08:25:08 kutt-test config testdirs is overridden with args: [ /kuttl-e2e/gitops-operator/tests/parallel ] === RUN kuttl harness.go:462: starting setup harness.go:252: running tests using configured kubeconfig. harness.go:275: Successful connection to cluster at: https://a6005cf9ec79040fbadbf93e777ebad0-b1e1c28c91430fab.elb.us-east-1.amazonaws.com:6443 harness.go:360: running tests harness.go:73: going to run test suite with timeout of 720 seconds for each step harness.go:372: testsuite: /kuttl-e2e/gitops-operator/tests/parallel has 89 tests === RUN kuttl/harness === RUN kuttl/harness/1-001_alpha_to_beta_dex_conversion === PAUSE kuttl/harness/1-001_alpha_to_beta_dex_conversion === RUN kuttl/harness/1-002_alpha_to_beta_keycloak_conversion === PAUSE kuttl/harness/1-002_alpha_to_beta_keycloak_conversion === RUN kuttl/harness/1-003_alpha_to_beta_sso_conflict_conversion === PAUSE kuttl/harness/1-003_alpha_to_beta_sso_conflict_conversion === RUN kuttl/harness/1-003_validate_console_link === PAUSE kuttl/harness/1-003_validate_console_link === RUN kuttl/harness/1-004_beta_to_alpha_conversion === PAUSE kuttl/harness/1-004_beta_to_alpha_conversion === RUN kuttl/harness/1-005_validate_route_tls === PAUSE kuttl/harness/1-005_validate_route_tls === RUN kuttl/harness/1-007_validate_namespace_scoped_install === PAUSE kuttl/harness/1-007_validate_namespace_scoped_install === RUN kuttl/harness/1-007_validate_volume_mounts === PAUSE kuttl/harness/1-007_validate_volume_mounts === RUN kuttl/harness/1-008_validate-custom-argocd-namespace === PAUSE kuttl/harness/1-008_validate-custom-argocd-namespace === RUN kuttl/harness/1-009_validate-manage-other-namespace === PAUSE kuttl/harness/1-009_validate-manage-other-namespace === RUN kuttl/harness/1-012_validate-managed-by-chain === PAUSE kuttl/harness/1-012_validate-managed-by-chain === RUN kuttl/harness/1-019_validate_volume_mounts === PAUSE kuttl/harness/1-019_validate_volume_mounts === RUN kuttl/harness/1-021_validate_rolebindings === PAUSE kuttl/harness/1-021_validate_rolebindings === RUN kuttl/harness/1-023_validate_repo_server_tls === PAUSE kuttl/harness/1-023_validate_repo_server_tls === RUN kuttl/harness/1-025-validate-managed-by-change === PAUSE kuttl/harness/1-025-validate-managed-by-change === RUN kuttl/harness/1-029_validate_tls_secret_no_scale === PAUSE kuttl/harness/1-029_validate_tls_secret_no_scale === RUN kuttl/harness/1-030_validate_reencrypt === PAUSE kuttl/harness/1-030_validate_reencrypt === RUN kuttl/harness/1-032_validate_dynamic_scaling === PAUSE kuttl/harness/1-032_validate_dynamic_scaling === RUN kuttl/harness/1-032_validate_resource_inclusions === PAUSE kuttl/harness/1-032_validate_resource_inclusions === RUN kuttl/harness/1-033_validate_applicationset_tls_scm_volume_mount === PAUSE kuttl/harness/1-033_validate_applicationset_tls_scm_volume_mount === RUN kuttl/harness/1-033_validate_resource_exclusions === PAUSE kuttl/harness/1-033_validate_resource_exclusions === RUN kuttl/harness/1-034_validate_webhook_notifications === PAUSE kuttl/harness/1-034_validate_webhook_notifications === RUN kuttl/harness/1-036_validate_keycloak_resource_reqs === PAUSE kuttl/harness/1-036_validate_keycloak_resource_reqs === RUN kuttl/harness/1-037_validate_argocd_setting_replicas === PAUSE kuttl/harness/1-037_validate_argocd_setting_replicas === RUN kuttl/harness/1-038_validate_productized_images === PAUSE kuttl/harness/1-038_validate_productized_images === RUN kuttl/harness/1-039_validate_fix_argocd-tls-certs-cm === PAUSE kuttl/harness/1-039_validate_fix_argocd-tls-certs-cm === RUN kuttl/harness/1-042_restricted_pss_compliant === PAUSE kuttl/harness/1-042_restricted_pss_compliant === RUN kuttl/harness/1-043_validate_custom_labels_annotations === PAUSE kuttl/harness/1-043_validate_custom_labels_annotations === RUN kuttl/harness/1-043_validate_log_level_format === PAUSE kuttl/harness/1-043_validate_log_level_format === RUN kuttl/harness/1-044_validate_resource_limit_changes === PAUSE kuttl/harness/1-044_validate_resource_limit_changes === RUN kuttl/harness/1-045_validate_applicationset_image_override === PAUSE kuttl/harness/1-045_validate_applicationset_image_override === RUN kuttl/harness/1-045_validate_repo_exec_timeout === PAUSE kuttl/harness/1-045_validate_repo_exec_timeout === RUN kuttl/harness/1-047_validate_custom_env === PAUSE kuttl/harness/1-047_validate_custom_env === RUN kuttl/harness/1-048_validate_controller_sharding === PAUSE kuttl/harness/1-048_validate_controller_sharding === RUN kuttl/harness/1-049_validate_parallelism_limit === PAUSE kuttl/harness/1-049_validate_parallelism_limit === RUN kuttl/harness/1-050_validate_sso === PAUSE kuttl/harness/1-050_validate_sso === RUN kuttl/harness/1-051-validate_csv_permissions === PAUSE kuttl/harness/1-051-validate_csv_permissions === RUN kuttl/harness/1-052_validate_rolebinding_number === PAUSE kuttl/harness/1-052_validate_rolebinding_number === RUN kuttl/harness/1-053_validate_cluster_admin_rbac === PAUSE kuttl/harness/1-053_validate_cluster_admin_rbac === RUN kuttl/harness/1-054_validate_deploymentconfig === PAUSE kuttl/harness/1-054_validate_deploymentconfig === RUN kuttl/harness/1-055_drop_resource_customizations === PAUSE kuttl/harness/1-055_drop_resource_customizations === RUN kuttl/harness/1-055_validate_notification_controller === PAUSE kuttl/harness/1-055_validate_notification_controller === RUN kuttl/harness/1-057_validate_notifications === PAUSE kuttl/harness/1-057_validate_notifications === RUN kuttl/harness/1-058_validate_prometheus_rule === PAUSE kuttl/harness/1-058_validate_prometheus_rule === RUN kuttl/harness/1-061_validate_resource_tracking_method === PAUSE kuttl/harness/1-061_validate_resource_tracking_method === RUN kuttl/harness/1-062_validate_extra_config === PAUSE kuttl/harness/1-062_validate_extra_config === RUN kuttl/harness/1-063_validate_dex_liveness_probe === PAUSE kuttl/harness/1-063_validate_dex_liveness_probe === RUN kuttl/harness/1-063_validate_statefulset_restart === PAUSE kuttl/harness/1-063_validate_statefulset_restart === RUN kuttl/harness/1-064_validate_security_contexts === PAUSE kuttl/harness/1-064_validate_security_contexts === RUN kuttl/harness/1-065_validate_redis_ha_anti_affinity === PAUSE kuttl/harness/1-065_validate_redis_ha_anti_affinity === RUN kuttl/harness/1-066_validate_redis_secure_comm_no_autotls_no_ha === PAUSE kuttl/harness/1-066_validate_redis_secure_comm_no_autotls_no_ha === RUN kuttl/harness/1-067_validate_redis_secure_comm_no_autotls_ha === PAUSE kuttl/harness/1-067_validate_redis_secure_comm_no_autotls_ha === RUN kuttl/harness/1-068_validate_redis_secure_comm_autotls_no_ha === PAUSE kuttl/harness/1-068_validate_redis_secure_comm_autotls_no_ha === RUN kuttl/harness/1-069_validate_redis_secure_comm_autotls_ha === PAUSE kuttl/harness/1-069_validate_redis_secure_comm_autotls_ha === RUN kuttl/harness/1-070_validate_config_management_plugin === PAUSE kuttl/harness/1-070_validate_config_management_plugin === RUN kuttl/harness/1-071_validate_SCC_HA === PAUSE kuttl/harness/1-071_validate_SCC_HA === RUN kuttl/harness/1-072_validate_liveness_probe_removed === PAUSE kuttl/harness/1-072_validate_liveness_probe_removed === RUN kuttl/harness/1-073_validate_rhsso === PAUSE kuttl/harness/1-073_validate_rhsso === RUN kuttl/harness/1-074_validate_terminating_namespace_block === PAUSE kuttl/harness/1-074_validate_terminating_namespace_block === RUN kuttl/harness/1-075_validate_dex_anyuid === PAUSE kuttl/harness/1-075_validate_dex_anyuid === RUN kuttl/harness/1-077_validate_disable_dex_removed === PAUSE kuttl/harness/1-077_validate_disable_dex_removed === RUN kuttl/harness/1-079_validate_vars_for_notificaitons === PAUSE kuttl/harness/1-079_validate_vars_for_notificaitons === RUN kuttl/harness/1-080_validate_regex_support_argocd_rbac === PAUSE kuttl/harness/1-080_validate_regex_support_argocd_rbac === RUN kuttl/harness/1-081_validate_applicationset_deployment === PAUSE kuttl/harness/1-081_validate_applicationset_deployment === RUN kuttl/harness/1-082_validate_node_placement === PAUSE kuttl/harness/1-082_validate_node_placement === RUN kuttl/harness/1-083_validate_kustomize_namereference === PAUSE kuttl/harness/1-083_validate_kustomize_namereference === RUN kuttl/harness/1-083_validate_resource_customization_subkeys === PAUSE kuttl/harness/1-083_validate_resource_customization_subkeys === RUN kuttl/harness/1-084_validate_status_host_ingress === PAUSE kuttl/harness/1-084_validate_status_host_ingress === RUN kuttl/harness/1-086_validate_applicationset_extra_command_args === PAUSE kuttl/harness/1-086_validate_applicationset_extra_command_args === RUN kuttl/harness/1-087_validate_repo_server_settings === PAUSE kuttl/harness/1-087_validate_repo_server_settings === RUN kuttl/harness/1-088_validate_applicationset_add_env_vars === PAUSE kuttl/harness/1-088_validate_applicationset_add_env_vars === RUN kuttl/harness/1-089_validate_extra_repo_commands_args === PAUSE kuttl/harness/1-089_validate_extra_repo_commands_args === RUN kuttl/harness/1-090_validate_permissions === PAUSE kuttl/harness/1-090_validate_permissions === RUN kuttl/harness/1-091_argocd_app_validate-applicationset-status === PAUSE kuttl/harness/1-091_argocd_app_validate-applicationset-status === RUN kuttl/harness/1-092_validate_workload_status_monitoring_alert === PAUSE kuttl/harness/1-092_validate_workload_status_monitoring_alert === RUN kuttl/harness/1-095_validate_dex_clientsecret === PAUSE kuttl/harness/1-095_validate_dex_clientsecret === RUN kuttl/harness/1-096-validate_home_env_argocd_controller === PAUSE kuttl/harness/1-096-validate_home_env_argocd_controller === RUN kuttl/harness/1-098_validate_dex_clientsecret_deprecated === PAUSE kuttl/harness/1-098_validate_dex_clientsecret_deprecated === RUN kuttl/harness/1-099_validate_server_autoscale === PAUSE kuttl/harness/1-099_validate_server_autoscale === RUN kuttl/harness/1-102_validate_handle_terminating_namespaces === PAUSE kuttl/harness/1-102_validate_handle_terminating_namespaces === RUN kuttl/harness/1-103_argocd_alpha_to_beta_conversion === PAUSE kuttl/harness/1-103_argocd_alpha_to_beta_conversion === RUN kuttl/harness/1-104_validate_applicationset_tls_scm_volume_mount === PAUSE kuttl/harness/1-104_validate_applicationset_tls_scm_volume_mount === RUN kuttl/harness/1-107_host_attribute_sso_provider === PAUSE kuttl/harness/1-107_host_attribute_sso_provider === RUN kuttl/harness/1-108_alternate_cluster_roles_cluster_scoped_instance === PAUSE kuttl/harness/1-108_alternate_cluster_roles_cluster_scoped_instance === RUN kuttl/harness/1-111_validate_appcontroller_initcontainers === PAUSE kuttl/harness/1-111_validate_appcontroller_initcontainers === RUN kuttl/harness/1-112_validate_server_initcontainers === PAUSE kuttl/harness/1-112_validate_server_initcontainers === RUN kuttl/harness/1-113_validate_appcontroller_sidecar === PAUSE kuttl/harness/1-113_validate_appcontroller_sidecar === RUN kuttl/harness/1-114_validate_server_sidecar === PAUSE kuttl/harness/1-114_validate_server_sidecar === RUN kuttl/harness/1-115_validate_controller_extra_command_args === PAUSE kuttl/harness/1-115_validate_controller_extra_command_args === CONT kuttl/harness/1-001_alpha_to_beta_dex_conversion === CONT kuttl/harness/1-115_validate_controller_extra_command_args === CONT kuttl/harness/1-049_validate_parallelism_limit === CONT kuttl/harness/1-083_validate_resource_customization_subkeys === CONT kuttl/harness/1-084_validate_status_host_ingress === CONT kuttl/harness/1-083_validate_resource_customization_subkeys logger.go:42: 08:25:08 | 1-083_validate_resource_customization_subkeys | Creating namespace: kuttl-test-needed-toad === CONT kuttl/harness/1-084_validate_status_host_ingress logger.go:42: 08:25:08 | 1-084_validate_status_host_ingress | Creating namespace: kuttl-test-optimal-sawfish === CONT kuttl/harness/1-001_alpha_to_beta_dex_conversion logger.go:42: 08:25:08 | 1-001_alpha_to_beta_dex_conversion | Creating namespace: kuttl-test-driven-anchovy === CONT kuttl/harness/1-049_validate_parallelism_limit logger.go:42: 08:25:08 | 1-049_validate_parallelism_limit | Creating namespace: kuttl-test-above-chow === CONT kuttl/harness/1-115_validate_controller_extra_command_args logger.go:42: 08:25:08 | 1-115_validate_controller_extra_command_args | Creating namespace: kuttl-test-sweet-skunk === CONT kuttl/harness/1-084_validate_status_host_ingress logger.go:42: 08:25:08 | 1-084_validate_status_host_ingress/1-argocd-ingress | starting test step 1-argocd-ingress === CONT kuttl/harness/1-001_alpha_to_beta_dex_conversion logger.go:42: 08:25:08 | 1-001_alpha_to_beta_dex_conversion/1-argocd-dex | starting test step 1-argocd-dex === CONT kuttl/harness/1-083_validate_resource_customization_subkeys logger.go:42: 08:25:08 | 1-083_validate_resource_customization_subkeys/1-argocd-with-resource-customization-subkeys | starting test step 1-argocd-with-resource-customization-subkeys === CONT kuttl/harness/1-049_validate_parallelism_limit logger.go:42: 08:25:08 | 1-049_validate_parallelism_limit/1-install | starting test step 1-install === CONT kuttl/harness/1-115_validate_controller_extra_command_args logger.go:42: 08:25:08 | 1-115_validate_controller_extra_command_args/1-basic-argocd-install | starting test step 1-basic-argocd-install logger.go:42: 08:25:08 | 1-115_validate_controller_extra_command_args/1-basic-argocd-install | Namespace:/test-1-38-controller-extra-command created === CONT kuttl/harness/1-084_validate_status_host_ingress logger.go:42: 08:25:08 | 1-084_validate_status_host_ingress/1-argocd-ingress | ArgoCD:kuttl-test-optimal-sawfish/example-argocd created === CONT kuttl/harness/1-001_alpha_to_beta_dex_conversion logger.go:42: 08:25:08 | 1-001_alpha_to_beta_dex_conversion/1-argocd-dex | ArgoCD:kuttl-test-driven-anchovy/argocd created === CONT kuttl/harness/1-049_validate_parallelism_limit logger.go:42: 08:25:08 | 1-049_validate_parallelism_limit/1-install | ArgoCD:kuttl-test-above-chow/argocd created === CONT kuttl/harness/1-115_validate_controller_extra_command_args logger.go:42: 08:25:08 | 1-115_validate_controller_extra_command_args/1-basic-argocd-install | ArgoCD:test-1-38-controller-extra-command/example-argocd created === CONT kuttl/harness/1-083_validate_resource_customization_subkeys logger.go:42: 08:25:08 | 1-083_validate_resource_customization_subkeys/1-argocd-with-resource-customization-subkeys | ArgoCD:kuttl-test-needed-toad/example-argocd created === CONT kuttl/harness/1-084_validate_status_host_ingress logger.go:42: 08:25:20 | 1-084_validate_status_host_ingress/1-argocd-ingress | test step completed 1-argocd-ingress logger.go:42: 08:25:20 | 1-084_validate_status_host_ingress/2- | starting test step 2- logger.go:42: 08:25:20 | 1-084_validate_status_host_ingress/2- | test step completed 2- logger.go:42: 08:25:20 | 1-084_validate_status_host_ingress | skipping kubernetes event logging logger.go:42: 08:25:20 | 1-084_validate_status_host_ingress | Deleting namespace: kuttl-test-optimal-sawfish === CONT kuttl/harness/1-049_validate_parallelism_limit logger.go:42: 08:25:23 | 1-049_validate_parallelism_limit/1-install | test step completed 1-install logger.go:42: 08:25:23 | 1-049_validate_parallelism_limit/2-check-deployment | starting test step 2-check-deployment logger.go:42: 08:25:23 | 1-049_validate_parallelism_limit/2-check-deployment | running command: [sh -c set -e set -o pipefail expected=10 wlCommand=$(oc get -n $NAMESPACE statefulset/argocd-application-controller -o jsonpath='{.spec.template.spec.containers[0].command}'| jq -r '.[]' ) if ! echo "$wlCommand" | grep -qPz -- "--kubectl-parallelism-limit\\n${expected}(\$|\\n)"; then echo "Incorrect or missing --kubectl-parallelism-limit detected." echo "$wlCommand" exit 1 fi ] logger.go:42: 08:25:23 | 1-049_validate_parallelism_limit/2-check-deployment | test step completed 2-check-deployment logger.go:42: 08:25:23 | 1-049_validate_parallelism_limit/3-change-limit | starting test step 3-change-limit logger.go:42: 08:25:23 | 1-049_validate_parallelism_limit/3-change-limit | ArgoCD:kuttl-test-above-chow/argocd updated logger.go:42: 08:25:23 | 1-049_validate_parallelism_limit/3-change-limit | test step completed 3-change-limit logger.go:42: 08:25:23 | 1-049_validate_parallelism_limit/4-check-deployment | starting test step 4-check-deployment logger.go:42: 08:25:23 | 1-049_validate_parallelism_limit/4-check-deployment | running command: [sh -c sleep 5] === CONT kuttl/harness/1-083_validate_kustomize_namereference logger.go:42: 08:25:26 | 1-083_validate_kustomize_namereference | Creating namespace: kuttl-test-amusing-toad logger.go:42: 08:25:26 | 1-083_validate_kustomize_namereference/1-install | starting test step 1-install logger.go:42: 08:25:26 | 1-083_validate_kustomize_namereference/1-install | Namespace:/namespace-gitops-2038 created logger.go:42: 08:25:26 | 1-083_validate_kustomize_namereference/1-install | ArgoCD:namespace-gitops-2038/argocd created === CONT kuttl/harness/1-049_validate_parallelism_limit logger.go:42: 08:25:28 | 1-049_validate_parallelism_limit/4-check-deployment | running command: [sh -c set -e set -o pipefail expected=20 wlCommand=$(oc get -n $NAMESPACE statefulset/argocd-application-controller -o jsonpath='{.spec.template.spec.containers[0].command}'| jq -r '.[]' ) if ! echo "$wlCommand" | grep -qPz -- "--kubectl-parallelism-limit\\n${expected}(\$|\\n)"; then echo "Incorrect or missing --kubectl-parallelism-limit detected." echo "$wlCommand" exit 1 fi ] logger.go:42: 08:25:28 | 1-049_validate_parallelism_limit/4-check-deployment | test step completed 4-check-deployment logger.go:42: 08:25:28 | 1-049_validate_parallelism_limit/5-change-back-to-default | starting test step 5-change-back-to-default logger.go:42: 08:25:28 | 1-049_validate_parallelism_limit/5-change-back-to-default | ArgoCD:kuttl-test-above-chow/argocd updated logger.go:42: 08:25:28 | 1-049_validate_parallelism_limit/5-change-back-to-default | test step completed 5-change-back-to-default logger.go:42: 08:25:28 | 1-049_validate_parallelism_limit/6-check-deployment | starting test step 6-check-deployment logger.go:42: 08:25:28 | 1-049_validate_parallelism_limit/6-check-deployment | running command: [sh -c set -e oc patch -n $NAMESPACE argocds/argocd --type=json --patch '[{"op": "remove", "path": "/spec/controller/parallelismLimit"}]' ] logger.go:42: 08:25:29 | 1-049_validate_parallelism_limit/6-check-deployment | argocd.argoproj.io/argocd patched logger.go:42: 08:25:29 | 1-049_validate_parallelism_limit/6-check-deployment | running command: [sh -c sleep 5] === CONT kuttl/harness/1-083_validate_resource_customization_subkeys logger.go:42: 08:25:34 | 1-083_validate_resource_customization_subkeys/1-argocd-with-resource-customization-subkeys | test step completed 1-argocd-with-resource-customization-subkeys logger.go:42: 08:25:34 | 1-083_validate_resource_customization_subkeys | skipping kubernetes event logging logger.go:42: 08:25:34 | 1-083_validate_resource_customization_subkeys | Deleting namespace: kuttl-test-needed-toad === CONT kuttl/harness/1-049_validate_parallelism_limit logger.go:42: 08:25:34 | 1-049_validate_parallelism_limit/6-check-deployment | running command: [sh -c set -e set -o pipefail expected=10 wlCommand=$(oc get -n $NAMESPACE statefulset/argocd-application-controller -o jsonpath='{.spec.template.spec.containers[0].command}'| jq -r '.[]' ) if ! echo "$wlCommand" | grep -qPz -- "--kubectl-parallelism-limit\\n${expected}(\$|\\n)"; then echo "Incorrect or missing --kubectl-parallelism-limit detected." echo "$wlCommand" exit 1 fi ] logger.go:42: 08:25:34 | 1-049_validate_parallelism_limit/6-check-deployment | test step completed 6-check-deployment logger.go:42: 08:25:34 | 1-049_validate_parallelism_limit | skipping kubernetes event logging logger.go:42: 08:25:34 | 1-049_validate_parallelism_limit | Deleting namespace: kuttl-test-above-chow === CONT kuttl/harness/1-082_validate_node_placement logger.go:42: 08:25:39 | 1-082_validate_node_placement | Creating namespace: kuttl-test-rich-pelican logger.go:42: 08:25:39 | 1-082_validate_node_placement/1-default-node-selector | starting test step 1-default-node-selector logger.go:42: 08:25:39 | 1-082_validate_node_placement/1-default-node-selector | ArgoCD:kuttl-test-rich-pelican/example-argocd created === CONT kuttl/harness/1-081_validate_applicationset_deployment logger.go:42: 08:25:40 | 1-081_validate_applicationset_deployment | Creating namespace: kuttl-test-relevant-tadpole logger.go:42: 08:25:40 | 1-081_validate_applicationset_deployment/1- | starting test step 1- logger.go:42: 08:25:40 | 1-081_validate_applicationset_deployment/1- | test step completed 1- logger.go:42: 08:25:40 | 1-081_validate_applicationset_deployment | skipping kubernetes event logging logger.go:42: 08:25:40 | 1-081_validate_applicationset_deployment | Deleting namespace: kuttl-test-relevant-tadpole === CONT kuttl/harness/1-082_validate_node_placement logger.go:42: 08:25:40 | 1-082_validate_node_placement/1-default-node-selector | test step completed 1-default-node-selector logger.go:42: 08:25:40 | 1-082_validate_node_placement/2-custom-node-placement | starting test step 2-custom-node-placement logger.go:42: 08:25:40 | 1-082_validate_node_placement/2-custom-node-placement | ArgoCD:kuttl-test-rich-pelican/example-argocd updated logger.go:42: 08:25:41 | 1-082_validate_node_placement/2-custom-node-placement | test step completed 2-custom-node-placement logger.go:42: 08:25:41 | 1-082_validate_node_placement/3-node-placement-with-toleration | starting test step 3-node-placement-with-toleration logger.go:42: 08:25:41 | 1-082_validate_node_placement/3-node-placement-with-toleration | ArgoCD:kuttl-test-rich-pelican/example-argocd updated === CONT kuttl/harness/1-001_alpha_to_beta_dex_conversion logger.go:42: 08:25:41 | 1-001_alpha_to_beta_dex_conversion/1-argocd-dex | test step completed 1-argocd-dex logger.go:42: 08:25:41 | 1-001_alpha_to_beta_dex_conversion/2-delete | starting test step 2-delete logger.go:42: 08:25:42 | 1-001_alpha_to_beta_dex_conversion/2-delete | test step completed 2-delete logger.go:42: 08:25:42 | 1-001_alpha_to_beta_dex_conversion | skipping kubernetes event logging logger.go:42: 08:25:42 | 1-001_alpha_to_beta_dex_conversion | Deleting namespace: kuttl-test-driven-anchovy === CONT kuttl/harness/1-082_validate_node_placement logger.go:42: 08:25:43 | 1-082_validate_node_placement/3-node-placement-with-toleration | test step completed 3-node-placement-with-toleration logger.go:42: 08:25:43 | 1-082_validate_node_placement | skipping kubernetes event logging logger.go:42: 08:25:43 | 1-082_validate_node_placement | Deleting namespace: kuttl-test-rich-pelican === CONT kuttl/harness/1-115_validate_controller_extra_command_args logger.go:42: 08:25:43 | 1-115_validate_controller_extra_command_args/1-basic-argocd-install | test step completed 1-basic-argocd-install logger.go:42: 08:25:43 | 1-115_validate_controller_extra_command_args/2-add-extraCommandArgs | starting test step 2-add-extraCommandArgs logger.go:42: 08:25:43 | 1-115_validate_controller_extra_command_args/2-add-extraCommandArgs | ArgoCD:test-1-38-controller-extra-command/example-argocd updated logger.go:42: 08:25:44 | 1-115_validate_controller_extra_command_args/2-add-extraCommandArgs | test step completed 2-add-extraCommandArgs logger.go:42: 08:25:44 | 1-115_validate_controller_extra_command_args/3-remove-extraCommandArgs | starting test step 3-remove-extraCommandArgs logger.go:42: 08:25:44 | 1-115_validate_controller_extra_command_args/3-remove-extraCommandArgs | running command: [sh -c oc patch -n test-1-38-controller-extra-command argocds/example-argocd --type=json --patch '[{"op": "remove", "path": "/spec/controller/extraCommandArgs"}]' ] logger.go:42: 08:25:44 | 1-115_validate_controller_extra_command_args/3-remove-extraCommandArgs | argocd.argoproj.io/example-argocd patched logger.go:42: 08:25:44 | 1-115_validate_controller_extra_command_args/3-remove-extraCommandArgs | test step completed 3-remove-extraCommandArgs logger.go:42: 08:25:44 | 1-115_validate_controller_extra_command_args/4-override-cli-argument | starting test step 4-override-cli-argument logger.go:42: 08:25:44 | 1-115_validate_controller_extra_command_args/4-override-cli-argument | ArgoCD:test-1-38-controller-extra-command/example-argocd updated logger.go:42: 08:25:44 | 1-115_validate_controller_extra_command_args/4-override-cli-argument | test step completed 4-override-cli-argument logger.go:42: 08:25:44 | 1-115_validate_controller_extra_command_args/99-delete | starting test step 99-delete === CONT kuttl/harness/1-080_validate_regex_support_argocd_rbac logger.go:42: 08:25:45 | 1-080_validate_regex_support_argocd_rbac | Creating namespace: kuttl-test-sterling-quetzal logger.go:42: 08:25:45 | 1-080_validate_regex_support_argocd_rbac/1-install | starting test step 1-install logger.go:42: 08:25:46 | 1-080_validate_regex_support_argocd_rbac/1-install | ArgoCD:kuttl-test-sterling-quetzal/example-argocd created === CONT kuttl/harness/1-079_validate_vars_for_notificaitons logger.go:42: 08:25:47 | 1-079_validate_vars_for_notificaitons | Creating namespace: kuttl-test-harmless-airedale logger.go:42: 08:25:47 | 1-079_validate_vars_for_notificaitons/1-install | starting test step 1-install logger.go:42: 08:25:47 | 1-079_validate_vars_for_notificaitons/1-install | ArgoCD:kuttl-test-harmless-airedale/example-argocd created === CONT kuttl/harness/1-077_validate_disable_dex_removed logger.go:42: 08:25:48 | 1-077_validate_disable_dex_removed | Creating namespace: kuttl-test-sought-mastodon logger.go:42: 08:25:48 | 1-077_validate_disable_dex_removed/1-check_disable_dex_removed | starting test step 1-check_disable_dex_removed logger.go:42: 08:25:48 | 1-077_validate_disable_dex_removed/1-check_disable_dex_removed | running command: [sh -c set -e operator_name_version=$(oc get subscription/openshift-gitops-operator -n openshift-operators -o jsonpath='{.status.installedCSV}') if [ "$(oc get csv/"${operator_name_version}" -n openshift-operators -o jsonpath='{.spec.install.spec.deployments[].spec.template.spec.containers[].env}' | grep DISABLE_DEX)" != '' ]; then echo "DISABLE_DEX env var is still present in the operator CSV." exit 1 fi ] logger.go:42: 08:25:49 | 1-077_validate_disable_dex_removed/1-check_disable_dex_removed | test step completed 1-check_disable_dex_removed logger.go:42: 08:25:49 | 1-077_validate_disable_dex_removed | skipping kubernetes event logging logger.go:42: 08:25:49 | 1-077_validate_disable_dex_removed | Deleting namespace: kuttl-test-sought-mastodon === CONT kuttl/harness/1-075_validate_dex_anyuid logger.go:42: 08:25:55 | 1-075_validate_dex_anyuid | Creating namespace: kuttl-test-neat-glider logger.go:42: 08:25:55 | 1-075_validate_dex_anyuid/1-install | starting test step 1-install logger.go:42: 08:25:55 | 1-075_validate_dex_anyuid/1-install | ArgoCD:kuttl-test-neat-glider/argocd created === CONT kuttl/harness/1-115_validate_controller_extra_command_args logger.go:42: 08:25:55 | 1-115_validate_controller_extra_command_args/99-delete | test step completed 99-delete logger.go:42: 08:25:55 | 1-115_validate_controller_extra_command_args | skipping kubernetes event logging logger.go:42: 08:25:55 | 1-115_validate_controller_extra_command_args | Deleting namespace: kuttl-test-sweet-skunk === CONT kuttl/harness/1-083_validate_kustomize_namereference logger.go:42: 08:25:58 | 1-083_validate_kustomize_namereference/1-install | test step completed 1-install logger.go:42: 08:25:58 | 1-083_validate_kustomize_namereference/2-install-kustomize-app | starting test step 2-install-kustomize-app logger.go:42: 08:25:59 | 1-083_validate_kustomize_namereference/2-install-kustomize-app | Application:namespace-gitops-2038/app-kustomize created === CONT kuttl/harness/1-079_validate_vars_for_notificaitons logger.go:42: 08:25:59 | 1-079_validate_vars_for_notificaitons/1-install | test step completed 1-install logger.go:42: 08:25:59 | 1-079_validate_vars_for_notificaitons/2-modify-argocd | starting test step 2-modify-argocd logger.go:42: 08:25:59 | 1-079_validate_vars_for_notificaitons/2-modify-argocd | ArgoCD:kuttl-test-harmless-airedale/example-argocd updated === CONT kuttl/harness/1-083_validate_kustomize_namereference logger.go:42: 08:26:01 | 1-083_validate_kustomize_namereference/2-install-kustomize-app | test step completed 2-install-kustomize-app logger.go:42: 08:26:01 | 1-083_validate_kustomize_namereference/99-delete | starting test step 99-delete === CONT kuttl/harness/1-074_validate_terminating_namespace_block logger.go:42: 08:26:01 | 1-074_validate_terminating_namespace_block | Creating namespace: kuttl-test-obliging-elf logger.go:42: 08:26:01 | 1-074_validate_terminating_namespace_block/1-install | starting test step 1-install logger.go:42: 08:26:01 | 1-074_validate_terminating_namespace_block/1-install | Namespace:/gitops-2242-ns-main created logger.go:42: 08:26:01 | 1-074_validate_terminating_namespace_block/1-install | ArgoCD:gitops-2242-ns-main/gitops-2242-argocd created logger.go:42: 08:26:01 | 1-074_validate_terminating_namespace_block/1-install | RoleBinding:gitops-2242-ns-main/grant-argocd created logger.go:42: 08:26:01 | 1-074_validate_terminating_namespace_block/1-install | test step completed 1-install logger.go:42: 08:26:01 | 1-074_validate_terminating_namespace_block/2-managed-ns-cm | starting test step 2-managed-ns-cm logger.go:42: 08:26:01 | 1-074_validate_terminating_namespace_block/2-managed-ns-cm | Namespace:/gitops-2242-ns-first created logger.go:42: 08:26:01 | 1-074_validate_terminating_namespace_block/2-managed-ns-cm | ConfigMap:gitops-2242-ns-first/my-config-map-2 created logger.go:42: 08:26:01 | 1-074_validate_terminating_namespace_block/2-managed-ns-cm | test step completed 2-managed-ns-cm logger.go:42: 08:26:01 | 1-074_validate_terminating_namespace_block/3-delete-ns | starting test step 3-delete-ns logger.go:42: 08:26:01 | 1-074_validate_terminating_namespace_block/3-delete-ns | running command: [sh -c set -e oc delete ns gitops-2242-ns-first --wait=false exit 0 ] logger.go:42: 08:26:02 | 1-074_validate_terminating_namespace_block/3-delete-ns | namespace "gitops-2242-ns-first" deleted logger.go:42: 08:26:02 | 1-074_validate_terminating_namespace_block/3-delete-ns | test step completed 3-delete-ns logger.go:42: 08:26:02 | 1-074_validate_terminating_namespace_block/4-create-ns | starting test step 4-create-ns logger.go:42: 08:26:02 | 1-074_validate_terminating_namespace_block/4-create-ns | Namespace:/gitops-2242-ns-second created logger.go:42: 08:26:03 | 1-074_validate_terminating_namespace_block/4-create-ns | test step completed 4-create-ns logger.go:42: 08:26:03 | 1-074_validate_terminating_namespace_block/99-cleanup | starting test step 99-cleanup logger.go:42: 08:26:03 | 1-074_validate_terminating_namespace_block/99-cleanup | running command: [sh -c set -e # Removing finalizer from cm oc patch cm/my-config-map-2 -n gitops-2242-ns-first --type json --patch='[ { "op": "remove", "path": "/metadata/finalizers" } ]' # Deleting namespaces oc delete ns gitops-2242-ns-first --wait=false oc delete ns gitops-2242-ns-second --wait=false oc delete ns gitops-2242-ns-main --wait=false exit 0 ] logger.go:42: 08:26:03 | 1-074_validate_terminating_namespace_block/99-cleanup | configmap/my-config-map-2 patched logger.go:42: 08:26:04 | 1-074_validate_terminating_namespace_block/99-cleanup | namespace "gitops-2242-ns-first" deleted logger.go:42: 08:26:04 | 1-074_validate_terminating_namespace_block/99-cleanup | namespace "gitops-2242-ns-second" deleted logger.go:42: 08:26:04 | 1-074_validate_terminating_namespace_block/99-cleanup | namespace "gitops-2242-ns-main" deleted logger.go:42: 08:26:04 | 1-074_validate_terminating_namespace_block/99-cleanup | test step completed 99-cleanup logger.go:42: 08:26:04 | 1-074_validate_terminating_namespace_block | skipping kubernetes event logging logger.go:42: 08:26:04 | 1-074_validate_terminating_namespace_block | Deleting namespace: kuttl-test-obliging-elf === CONT kuttl/harness/1-079_validate_vars_for_notificaitons logger.go:42: 08:26:07 | 1-079_validate_vars_for_notificaitons/2-modify-argocd | test step completed 2-modify-argocd logger.go:42: 08:26:07 | 1-079_validate_vars_for_notificaitons | skipping kubernetes event logging === CONT kuttl/harness/1-075_validate_dex_anyuid logger.go:42: 08:26:07 | 1-075_validate_dex_anyuid/1-install | test step completed 1-install logger.go:42: 08:26:07 | 1-075_validate_dex_anyuid/2-change_dex_scc_to_anyuid | starting test step 2-change_dex_scc_to_anyuid logger.go:42: 08:26:07 | 1-075_validate_dex_anyuid/2-change_dex_scc_to_anyuid | running command: [sh -c set -e oc adm policy add-scc-to-user anyuid -z argocd-argocd-dex-server -n $NAMESPACE ] === CONT kuttl/harness/1-079_validate_vars_for_notificaitons logger.go:42: 08:26:07 | 1-079_validate_vars_for_notificaitons | Deleting namespace: kuttl-test-harmless-airedale === CONT kuttl/harness/1-083_validate_kustomize_namereference logger.go:42: 08:26:07 | 1-083_validate_kustomize_namereference/99-delete | test step completed 99-delete logger.go:42: 08:26:07 | 1-083_validate_kustomize_namereference | skipping kubernetes event logging logger.go:42: 08:26:07 | 1-083_validate_kustomize_namereference | Deleting namespace: kuttl-test-amusing-toad === CONT kuttl/harness/1-075_validate_dex_anyuid logger.go:42: 08:26:07 | 1-075_validate_dex_anyuid/2-change_dex_scc_to_anyuid | clusterrole.rbac.authorization.k8s.io/system:openshift:scc:anyuid added: "argocd-argocd-dex-server" logger.go:42: 08:26:07 | 1-075_validate_dex_anyuid/2-change_dex_scc_to_anyuid | test step completed 2-change_dex_scc_to_anyuid logger.go:42: 08:26:07 | 1-075_validate_dex_anyuid/3-restart_dex_pod | starting test step 3-restart_dex_pod logger.go:42: 08:26:07 | 1-075_validate_dex_anyuid/3-restart_dex_pod | running command: [sh -c set -e oc rollout restart deployment/argocd-dex-server -n $NAMESPACE ] logger.go:42: 08:26:08 | 1-075_validate_dex_anyuid/3-restart_dex_pod | deployment.apps/argocd-dex-server restarted === CONT kuttl/harness/1-073_validate_rhsso logger.go:42: 08:26:10 | 1-073_validate_rhsso | Creating namespace: kuttl-test-giving-foal logger.go:42: 08:26:10 | 1-073_validate_rhsso/1-argocd-rhsso | starting test step 1-argocd-rhsso logger.go:42: 08:26:10 | 1-073_validate_rhsso/1-argocd-rhsso | ArgoCD:kuttl-test-giving-foal/example-argocd-keycloak created === CONT kuttl/harness/1-072_validate_liveness_probe_removed logger.go:42: 08:26:13 | 1-072_validate_liveness_probe_removed | Creating namespace: kuttl-test-proven-katydid logger.go:42: 08:26:13 | 1-072_validate_liveness_probe_removed/1-install | starting test step 1-install logger.go:42: 08:26:13 | 1-072_validate_liveness_probe_removed/1-install | ArgoCD:kuttl-test-proven-katydid/argocd created === CONT kuttl/harness/1-071_validate_SCC_HA === CONT kuttl/harness/1-075_validate_dex_anyuid logger.go:42: 08:26:13 | 1-075_validate_dex_anyuid/3-restart_dex_pod | test step completed 3-restart_dex_pod logger.go:42: 08:26:13 | 1-075_validate_dex_anyuid | skipping kubernetes event logging === CONT kuttl/harness/1-071_validate_SCC_HA logger.go:42: 08:26:13 | 1-071_validate_SCC_HA | Creating namespace: kuttl-test-clear-lemming logger.go:42: 08:26:13 | 1-071_validate_SCC_HA/1-create-scc | starting test step 1-create-scc === CONT kuttl/harness/1-075_validate_dex_anyuid logger.go:42: 08:26:13 | 1-075_validate_dex_anyuid | Deleting namespace: kuttl-test-neat-glider === CONT kuttl/harness/1-071_validate_SCC_HA logger.go:42: 08:26:13 | 1-071_validate_SCC_HA/1-create-scc | SecurityContextConstraints:/restricted-dropcaps created logger.go:42: 08:26:13 | 1-071_validate_SCC_HA/1-create-scc | test step completed 1-create-scc logger.go:42: 08:26:13 | 1-071_validate_SCC_HA/2-create-argocd | starting test step 2-create-argocd logger.go:42: 08:26:13 | 1-071_validate_SCC_HA/2-create-argocd | ArgoCD:kuttl-test-clear-lemming/argocd created === CONT kuttl/harness/1-080_validate_regex_support_argocd_rbac logger.go:42: 08:26:17 | 1-080_validate_regex_support_argocd_rbac/1-install | test step completed 1-install logger.go:42: 08:26:17 | 1-080_validate_regex_support_argocd_rbac/2-modify-argocd | starting test step 2-modify-argocd logger.go:42: 08:26:17 | 1-080_validate_regex_support_argocd_rbac/2-modify-argocd | ArgoCD:kuttl-test-sterling-quetzal/example-argocd updated logger.go:42: 08:26:18 | 1-080_validate_regex_support_argocd_rbac/2-modify-argocd | test step completed 2-modify-argocd logger.go:42: 08:26:18 | 1-080_validate_regex_support_argocd_rbac/3-try-modify | starting test step 3-try-modify logger.go:42: 08:26:18 | 1-080_validate_regex_support_argocd_rbac/3-try-modify | ConfigMap:kuttl-test-sterling-quetzal/argocd-rbac-cm updated === CONT kuttl/harness/1-070_validate_config_management_plugin logger.go:42: 08:26:19 | 1-070_validate_config_management_plugin | Creating namespace: kuttl-test-logical-meerkat logger.go:42: 08:26:19 | 1-070_validate_config_management_plugin/1-install | starting test step 1-install logger.go:42: 08:26:19 | 1-070_validate_config_management_plugin/1-install | Namespace:/argocd created logger.go:42: 08:26:19 | 1-070_validate_config_management_plugin/1-install | ConfigMap:argocd/cmp-plugin created logger.go:42: 08:26:19 | 1-070_validate_config_management_plugin/1-install | ArgoCD:argocd/argocd created === CONT kuttl/harness/1-080_validate_regex_support_argocd_rbac logger.go:42: 08:26:19 | 1-080_validate_regex_support_argocd_rbac/3-try-modify | test step completed 3-try-modify logger.go:42: 08:26:19 | 1-080_validate_regex_support_argocd_rbac/4-modify-argocd | starting test step 4-modify-argocd logger.go:42: 08:26:19 | 1-080_validate_regex_support_argocd_rbac/4-modify-argocd | ArgoCD:kuttl-test-sterling-quetzal/example-argocd updated logger.go:42: 08:26:20 | 1-080_validate_regex_support_argocd_rbac/4-modify-argocd | test step completed 4-modify-argocd logger.go:42: 08:26:20 | 1-080_validate_regex_support_argocd_rbac | skipping kubernetes event logging logger.go:42: 08:26:20 | 1-080_validate_regex_support_argocd_rbac | Deleting namespace: kuttl-test-sterling-quetzal === CONT kuttl/harness/1-069_validate_redis_secure_comm_autotls_ha logger.go:42: 08:26:26 | 1-069_validate_redis_secure_comm_autotls_ha | Creating namespace: kuttl-test-many-kiwi logger.go:42: 08:26:26 | 1-069_validate_redis_secure_comm_autotls_ha/1-install | starting test step 1-install logger.go:42: 08:26:26 | 1-069_validate_redis_secure_comm_autotls_ha/1-install | ArgoCD:kuttl-test-many-kiwi/argocd created === CONT kuttl/harness/1-072_validate_liveness_probe_removed logger.go:42: 08:26:45 | 1-072_validate_liveness_probe_removed/1-install | test step completed 1-install logger.go:42: 08:26:45 | 1-072_validate_liveness_probe_removed/2-check_liveness_probe_removed | starting test step 2-check_liveness_probe_removed logger.go:42: 08:26:45 | 1-072_validate_liveness_probe_removed/2-check_liveness_probe_removed | running command: [sh -c set -e if ! test -z $(oc get statefulset.apps/argocd-application-controller -n $NAMESPACE -o jsonpath='{.spec.template.spec.containers[].livenessProbe}'); then echo "livenessProbe should not exist on statefulset.apps/argocd-application-controller." exit 1 fi ] logger.go:42: 08:26:45 | 1-072_validate_liveness_probe_removed/2-check_liveness_probe_removed | test step completed 2-check_liveness_probe_removed logger.go:42: 08:26:45 | 1-072_validate_liveness_probe_removed | skipping kubernetes event logging logger.go:42: 08:26:46 | 1-072_validate_liveness_probe_removed | Deleting namespace: kuttl-test-proven-katydid === CONT kuttl/harness/1-071_validate_SCC_HA logger.go:42: 08:26:46 | 1-071_validate_SCC_HA/2-create-argocd | test step completed 2-create-argocd logger.go:42: 08:26:46 | 1-071_validate_SCC_HA/3-modify-argocd | starting test step 3-modify-argocd logger.go:42: 08:26:46 | 1-071_validate_SCC_HA/3-modify-argocd | ArgoCD:kuttl-test-clear-lemming/argocd updated === CONT kuttl/harness/1-070_validate_config_management_plugin logger.go:42: 08:26:50 | 1-070_validate_config_management_plugin/1-install | test step completed 1-install logger.go:42: 08:26:50 | 1-070_validate_config_management_plugin/2-create-app | starting test step 2-create-app logger.go:42: 08:26:50 | 1-070_validate_config_management_plugin/2-create-app | Application:argocd/guestbook created === CONT kuttl/harness/1-068_validate_redis_secure_comm_autotls_no_ha logger.go:42: 08:26:51 | 1-068_validate_redis_secure_comm_autotls_no_ha | Creating namespace: kuttl-test-resolved-dory logger.go:42: 08:26:51 | 1-068_validate_redis_secure_comm_autotls_no_ha/1-install | starting test step 1-install logger.go:42: 08:26:51 | 1-068_validate_redis_secure_comm_autotls_no_ha/1-install | ArgoCD:kuttl-test-resolved-dory/argocd created === CONT kuttl/harness/1-070_validate_config_management_plugin logger.go:42: 08:26:52 | 1-070_validate_config_management_plugin/2-create-app | test step completed 2-create-app logger.go:42: 08:26:52 | 1-070_validate_config_management_plugin/99-delete | starting test step 99-delete === CONT kuttl/harness/1-068_validate_redis_secure_comm_autotls_no_ha logger.go:42: 08:27:23 | 1-068_validate_redis_secure_comm_autotls_no_ha/1-install | test step completed 1-install logger.go:42: 08:27:23 | 1-068_validate_redis_secure_comm_autotls_no_ha/2-enable_autotls | starting test step 2-enable_autotls logger.go:42: 08:27:23 | 1-068_validate_redis_secure_comm_autotls_no_ha/2-enable_autotls | running command: [sh -c set -e oc patch argocds.argoproj.io argocd --type=merge -p '{"spec":{"redis":{"autotls":"openshift"}}}' -n $NAMESPACE ] logger.go:42: 08:27:24 | 1-068_validate_redis_secure_comm_autotls_no_ha/2-enable_autotls | argocd.argoproj.io/argocd patched logger.go:42: 08:27:24 | 1-068_validate_redis_secure_comm_autotls_no_ha/2-enable_autotls | test step completed 2-enable_autotls logger.go:42: 08:27:24 | 1-068_validate_redis_secure_comm_autotls_no_ha/3-check_secret | starting test step 3-check_secret logger.go:42: 08:27:24 | 1-068_validate_redis_secure_comm_autotls_no_ha/3-check_secret | running command: [sh -c set -e secret_type="$(oc get secrets argocd-operator-redis-tls -n $NAMESPACE --template '{{.type}}')" secret_len="$(oc get secrets argocd-operator-redis-tls -n $NAMESPACE --template '{{len .data}}')" expected_secret_type="kubernetes.io/tls" expected_secret_len=2 if test ${secret_type} != ${expected_secret_type}; then echo "argocd-operator-redis-tls secret type is ${secret_type} and should be ${expected_secret_type}" exit 1 fi if test ${secret_len} != ${expected_secret_len}; then echo "argocd-operator-redis-tls secret length is ${secret_len} and should be ${expected_secret_len}" exit 1 fi ] logger.go:42: 08:27:25 | 1-068_validate_redis_secure_comm_autotls_no_ha/3-check_secret | test step completed 3-check_secret logger.go:42: 08:27:25 | 1-068_validate_redis_secure_comm_autotls_no_ha/4- | starting test step 4- === CONT kuttl/harness/1-070_validate_config_management_plugin logger.go:42: 08:27:30 | 1-070_validate_config_management_plugin/99-delete | test step completed 99-delete logger.go:42: 08:27:30 | 1-070_validate_config_management_plugin | skipping kubernetes event logging logger.go:42: 08:27:30 | 1-070_validate_config_management_plugin | Deleting namespace: kuttl-test-logical-meerkat === CONT kuttl/harness/1-067_validate_redis_secure_comm_no_autotls_ha logger.go:42: 08:27:35 | 1-067_validate_redis_secure_comm_no_autotls_ha | Creating namespace: kuttl-test-becoming-fish logger.go:42: 08:27:35 | 1-067_validate_redis_secure_comm_no_autotls_ha/1-install | starting test step 1-install logger.go:42: 08:27:35 | 1-067_validate_redis_secure_comm_no_autotls_ha/1-install | ArgoCD:kuttl-test-becoming-fish/argocd created === CONT kuttl/harness/1-068_validate_redis_secure_comm_autotls_no_ha logger.go:42: 08:27:55 | 1-068_validate_redis_secure_comm_autotls_no_ha/4- | test step completed 4- logger.go:42: 08:27:55 | 1-068_validate_redis_secure_comm_autotls_no_ha/5-check_crt_files | starting test step 5-check_crt_files logger.go:42: 08:27:55 | 1-068_validate_redis_secure_comm_autotls_no_ha/5-check_crt_files | running command: [sh -c set -e oc exec -i $(oc get pod -l app.kubernetes.io/name=argocd-server -n $NAMESPACE -o=NAME) -n $NAMESPACE -- ls /app/config/server/tls/redis/tls.crt oc exec -i $(oc get pod -l app.kubernetes.io/name=argocd-repo-server -n $NAMESPACE -o=NAME) -n $NAMESPACE -- ls /app/config/reposerver/tls/redis/tls.crt oc exec -i $(oc get pod -l app.kubernetes.io/name=argocd-redis -n $NAMESPACE -o=NAME) -n $NAMESPACE -- ls /app/config/redis/tls/tls.crt oc exec -i $(oc get pod -l app.kubernetes.io/name=argocd-application-controller -n $NAMESPACE -o=NAME) -n $NAMESPACE -- ls /app/config/controller/tls/redis/tls.crt ] logger.go:42: 08:27:56 | 1-068_validate_redis_secure_comm_autotls_no_ha/5-check_crt_files | /app/config/server/tls/redis/tls.crt logger.go:42: 08:27:57 | 1-068_validate_redis_secure_comm_autotls_no_ha/5-check_crt_files | Defaulted container "argocd-repo-server" out of: argocd-repo-server, copyutil (init) logger.go:42: 08:27:57 | 1-068_validate_redis_secure_comm_autotls_no_ha/5-check_crt_files | /app/config/reposerver/tls/redis/tls.crt logger.go:42: 08:27:58 | 1-068_validate_redis_secure_comm_autotls_no_ha/5-check_crt_files | /app/config/redis/tls/tls.crt logger.go:42: 08:27:59 | 1-068_validate_redis_secure_comm_autotls_no_ha/5-check_crt_files | /app/config/controller/tls/redis/tls.crt logger.go:42: 08:27:59 | 1-068_validate_redis_secure_comm_autotls_no_ha/5-check_crt_files | test step completed 5-check_crt_files logger.go:42: 08:27:59 | 1-068_validate_redis_secure_comm_autotls_no_ha | skipping kubernetes event logging logger.go:42: 08:27:59 | 1-068_validate_redis_secure_comm_autotls_no_ha | Deleting namespace: kuttl-test-resolved-dory === CONT kuttl/harness/1-066_validate_redis_secure_comm_no_autotls_no_ha logger.go:42: 08:28:05 | 1-066_validate_redis_secure_comm_no_autotls_no_ha | Creating namespace: kuttl-test-liked-cobra logger.go:42: 08:28:05 | 1-066_validate_redis_secure_comm_no_autotls_no_ha/1-install | starting test step 1-install logger.go:42: 08:28:05 | 1-066_validate_redis_secure_comm_no_autotls_no_ha/1-install | ArgoCD:kuttl-test-liked-cobra/argocd created logger.go:42: 08:28:37 | 1-066_validate_redis_secure_comm_no_autotls_no_ha/1-install | test step completed 1-install logger.go:42: 08:28:37 | 1-066_validate_redis_secure_comm_no_autotls_no_ha/2-generate_cert | starting test step 2-generate_cert logger.go:42: 08:28:37 | 1-066_validate_redis_secure_comm_no_autotls_no_ha/2-generate_cert | running command: [sh -c set -e if [[ $(uname -o) == "Darwin" ]]; then echo "\n[SAN]\nsubjectAltName=DNS:argocd-redis.$NAMESPACE.svc.cluster.local\n[req]\ndistinguished_name=req" >${PWD}/openssl_test.cnf else echo -e "\n[SAN]\nsubjectAltName=DNS:argocd-redis.$NAMESPACE.svc.cluster.local\n[req]\ndistinguished_name=req" >${PWD}/openssl_test.cnf fi openssl req -new -x509 \ -subj "/C=XX/ST=XX/O=Testing/CN=redis" \ -reqexts SAN -extensions SAN \ -config ${PWD}/openssl_test.cnf \ -keyout ${PWD}/redis.key \ -out ${PWD}/redis.crt \ -newkey rsa:4096 \ -nodes \ -sha256 \ -days 10 ] logger.go:42: 08:28:38 | 1-066_validate_redis_secure_comm_no_autotls_no_ha/2-generate_cert | .................+..+++++++++++++++++++++++++++++++++++++++++++++*.......+......+....+.........+..+....+.........+.....+.......+...+++++++++++++++++++++++++++++++++++++++++++++*...+.....+.+.....+...+.........+...+....+.........+.....+....+............+...+......+..............+.+..+...+....+..+......+.......+......+.....+....+.....................+..+.............+.........+..+...+.+...........+...............+......+...+....+..................+....................+.......+...+.........+........+.............+............+...........+.+......+............+..........................+....+...+..+......................+.........+.........+.....+......+......+.+........+.......+.....+.........+...+......+.+...........+............................+.........+........+....+.....................+..+..........+.....+......+.+......+..+...+...+......+....+.....+++++ logger.go:42: 08:28:39 | 1-066_validate_redis_secure_comm_no_autotls_no_ha/2-generate_cert | .....+....+++++++++++++++++++++++++++++++++++++++++++++*...+.....+..........+++++++++++++++++++++++++++++++++++++++++++++*.+.......................+.......+...+.....+...+...+............+.........+.+...+......+...+..+...+..................+...+.......+........+......+......+...+.+.....+.+..................+.........+......+..+............+.......+........+......+....+.....+................+..............+..........+...............+.....+.+...........+.................................+......+......+.+.....+....+..................+..+.+...+..+............+.+......+...........+..........+..+.......+........+...............+...+....+........................+.........+..+.+..+.+......+...........+....+.........+......+.....+.+..............+......+.......+.....+......+.+..............+................+...+...........+.+.........+......+.........+.....+.......+...+......+.....+...+..................+.......+............ logger.go:42: 08:28:39 | 1-066_validate_redis_secure_comm_no_autotls_no_ha/2-generate_cert | ----- logger.go:42: 08:28:39 | 1-066_validate_redis_secure_comm_no_autotls_no_ha/2-generate_cert | test step completed 2-generate_cert logger.go:42: 08:28:39 | 1-066_validate_redis_secure_comm_no_autotls_no_ha/3-create_secret | starting test step 3-create_secret logger.go:42: 08:28:39 | 1-066_validate_redis_secure_comm_no_autotls_no_ha/3-create_secret | running command: [sh -c set -e # clean up key, cert and config file cleanup() { rm -rf ${PWD}/redis.crt && rm -rf ${PWD}/redis.key && rm -rf ${PWD}/openssl_test.cnf } trap cleanup INT TERM EXIT oc create secret tls argocd-operator-redis-tls --key=${PWD}/redis.key --cert=${PWD}/redis.crt -n $NAMESPACE sleep 10 ] logger.go:42: 08:28:40 | 1-066_validate_redis_secure_comm_no_autotls_no_ha/3-create_secret | secret/argocd-operator-redis-tls created === CONT kuttl/harness/1-073_validate_rhsso logger.go:42: 08:28:46 | 1-073_validate_rhsso/1-argocd-rhsso | test step completed 1-argocd-rhsso logger.go:42: 08:28:46 | 1-073_validate_rhsso/2-sleep | starting test step 2-sleep logger.go:42: 08:28:46 | 1-073_validate_rhsso/2-sleep | running command: [sh -c sleep 60] === CONT kuttl/harness/1-066_validate_redis_secure_comm_no_autotls_no_ha logger.go:42: 08:28:50 | 1-066_validate_redis_secure_comm_no_autotls_no_ha/3-create_secret | test step completed 3-create_secret logger.go:42: 08:28:50 | 1-066_validate_redis_secure_comm_no_autotls_no_ha/4-create_annotation | starting test step 4-create_annotation logger.go:42: 08:28:50 | 1-066_validate_redis_secure_comm_no_autotls_no_ha/4-create_annotation | running command: [sh -c set -e oc annotate secret argocd-operator-redis-tls argocds.argoproj.io/name=argocd -n $NAMESPACE sleep 30 ] logger.go:42: 08:28:50 | 1-066_validate_redis_secure_comm_no_autotls_no_ha/4-create_annotation | secret/argocd-operator-redis-tls annotated === CONT kuttl/harness/1-069_validate_redis_secure_comm_autotls_ha logger.go:42: 08:28:59 | 1-069_validate_redis_secure_comm_autotls_ha/1-install | test step completed 1-install logger.go:42: 08:28:59 | 1-069_validate_redis_secure_comm_autotls_ha/2-enable_autotls | starting test step 2-enable_autotls logger.go:42: 08:28:59 | 1-069_validate_redis_secure_comm_autotls_ha/2-enable_autotls | running command: [sh -c set -e oc patch argocds.argoproj.io argocd --type=merge -p '{"spec":{"redis":{"autotls":"openshift"}}}' -n $NAMESPACE ] logger.go:42: 08:28:59 | 1-069_validate_redis_secure_comm_autotls_ha/2-enable_autotls | argocd.argoproj.io/argocd patched logger.go:42: 08:28:59 | 1-069_validate_redis_secure_comm_autotls_ha/2-enable_autotls | test step completed 2-enable_autotls logger.go:42: 08:28:59 | 1-069_validate_redis_secure_comm_autotls_ha/3-check_secret | starting test step 3-check_secret logger.go:42: 08:28:59 | 1-069_validate_redis_secure_comm_autotls_ha/3-check_secret | running command: [sh -c set -e secret_type="$(oc get secrets argocd-operator-redis-tls -n $NAMESPACE --template '{{.type}}')" secret_len="$(oc get secrets argocd-operator-redis-tls -n $NAMESPACE --template '{{len .data}}')" expected_secret_type="kubernetes.io/tls" expected_secret_len=2 if test ${secret_type} != ${expected_secret_type}; then echo "argocd-operator-redis-tls secret type is ${secret_type} and should be ${expected_secret_type}" exit 1 fi if test ${secret_len} != ${expected_secret_len}; then echo "argocd-operator-redis-tls secret length is ${secret_len} and should be ${expected_secret_len}" exit 1 fi ] logger.go:42: 08:29:00 | 1-069_validate_redis_secure_comm_autotls_ha/3-check_secret | test step completed 3-check_secret logger.go:42: 08:29:00 | 1-069_validate_redis_secure_comm_autotls_ha | skipping kubernetes event logging logger.go:42: 08:29:00 | 1-069_validate_redis_secure_comm_autotls_ha | Deleting namespace: kuttl-test-many-kiwi === CONT kuttl/harness/1-071_validate_SCC_HA logger.go:42: 08:29:19 | 1-071_validate_SCC_HA/3-modify-argocd | test step completed 3-modify-argocd logger.go:42: 08:29:19 | 1-071_validate_SCC_HA/99-delete | starting test step 99-delete logger.go:42: 08:29:19 | 1-071_validate_SCC_HA/99-delete | test step completed 99-delete logger.go:42: 08:29:19 | 1-071_validate_SCC_HA | skipping kubernetes event logging logger.go:42: 08:29:19 | 1-071_validate_SCC_HA | Deleting namespace: kuttl-test-clear-lemming === CONT kuttl/harness/1-066_validate_redis_secure_comm_no_autotls_no_ha logger.go:42: 08:29:31 | 1-066_validate_redis_secure_comm_no_autotls_no_ha/4-create_annotation | test step completed 4-create_annotation logger.go:42: 08:29:31 | 1-066_validate_redis_secure_comm_no_autotls_no_ha/5-check_deployments | starting test step 5-check_deployments logger.go:42: 08:29:31 | 1-066_validate_redis_secure_comm_no_autotls_no_ha/5-check_deployments | running command: [sh -c set -e if test "$(oc get deployments.apps argocd-redis -n $NAMESPACE --template '{{range .spec.template.spec.containers}}{{.args}}{{"\n"}}{{end}}')" != \ "[redis-server \ --protected-mode no \ --save \ --appendonly no \ --requirepass \$(REDIS_PASSWORD) \ --tls-port 6379 \ --port 0 \ --tls-cert-file /app/config/redis/tls/tls.crt \ --tls-key-file /app/config/redis/tls/tls.key \ --tls-auth-clients no]"; then echo "TLS .spec.template.spec.containers.args for argocd-redis deployment are wrong" exit 1 fi ] logger.go:42: 08:29:32 | 1-066_validate_redis_secure_comm_no_autotls_no_ha/5-check_deployments | running command: [sh -c set -e if test "$(oc get deployments.apps argocd-repo-server -n $NAMESPACE --template '{{range .spec.template.spec.containers}}{{.command}}{{"\n"}}{{end}}')" != \ "[uid_entrypoint.sh \ argocd-repo-server \ --redis argocd-redis.$NAMESPACE.svc.cluster.local:6379 \ --redis-use-tls \ --redis-ca-certificate /app/config/reposerver/tls/redis/tls.crt \ --loglevel info \ --logformat text]"; then echo "TLS .spec.template.spec.containers.command for argocd-repo-server deployment is wrong" exit 1 fi ] logger.go:42: 08:29:32 | 1-066_validate_redis_secure_comm_no_autotls_no_ha/5-check_deployments | running command: [sh -c set -e if test "$(oc get deployments.apps argocd-server -n $NAMESPACE --template '{{range .spec.template.spec.containers}}{{.command}}{{"\n"}}{{end}}')" != \ "[argocd-server \ --staticassets /shared/app \ --dex-server https://argocd-dex-server.$NAMESPACE.svc.cluster.local:5556 \ --repo-server argocd-repo-server.$NAMESPACE.svc.cluster.local:8081 \ --redis argocd-redis.$NAMESPACE.svc.cluster.local:6379 \ --redis-use-tls \ --redis-ca-certificate /app/config/server/tls/redis/tls.crt \ --loglevel info \ --logformat text]"; then echo "TLS .spec.template.spec.containers.command for argocd-server deployment is wrong" exit 1 fi ] logger.go:42: 08:29:33 | 1-066_validate_redis_secure_comm_no_autotls_no_ha/5-check_deployments | test step completed 5-check_deployments logger.go:42: 08:29:33 | 1-066_validate_redis_secure_comm_no_autotls_no_ha/6-check_statefulset | starting test step 6-check_statefulset logger.go:42: 08:29:33 | 1-066_validate_redis_secure_comm_no_autotls_no_ha/6-check_statefulset | running command: [sh -c set -e if test "$(oc get statefulsets.apps argocd-application-controller -n $NAMESPACE --template '{{range .spec.template.spec.containers}}{{.command}}{{"\n"}}{{end}}')" != \ "[argocd-application-controller \ --operation-processors 10 \ --redis argocd-redis.$NAMESPACE.svc.cluster.local:6379 \ --redis-use-tls \ --redis-ca-certificate /app/config/controller/tls/redis/tls.crt \ --repo-server argocd-repo-server.$NAMESPACE.svc.cluster.local:8081 \ --status-processors 20 \ --kubectl-parallelism-limit 10 \ --loglevel info \ --logformat text]"; then echo "TLS .spec.template.spec.containers.command for argocd-application-controller statefulsets is wrong" exit 1 fi ] === CONT kuttl/harness/1-065_validate_redis_ha_anti_affinity logger.go:42: 08:29:33 | 1-065_validate_redis_ha_anti_affinity | Creating namespace: kuttl-test-oriented-mouse logger.go:42: 08:29:33 | 1-065_validate_redis_ha_anti_affinity/1-install | starting test step 1-install logger.go:42: 08:29:33 | 1-065_validate_redis_ha_anti_affinity/1-install | ArgoCD:kuttl-test-oriented-mouse/argocd created logger.go:42: 08:29:33 | 1-065_validate_redis_ha_anti_affinity/1-install | test step completed 1-install logger.go:42: 08:29:33 | 1-065_validate_redis_ha_anti_affinity/2- | starting test step 2- === CONT kuttl/harness/1-066_validate_redis_secure_comm_no_autotls_no_ha logger.go:42: 08:29:33 | 1-066_validate_redis_secure_comm_no_autotls_no_ha/6-check_statefulset | test step completed 6-check_statefulset logger.go:42: 08:29:33 | 1-066_validate_redis_secure_comm_no_autotls_no_ha | skipping kubernetes event logging logger.go:42: 08:29:33 | 1-066_validate_redis_secure_comm_no_autotls_no_ha | Deleting namespace: kuttl-test-liked-cobra === CONT kuttl/harness/1-073_validate_rhsso logger.go:42: 08:29:46 | 1-073_validate_rhsso/2-sleep | test step completed 2-sleep logger.go:42: 08:29:46 | 1-073_validate_rhsso/3-verify-oidc | starting test step 3-verify-oidc logger.go:42: 08:29:46 | 1-073_validate_rhsso/3-verify-oidc | running command: [sh -c issuer=$(kubectl get configmap argocd-cm -o jsonpath='{.data.oidc\.config}' -n $NAMESPACE | grep issuer | awk -F' ' '{print $2}') keycloakRoute=$(kubectl get route keycloak -n $NAMESPACE -o jsonpath='{.spec.host}') if [[ "${issuer}" == "https://${keycloakRoute}/auth/realms/argocd" ]]; then echo "issuer matched" else echo "issuer mismatched" echo "${issuer} not equals ${keycloakRoute}/auth/realms/argocd" exit 1 fi ] logger.go:42: 08:29:47 | 1-073_validate_rhsso/3-verify-oidc | issuer matched logger.go:42: 08:29:47 | 1-073_validate_rhsso/3-verify-oidc | running command: [sh -c clientid=$(kubectl get configmap argocd-cm -o jsonpath='{.data.oidc\.config}' -n $NAMESPACE | grep clientid | awk -F' ' '{print $2}') name=$(kubectl get configmap argocd-cm -o jsonpath='{.data.oidc\.config}' -n $NAMESPACE | grep name | awk -F' ' '{print $2}') rootCA=$(kubectl get configmap argocd-cm -o jsonpath='{.data.oidc\.config}' -n $NAMESPACE | grep rootca | awk -F' ' '{print $2}') if [[ "${clientid}" == "argocd" && "${name}" == "Keycloak" && "${rootCA}" == "'---BEGIN---END---'" ]]; then echo "oidc name, clientid and rootCA matched" else echo "oidc name, clientid or rootCA mismatched" echo "${clientid}, ${name} and ${rootCA}" exit 1 fi ] logger.go:42: 08:29:48 | 1-073_validate_rhsso/3-verify-oidc | oidc name, clientid and rootCA matched logger.go:42: 08:29:48 | 1-073_validate_rhsso/3-verify-oidc | test step completed 3-verify-oidc logger.go:42: 08:29:48 | 1-073_validate_rhsso/4-verifyRealmCreation | starting test step 4-verifyRealmCreation logger.go:42: 08:29:48 | 1-073_validate_rhsso/4-verifyRealmCreation | running command: [sh -c # Set the needed parameter for the authorization KEYCLOAK_URL=$(oc get route keycloak -n $NAMESPACE -o jsonpath='{.spec.host}') tenant=argocd USER=$(oc get secret keycloak-secret -n $NAMESPACE -o jsonpath='{.data.SSO_USERNAME}' | base64 --decode) PASSWORD=$(oc get secret keycloak-secret -n $NAMESPACE -o jsonpath='{.data.SSO_PASSWORD}' | base64 --decode) GRANT_TYPE=password CLIENT_ID=admin-cli # Execute the CURL command to request the access-token access_token=$(curl -d "client_id=$CLIENT_ID" -d "username=$USER" -d "password=$PASSWORD" -d "grant_type=$GRANT_TYPE" "https://$KEYCLOAK_URL/auth/realms/master/protocol/openid-connect/token" -k | sed -n 's|.*"access_token":"\([^"]*\)".*|\1|p') # Execute the CURL command to verify the realm and client creation clientFound=$(curl -H "Content-Type: application/json" -H "Authorization: bearer $access_token" "https://$KEYCLOAK_URL/auth/admin/realms/$tenant/clients" -k | grep '"clientId":"argocd"') if ! [ "$clientFound" = "" ]; then echo "argocd realm and client creation verified" else echo "argocd client not found" exit 1 fi # Verify OpenShift-v4 IdP creation IdPFound=$(curl -H "Content-Type: application/json" -H "Authorization: bearer $access_token" "https://$KEYCLOAK_URL/auth/admin/realms/$tenant/identity-provider/instances" -k | grep -i OpenShift-v4) if ! [ "$IdPFound" = "" ]; then echo "OpenShift-v4 IdP creation verified" else echo "OpenShift-v4 IdP not found" exit 1 fi # Verify OpenShift-v4 IdP creation syncModeVerified=$(curl -H "Content-Type: application/json" -H "Authorization: bearer $access_token" "https://$KEYCLOAK_URL/auth/admin/realms/$tenant/identity-provider/instances" -k | grep -i '"syncMode":"FORCE"') if ! [ "$syncModeVerified" = "" ]; then echo "syncMode set to Force, verified" else echo "syncMode not set to Force" exit 1 fi ] logger.go:42: 08:29:50 | 1-073_validate_rhsso/4-verifyRealmCreation | % Total % Received % Xferd Average Speed Time Time Time Current logger.go:42: 08:29:50 | 1-073_validate_rhsso/4-verifyRealmCreation | Dload Upload Total Spent Left Speed logger.go:42: 08:29:50 | 1-073_validate_rhsso/4-verifyRealmCreation | 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0100 2228 100 2153 100 75 13048 454 --:--:-- --:--:-- --:--:-- 13503100 2228 100 2153 100 75 13048 454 --:--:-- --:--:-- --:--:-- 13421 logger.go:42: 08:29:50 | 1-073_validate_rhsso/4-verifyRealmCreation | % Total % Received % Xferd Average Speed Time Time Time Current logger.go:42: 08:29:50 | 1-073_validate_rhsso/4-verifyRealmCreation | Dload Upload Total Spent Left Speed logger.go:42: 08:29:50 | 1-073_validate_rhsso/4-verifyRealmCreation | 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0100 6528 100 6528 0 0 13830 0 --:--:-- --:--:-- --:--:-- 13830 logger.go:42: 08:29:50 | 1-073_validate_rhsso/4-verifyRealmCreation | argocd realm and client creation verified logger.go:42: 08:29:50 | 1-073_validate_rhsso/4-verifyRealmCreation | % Total % Received % Xferd Average Speed Time Time Time Current logger.go:42: 08:29:50 | 1-073_validate_rhsso/4-verifyRealmCreation | Dload Upload Total Spent Left Speed logger.go:42: 08:29:50 | 1-073_validate_rhsso/4-verifyRealmCreation | 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0100 554 100 554 0 0 6925 0 --:--:-- --:--:-- --:--:-- 6925 logger.go:42: 08:29:50 | 1-073_validate_rhsso/4-verifyRealmCreation | OpenShift-v4 IdP creation verified logger.go:42: 08:29:50 | 1-073_validate_rhsso/4-verifyRealmCreation | % Total % Received % Xferd Average Speed Time Time Time Current logger.go:42: 08:29:50 | 1-073_validate_rhsso/4-verifyRealmCreation | Dload Upload Total Spent Left Speed logger.go:42: 08:29:51 | 1-073_validate_rhsso/4-verifyRealmCreation | 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0100 554 100 554 0 0 6925 0 --:--:-- --:--:-- --:--:-- 6925 logger.go:42: 08:29:51 | 1-073_validate_rhsso/4-verifyRealmCreation | syncMode set to Force, verified logger.go:42: 08:29:51 | 1-073_validate_rhsso/4-verifyRealmCreation | test step completed 4-verifyRealmCreation logger.go:42: 08:29:51 | 1-073_validate_rhsso/99-delete | starting test step 99-delete logger.go:42: 08:29:51 | 1-073_validate_rhsso/99-delete | running command: [oc delete argocd example-argocd-keycloak -n kuttl-test-giving-foal] logger.go:42: 08:29:51 | 1-073_validate_rhsso/99-delete | argocd.argoproj.io "example-argocd-keycloak" deleted === CONT kuttl/harness/1-064_validate_security_contexts logger.go:42: 08:30:03 | 1-064_validate_security_contexts | Creating namespace: kuttl-test-humorous-seahorse logger.go:42: 08:30:03 | 1-064_validate_security_contexts/1-install | starting test step 1-install logger.go:42: 08:30:03 | 1-064_validate_security_contexts/1-install | ArgoCD:kuttl-test-humorous-seahorse/argocd created === CONT kuttl/harness/1-073_validate_rhsso logger.go:42: 08:31:02 | 1-073_validate_rhsso/99-delete | test step completed 99-delete logger.go:42: 08:31:02 | 1-073_validate_rhsso | skipping kubernetes event logging logger.go:42: 08:31:02 | 1-073_validate_rhsso | Deleting namespace: kuttl-test-giving-foal === CONT kuttl/harness/1-063_validate_statefulset_restart logger.go:42: 08:31:04 | 1-063_validate_statefulset_restart | Creating namespace: kuttl-test-stirred-monitor logger.go:42: 08:31:04 | 1-063_validate_statefulset_restart/1-install | starting test step 1-install logger.go:42: 08:31:04 | 1-063_validate_statefulset_restart/1-install | ArgoCD:kuttl-test-stirred-monitor/example-argocd created === CONT kuttl/harness/1-063_validate_dex_liveness_probe logger.go:42: 08:31:13 | 1-063_validate_dex_liveness_probe | Creating namespace: kuttl-test-probable-monitor logger.go:42: 08:31:13 | 1-063_validate_dex_liveness_probe/1- | starting test step 1- logger.go:42: 08:31:13 | 1-063_validate_dex_liveness_probe/1- | test step completed 1- logger.go:42: 08:31:13 | 1-063_validate_dex_liveness_probe | skipping kubernetes event logging logger.go:42: 08:31:13 | 1-063_validate_dex_liveness_probe | Deleting namespace: kuttl-test-probable-monitor === CONT kuttl/harness/1-062_validate_extra_config logger.go:42: 08:31:18 | 1-062_validate_extra_config | Creating namespace: kuttl-test-loyal-impala logger.go:42: 08:31:18 | 1-062_validate_extra_config/1-argocd-with-extraconfig | starting test step 1-argocd-with-extraconfig logger.go:42: 08:31:18 | 1-062_validate_extra_config/1-argocd-with-extraconfig | ArgoCD:kuttl-test-loyal-impala/example-argocd created === CONT kuttl/harness/1-064_validate_security_contexts logger.go:42: 08:31:34 | 1-064_validate_security_contexts/1-install | test step completed 1-install logger.go:42: 08:31:34 | 1-064_validate_security_contexts/2-check-controller-manager | starting test step 2-check-controller-manager logger.go:42: 08:31:34 | 1-064_validate_security_contexts/2-check-controller-manager | running command: [sh -c set -eo pipefail ocp_major_version=$(oc version -o json | jq -r '.openshiftVersion' | cut -d'.' -f 1) ocp_minor_version=$(oc version -o json | jq -r '.openshiftVersion' | cut -d'.' -f 2) security_context=$(oc get deployment/openshift-gitops-operator-controller-manager -n openshift-operators -o jsonpath='{.spec.template.spec.containers[].securityContext}') expected_security_context='{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"readOnlyRootFilesystem":true,"runAsNonRoot":true}' if [ "${ocp_major_version}" -eq 4 ] && [ "${ocp_minor_version}" -ge 12 ]; then if [ "${security_context}" = "${expected_security_context}" ]; then exit 0 else echo "Error: deployment/openshift-gitops-operator-controller-manager container's security context is wrong" exit 1 fi else echo "Info: This test is only applicable to OCP version 4.12 and higher." exit 0 fi ] logger.go:42: 08:31:36 | 1-064_validate_security_contexts/2-check-controller-manager | test step completed 2-check-controller-manager logger.go:42: 08:31:36 | 1-064_validate_security_contexts | skipping kubernetes event logging logger.go:42: 08:31:36 | 1-064_validate_security_contexts | Deleting namespace: kuttl-test-humorous-seahorse === CONT kuttl/harness/1-054_validate_deploymentconfig logger.go:42: 08:31:41 | 1-054_validate_deploymentconfig | Creating namespace: kuttl-test-engaged-gar logger.go:42: 08:31:41 | 1-054_validate_deploymentconfig/1-install | starting test step 1-install logger.go:42: 08:31:41 | 1-054_validate_deploymentconfig/1-install | ArgoCD:kuttl-test-engaged-gar/argocd created === CONT kuttl/harness/1-063_validate_statefulset_restart logger.go:42: 08:32:06 | 1-063_validate_statefulset_restart/1-install | test step completed 1-install logger.go:42: 08:32:06 | 1-063_validate_statefulset_restart/2-change_to_invalid_image | starting test step 2-change_to_invalid_image logger.go:42: 08:32:06 | 1-063_validate_statefulset_restart/2-change_to_invalid_image | running command: [sh -c set -e oc patch statefulset/example-argocd-application-controller \ -n $NAMESPACE \ --type "json" \ -p '[{"op":"replace","path":"/spec/template/spec/containers/0/image","value":"invalid_image"}]' sleep 10 ] logger.go:42: 08:32:06 | 1-063_validate_statefulset_restart/2-change_to_invalid_image | statefulset.apps/example-argocd-application-controller patched === CONT kuttl/harness/1-062_validate_extra_config logger.go:42: 08:32:07 | 1-062_validate_extra_config/1-argocd-with-extraconfig | test step completed 1-argocd-with-extraconfig logger.go:42: 08:32:07 | 1-062_validate_extra_config/2-argocd-with-firstclass-and-extraconfig copy | starting test step 2-argocd-with-firstclass-and-extraconfig copy logger.go:42: 08:32:07 | 1-062_validate_extra_config/2-argocd-with-firstclass-and-extraconfig copy | ArgoCD:kuttl-test-loyal-impala/example-argocd updated logger.go:42: 08:32:07 | 1-062_validate_extra_config/2-argocd-with-firstclass-and-extraconfig copy | test step completed 2-argocd-with-firstclass-and-extraconfig copy logger.go:42: 08:32:07 | 1-062_validate_extra_config/3-update-configmap | starting test step 3-update-configmap logger.go:42: 08:32:07 | 1-062_validate_extra_config/3-update-configmap | ConfigMap:kuttl-test-loyal-impala/argocd-cm updated logger.go:42: 08:32:08 | 1-062_validate_extra_config/3-update-configmap | test step completed 3-update-configmap logger.go:42: 08:32:08 | 1-062_validate_extra_config/4-create-dex-without-extraconfig | starting test step 4-create-dex-without-extraconfig logger.go:42: 08:32:08 | 1-062_validate_extra_config/4-create-dex-without-extraconfig | ArgoCD:kuttl-test-loyal-impala/example-argocd updated logger.go:42: 08:32:09 | 1-062_validate_extra_config/4-create-dex-without-extraconfig | test step completed 4-create-dex-without-extraconfig logger.go:42: 08:32:09 | 1-062_validate_extra_config/5-override-dex-using-extraconfig | starting test step 5-override-dex-using-extraconfig logger.go:42: 08:32:09 | 1-062_validate_extra_config/5-override-dex-using-extraconfig | ArgoCD:kuttl-test-loyal-impala/example-argocd updated logger.go:42: 08:32:09 | 1-062_validate_extra_config/5-override-dex-using-extraconfig | test step completed 5-override-dex-using-extraconfig logger.go:42: 08:32:09 | 1-062_validate_extra_config | skipping kubernetes event logging logger.go:42: 08:32:09 | 1-062_validate_extra_config | Deleting namespace: kuttl-test-loyal-impala === CONT kuttl/harness/1-054_validate_deploymentconfig logger.go:42: 08:32:14 | 1-054_validate_deploymentconfig/1-install | test step completed 1-install logger.go:42: 08:32:14 | 1-054_validate_deploymentconfig/2-install-deploymentconfig | starting test step 2-install-deploymentconfig logger.go:42: 08:32:14 | 1-054_validate_deploymentconfig/2-install-deploymentconfig | running command: [sh -c set -eo pipefail # Install ArgoCD Application with 2 replicas cat << EOF | oc apply -f - apiVersion: argoproj.io/v1alpha1 kind: Application metadata: name: app-deploymentconfig namespace: ${NAMESPACE} spec: project: default source: repoURL: https://github.com/redhat-developer/gitops-operator path: test/examples/deploymentconfig-example targetRevision: "HEAD" destination: server: https://kubernetes.default.svc namespace: ${NAMESPACE} syncPolicy: automated: {} EOF # Give some time to Application before asserting sleep 10 exit 0 ] logger.go:42: 08:32:14 | 1-054_validate_deploymentconfig/2-install-deploymentconfig | application.argoproj.io/app-deploymentconfig created === CONT kuttl/harness/1-053_validate_cluster_admin_rbac logger.go:42: 08:32:15 | 1-053_validate_cluster_admin_rbac | Creating namespace: kuttl-test-giving-hare logger.go:42: 08:32:15 | 1-053_validate_cluster_admin_rbac/1- | starting test step 1- logger.go:42: 08:32:15 | 1-053_validate_cluster_admin_rbac/1- | test step completed 1- logger.go:42: 08:32:15 | 1-053_validate_cluster_admin_rbac/2- | starting test step 2- logger.go:42: 08:32:15 | 1-053_validate_cluster_admin_rbac/2- | test step completed 2- logger.go:42: 08:32:15 | 1-053_validate_cluster_admin_rbac | skipping kubernetes event logging logger.go:42: 08:32:15 | 1-053_validate_cluster_admin_rbac | Deleting namespace: kuttl-test-giving-hare === CONT kuttl/harness/1-063_validate_statefulset_restart logger.go:42: 08:32:19 | 1-063_validate_statefulset_restart/2-change_to_invalid_image | test step completed 2-change_to_invalid_image logger.go:42: 08:32:19 | 1-063_validate_statefulset_restart/3-check_image_after_change | starting test step 3-check_image_after_change logger.go:42: 08:32:19 | 1-063_validate_statefulset_restart/3-check_image_after_change | running command: [sh -c set -e image=$(oc get statefulset/example-argocd-application-controller -o jsonpath='{.spec.template.spec.containers[].image}' -n $NAMESPACE) if test "${image}" == "invalid_image"; then echo "The application-controller statefulset is using 'invalid_image'" exit 1 fi exit 0 ] logger.go:42: 08:32:19 | 1-063_validate_statefulset_restart/3-check_image_after_change | test step completed 3-check_image_after_change logger.go:42: 08:32:19 | 1-063_validate_statefulset_restart | skipping kubernetes event logging logger.go:42: 08:32:19 | 1-063_validate_statefulset_restart | Deleting namespace: kuttl-test-stirred-monitor === CONT kuttl/harness/1-067_validate_redis_secure_comm_no_autotls_ha logger.go:42: 08:32:19 | 1-067_validate_redis_secure_comm_no_autotls_ha/1-install | test step completed 1-install logger.go:42: 08:32:19 | 1-067_validate_redis_secure_comm_no_autotls_ha/2-generate_cert | starting test step 2-generate_cert logger.go:42: 08:32:19 | 1-067_validate_redis_secure_comm_no_autotls_ha/2-generate_cert | running command: [sh -c set -e if [[ $(uname -o) == "Darwin" ]]; then echo "\n[SAN]\nsubjectAltName=DNS:argocd-redis.$NAMESPACE.svc.cluster.local\n[req]\ndistinguished_name=req" > ${PWD}/openssl_test.cnf else echo -e "\n[SAN]\nsubjectAltName=DNS:argocd-redis.$NAMESPACE.svc.cluster.local\n[req]\ndistinguished_name=req" > ${PWD}/openssl_test.cnf fi openssl req -new -x509 \ -subj "/C=XX/ST=XX/O=Testing/CN=redis" \ -reqexts SAN -extensions SAN \ -config ${PWD}/openssl_test.cnf \ -keyout ${PWD}/redis-ha.key \ -out ${PWD}/redis-ha.crt \ -newkey rsa:4096 \ -nodes \ -sha256 \ -days 10 ] logger.go:42: 08:32:20 | 1-067_validate_redis_secure_comm_no_autotls_ha/2-generate_cert | ....+.......+..+.+........+....+......+...........+.+...+..+.......+..+....+..+...+.........+.+..+....+...+..+.........+......+...+......+.+...+............+...+...+.....+...+....+...+...+..+....+...+.....+...+..........+...+.....+......+...+.......+......+..+...+....+...........+.............+..+...+....+..+++++++++++++++++++++++++++++++++++++++++++++*...........+++++++++++++++++++++++++++++++++++++++++++++*...........+...............+......+.........+............+....+...+........+.......+............+.....+................+.....+....+...+.....+.......+........+......................+...+...............+.....+.+..............+......+.......+.....+....+......+........+.....................+.........+.......+..............+......+.......+...................................+......+.......+...+.....+......+...+...+...+.+...+...........+.......+..+...+...................+..............+......+.+..............+.+........ logger.go:42: 08:32:20 | 1-067_validate_redis_secure_comm_no_autotls_ha/2-generate_cert | ...+..+.+...+.....+....+...+.....+++++++++++++++++++++++++++++++++++++++++++++*...+.+......+......+..+.....................+.+...........+...+.+......+.....+...+.+...+...+.................+...+.......+..+++++++++++++++++++++++++++++++++++++++++++++*.....+..+.+++++ logger.go:42: 08:32:20 | 1-067_validate_redis_secure_comm_no_autotls_ha/2-generate_cert | ----- logger.go:42: 08:32:20 | 1-067_validate_redis_secure_comm_no_autotls_ha/2-generate_cert | test step completed 2-generate_cert logger.go:42: 08:32:20 | 1-067_validate_redis_secure_comm_no_autotls_ha/3-create_secret | starting test step 3-create_secret logger.go:42: 08:32:20 | 1-067_validate_redis_secure_comm_no_autotls_ha/3-create_secret | running command: [sh -c set -e # clean up key and cert and config file cleanup() { rm -rf ${PWD}/redis-ha.crt && rm -rf ${PWD}/redis-ha.key && rm -rf ${PWD}/openssl_test.cnf } trap cleanup INT TERM EXIT oc create secret tls argocd-operator-redis-tls --key=${PWD}/redis-ha.key --cert=${PWD}/redis-ha.crt -n $NAMESPACE ] === CONT kuttl/harness/1-052_validate_rolebinding_number logger.go:42: 08:32:20 | 1-052_validate_rolebinding_number | Creating namespace: kuttl-test-moral-doe logger.go:42: 08:32:20 | 1-052_validate_rolebinding_number/1-label_namespace | starting test step 1-label_namespace logger.go:42: 08:32:20 | 1-052_validate_rolebinding_number/1-label_namespace | running command: [sh -c oc label namespace $NAMESPACE argocd.argoproj.io/managed-by=openshift-gitops ] === CONT kuttl/harness/1-067_validate_redis_secure_comm_no_autotls_ha logger.go:42: 08:32:21 | 1-067_validate_redis_secure_comm_no_autotls_ha/3-create_secret | secret/argocd-operator-redis-tls created logger.go:42: 08:32:21 | 1-067_validate_redis_secure_comm_no_autotls_ha/3-create_secret | test step completed 3-create_secret logger.go:42: 08:32:21 | 1-067_validate_redis_secure_comm_no_autotls_ha/4-create_annotation | starting test step 4-create_annotation logger.go:42: 08:32:21 | 1-067_validate_redis_secure_comm_no_autotls_ha/4-create_annotation | running command: [sh -c set -e oc annotate secret argocd-operator-redis-tls argocds.argoproj.io/name=argocd -n $NAMESPACE ] === CONT kuttl/harness/1-052_validate_rolebinding_number logger.go:42: 08:32:21 | 1-052_validate_rolebinding_number/1-label_namespace | namespace/kuttl-test-moral-doe labeled logger.go:42: 08:32:22 | 1-052_validate_rolebinding_number/1-label_namespace | test step completed 1-label_namespace logger.go:42: 08:32:22 | 1-052_validate_rolebinding_number/2-check_rolebindings | starting test step 2-check_rolebindings logger.go:42: 08:32:22 | 1-052_validate_rolebinding_number/2-check_rolebindings | running command: [sh -c set -eo pipefail # Expected and Current RoleBindings expected_rb=( "openshift-gitops-argocd-application-controller" "openshift-gitops-argocd-server" ) # Check that eventually the current role bindings equal the expected role # bindings. Timeout after 60 seconds timer=0 current_rb=( $(oc get rolebindings -n "${NAMESPACE}" | awk '/gitops/ {print $1}' | sort) ) while [[ "${current_rb[@]}" != "${expected_rb[@]}" ]]; do if [[ $timer -eq 60 ]]; then echo "timed out waiting for current role bindings to equal expected role bindings" echo "current role bindings: ${current_rb[*]}" echo "expected role bindings: ${expected_rb[*]}" exit 1 fi timer=$((timer+5)) sleep 5 current_rb=( $(oc get rolebindings -n "${NAMESPACE}" | awk '/gitops/ {print $1}' | sort) ) done # Check that the expected role bindings continue to exist for at least the # next 20 seconds timer=0 while [ true ]; do if [[ $timer -eq 20 ]]; then break fi current_rb=( $(oc get rolebindings -n "${NAMESPACE}" | awk '/gitops/ {print $1}' | sort) ) if [[ "${current_rb[@]}" != "${expected_rb[@]}" ]]; then echo "current role bindings have changed, now not equal to expected role bindings" echo "current role bindings: ${current_rb[*]}" echo "expected role bindings: ${expected_rb[*]}" exit 1 fi timer=$((timer+5)) sleep 5 done ] === CONT kuttl/harness/1-067_validate_redis_secure_comm_no_autotls_ha logger.go:42: 08:32:22 | 1-067_validate_redis_secure_comm_no_autotls_ha/4-create_annotation | secret/argocd-operator-redis-tls annotated logger.go:42: 08:32:22 | 1-067_validate_redis_secure_comm_no_autotls_ha/4-create_annotation | test step completed 4-create_annotation logger.go:42: 08:32:22 | 1-067_validate_redis_secure_comm_no_autotls_ha/5-check_redis_config | starting test step 5-check_redis_config logger.go:42: 08:32:22 | 1-067_validate_redis_secure_comm_no_autotls_ha/5-check_redis_config | running command: [sh -c set -e # Define the expected configurations expected_redis_config=( 'port 0' 'tls-port 6379' 'tls-cert-file /app/config/redis/tls/tls.crt' 'tls-ca-cert-file /app/config/redis/tls/tls.crt' 'tls-key-file /app/config/redis/tls/tls.key' 'tls-replication yes' 'tls-auth-clients no' ) expected_sentinel_config=( 'port 0' 'tls-port 26379' 'tls-cert-file "/app/config/redis/tls/tls.crt"' 'tls-ca-cert-file "/app/config/redis/tls/tls.crt"' 'tls-key-file "/app/config/redis/tls/tls.key"' 'tls-replication yes' 'tls-auth-clients no' ) # Function to execute and retry the command if necessary execute_with_retry() { local config=$1 local file=$2 local attempts=3 local previous_time=0 local found=false for attempt in $(seq 1 $attempts); do # Calculate the time interval (increasing with each attempt) interval=$((attempt + previous_time)) echo "Attempt $attempt for '${config}' (Waiting for ${interval}s before execution)" # Execute the command and check if the expected result is found if oc exec -i pod/argocd-redis-ha-server-0 -n $NAMESPACE -c redis -- grep "${config}" $file > /dev/null 2>&1; then echo "Found expected config '${config}' on attempt $attempt." found=true break else echo "Expected config '${config}' not found on attempt $attempt. Retrying..." sleep $interval fi # Update previous_time for the next attempt previous_time=$interval done # If the config was not found after all attempts, log the failure if [ "$found" = false ]; then echo "Failed to find expected config '${config}' after $attempts attempts." fi } # Loop through the redis config and check with retry logic for config in "${expected_redis_config[@]}" do execute_with_retry "$config" "/data/conf/redis.conf" done # Loop through the sentinel config and check with retry logic for config in "${expected_sentinel_config[@]}" do execute_with_retry "$config" "/data/conf/sentinel.conf" done ] logger.go:42: 08:32:22 | 1-067_validate_redis_secure_comm_no_autotls_ha/5-check_redis_config | Attempt 1 for 'port 0' (Waiting for 1s before execution) logger.go:42: 08:32:23 | 1-067_validate_redis_secure_comm_no_autotls_ha/5-check_redis_config | Expected config 'port 0' not found on attempt 1. Retrying... logger.go:42: 08:32:24 | 1-067_validate_redis_secure_comm_no_autotls_ha/5-check_redis_config | Attempt 2 for 'port 0' (Waiting for 3s before execution) === CONT kuttl/harness/1-054_validate_deploymentconfig logger.go:42: 08:32:24 | 1-054_validate_deploymentconfig/2-install-deploymentconfig | test step completed 2-install-deploymentconfig logger.go:42: 08:32:24 | 1-054_validate_deploymentconfig/3- | starting test step 3- === CONT kuttl/harness/1-067_validate_redis_secure_comm_no_autotls_ha logger.go:42: 08:32:24 | 1-067_validate_redis_secure_comm_no_autotls_ha/5-check_redis_config | Expected config 'port 0' not found on attempt 2. Retrying... === CONT kuttl/harness/1-051-validate_csv_permissions logger.go:42: 08:32:25 | 1-051-validate_csv_permissions | Creating namespace: kuttl-test-rational-marmoset logger.go:42: 08:32:25 | 1-051-validate_csv_permissions/1-validate | starting test step 1-validate logger.go:42: 08:32:25 | 1-051-validate_csv_permissions/1-validate | running command: [sh -c set -e res=$(oc auth can-i delete resourcequotas -n openshift-gitops --as system:serviceaccount:openshift-operators:openshift-gitops-operator-controller-manager) if test "$res" != "yes"; then echo "Can't delete resourcequotas" exit 1 fi ] logger.go:42: 08:32:25 | 1-051-validate_csv_permissions/1-validate | test step completed 1-validate logger.go:42: 08:32:25 | 1-051-validate_csv_permissions | skipping kubernetes event logging logger.go:42: 08:32:25 | 1-051-validate_csv_permissions | Deleting namespace: kuttl-test-rational-marmoset === CONT kuttl/harness/1-054_validate_deploymentconfig logger.go:42: 08:32:26 | 1-054_validate_deploymentconfig/3- | test step completed 3- logger.go:42: 08:32:26 | 1-054_validate_deploymentconfig/4-scaledown-deploymentconfig | starting test step 4-scaledown-deploymentconfig logger.go:42: 08:32:26 | 1-054_validate_deploymentconfig/4-scaledown-deploymentconfig | Application:kuttl-test-engaged-gar/app-deploymentconfig updated === CONT kuttl/harness/1-067_validate_redis_secure_comm_no_autotls_ha logger.go:42: 08:32:27 | 1-067_validate_redis_secure_comm_no_autotls_ha/5-check_redis_config | Attempt 3 for 'port 0' (Waiting for 6s before execution) logger.go:42: 08:32:28 | 1-067_validate_redis_secure_comm_no_autotls_ha/5-check_redis_config | Expected config 'port 0' not found on attempt 3. Retrying... === CONT kuttl/harness/1-054_validate_deploymentconfig logger.go:42: 08:32:28 | 1-054_validate_deploymentconfig/4-scaledown-deploymentconfig | test step completed 4-scaledown-deploymentconfig logger.go:42: 08:32:28 | 1-054_validate_deploymentconfig | skipping kubernetes event logging logger.go:42: 08:32:28 | 1-054_validate_deploymentconfig | Deleting namespace: kuttl-test-engaged-gar === CONT kuttl/harness/1-050_validate_sso logger.go:42: 08:32:30 | 1-050_validate_sso | Creating namespace: kuttl-test-holy-frog logger.go:42: 08:32:30 | 1-050_validate_sso/1-install | starting test step 1-install logger.go:42: 08:32:31 | 1-050_validate_sso/1-install | ArgoCD:kuttl-test-holy-frog/argocd created === CONT kuttl/harness/1-067_validate_redis_secure_comm_no_autotls_ha logger.go:42: 08:32:34 | 1-067_validate_redis_secure_comm_no_autotls_ha/5-check_redis_config | Failed to find expected config 'port 0' after 3 attempts. logger.go:42: 08:32:34 | 1-067_validate_redis_secure_comm_no_autotls_ha/5-check_redis_config | Attempt 1 for 'tls-port 6379' (Waiting for 1s before execution) logger.go:42: 08:32:35 | 1-067_validate_redis_secure_comm_no_autotls_ha/5-check_redis_config | Expected config 'tls-port 6379' not found on attempt 1. Retrying... logger.go:42: 08:32:36 | 1-067_validate_redis_secure_comm_no_autotls_ha/5-check_redis_config | Attempt 2 for 'tls-port 6379' (Waiting for 3s before execution) logger.go:42: 08:32:36 | 1-067_validate_redis_secure_comm_no_autotls_ha/5-check_redis_config | Expected config 'tls-port 6379' not found on attempt 2. Retrying... logger.go:42: 08:32:39 | 1-067_validate_redis_secure_comm_no_autotls_ha/5-check_redis_config | Attempt 3 for 'tls-port 6379' (Waiting for 6s before execution) logger.go:42: 08:32:40 | 1-067_validate_redis_secure_comm_no_autotls_ha/5-check_redis_config | Found expected config 'tls-port 6379' on attempt 3. logger.go:42: 08:32:40 | 1-067_validate_redis_secure_comm_no_autotls_ha/5-check_redis_config | Attempt 1 for 'tls-cert-file /app/config/redis/tls/tls.crt' (Waiting for 1s before execution) logger.go:42: 08:32:40 | 1-067_validate_redis_secure_comm_no_autotls_ha/5-check_redis_config | Found expected config 'tls-cert-file /app/config/redis/tls/tls.crt' on attempt 1. logger.go:42: 08:32:40 | 1-067_validate_redis_secure_comm_no_autotls_ha/5-check_redis_config | Attempt 1 for 'tls-ca-cert-file /app/config/redis/tls/tls.crt' (Waiting for 1s before execution) logger.go:42: 08:32:41 | 1-067_validate_redis_secure_comm_no_autotls_ha/5-check_redis_config | Found expected config 'tls-ca-cert-file /app/config/redis/tls/tls.crt' on attempt 1. logger.go:42: 08:32:41 | 1-067_validate_redis_secure_comm_no_autotls_ha/5-check_redis_config | Attempt 1 for 'tls-key-file /app/config/redis/tls/tls.key' (Waiting for 1s before execution) logger.go:42: 08:32:41 | 1-067_validate_redis_secure_comm_no_autotls_ha/5-check_redis_config | Found expected config 'tls-key-file /app/config/redis/tls/tls.key' on attempt 1. logger.go:42: 08:32:41 | 1-067_validate_redis_secure_comm_no_autotls_ha/5-check_redis_config | Attempt 1 for 'tls-replication yes' (Waiting for 1s before execution) logger.go:42: 08:32:42 | 1-067_validate_redis_secure_comm_no_autotls_ha/5-check_redis_config | Found expected config 'tls-replication yes' on attempt 1. logger.go:42: 08:32:42 | 1-067_validate_redis_secure_comm_no_autotls_ha/5-check_redis_config | Attempt 1 for 'tls-auth-clients no' (Waiting for 1s before execution) logger.go:42: 08:32:42 | 1-067_validate_redis_secure_comm_no_autotls_ha/5-check_redis_config | Found expected config 'tls-auth-clients no' on attempt 1. logger.go:42: 08:32:42 | 1-067_validate_redis_secure_comm_no_autotls_ha/5-check_redis_config | Attempt 1 for 'port 0' (Waiting for 1s before execution) logger.go:42: 08:32:43 | 1-067_validate_redis_secure_comm_no_autotls_ha/5-check_redis_config | Found expected config 'port 0' on attempt 1. logger.go:42: 08:32:43 | 1-067_validate_redis_secure_comm_no_autotls_ha/5-check_redis_config | Attempt 1 for 'tls-port 26379' (Waiting for 1s before execution) logger.go:42: 08:32:44 | 1-067_validate_redis_secure_comm_no_autotls_ha/5-check_redis_config | Found expected config 'tls-port 26379' on attempt 1. logger.go:42: 08:32:44 | 1-067_validate_redis_secure_comm_no_autotls_ha/5-check_redis_config | Attempt 1 for 'tls-cert-file "/app/config/redis/tls/tls.crt"' (Waiting for 1s before execution) logger.go:42: 08:32:44 | 1-067_validate_redis_secure_comm_no_autotls_ha/5-check_redis_config | Expected config 'tls-cert-file "/app/config/redis/tls/tls.crt"' not found on attempt 1. Retrying... === CONT kuttl/harness/1-052_validate_rolebinding_number logger.go:42: 08:32:45 | 1-052_validate_rolebinding_number/2-check_rolebindings | test step completed 2-check_rolebindings logger.go:42: 08:32:45 | 1-052_validate_rolebinding_number | skipping kubernetes event logging logger.go:42: 08:32:45 | 1-052_validate_rolebinding_number | Deleting namespace: kuttl-test-moral-doe === CONT kuttl/harness/1-067_validate_redis_secure_comm_no_autotls_ha logger.go:42: 08:32:45 | 1-067_validate_redis_secure_comm_no_autotls_ha/5-check_redis_config | Attempt 2 for 'tls-cert-file "/app/config/redis/tls/tls.crt"' (Waiting for 3s before execution) logger.go:42: 08:32:45 | 1-067_validate_redis_secure_comm_no_autotls_ha/5-check_redis_config | Expected config 'tls-cert-file "/app/config/redis/tls/tls.crt"' not found on attempt 2. Retrying... logger.go:42: 08:32:48 | 1-067_validate_redis_secure_comm_no_autotls_ha/5-check_redis_config | Attempt 3 for 'tls-cert-file "/app/config/redis/tls/tls.crt"' (Waiting for 6s before execution) logger.go:42: 08:32:49 | 1-067_validate_redis_secure_comm_no_autotls_ha/5-check_redis_config | Expected config 'tls-cert-file "/app/config/redis/tls/tls.crt"' not found on attempt 3. Retrying... === CONT kuttl/harness/1-099_validate_server_autoscale logger.go:42: 08:32:50 | 1-099_validate_server_autoscale | Creating namespace: kuttl-test-star-platypus logger.go:42: 08:32:50 | 1-099_validate_server_autoscale/1-install | starting test step 1-install logger.go:42: 08:32:50 | 1-099_validate_server_autoscale/1-install | ArgoCD:kuttl-test-star-platypus/example-argocd created === CONT kuttl/harness/1-067_validate_redis_secure_comm_no_autotls_ha logger.go:42: 08:32:55 | 1-067_validate_redis_secure_comm_no_autotls_ha/5-check_redis_config | Failed to find expected config 'tls-cert-file "/app/config/redis/tls/tls.crt"' after 3 attempts. logger.go:42: 08:32:55 | 1-067_validate_redis_secure_comm_no_autotls_ha/5-check_redis_config | Attempt 1 for 'tls-ca-cert-file "/app/config/redis/tls/tls.crt"' (Waiting for 1s before execution) logger.go:42: 08:32:56 | 1-067_validate_redis_secure_comm_no_autotls_ha/5-check_redis_config | Expected config 'tls-ca-cert-file "/app/config/redis/tls/tls.crt"' not found on attempt 1. Retrying... logger.go:42: 08:32:57 | 1-067_validate_redis_secure_comm_no_autotls_ha/5-check_redis_config | Attempt 2 for 'tls-ca-cert-file "/app/config/redis/tls/tls.crt"' (Waiting for 3s before execution) logger.go:42: 08:32:57 | 1-067_validate_redis_secure_comm_no_autotls_ha/5-check_redis_config | Expected config 'tls-ca-cert-file "/app/config/redis/tls/tls.crt"' not found on attempt 2. Retrying... logger.go:42: 08:33:00 | 1-067_validate_redis_secure_comm_no_autotls_ha/5-check_redis_config | Attempt 3 for 'tls-ca-cert-file "/app/config/redis/tls/tls.crt"' (Waiting for 6s before execution) logger.go:42: 08:33:01 | 1-067_validate_redis_secure_comm_no_autotls_ha/5-check_redis_config | Expected config 'tls-ca-cert-file "/app/config/redis/tls/tls.crt"' not found on attempt 3. Retrying... === CONT kuttl/harness/1-050_validate_sso logger.go:42: 08:33:03 | 1-050_validate_sso/1-install | test step completed 1-install logger.go:42: 08:33:03 | 1-050_validate_sso/2-remove-spec-sso | starting test step 2-remove-spec-sso logger.go:42: 08:33:03 | 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:33:04 | 1-050_validate_sso/2-remove-spec-sso | argocd.argoproj.io/argocd patched logger.go:42: 08:33:04 | 1-050_validate_sso/2-remove-spec-sso | running command: [sh -c sleep 10] === CONT kuttl/harness/1-067_validate_redis_secure_comm_no_autotls_ha logger.go:42: 08:33:07 | 1-067_validate_redis_secure_comm_no_autotls_ha/5-check_redis_config | Failed to find expected config 'tls-ca-cert-file "/app/config/redis/tls/tls.crt"' after 3 attempts. logger.go:42: 08:33:07 | 1-067_validate_redis_secure_comm_no_autotls_ha/5-check_redis_config | Attempt 1 for 'tls-key-file "/app/config/redis/tls/tls.key"' (Waiting for 1s before execution) logger.go:42: 08:33:07 | 1-067_validate_redis_secure_comm_no_autotls_ha/5-check_redis_config | Expected config 'tls-key-file "/app/config/redis/tls/tls.key"' not found on attempt 1. Retrying... logger.go:42: 08:33:08 | 1-067_validate_redis_secure_comm_no_autotls_ha/5-check_redis_config | Attempt 2 for 'tls-key-file "/app/config/redis/tls/tls.key"' (Waiting for 3s before execution) logger.go:42: 08:33:09 | 1-067_validate_redis_secure_comm_no_autotls_ha/5-check_redis_config | Expected config 'tls-key-file "/app/config/redis/tls/tls.key"' not found on attempt 2. Retrying... === CONT kuttl/harness/1-114_validate_server_sidecar logger.go:42: 08:33:12 | 1-114_validate_server_sidecar | Creating namespace: kuttl-test-rapid-terrapin logger.go:42: 08:33:12 | 1-114_validate_server_sidecar/1-install | starting test step 1-install logger.go:42: 08:33:12 | 1-114_validate_server_sidecar/1-install | ArgoCD:kuttl-test-rapid-terrapin/argocd created === CONT kuttl/harness/1-067_validate_redis_secure_comm_no_autotls_ha logger.go:42: 08:33:12 | 1-067_validate_redis_secure_comm_no_autotls_ha/5-check_redis_config | Attempt 3 for 'tls-key-file "/app/config/redis/tls/tls.key"' (Waiting for 6s before execution) logger.go:42: 08:33:12 | 1-067_validate_redis_secure_comm_no_autotls_ha/5-check_redis_config | Expected config 'tls-key-file "/app/config/redis/tls/tls.key"' not found on attempt 3. Retrying... === CONT kuttl/harness/1-114_validate_server_sidecar logger.go:42: 08:33:13 | 1-114_validate_server_sidecar/1-install | test step completed 1-install logger.go:42: 08:33:13 | 1-114_validate_server_sidecar | skipping kubernetes event logging logger.go:42: 08:33:13 | 1-114_validate_server_sidecar | Deleting namespace: kuttl-test-rapid-terrapin === CONT kuttl/harness/1-050_validate_sso logger.go:42: 08:33:14 | 1-050_validate_sso/2-remove-spec-sso | test step completed 2-remove-spec-sso logger.go:42: 08:33:14 | 1-050_validate_sso/7-provider-keycloak-dex-spec | starting test step 7-provider-keycloak-dex-spec logger.go:42: 08:33:14 | 1-050_validate_sso/7-provider-keycloak-dex-spec | ArgoCD:kuttl-test-holy-frog/argocd updated logger.go:42: 08:33:15 | 1-050_validate_sso/7-provider-keycloak-dex-spec | test step completed 7-provider-keycloak-dex-spec logger.go:42: 08:33:15 | 1-050_validate_sso/8-remove-spec-dex | starting test step 8-remove-spec-dex logger.go:42: 08:33:15 | 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:33:15 | 1-050_validate_sso/8-remove-spec-dex | argocd.argoproj.io/argocd patched === CONT kuttl/harness/1-113_validate_appcontroller_sidecar logger.go:42: 08:33:18 | 1-113_validate_appcontroller_sidecar | Creating namespace: kuttl-test-glowing-molly logger.go:42: 08:33:18 | 1-113_validate_appcontroller_sidecar/1-install | starting test step 1-install === CONT kuttl/harness/1-067_validate_redis_secure_comm_no_autotls_ha logger.go:42: 08:33:18 | 1-067_validate_redis_secure_comm_no_autotls_ha/5-check_redis_config | Failed to find expected config 'tls-key-file "/app/config/redis/tls/tls.key"' after 3 attempts. logger.go:42: 08:33:18 | 1-067_validate_redis_secure_comm_no_autotls_ha/5-check_redis_config | Attempt 1 for 'tls-replication yes' (Waiting for 1s before execution) === CONT kuttl/harness/1-113_validate_appcontroller_sidecar logger.go:42: 08:33:18 | 1-113_validate_appcontroller_sidecar/1-install | ArgoCD:kuttl-test-glowing-molly/argocd created === CONT kuttl/harness/1-067_validate_redis_secure_comm_no_autotls_ha logger.go:42: 08:33:19 | 1-067_validate_redis_secure_comm_no_autotls_ha/5-check_redis_config | Found expected config 'tls-replication yes' on attempt 1. logger.go:42: 08:33:19 | 1-067_validate_redis_secure_comm_no_autotls_ha/5-check_redis_config | Attempt 1 for 'tls-auth-clients no' (Waiting for 1s before execution) === CONT kuttl/harness/1-113_validate_appcontroller_sidecar logger.go:42: 08:33:20 | 1-113_validate_appcontroller_sidecar/1-install | test step completed 1-install logger.go:42: 08:33:20 | 1-113_validate_appcontroller_sidecar | skipping kubernetes event logging logger.go:42: 08:33:20 | 1-113_validate_appcontroller_sidecar | Deleting namespace: kuttl-test-glowing-molly === CONT kuttl/harness/1-067_validate_redis_secure_comm_no_autotls_ha logger.go:42: 08:33:20 | 1-067_validate_redis_secure_comm_no_autotls_ha/5-check_redis_config | Found expected config 'tls-auth-clients no' on attempt 1. logger.go:42: 08:33:20 | 1-067_validate_redis_secure_comm_no_autotls_ha/5-check_redis_config | test step completed 5-check_redis_config logger.go:42: 08:33:20 | 1-067_validate_redis_secure_comm_no_autotls_ha/6-check_deployments | starting test step 6-check_deployments logger.go:42: 08:33:20 | 1-067_validate_redis_secure_comm_no_autotls_ha/6-check_deployments | running command: [sh -c set -e if test "$(oc get deployments.apps argocd-repo-server -n $NAMESPACE --template \ '{{range .spec.template.spec.containers}}{{.command}}{{"\n"}}{{end}}')" != \ "[uid_entrypoint.sh \ argocd-repo-server \ --redis argocd-redis-ha-haproxy.$NAMESPACE.svc.cluster.local:6379 \ --redis-use-tls \ --redis-ca-certificate /app/config/reposerver/tls/redis/tls.crt \ --loglevel info \ --logformat text]"; then echo "TLS .spec.template.spec.containers.command for argocd-repo-server deployment is wrong" exit 1 fi ] logger.go:42: 08:33:20 | 1-067_validate_redis_secure_comm_no_autotls_ha/6-check_deployments | running command: [sh -c set -e if test "$(oc get deployments.apps argocd-server -n $NAMESPACE --template \ '{{range .spec.template.spec.containers}}{{.command}}{{"\n"}}{{end}}')" != \ "[argocd-server \ --staticassets /shared/app \ --dex-server https://argocd-dex-server.$NAMESPACE.svc.cluster.local:5556 \ --repo-server argocd-repo-server.$NAMESPACE.svc.cluster.local:8081 \ --redis argocd-redis-ha-haproxy.$NAMESPACE.svc.cluster.local:6379 \ --redis-use-tls \ --redis-ca-certificate /app/config/server/tls/redis/tls.crt \ --loglevel info \ --logformat text]"; then echo "TLS .spec.template.spec.containers.command for argocd-server deployment is wrong" exit 1 fi ] logger.go:42: 08:33:21 | 1-067_validate_redis_secure_comm_no_autotls_ha/6-check_deployments | test step completed 6-check_deployments logger.go:42: 08:33:21 | 1-067_validate_redis_secure_comm_no_autotls_ha/7-check_statefulset | starting test step 7-check_statefulset logger.go:42: 08:33:21 | 1-067_validate_redis_secure_comm_no_autotls_ha/7-check_statefulset | running command: [sh -c set -e if test "$(oc get statefulsets.apps argocd-application-controller -n $NAMESPACE --template \ '{{range .spec.template.spec.containers}}{{.command}}{{"\n"}}{{end}}')" != \ "[argocd-application-controller \ --operation-processors 10 \ --redis argocd-redis-ha-haproxy.$NAMESPACE.svc.cluster.local:6379 \ --redis-use-tls \ --redis-ca-certificate /app/config/controller/tls/redis/tls.crt \ --repo-server argocd-repo-server.$NAMESPACE.svc.cluster.local:8081 \ --status-processors 20 \ --kubectl-parallelism-limit 10 \ --loglevel info \ --logformat text]"; then echo "TLS .spec.template.spec.containers.command for argocd-application-controller statefulsets is wrong" exit 1 fi ] logger.go:42: 08:33:21 | 1-067_validate_redis_secure_comm_no_autotls_ha/7-check_statefulset | test step completed 7-check_statefulset logger.go:42: 08:33:21 | 1-067_validate_redis_secure_comm_no_autotls_ha | skipping kubernetes event logging logger.go:42: 08:33:21 | 1-067_validate_redis_secure_comm_no_autotls_ha | Deleting namespace: kuttl-test-becoming-fish === CONT kuttl/harness/1-099_validate_server_autoscale logger.go:42: 08:33:22 | 1-099_validate_server_autoscale/1-install | test step completed 1-install logger.go:42: 08:33:22 | 1-099_validate_server_autoscale/2-enable-server-autoscale | starting test step 2-enable-server-autoscale logger.go:42: 08:33:22 | 1-099_validate_server_autoscale/2-enable-server-autoscale | ArgoCD:kuttl-test-star-platypus/example-argocd updated logger.go:42: 08:33:22 | 1-099_validate_server_autoscale/2-enable-server-autoscale | test step completed 2-enable-server-autoscale logger.go:42: 08:33:22 | 1-099_validate_server_autoscale/3-check-server-replicas | starting test step 3-check-server-replicas logger.go:42: 08:33:22 | 1-099_validate_server_autoscale/3-check-server-replicas | running command: [sh -c sleep 45] === CONT kuttl/harness/1-112_validate_server_initcontainers logger.go:42: 08:33:25 | 1-112_validate_server_initcontainers | Creating namespace: kuttl-test-intent-bedbug logger.go:42: 08:33:25 | 1-112_validate_server_initcontainers/1-install | starting test step 1-install logger.go:42: 08:33:25 | 1-112_validate_server_initcontainers/1-install | ArgoCD:kuttl-test-intent-bedbug/argocd created logger.go:42: 08:33:26 | 1-112_validate_server_initcontainers/1-install | test step completed 1-install logger.go:42: 08:33:26 | 1-112_validate_server_initcontainers | skipping kubernetes event logging logger.go:42: 08:33:26 | 1-112_validate_server_initcontainers | Deleting namespace: kuttl-test-intent-bedbug === CONT kuttl/harness/1-111_validate_appcontroller_initcontainers logger.go:42: 08:33:32 | 1-111_validate_appcontroller_initcontainers | Creating namespace: kuttl-test-capable-wolf logger.go:42: 08:33:32 | 1-111_validate_appcontroller_initcontainers/1-install | starting test step 1-install logger.go:42: 08:33:32 | 1-111_validate_appcontroller_initcontainers/1-install | ArgoCD:kuttl-test-capable-wolf/argocd created logger.go:42: 08:33:33 | 1-111_validate_appcontroller_initcontainers/1-install | test step completed 1-install logger.go:42: 08:33:33 | 1-111_validate_appcontroller_initcontainers | skipping kubernetes event logging logger.go:42: 08:33:33 | 1-111_validate_appcontroller_initcontainers | Deleting namespace: kuttl-test-capable-wolf === CONT kuttl/harness/1-108_alternate_cluster_roles_cluster_scoped_instance 2024/12/20 08:33:38 object detected with no GVK Kind for path /kuttl-e2e/gitops-operator/tests/parallel/1-108_alternate_cluster_roles_cluster_scoped_instance/04-create-app.yaml logger.go:42: 08:33:38 | 1-108_alternate_cluster_roles_cluster_scoped_instance | Creating namespace: kuttl-test-arriving-martin logger.go:42: 08:33:38 | 1-108_alternate_cluster_roles_cluster_scoped_instance/1-create-ns | starting test step 1-create-ns logger.go:42: 08:33:38 | 1-108_alternate_cluster_roles_cluster_scoped_instance/1-create-ns | Namespace:/alternate-role created logger.go:42: 08:33:38 | 1-108_alternate_cluster_roles_cluster_scoped_instance/1-create-ns | test step completed 1-create-ns logger.go:42: 08:33:38 | 1-108_alternate_cluster_roles_cluster_scoped_instance/2-edit-subscription | starting test step 2-edit-subscription logger.go:42: 08:33:38 | 1-108_alternate_cluster_roles_cluster_scoped_instance/2-edit-subscription | 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, alternate-role"}]}}}' ] logger.go:42: 08:33:39 | 1-108_alternate_cluster_roles_cluster_scoped_instance/2-edit-subscription | subscription.operators.coreos.com/openshift-gitops-operator patched logger.go:42: 08:33:39 | 1-108_alternate_cluster_roles_cluster_scoped_instance/2-edit-subscription | test step completed 2-edit-subscription logger.go:42: 08:33:39 | 1-108_alternate_cluster_roles_cluster_scoped_instance/3-install | starting test step 3-install logger.go:42: 08:33:39 | 1-108_alternate_cluster_roles_cluster_scoped_instance/3-install | ArgoCD:alternate-role/argocd created === CONT kuttl/harness/1-107_host_attribute_sso_provider logger.go:42: 08:34:06 | 1-107_host_attribute_sso_provider | Creating namespace: kuttl-test-optimum-barnacle logger.go:42: 08:34:06 | 1-107_host_attribute_sso_provider/1-install | starting test step 1-install logger.go:42: 08:34:06 | 1-107_host_attribute_sso_provider/1-install | ArgoCD:kuttl-test-optimum-barnacle/example-argocd-keycloak created === CONT kuttl/harness/1-108_alternate_cluster_roles_cluster_scoped_instance logger.go:42: 08:34:06 | 1-108_alternate_cluster_roles_cluster_scoped_instance/3-install | test step completed 3-install logger.go:42: 08:34:06 | 1-108_alternate_cluster_roles_cluster_scoped_instance/4-create-app | starting test step 4-create-app logger.go:42: 08:34:06 | 1-108_alternate_cluster_roles_cluster_scoped_instance/4-create-app | Application:alternate-role/clusterrole-app created === CONT kuttl/harness/1-099_validate_server_autoscale logger.go:42: 08:34:07 | 1-099_validate_server_autoscale/3-check-server-replicas | running command: [sh -c set -e serverReplicas=$(kubectl get -n $NAMESPACE deployment/example-argocd-server -o jsonpath='{.spec.replicas}') if [ "$serverReplicas" -ge 4 ] && [ "$serverReplicas" -le 7 ]; then echo "server replica count matches expectation" exit 0 fi exit 1 done ] logger.go:42: 08:34:08 | 1-099_validate_server_autoscale/3-check-server-replicas | server replica count matches expectation logger.go:42: 08:34:08 | 1-099_validate_server_autoscale/3-check-server-replicas | test step completed 3-check-server-replicas logger.go:42: 08:34:08 | 1-099_validate_server_autoscale/4-update-hpa | starting test step 4-update-hpa logger.go:42: 08:34:08 | 1-099_validate_server_autoscale/4-update-hpa | ArgoCD:kuttl-test-star-platypus/example-argocd updated === CONT kuttl/harness/1-065_validate_redis_ha_anti_affinity logger.go:42: 08:34:08 | 1-065_validate_redis_ha_anti_affinity/2- | test step completed 2- logger.go:42: 08:34:08 | 1-065_validate_redis_ha_anti_affinity | skipping kubernetes event logging logger.go:42: 08:34:08 | 1-065_validate_redis_ha_anti_affinity | Deleting namespace: kuttl-test-oriented-mouse === CONT kuttl/harness/1-099_validate_server_autoscale logger.go:42: 08:34:09 | 1-099_validate_server_autoscale/4-update-hpa | test step completed 4-update-hpa logger.go:42: 08:34:09 | 1-099_validate_server_autoscale | skipping kubernetes event logging logger.go:42: 08:34:09 | 1-099_validate_server_autoscale | Deleting namespace: kuttl-test-star-platypus === CONT kuttl/harness/1-104_validate_applicationset_tls_scm_volume_mount logger.go:42: 08:34:15 | 1-104_validate_applicationset_tls_scm_volume_mount | Creating namespace: kuttl-test-rapid-gull logger.go:42: 08:34:15 | 1-104_validate_applicationset_tls_scm_volume_mount/1-install | starting test step 1-install logger.go:42: 08:34:15 | 1-104_validate_applicationset_tls_scm_volume_mount/1-install | Namespace:/test-1-104-appsets-scm-tls-mount created logger.go:42: 08:34:15 | 1-104_validate_applicationset_tls_scm_volume_mount/1-install | ConfigMap:test-1-104-appsets-scm-tls-mount/test-1-104-appsets-scm-tls-cm created logger.go:42: 08:34:15 | 1-104_validate_applicationset_tls_scm_volume_mount/1-install | ArgoCD:test-1-104-appsets-scm-tls-mount/argocd created === CONT kuttl/harness/1-107_host_attribute_sso_provider logger.go:42: 08:34:38 | 1-107_host_attribute_sso_provider/1-install | test step completed 1-install logger.go:42: 08:34:38 | 1-107_host_attribute_sso_provider | skipping kubernetes event logging logger.go:42: 08:34:38 | 1-107_host_attribute_sso_provider | Deleting namespace: kuttl-test-optimum-barnacle === CONT kuttl/harness/1-104_validate_applicationset_tls_scm_volume_mount logger.go:42: 08:34:46 | 1-104_validate_applicationset_tls_scm_volume_mount/1-install | test step completed 1-install logger.go:42: 08:34:46 | 1-104_validate_applicationset_tls_scm_volume_mount/99-delete | starting test step 99-delete === CONT kuttl/harness/1-103_argocd_alpha_to_beta_conversion logger.go:42: 08:34:49 | 1-103_argocd_alpha_to_beta_conversion | Creating namespace: kuttl-test-adapted-cub logger.go:42: 08:34:49 | 1-103_argocd_alpha_to_beta_conversion/1-alpha_argocd | starting test step 1-alpha_argocd logger.go:42: 08:34:49 | 1-103_argocd_alpha_to_beta_conversion/1-alpha_argocd | ArgoCD:kuttl-test-adapted-cub/argocd created === CONT kuttl/harness/1-102_validate_handle_terminating_namespaces logger.go:42: 08:34:52 | 1-102_validate_handle_terminating_namespaces | Creating namespace: kuttl-test-viable-kite logger.go:42: 08:34:52 | 1-102_validate_handle_terminating_namespaces/1-install | starting test step 1-install logger.go:42: 08:34:52 | 1-102_validate_handle_terminating_namespaces/1-install | Namespace:/gitops-service-argocd created logger.go:42: 08:34:52 | 1-102_validate_handle_terminating_namespaces/1-install | test step completed 1-install logger.go:42: 08:34:52 | 1-102_validate_handle_terminating_namespaces/2-install | starting test step 2-install logger.go:42: 08:34:52 | 1-102_validate_handle_terminating_namespaces/2-install | ArgoCD:gitops-service-argocd/gitops-service-argocd created logger.go:42: 08:34:52 | 1-102_validate_handle_terminating_namespaces/2-install | Namespace:/jane created logger.go:42: 08:34:52 | 1-102_validate_handle_terminating_namespaces/2-install | ConfigMap:jane/my-config-map-2 created === CONT kuttl/harness/1-104_validate_applicationset_tls_scm_volume_mount logger.go:42: 08:34:58 | 1-104_validate_applicationset_tls_scm_volume_mount/99-delete | test step completed 99-delete logger.go:42: 08:34:58 | 1-104_validate_applicationset_tls_scm_volume_mount | skipping kubernetes event logging logger.go:42: 08:34:58 | 1-104_validate_applicationset_tls_scm_volume_mount | Deleting namespace: kuttl-test-rapid-gull === CONT kuttl/harness/1-055_drop_resource_customizations logger.go:42: 08:35:03 | 1-055_drop_resource_customizations | Creating namespace: kuttl-test-liked-penguin logger.go:42: 08:35:03 | 1-055_drop_resource_customizations/1-alpha-argocd | starting test step 1-alpha-argocd logger.go:42: 08:35:03 | 1-055_drop_resource_customizations/1-alpha-argocd | ArgoCD:kuttl-test-liked-penguin/argocd created === CONT kuttl/harness/1-103_argocd_alpha_to_beta_conversion logger.go:42: 08:35:22 | 1-103_argocd_alpha_to_beta_conversion/1-alpha_argocd | test step completed 1-alpha_argocd logger.go:42: 08:35:22 | 1-103_argocd_alpha_to_beta_conversion/2-delete | starting test step 2-delete logger.go:42: 08:35:22 | 1-103_argocd_alpha_to_beta_conversion/2-delete | test step completed 2-delete logger.go:42: 08:35:22 | 1-103_argocd_alpha_to_beta_conversion | skipping kubernetes event logging logger.go:42: 08:35:22 | 1-103_argocd_alpha_to_beta_conversion | Deleting namespace: kuttl-test-adapted-cub === CONT kuttl/harness/1-102_validate_handle_terminating_namespaces logger.go:42: 08:35:24 | 1-102_validate_handle_terminating_namespaces/2-install | test step completed 2-install logger.go:42: 08:35:24 | 1-102_validate_handle_terminating_namespaces/3-delete-ns | starting test step 3-delete-ns logger.go:42: 08:35:24 | 1-102_validate_handle_terminating_namespaces/3-delete-ns | running command: [kubectl delete ns jane] logger.go:42: 08:35:24 | 1-102_validate_handle_terminating_namespaces/3-delete-ns | namespace "jane" deleted === CONT kuttl/harness/1-057_validate_notifications logger.go:42: 08:35:27 | 1-057_validate_notifications | Creating namespace: kuttl-test-frank-malamute logger.go:42: 08:35:27 | 1-057_validate_notifications/1-install | starting test step 1-install logger.go:42: 08:35:27 | 1-057_validate_notifications/1-install | ArgoCD:kuttl-test-frank-malamute/argocd created logger.go:42: 08:35:28 | 1-057_validate_notifications/1-install | Service:kuttl-test-frank-malamute/smtp4dev created logger.go:42: 08:35:28 | 1-057_validate_notifications/1-install | Deployment:kuttl-test-frank-malamute/smtp4dev created === CONT kuttl/harness/1-050_validate_sso logger.go:42: 08:35:29 | 1-050_validate_sso/8-remove-spec-dex | test step completed 8-remove-spec-dex logger.go:42: 08:35:29 | 1-050_validate_sso | skipping kubernetes event logging logger.go:42: 08:35:29 | 1-050_validate_sso | Deleting namespace: kuttl-test-holy-frog === CONT kuttl/harness/1-055_drop_resource_customizations logger.go:42: 08:35:36 | 1-055_drop_resource_customizations/1-alpha-argocd | test step completed 1-alpha-argocd logger.go:42: 08:35:36 | 1-055_drop_resource_customizations/2- | starting test step 2- logger.go:42: 08:35:36 | 1-055_drop_resource_customizations/2- | test step completed 2- logger.go:42: 08:35:36 | 1-055_drop_resource_customizations | skipping kubernetes event logging logger.go:42: 08:35:36 | 1-055_drop_resource_customizations | Deleting namespace: kuttl-test-liked-penguin === CONT kuttl/harness/1-055_validate_notification_controller logger.go:42: 08:35:40 | 1-055_validate_notification_controller | Creating namespace: kuttl-test-polished-elephant logger.go:42: 08:35:40 | 1-055_validate_notification_controller/1-install | starting test step 1-install logger.go:42: 08:35:40 | 1-055_validate_notification_controller/1-install | ArgoCD:kuttl-test-polished-elephant/example-argocd created === CONT kuttl/harness/1-058_validate_prometheus_rule logger.go:42: 08:35:41 | 1-058_validate_prometheus_rule | Creating namespace: kuttl-test-enjoyed-bear logger.go:42: 08:35:42 | 1-058_validate_prometheus_rule/1-install | starting test step 1-install logger.go:42: 08:35:42 | 1-058_validate_prometheus_rule/1-install | ArgoCD:kuttl-test-enjoyed-bear/example-argocd created === CONT kuttl/harness/1-102_validate_handle_terminating_namespaces logger.go:42: 08:35:54 | 1-102_validate_handle_terminating_namespaces/3-delete-ns | test step completed 3-delete-ns logger.go:42: 08:35:54 | 1-102_validate_handle_terminating_namespaces/4-create-ns | starting test step 4-create-ns logger.go:42: 08:35:54 | 1-102_validate_handle_terminating_namespaces/4-create-ns | Namespace:/john created logger.go:42: 08:35:54 | 1-102_validate_handle_terminating_namespaces/4-create-ns | test step completed 4-create-ns logger.go:42: 08:35:54 | 1-102_validate_handle_terminating_namespaces/5-create-app | starting test step 5-create-app logger.go:42: 08:35:54 | 1-102_validate_handle_terminating_namespaces/5-create-app | Application:gitops-service-argocd/my-app created logger.go:42: 08:35:56 | 1-102_validate_handle_terminating_namespaces/5-create-app | test step completed 5-create-app logger.go:42: 08:35:56 | 1-102_validate_handle_terminating_namespaces/99-delete | starting test step 99-delete === CONT kuttl/harness/1-057_validate_notifications logger.go:42: 08:35:59 | 1-057_validate_notifications/1-install | test step completed 1-install logger.go:42: 08:35:59 | 1-057_validate_notifications/2-update-notifications-cm | starting test step 2-update-notifications-cm logger.go:42: 08:35:59 | 1-057_validate_notifications/2-update-notifications-cm | running command: [sh -c sleep 15] === CONT kuttl/harness/1-102_validate_handle_terminating_namespaces logger.go:42: 08:36:07 | 1-102_validate_handle_terminating_namespaces/99-delete | running command: [sh -c oc patch cm/my-config-map-2 -n jane --type json --patch='[ { "op": "remove", "path": "/metadata/finalizers" }]'] ] logger.go:42: 08:36:08 | 1-102_validate_handle_terminating_namespaces/99-delete | configmap/my-config-map-2 patched logger.go:42: 08:36:08 | 1-102_validate_handle_terminating_namespaces/99-delete | test step completed 99-delete logger.go:42: 08:36:08 | 1-102_validate_handle_terminating_namespaces | skipping kubernetes event logging logger.go:42: 08:36:08 | 1-102_validate_handle_terminating_namespaces | Deleting namespace: kuttl-test-viable-kite === CONT kuttl/harness/1-055_validate_notification_controller logger.go:42: 08:36:12 | 1-055_validate_notification_controller/1-install | test step completed 1-install logger.go:42: 08:36:12 | 1-055_validate_notification_controller/2-enable_notification | starting test step 2-enable_notification logger.go:42: 08:36:12 | 1-055_validate_notification_controller/2-enable_notification | ArgoCD:kuttl-test-polished-elephant/example-argocd updated === CONT kuttl/harness/1-061_validate_resource_tracking_method logger.go:42: 08:36:13 | 1-061_validate_resource_tracking_method | Creating namespace: kuttl-test-whole-mustang logger.go:42: 08:36:13 | 1-061_validate_resource_tracking_method/1-install | starting test step 1-install logger.go:42: 08:36:13 | 1-061_validate_resource_tracking_method/1-install | ArgoCD:kuttl-test-whole-mustang/argocd created === CONT kuttl/harness/1-057_validate_notifications logger.go:42: 08:36:14 | 1-057_validate_notifications/2-update-notifications-cm | running command: [sh -c set -e kubectl patch notificationsconfiguration default-notifications-configuration -n $NAMESPACE --type='json' -p='[{"op": "add", "path": "/spec/services", "value": {"service.email.gmail": "{host: smtp4dev, port: 2525, from: fake@email.com }" } }]' ] logger.go:42: 08:36:15 | 1-057_validate_notifications/2-update-notifications-cm | notificationsconfiguration.argoproj.io/default-notifications-configuration patched logger.go:42: 08:36:15 | 1-057_validate_notifications/2-update-notifications-cm | running command: [sh -c sleep 5] === CONT kuttl/harness/1-058_validate_prometheus_rule logger.go:42: 08:36:15 | 1-058_validate_prometheus_rule/1-install | test step completed 1-install logger.go:42: 08:36:15 | 1-058_validate_prometheus_rule/2-wait | starting test step 2-wait logger.go:42: 08:36:15 | 1-058_validate_prometheus_rule/2-wait | running command: [sh -c function wait_until_pods_running() { echo -n "Waiting until all pods in namespace $1 are up" for i in {1..150}; do # timeout after 5 minutes local pods="$(oc get pods --no-headers -n $1 2>/dev/null)" # All pods must be running local not_running=$(echo "${pods}" | grep -v Running | grep -v Completed | wc -l) if [[ -n "${pods}" && ${not_running} -eq 0 ]]; then local all_ready=1 while read pod ; do local status=(`echo -n ${pod} | cut -f2 -d' ' | tr '/' ' '`) # All containers must be ready [[ -z ${status[0]} ]] && all_ready=0 && break [[ -z ${status[1]} ]] && all_ready=0 && break [[ ${status[0]} -lt 1 ]] && all_ready=0 && break [[ ${status[1]} -lt 1 ]] && all_ready=0 && break [[ ${status[0]} -ne ${status[1]} ]] && all_ready=0 && break done <<< $(echo "${pods}" | grep -v Completed) if (( all_ready )); then echo -e "\nAll pods are up:\n${pods}" return 0 fi fi echo -n "." sleep 2 done echo -e "\n\nERROR: timeout waiting for pods to come up\n${pods}" return 1 } wait_until_pods_running $NAMESPACE ] === CONT kuttl/harness/1-055_validate_notification_controller logger.go:42: 08:36:15 | 1-055_validate_notification_controller/2-enable_notification | test step completed 2-enable_notification logger.go:42: 08:36:15 | 1-055_validate_notification_controller/3-add-sleep | starting test step 3-add-sleep logger.go:42: 08:36:15 | 1-055_validate_notification_controller/3-add-sleep | running command: [sh -c sleep 20] === CONT kuttl/harness/1-058_validate_prometheus_rule logger.go:42: 08:36:15 | 1-058_validate_prometheus_rule/2-wait | Waiting until all pods in namespace kuttl-test-enjoyed-bear are up logger.go:42: 08:36:15 | 1-058_validate_prometheus_rule/2-wait | All pods are up: logger.go:42: 08:36:15 | 1-058_validate_prometheus_rule/2-wait | example-argocd-application-controller-0 1/1 Running 0 32s logger.go:42: 08:36:15 | 1-058_validate_prometheus_rule/2-wait | example-argocd-redis-77dd9f46fb-9x9lp 1/1 Running 0 33s logger.go:42: 08:36:15 | 1-058_validate_prometheus_rule/2-wait | example-argocd-repo-server-89c949579-4xrv7 1/1 Running 0 33s logger.go:42: 08:36:15 | 1-058_validate_prometheus_rule/2-wait | example-argocd-server-f4f7fdb76-2r8xz 1/1 Running 0 33s logger.go:42: 08:36:15 | 1-058_validate_prometheus_rule/2-wait | test step completed 2-wait logger.go:42: 08:36:15 | 1-058_validate_prometheus_rule/3-create_application | starting test step 3-create_application logger.go:42: 08:36:15 | 1-058_validate_prometheus_rule/3-create_application | running command: [sh -c set -e cat << EOF | oc apply -f - apiVersion: argoproj.io/v1alpha1 kind: Application metadata: name: test-1-58-custom namespace: ${NAMESPACE} spec: project: default source: repoURL: https://github.com/jaideepr97/gitops-examples path: bgd-k8s targetRevision: "HEAD" destination: server: "https://kubernetes.default.svc" namespace: ${NAMESPACE} syncPolicy: automated: {} EOF ] logger.go:42: 08:36:16 | 1-058_validate_prometheus_rule/3-create_application | application.argoproj.io/test-1-58-custom created logger.go:42: 08:36:17 | 1-058_validate_prometheus_rule/3-create_application | test step completed 3-create_application logger.go:42: 08:36:17 | 1-058_validate_prometheus_rule | skipping kubernetes event logging logger.go:42: 08:36:17 | 1-058_validate_prometheus_rule | Deleting namespace: kuttl-test-enjoyed-bear === CONT kuttl/harness/1-057_validate_notifications logger.go:42: 08:36:20 | 1-057_validate_notifications/2-update-notifications-cm | test step completed 2-update-notifications-cm logger.go:42: 08:36:20 | 1-057_validate_notifications/3-create-app | starting test step 3-create-app logger.go:42: 08:36:20 | 1-057_validate_notifications/3-create-app | running command: [sh -c set -e cat << EOF | oc apply -f - apiVersion: argoproj.io/v1alpha1 kind: Application metadata: name: my-app-3 namespace: $NAMESPACE annotations: "notifications.argoproj.io/subscribe.on-created.gmail": "jdfake@email.com" spec: destination: namespace: $NAMESPACE server: https://kubernetes.default.svc project: default source: repoURL: https://github.com/redhat-developer/gitops-operator path: test/examples/nginx targetRevision: HEAD EOF ] logger.go:42: 08:36:20 | 1-057_validate_notifications/3-create-app | application.argoproj.io/my-app-3 created logger.go:42: 08:36:20 | 1-057_validate_notifications/3-create-app | running command: [sh -c sleep 5] === CONT kuttl/harness/1-091_argocd_app_validate-applicationset-status logger.go:42: 08:36:22 | 1-091_argocd_app_validate-applicationset-status | Creating namespace: kuttl-test-sweeping-griffon logger.go:42: 08:36:22 | 1-091_argocd_app_validate-applicationset-status/1-install | starting test step 1-install logger.go:42: 08:36:22 | 1-091_argocd_app_validate-applicationset-status/1-install | ArgoCD:kuttl-test-sweeping-griffon/example-argocd created logger.go:42: 08:36:25 | 1-091_argocd_app_validate-applicationset-status/1-install | test step completed 1-install logger.go:42: 08:36:25 | 1-091_argocd_app_validate-applicationset-status/2-enable-appset | starting test step 2-enable-appset logger.go:42: 08:36:25 | 1-091_argocd_app_validate-applicationset-status/2-enable-appset | ArgoCD:kuttl-test-sweeping-griffon/example-argocd updated === CONT kuttl/harness/1-057_validate_notifications logger.go:42: 08:36:25 | 1-057_validate_notifications/3-create-app | test step completed 3-create-app logger.go:42: 08:36:25 | 1-057_validate_notifications/4-delete-app | starting test step 4-delete-app logger.go:42: 08:36:25 | 1-057_validate_notifications/4-delete-app | running command: [sh -c set -e kubectl delete -n $NAMESPACE application.argoproj.io my-app-3 ] logger.go:42: 08:36:25 | 1-057_validate_notifications/4-delete-app | application.argoproj.io "my-app-3" deleted logger.go:42: 08:36:25 | 1-057_validate_notifications/4-delete-app | running command: [sh -c sleep 5] === CONT kuttl/harness/1-091_argocd_app_validate-applicationset-status logger.go:42: 08:36:28 | 1-091_argocd_app_validate-applicationset-status/2-enable-appset | test step completed 2-enable-appset logger.go:42: 08:36:28 | 1-091_argocd_app_validate-applicationset-status/3-change-appset-image | starting test step 3-change-appset-image logger.go:42: 08:36:28 | 1-091_argocd_app_validate-applicationset-status/3-change-appset-image | ArgoCD:kuttl-test-sweeping-griffon/example-argocd updated logger.go:42: 08:36:28 | 1-091_argocd_app_validate-applicationset-status/3-change-appset-image | test step completed 3-change-appset-image logger.go:42: 08:36:28 | 1-091_argocd_app_validate-applicationset-status/4-delete-exisiting-deployment | starting test step 4-delete-exisiting-deployment logger.go:42: 08:36:28 | 1-091_argocd_app_validate-applicationset-status/4-delete-exisiting-deployment | running command: [kubectl delete deployment example-argocd-applicationset-controller -n kuttl-test-sweeping-griffon] logger.go:42: 08:36:28 | 1-091_argocd_app_validate-applicationset-status/4-delete-exisiting-deployment | deployment.apps "example-argocd-applicationset-controller" deleted logger.go:42: 08:36:29 | 1-091_argocd_app_validate-applicationset-status/4-delete-exisiting-deployment | test step completed 4-delete-exisiting-deployment logger.go:42: 08:36:29 | 1-091_argocd_app_validate-applicationset-status | skipping kubernetes event logging logger.go:42: 08:36:29 | 1-091_argocd_app_validate-applicationset-status | Deleting namespace: kuttl-test-sweeping-griffon === CONT kuttl/harness/1-057_validate_notifications logger.go:42: 08:36:30 | 1-057_validate_notifications/4-delete-app | test step completed 4-delete-app logger.go:42: 08:36:30 | 1-057_validate_notifications/5-verify-email | starting test step 5-verify-email logger.go:42: 08:36:30 | 1-057_validate_notifications/5-verify-email | running command: [sh -c set -e smtp4dev_pod=$(kubectl get pod -l=app=smtp4dev -o NAME -n $NAMESPACE) exit_code=$(kubectl -n $NAMESPACE exec -i --stdin "${smtp4dev_pod}" -- /bin/bash \ -c 'if [[ $(grep -rnw /tmp -e "Subject: Application my-app-3 has been created.") ]]; then exit 0; else exit 1; fi') if [ $exit_code=0 ]; then exit 0 else exit 1 fi ] logger.go:42: 08:36:31 | 1-057_validate_notifications/5-verify-email | test step completed 5-verify-email logger.go:42: 08:36:31 | 1-057_validate_notifications | skipping kubernetes event logging logger.go:42: 08:36:31 | 1-057_validate_notifications | Deleting namespace: kuttl-test-frank-malamute === CONT kuttl/harness/1-032_validate_dynamic_scaling logger.go:42: 08:36:35 | 1-032_validate_dynamic_scaling | Creating namespace: kuttl-test-pure-pangolin logger.go:42: 08:36:35 | 1-032_validate_dynamic_scaling/1-install | starting test step 1-install logger.go:42: 08:36:35 | 1-032_validate_dynamic_scaling/1-install | running command: [sleep 30s] === CONT kuttl/harness/1-055_validate_notification_controller logger.go:42: 08:36:35 | 1-055_validate_notification_controller/3-add-sleep | ArgoCD:kuttl-test-polished-elephant/example-argocd updated === CONT kuttl/harness/1-061_validate_resource_tracking_method logger.go:42: 08:36:36 | 1-061_validate_resource_tracking_method/1-install | test step completed 1-install logger.go:42: 08:36:36 | 1-061_validate_resource_tracking_method/2-patch_cm_annotation | starting test step 2-patch_cm_annotation logger.go:42: 08:36:36 | 1-061_validate_resource_tracking_method/2-patch_cm_annotation | running command: [sh -c set -e oc patch argocds.argoproj.io argocd --type=merge -p '{"spec":{"resourceTrackingMethod":"annotation"}}' -n $NAMESPACE ] logger.go:42: 08:36:36 | 1-061_validate_resource_tracking_method/2-patch_cm_annotation | argocd.argoproj.io/argocd patched === CONT kuttl/harness/1-055_validate_notification_controller logger.go:42: 08:36:36 | 1-055_validate_notification_controller/3-add-sleep | test step completed 3-add-sleep logger.go:42: 08:36:36 | 1-055_validate_notification_controller | skipping kubernetes event logging logger.go:42: 08:36:36 | 1-055_validate_notification_controller | Deleting namespace: kuttl-test-polished-elephant === CONT kuttl/harness/1-048_validate_controller_sharding logger.go:42: 08:36:37 | 1-048_validate_controller_sharding | Creating namespace: kuttl-test-knowing-calf logger.go:42: 08:36:37 | 1-048_validate_controller_sharding/1-install | starting test step 1-install === CONT kuttl/harness/1-061_validate_resource_tracking_method logger.go:42: 08:36:37 | 1-061_validate_resource_tracking_method/2-patch_cm_annotation | test step completed 2-patch_cm_annotation logger.go:42: 08:36:37 | 1-061_validate_resource_tracking_method/3-patch_cm_annotation_label | starting test step 3-patch_cm_annotation_label logger.go:42: 08:36:37 | 1-061_validate_resource_tracking_method/3-patch_cm_annotation_label | running command: [sh -c set -e oc patch argocds.argoproj.io argocd --type=merge -p '{"spec":{"resourceTrackingMethod":"annotation+label"}}' -n $NAMESPACE ] === CONT kuttl/harness/1-048_validate_controller_sharding logger.go:42: 08:36:37 | 1-048_validate_controller_sharding/1-install | ArgoCD:kuttl-test-knowing-calf/argocd created === CONT kuttl/harness/1-061_validate_resource_tracking_method logger.go:42: 08:36:38 | 1-061_validate_resource_tracking_method/3-patch_cm_annotation_label | argocd.argoproj.io/argocd patched logger.go:42: 08:36:39 | 1-061_validate_resource_tracking_method/3-patch_cm_annotation_label | test step completed 3-patch_cm_annotation_label logger.go:42: 08:36:39 | 1-061_validate_resource_tracking_method/4-patch_cm_invalid_method | starting test step 4-patch_cm_invalid_method logger.go:42: 08:36:39 | 1-061_validate_resource_tracking_method/4-patch_cm_invalid_method | running command: [sh -c set -e oc patch argocds.argoproj.io argocd --type=merge -p '{"spec":{"resourceTrackingMethod":"invalid_method"}}' -n $NAMESPACE ] logger.go:42: 08:36:39 | 1-061_validate_resource_tracking_method/4-patch_cm_invalid_method | argocd.argoproj.io/argocd patched logger.go:42: 08:36:40 | 1-061_validate_resource_tracking_method/4-patch_cm_invalid_method | test step completed 4-patch_cm_invalid_method logger.go:42: 08:36:40 | 1-061_validate_resource_tracking_method | skipping kubernetes event logging logger.go:42: 08:36:40 | 1-061_validate_resource_tracking_method | Deleting namespace: kuttl-test-whole-mustang === CONT kuttl/harness/1-047_validate_custom_env logger.go:42: 08:36:42 | 1-047_validate_custom_env | Creating namespace: kuttl-test-sunny-monkfish logger.go:42: 08:36:42 | 1-047_validate_custom_env/1-install | starting test step 1-install logger.go:42: 08:36:42 | 1-047_validate_custom_env/1-install | ArgoCD:kuttl-test-sunny-monkfish/argocd created === CONT kuttl/harness/1-098_validate_dex_clientsecret_deprecated logger.go:42: 08:36:46 | 1-098_validate_dex_clientsecret_deprecated | Creating namespace: kuttl-test-frank-monkey logger.go:42: 08:36:46 | 1-098_validate_dex_clientsecret_deprecated/1-install | starting test step 1-install logger.go:42: 08:36:46 | 1-098_validate_dex_clientsecret_deprecated/1-install | ArgoCD:kuttl-test-frank-monkey/example-argocd created === CONT kuttl/harness/1-032_validate_dynamic_scaling logger.go:42: 08:37:05 | 1-032_validate_dynamic_scaling/1-install | ArgoCD:kuttl-test-pure-pangolin/argocd created === CONT kuttl/harness/1-048_validate_controller_sharding logger.go:42: 08:37:09 | 1-048_validate_controller_sharding/1-install | test step completed 1-install logger.go:42: 08:37:09 | 1-048_validate_controller_sharding/2-change-sharding | starting test step 2-change-sharding logger.go:42: 08:37:09 | 1-048_validate_controller_sharding/2-change-sharding | ArgoCD:kuttl-test-knowing-calf/argocd updated === CONT kuttl/harness/1-047_validate_custom_env logger.go:42: 08:37:13 | 1-047_validate_custom_env/1-install | test step completed 1-install logger.go:42: 08:37:13 | 1-047_validate_custom_env/2-change-env-vars | starting test step 2-change-env-vars logger.go:42: 08:37:13 | 1-047_validate_custom_env/2-change-env-vars | ArgoCD:kuttl-test-sunny-monkfish/argocd updated logger.go:42: 08:37:13 | 1-047_validate_custom_env/2-change-env-vars | test step completed 2-change-env-vars logger.go:42: 08:37:13 | 1-047_validate_custom_env/3-check-workloads | starting test step 3-check-workloads logger.go:42: 08:37:13 | 1-047_validate_custom_env/3-check-workloads | running command: [sh -c sleep 10] === CONT kuttl/harness/1-098_validate_dex_clientsecret_deprecated logger.go:42: 08:37:19 | 1-098_validate_dex_clientsecret_deprecated/1-install | test step completed 1-install logger.go:42: 08:37:19 | 1-098_validate_dex_clientsecret_deprecated/2-verify-clientsecret | starting test step 2-verify-clientsecret logger.go:42: 08:37:19 | 1-098_validate_dex_clientsecret_deprecated/2-verify-clientsecret | running command: [sh -c # This test validates the Dex Client Secret copied by the operator from dex serviceaccount token secret in to argocd-secret. # To verify the behavior we should first get the token secret name of the dex service account. secret=$(oc get -n $NAMESPACE sa example-argocd-argocd-dex-server -o json | jq -r '.secrets' | grep token | sed 's/ "name": "//g' | sed 's/"//g') # Extract the clientSecret expectedClientSecret=$(oc get secret $secret -n $NAMESPACE -o json | jq -r '.data.token') # actualClientSecret is the value of the secret in argocd-secret where argocd-operator should copy the secret from actualClientSecret=$(oc get secret argocd-secret -o json -n $NAMESPACE | jq -r '.data."oidc.dex.clientSecret"') # Verify if [[ ${expectedClientSecret} != ${actualClientSecret} ]]; then echo "Error: Dex Client Secret for OIDC is not valid" exit 1 fi ] logger.go:42: 08:37:20 | 1-098_validate_dex_clientsecret_deprecated/2-verify-clientsecret | test step completed 2-verify-clientsecret logger.go:42: 08:37:20 | 1-098_validate_dex_clientsecret_deprecated | skipping kubernetes event logging logger.go:42: 08:37:20 | 1-098_validate_dex_clientsecret_deprecated | Deleting namespace: kuttl-test-frank-monkey === CONT kuttl/harness/1-047_validate_custom_env logger.go:42: 08:37:23 | 1-047_validate_custom_env/3-check-workloads | running command: [sh -c set -e set -o pipefail for wl in deployment/argocd-server deployment/argocd-repo-server statefulset/argocd-application-controller; do val=$(oc get -n $NAMESPACE $wl -o json | jq -r '.spec.template.spec.containers[0].env[]|select(.name=="FOO").value') if test "$val" != "bar"; then echo "Environment for $wl was not set correctly." exit 1 fi done ] logger.go:42: 08:37:25 | 1-047_validate_custom_env/3-check-workloads | test step completed 3-check-workloads logger.go:42: 08:37:25 | 1-047_validate_custom_env | skipping kubernetes event logging logger.go:42: 08:37:25 | 1-047_validate_custom_env | Deleting namespace: kuttl-test-sunny-monkfish === CONT kuttl/harness/1-092_validate_workload_status_monitoring_alert logger.go:42: 08:37:26 | 1-092_validate_workload_status_monitoring_alert | Creating namespace: kuttl-test-picked-werewolf logger.go:42: 08:37:26 | 1-092_validate_workload_status_monitoring_alert/1-install | starting test step 1-install logger.go:42: 08:37:26 | 1-092_validate_workload_status_monitoring_alert/1-install | ArgoCD:kuttl-test-picked-werewolf/argocd created === CONT kuttl/harness/1-009_validate-manage-other-namespace logger.go:42: 08:37:30 | 1-009_validate-manage-other-namespace | Ignoring README.md as it does not match file name regexp: ^(\d+)-(?:[^\.]+)(?:\.yaml)?$ logger.go:42: 08:37:30 | 1-009_validate-manage-other-namespace | Ignoring errors.yaml as it does not match file name regexp: ^(\d+)-(?:[^\.]+)(?:\.yaml)?$ logger.go:42: 08:37:30 | 1-009_validate-manage-other-namespace | Creating namespace: kuttl-test-pleasant-roughy logger.go:42: 08:37:30 | 1-009_validate-manage-other-namespace/1-install | starting test step 1-install logger.go:42: 08:37:30 | 1-009_validate-manage-other-namespace/1-install | Namespace:/test-1-9-custom created logger.go:42: 08:37:30 | 1-009_validate-manage-other-namespace/1-install | ArgoCD:kuttl-test-pleasant-roughy/argocd created === CONT kuttl/harness/1-032_validate_dynamic_scaling logger.go:42: 08:37:36 | 1-032_validate_dynamic_scaling/1-install | test step completed 1-install logger.go:42: 08:37:36 | 1-032_validate_dynamic_scaling/2-add-cluster-secrets | starting test step 2-add-cluster-secrets logger.go:42: 08:37:36 | 1-032_validate_dynamic_scaling/2-add-cluster-secrets | running command: [sleep 30s] === CONT kuttl/harness/1-048_validate_controller_sharding logger.go:42: 08:37:42 | 1-048_validate_controller_sharding/2-change-sharding | test step completed 2-change-sharding logger.go:42: 08:37:42 | 1-048_validate_controller_sharding/3-check-env | starting test step 3-check-env logger.go:42: 08:37:42 | 1-048_validate_controller_sharding/3-check-env | running command: [sh -c replicas=$(oc get -n $NAMESPACE statefulset argocd-application-controller -o json \ | jq -r '.spec.template.spec.containers[0].env[]|select(.name=="ARGOCD_CONTROLLER_REPLICAS").value') if test "$replicas" != "3"; then echo "Environment ARGOCD_CONTROLLER_REPLICAS not correct. Should '3', is '$replicas'" exit 1 fi ] logger.go:42: 08:37:42 | 1-048_validate_controller_sharding/3-check-env | test step completed 3-check-env logger.go:42: 08:37:42 | 1-048_validate_controller_sharding/4-change-sharding | starting test step 4-change-sharding logger.go:42: 08:37:42 | 1-048_validate_controller_sharding/4-change-sharding | ArgoCD:kuttl-test-knowing-calf/argocd updated logger.go:42: 08:37:44 | 1-048_validate_controller_sharding/4-change-sharding | test step completed 4-change-sharding logger.go:42: 08:37:44 | 1-048_validate_controller_sharding/5-check-env | starting test step 5-check-env logger.go:42: 08:37:44 | 1-048_validate_controller_sharding/5-check-env | running command: [sh -c # we do expect error from jq here if env is not set at all replicas=$(oc get -n $NAMESPACE statefulset argocd-application-controller -o json \ | jq -r '.spec.template.spec.containers[0].env[]|select(.name=="ARGOCD_CONTROLLER_REPLICASE").value') if test "$replicas" != ""; then echo "Environment ARGOCD_CONTROLLER_REPLICAS not correct. Should '', is '$replicas'" exit 1 fi ] logger.go:42: 08:37:45 | 1-048_validate_controller_sharding/5-check-env | test step completed 5-check-env logger.go:42: 08:37:45 | 1-048_validate_controller_sharding | skipping kubernetes event logging logger.go:42: 08:37:45 | 1-048_validate_controller_sharding | Deleting namespace: kuttl-test-knowing-calf === CONT kuttl/harness/1-045_validate_repo_exec_timeout logger.go:42: 08:37:50 | 1-045_validate_repo_exec_timeout | Creating namespace: kuttl-test-caring-squid logger.go:42: 08:37:50 | 1-045_validate_repo_exec_timeout/1-install | starting test step 1-install logger.go:42: 08:37:50 | 1-045_validate_repo_exec_timeout/1-install | ArgoCD:kuttl-test-caring-squid/argocd created === CONT kuttl/harness/1-092_validate_workload_status_monitoring_alert logger.go:42: 08:37:57 | 1-092_validate_workload_status_monitoring_alert/1-install | test step completed 1-install logger.go:42: 08:37:57 | 1-092_validate_workload_status_monitoring_alert/2-verify-alert | starting test step 2-verify-alert logger.go:42: 08:37:57 | 1-092_validate_workload_status_monitoring_alert/2-verify-alert | running command: [sh -c sleep 7m] === CONT kuttl/harness/1-009_validate-manage-other-namespace logger.go:42: 08:38:02 | 1-009_validate-manage-other-namespace/1-install | test step completed 1-install logger.go:42: 08:38:02 | 1-009_validate-manage-other-namespace/2-label-namespace | starting test step 2-label-namespace logger.go:42: 08:38:02 | 1-009_validate-manage-other-namespace/2-label-namespace | running command: [sh -c kubectl label ns test-1-9-custom argocd.argoproj.io/managed-by=$NAMESPACE] logger.go:42: 08:38:02 | 1-009_validate-manage-other-namespace/2-label-namespace | namespace/test-1-9-custom labeled logger.go:42: 08:38:03 | 1-009_validate-manage-other-namespace/2-label-namespace | test step completed 2-label-namespace logger.go:42: 08:38:03 | 1-009_validate-manage-other-namespace/3-check-secret | starting test step 3-check-secret logger.go:42: 08:38:03 | 1-009_validate-manage-other-namespace/3-check-secret | running command: [sh -c namespaces=$(oc get secret -n $NAMESPACE argocd-default-cluster-config -o jsonpath='{.data.namespaces}' | base64 -d) if test "$namespaces" != "$NAMESPACE,test-1-9-custom"; then echo "Assertion for cluster secret failed!" exit 1 fi exit 0 ] logger.go:42: 08:38:04 | 1-009_validate-manage-other-namespace/3-check-secret | test step completed 3-check-secret logger.go:42: 08:38:04 | 1-009_validate-manage-other-namespace/4-create-application | starting test step 4-create-application logger.go:42: 08:38:04 | 1-009_validate-manage-other-namespace/4-create-application | Application:kuttl-test-pleasant-roughy/test-1-9-custom created === CONT kuttl/harness/1-032_validate_dynamic_scaling logger.go:42: 08:38:06 | 1-032_validate_dynamic_scaling/2-add-cluster-secrets | Secret:kuttl-test-pure-pangolin/cluster-1 created logger.go:42: 08:38:06 | 1-032_validate_dynamic_scaling/2-add-cluster-secrets | Secret:kuttl-test-pure-pangolin/cluster-2 created === CONT kuttl/harness/1-009_validate-manage-other-namespace logger.go:42: 08:38:14 | 1-009_validate-manage-other-namespace/4-create-application | test step completed 4-create-application logger.go:42: 08:38:14 | 1-009_validate-manage-other-namespace/5-unlabel-namespace | starting test step 5-unlabel-namespace logger.go:42: 08:38:14 | 1-009_validate-manage-other-namespace/5-unlabel-namespace | running command: [sh -c kubectl label ns test-1-9-custom argocd.argoproj.io/managed-by-] logger.go:42: 08:38:14 | 1-009_validate-manage-other-namespace/5-unlabel-namespace | namespace/test-1-9-custom unlabeled logger.go:42: 08:38:14 | 1-009_validate-manage-other-namespace/5-unlabel-namespace | running command: [sh -c sleep 5] logger.go:42: 08:38:19 | 1-009_validate-manage-other-namespace/5-unlabel-namespace | test step completed 5-unlabel-namespace logger.go:42: 08:38:19 | 1-009_validate-manage-other-namespace/6-check-secret | starting test step 6-check-secret logger.go:42: 08:38:19 | 1-009_validate-manage-other-namespace/6-check-secret | running command: [sh -c namespaces=$(oc get secret -n $NAMESPACE argocd-default-cluster-config -o jsonpath='{.data.namespaces}' | base64 -d) if test "$namespaces" != "$NAMESPACE"; then echo "Assertion for cluster secret failed!" exit 1 fi exit 0 ] logger.go:42: 08:38:20 | 1-009_validate-manage-other-namespace/6-check-secret | test step completed 6-check-secret logger.go:42: 08:38:20 | 1-009_validate-manage-other-namespace/7-check | starting test step 7-check logger.go:42: 08:38:20 | 1-009_validate-manage-other-namespace/7-check | test step completed 7-check logger.go:42: 08:38:20 | 1-009_validate-manage-other-namespace/99-delete | starting test step 99-delete === CONT kuttl/harness/1-045_validate_repo_exec_timeout logger.go:42: 08:38:23 | 1-045_validate_repo_exec_timeout/1-install | test step completed 1-install logger.go:42: 08:38:23 | 1-045_validate_repo_exec_timeout/2-change-exec-timeout | starting test step 2-change-exec-timeout logger.go:42: 08:38:23 | 1-045_validate_repo_exec_timeout/2-change-exec-timeout | ArgoCD:kuttl-test-caring-squid/argocd updated logger.go:42: 08:38:23 | 1-045_validate_repo_exec_timeout/2-change-exec-timeout | test step completed 2-change-exec-timeout logger.go:42: 08:38:23 | 1-045_validate_repo_exec_timeout/4-check-workload-env | starting test step 4-check-workload-env logger.go:42: 08:38:23 | 1-045_validate_repo_exec_timeout/4-check-workload-env | running command: [sh -c sleep 10] === CONT kuttl/harness/1-009_validate-manage-other-namespace logger.go:42: 08:38:31 | 1-009_validate-manage-other-namespace/99-delete | test step completed 99-delete logger.go:42: 08:38:31 | 1-009_validate-manage-other-namespace | skipping kubernetes event logging logger.go:42: 08:38:31 | 1-009_validate-manage-other-namespace | Deleting namespace: kuttl-test-pleasant-roughy === CONT kuttl/harness/1-045_validate_repo_exec_timeout logger.go:42: 08:38:33 | 1-045_validate_repo_exec_timeout/4-check-workload-env | running command: [sh -c timeout=$(oc get -n $NAMESPACE deployment argocd-repo-server -o json \ | jq -r '.spec.template.spec.containers[0].env[]|select(.name=="ARGOCD_EXEC_TIMEOUT").value') if test "$timeout" != "300s"; then echo "Assertion failed. Timeout should be 300, is '$timeout'" exit 1 fi ] logger.go:42: 08:38:33 | 1-045_validate_repo_exec_timeout/4-check-workload-env | test step completed 4-check-workload-env logger.go:42: 08:38:33 | 1-045_validate_repo_exec_timeout | skipping kubernetes event logging logger.go:42: 08:38:33 | 1-045_validate_repo_exec_timeout | Deleting namespace: kuttl-test-caring-squid === CONT kuttl/harness/1-045_validate_applicationset_image_override logger.go:42: 08:38:36 | 1-045_validate_applicationset_image_override | Creating namespace: kuttl-test-probable-amoeba logger.go:42: 08:38:36 | 1-045_validate_applicationset_image_override/1-add_applicationset_image | starting test step 1-add_applicationset_image logger.go:42: 08:38:36 | 1-045_validate_applicationset_image_override/1-add_applicationset_image | ArgoCD:kuttl-test-probable-amoeba/example-argocd created logger.go:42: 08:38:37 | 1-045_validate_applicationset_image_override/1-add_applicationset_image | test step completed 1-add_applicationset_image logger.go:42: 08:38:37 | 1-045_validate_applicationset_image_override/2-remove_argocdcustom_image | starting test step 2-remove_argocdcustom_image logger.go:42: 08:38:37 | 1-045_validate_applicationset_image_override/2-remove_argocdcustom_image | ArgoCD:kuttl-test-probable-amoeba/example-argocd updated logger.go:42: 08:38:38 | 1-045_validate_applicationset_image_override/2-remove_argocdcustom_image | test step completed 2-remove_argocdcustom_image logger.go:42: 08:38:38 | 1-045_validate_applicationset_image_override | skipping kubernetes event logging logger.go:42: 08:38:38 | 1-045_validate_applicationset_image_override | Deleting namespace: kuttl-test-probable-amoeba === CONT kuttl/harness/1-032_validate_dynamic_scaling logger.go:42: 08:38:39 | 1-032_validate_dynamic_scaling/2-add-cluster-secrets | test step completed 2-add-cluster-secrets logger.go:42: 08:38:39 | 1-032_validate_dynamic_scaling/3-cluster-secrets-exceed-maxShards | starting test step 3-cluster-secrets-exceed-maxShards logger.go:42: 08:38:39 | 1-032_validate_dynamic_scaling/3-cluster-secrets-exceed-maxShards | running command: [sleep 60s] === CONT kuttl/harness/1-044_validate_resource_limit_changes logger.go:42: 08:38:39 | 1-044_validate_resource_limit_changes | Creating namespace: kuttl-test-concise-herring logger.go:42: 08:38:39 | 1-044_validate_resource_limit_changes/1-install | starting test step 1-install logger.go:42: 08:38:39 | 1-044_validate_resource_limit_changes/1-install | ArgoCD:kuttl-test-concise-herring/argocd created === CONT kuttl/harness/1-030_validate_reencrypt logger.go:42: 08:38:44 | 1-030_validate_reencrypt | Creating namespace: kuttl-test-willing-hound logger.go:42: 08:38:44 | 1-030_validate_reencrypt/1-install | starting test step 1-install logger.go:42: 08:38:44 | 1-030_validate_reencrypt/1-install | Namespace:/test-1-30-argo1 created logger.go:42: 08:38:44 | 1-030_validate_reencrypt/1-install | ArgoCD:test-1-30-argo1/argocd created === CONT kuttl/harness/1-044_validate_resource_limit_changes logger.go:42: 08:39:11 | 1-044_validate_resource_limit_changes/1-install | test step completed 1-install logger.go:42: 08:39:11 | 1-044_validate_resource_limit_changes/2-change-limits | starting test step 2-change-limits logger.go:42: 08:39:11 | 1-044_validate_resource_limit_changes/2-change-limits | ArgoCD:kuttl-test-concise-herring/argocd updated logger.go:42: 08:39:11 | 1-044_validate_resource_limit_changes/2-change-limits | test step completed 2-change-limits logger.go:42: 08:39:11 | 1-044_validate_resource_limit_changes/4-check-workloads | starting test step 4-check-workloads logger.go:42: 08:39:11 | 1-044_validate_resource_limit_changes/4-check-workloads | running command: [sh -c sleep 10] === CONT kuttl/harness/1-030_validate_reencrypt logger.go:42: 08:39:16 | 1-030_validate_reencrypt/1-install | test step completed 1-install logger.go:42: 08:39:16 | 1-030_validate_reencrypt/2-wait | starting test step 2-wait logger.go:42: 08:39:16 | 1-030_validate_reencrypt/2-wait | running command: [sh -c function wait_until_pods_running() { echo -n "Waiting until all pods in namespace $1 are up" for i in {1..150}; do # timeout after 5 minutes local pods="$(oc get pods --no-headers -n $1 2>/dev/null)" # All pods must be running local not_running=$(echo "${pods}" | grep -v Running | grep -v Completed | wc -l) if [[ -n "${pods}" && ${not_running} -eq 0 ]]; then local all_ready=1 while read pod ; do local status=(`echo -n ${pod} | cut -f2 -d' ' | tr '/' ' '`) # All containers must be ready [[ -z ${status[0]} ]] && all_ready=0 && break [[ -z ${status[1]} ]] && all_ready=0 && break [[ ${status[0]} -lt 1 ]] && all_ready=0 && break [[ ${status[1]} -lt 1 ]] && all_ready=0 && break [[ ${status[0]} -ne ${status[1]} ]] && all_ready=0 && break done <<< $(echo "${pods}" | grep -v Completed) if (( all_ready )); then echo -e "\nAll pods are up:\n${pods}" return 0 fi fi echo -n "." sleep 2 done echo -e "\n\nERROR: timeout waiting for pods to come up\n${pods}" return 1 } wait_until_pods_running "test-1-30-argo1" ] logger.go:42: 08:39:16 | 1-030_validate_reencrypt/2-wait | Waiting until all pods in namespace test-1-30-argo1 are up logger.go:42: 08:39:16 | 1-030_validate_reencrypt/2-wait | All pods are up: logger.go:42: 08:39:16 | 1-030_validate_reencrypt/2-wait | argocd-application-controller-0 1/1 Running 0 31s logger.go:42: 08:39:16 | 1-030_validate_reencrypt/2-wait | argocd-redis-78f558c8cb-gfcw8 1/1 Running 0 31s logger.go:42: 08:39:16 | 1-030_validate_reencrypt/2-wait | argocd-repo-server-dfcc98b8-6st9s 1/1 Running 0 31s logger.go:42: 08:39:16 | 1-030_validate_reencrypt/2-wait | argocd-server-59fb5b5759-2ftkw 1/1 Running 0 31s logger.go:42: 08:39:16 | 1-030_validate_reencrypt/2-wait | test step completed 2-wait logger.go:42: 08:39:16 | 1-030_validate_reencrypt/3-check-route | starting test step 3-check-route logger.go:42: 08:39:16 | 1-030_validate_reencrypt/3-check-route | running command: [sh -c routeURL=$(oc -n test-1-30-argo1 get route argocd-server -o jsonpath='{.status.ingress[0].host}') if ! curl --silent -k https://${routeURL} | grep -q "Your browser does not support JavaScript."; then echo "Route not configured properly" exit 1 fi ] logger.go:42: 08:39:17 | 1-030_validate_reencrypt/3-check-route | test step completed 3-check-route logger.go:42: 08:39:17 | 1-030_validate_reencrypt | skipping kubernetes event logging logger.go:42: 08:39:17 | 1-030_validate_reencrypt | Deleting namespace: kuttl-test-willing-hound === CONT kuttl/harness/1-044_validate_resource_limit_changes logger.go:42: 08:39:21 | 1-044_validate_resource_limit_changes/4-check-workloads | running command: [sh -c set -e set -o pipefail for wl in deployments/argocd-server deployments/argocd-repo-server statefulsets/argocd-application-controller; do res=$(oc get -n $NAMESPACE $wl -o jsonpath='{.spec.template.spec.containers[0].resources.limits.cpu}') if test "$res" != "2"; then echo "Reconciliation of resources for $wl failed: Should be 2, is '$res'" exit 1 fi done ] === CONT kuttl/harness/1-043_validate_log_level_format logger.go:42: 08:39:22 | 1-043_validate_log_level_format | Creating namespace: kuttl-test-distinct-rooster logger.go:42: 08:39:22 | 1-043_validate_log_level_format/1-install | starting test step 1-install logger.go:42: 08:39:22 | 1-043_validate_log_level_format/1-install | ArgoCD:kuttl-test-distinct-rooster/argocd created === CONT kuttl/harness/1-044_validate_resource_limit_changes logger.go:42: 08:39:23 | 1-044_validate_resource_limit_changes/4-check-workloads | test step completed 4-check-workloads logger.go:42: 08:39:23 | 1-044_validate_resource_limit_changes | skipping kubernetes event logging logger.go:42: 08:39:23 | 1-044_validate_resource_limit_changes | Deleting namespace: kuttl-test-concise-herring === CONT kuttl/harness/1-029_validate_tls_secret_no_scale logger.go:42: 08:39:28 | 1-029_validate_tls_secret_no_scale | Creating namespace: kuttl-test-stunning-mallard logger.go:42: 08:39:28 | 1-029_validate_tls_secret_no_scale/1-install | starting test step 1-install logger.go:42: 08:39:28 | 1-029_validate_tls_secret_no_scale/1-install | ArgoCD:kuttl-test-stunning-mallard/argocd created === CONT kuttl/harness/1-032_validate_dynamic_scaling logger.go:42: 08:39:39 | 1-032_validate_dynamic_scaling/3-cluster-secrets-exceed-maxShards | Secret:kuttl-test-pure-pangolin/cluster-3 created logger.go:42: 08:39:39 | 1-032_validate_dynamic_scaling/3-cluster-secrets-exceed-maxShards | Secret:kuttl-test-pure-pangolin/cluster-4 created logger.go:42: 08:39:39 | 1-032_validate_dynamic_scaling/3-cluster-secrets-exceed-maxShards | Secret:kuttl-test-pure-pangolin/cluster-5 created logger.go:42: 08:39:39 | 1-032_validate_dynamic_scaling/3-cluster-secrets-exceed-maxShards | Secret:kuttl-test-pure-pangolin/cluster-6 created logger.go:42: 08:39:39 | 1-032_validate_dynamic_scaling/3-cluster-secrets-exceed-maxShards | running command: [sh -c stsReplicas=$(kubectl get sts argocd-application-controller -n $NAMESPACE -o jsonpath='{.status.replicas}') echo "$stsReplicas" if test "$stsReplicas" != "4"; then echo "FAILED! Number of replicas not equal to maxShards" exit 1 fi exit 0 ] logger.go:42: 08:39:39 | 1-032_validate_dynamic_scaling/3-cluster-secrets-exceed-maxShards | 4 logger.go:42: 08:39:40 | 1-032_validate_dynamic_scaling/3-cluster-secrets-exceed-maxShards | running command: [sh -c stsReplicas=$(kubectl get sts argocd-application-controller -n $NAMESPACE -o jsonpath='{.status.replicas}') echo "$stsReplicas" if test "$stsReplicas" != "4"; then echo "FAILED! Number of replicas not equal to maxShards" exit 1 fi exit 0 ] logger.go:42: 08:39:41 | 1-032_validate_dynamic_scaling/3-cluster-secrets-exceed-maxShards | 4 logger.go:42: 08:39:42 | 1-032_validate_dynamic_scaling/3-cluster-secrets-exceed-maxShards | running command: [sh -c stsReplicas=$(kubectl get sts argocd-application-controller -n $NAMESPACE -o jsonpath='{.status.replicas}') echo "$stsReplicas" if test "$stsReplicas" != "4"; then echo "FAILED! Number of replicas not equal to maxShards" exit 1 fi exit 0 ] logger.go:42: 08:39:42 | 1-032_validate_dynamic_scaling/3-cluster-secrets-exceed-maxShards | 4 logger.go:42: 08:39:43 | 1-032_validate_dynamic_scaling/3-cluster-secrets-exceed-maxShards | running command: [sh -c stsReplicas=$(kubectl get sts argocd-application-controller -n $NAMESPACE -o jsonpath='{.status.replicas}') echo "$stsReplicas" if test "$stsReplicas" != "4"; then echo "FAILED! Number of replicas not equal to maxShards" exit 1 fi exit 0 ] logger.go:42: 08:39:43 | 1-032_validate_dynamic_scaling/3-cluster-secrets-exceed-maxShards | 4 logger.go:42: 08:39:44 | 1-032_validate_dynamic_scaling/3-cluster-secrets-exceed-maxShards | running command: [sh -c stsReplicas=$(kubectl get sts argocd-application-controller -n $NAMESPACE -o jsonpath='{.status.replicas}') echo "$stsReplicas" if test "$stsReplicas" != "4"; then echo "FAILED! Number of replicas not equal to maxShards" exit 1 fi exit 0 ] logger.go:42: 08:39:45 | 1-032_validate_dynamic_scaling/3-cluster-secrets-exceed-maxShards | 4 logger.go:42: 08:39:46 | 1-032_validate_dynamic_scaling/3-cluster-secrets-exceed-maxShards | running command: [sh -c stsReplicas=$(kubectl get sts argocd-application-controller -n $NAMESPACE -o jsonpath='{.status.replicas}') echo "$stsReplicas" if test "$stsReplicas" != "4"; then echo "FAILED! Number of replicas not equal to maxShards" exit 1 fi exit 0 ] logger.go:42: 08:39:46 | 1-032_validate_dynamic_scaling/3-cluster-secrets-exceed-maxShards | 4 === CONT kuttl/harness/1-108_alternate_cluster_roles_cluster_scoped_instance logger.go:42: 08:39:46 | 1-108_alternate_cluster_roles_cluster_scoped_instance/4-create-app | test step completed 4-create-app logger.go:42: 08:39:46 | 1-108_alternate_cluster_roles_cluster_scoped_instance/5-disable-role | starting test step 5-disable-role logger.go:42: 08:39:47 | 1-108_alternate_cluster_roles_cluster_scoped_instance/5-disable-role | ArgoCD:alternate-role/argocd updated === CONT kuttl/harness/1-032_validate_dynamic_scaling logger.go:42: 08:39:47 | 1-032_validate_dynamic_scaling/3-cluster-secrets-exceed-maxShards | running command: [sh -c stsReplicas=$(kubectl get sts argocd-application-controller -n $NAMESPACE -o jsonpath='{.status.replicas}') echo "$stsReplicas" if test "$stsReplicas" != "4"; then echo "FAILED! Number of replicas not equal to maxShards" exit 1 fi exit 0 ] logger.go:42: 08:39:47 | 1-032_validate_dynamic_scaling/3-cluster-secrets-exceed-maxShards | 4 === CONT kuttl/harness/1-108_alternate_cluster_roles_cluster_scoped_instance logger.go:42: 08:39:48 | 1-108_alternate_cluster_roles_cluster_scoped_instance/5-disable-role | test step completed 5-disable-role logger.go:42: 08:39:48 | 1-108_alternate_cluster_roles_cluster_scoped_instance/6-create-cluster-role | starting test step 6-create-cluster-role logger.go:42: 08:39:48 | 1-108_alternate_cluster_roles_cluster_scoped_instance/6-create-cluster-role | ClusterRole:/argocd-alternate-role-argocd-application-controller created logger.go:42: 08:39:48 | 1-108_alternate_cluster_roles_cluster_scoped_instance/6-create-cluster-role | test step completed 6-create-cluster-role logger.go:42: 08:39:48 | 1-108_alternate_cluster_roles_cluster_scoped_instance/7-create-cluster-rolebinding | starting test step 7-create-cluster-rolebinding logger.go:42: 08:39:48 | 1-108_alternate_cluster_roles_cluster_scoped_instance/7-create-cluster-rolebinding | ClusterRoleBinding:/argocd-alternate-role-argocd-application-controller created logger.go:42: 08:39:48 | 1-108_alternate_cluster_roles_cluster_scoped_instance/7-create-cluster-rolebinding | test step completed 7-create-cluster-rolebinding logger.go:42: 08:39:48 | 1-108_alternate_cluster_roles_cluster_scoped_instance/8-delete | starting test step 8-delete === CONT kuttl/harness/1-032_validate_dynamic_scaling logger.go:42: 08:39:48 | 1-032_validate_dynamic_scaling/3-cluster-secrets-exceed-maxShards | running command: [sh -c stsReplicas=$(kubectl get sts argocd-application-controller -n $NAMESPACE -o jsonpath='{.status.replicas}') echo "$stsReplicas" if test "$stsReplicas" != "4"; then echo "FAILED! Number of replicas not equal to maxShards" exit 1 fi exit 0 ] logger.go:42: 08:39:49 | 1-032_validate_dynamic_scaling/3-cluster-secrets-exceed-maxShards | 4 logger.go:42: 08:39:50 | 1-032_validate_dynamic_scaling/3-cluster-secrets-exceed-maxShards | running command: [sh -c stsReplicas=$(kubectl get sts argocd-application-controller -n $NAMESPACE -o jsonpath='{.status.replicas}') echo "$stsReplicas" if test "$stsReplicas" != "4"; then echo "FAILED! Number of replicas not equal to maxShards" exit 1 fi exit 0 ] logger.go:42: 08:39:50 | 1-032_validate_dynamic_scaling/3-cluster-secrets-exceed-maxShards | 4 logger.go:42: 08:39:51 | 1-032_validate_dynamic_scaling/3-cluster-secrets-exceed-maxShards | running command: [sh -c stsReplicas=$(kubectl get sts argocd-application-controller -n $NAMESPACE -o jsonpath='{.status.replicas}') echo "$stsReplicas" if test "$stsReplicas" != "4"; then echo "FAILED! Number of replicas not equal to maxShards" exit 1 fi exit 0 ] logger.go:42: 08:39:52 | 1-032_validate_dynamic_scaling/3-cluster-secrets-exceed-maxShards | 4 logger.go:42: 08:39:53 | 1-032_validate_dynamic_scaling/3-cluster-secrets-exceed-maxShards | running command: [sh -c stsReplicas=$(kubectl get sts argocd-application-controller -n $NAMESPACE -o jsonpath='{.status.replicas}') echo "$stsReplicas" if test "$stsReplicas" != "4"; then echo "FAILED! Number of replicas not equal to maxShards" exit 1 fi exit 0 ] logger.go:42: 08:39:53 | 1-032_validate_dynamic_scaling/3-cluster-secrets-exceed-maxShards | 4 === CONT kuttl/harness/1-108_alternate_cluster_roles_cluster_scoped_instance logger.go:42: 08:39:53 | 1-108_alternate_cluster_roles_cluster_scoped_instance/8-delete | test step completed 8-delete logger.go:42: 08:39:53 | 1-108_alternate_cluster_roles_cluster_scoped_instance/9-check-app-message | starting test step 9-check-app-message logger.go:42: 08:39:53 | 1-108_alternate_cluster_roles_cluster_scoped_instance/9-check-app-message | running command: [sh -c sleep 60 message=$(oc get application.argoproj.io/clusterrole-app -n alternate-role -o jsonpath='{.status.operationState.message}') echo $message if ! [[ $message == *"persistentvolumes is forbidden"* ]]; then exit 1 fi ] === CONT kuttl/harness/1-043_validate_log_level_format logger.go:42: 08:39:54 | 1-043_validate_log_level_format/1-install | test step completed 1-install logger.go:42: 08:39:54 | 1-043_validate_log_level_format/2-change-loglevel | starting test step 2-change-loglevel logger.go:42: 08:39:54 | 1-043_validate_log_level_format/2-change-loglevel | ArgoCD:kuttl-test-distinct-rooster/argocd updated logger.go:42: 08:39:54 | 1-043_validate_log_level_format/2-change-loglevel | test step completed 2-change-loglevel logger.go:42: 08:39:54 | 1-043_validate_log_level_format/3-check-loglevel | starting test step 3-check-loglevel logger.go:42: 08:39:54 | 1-043_validate_log_level_format/3-check-loglevel | running command: [sh -c sleep 15] === CONT kuttl/harness/1-032_validate_dynamic_scaling logger.go:42: 08:39:54 | 1-032_validate_dynamic_scaling/3-cluster-secrets-exceed-maxShards | running command: [sh -c stsReplicas=$(kubectl get sts argocd-application-controller -n $NAMESPACE -o jsonpath='{.status.replicas}') echo "$stsReplicas" if test "$stsReplicas" != "4"; then echo "FAILED! Number of replicas not equal to maxShards" exit 1 fi exit 0 ] logger.go:42: 08:39:55 | 1-032_validate_dynamic_scaling/3-cluster-secrets-exceed-maxShards | 4 logger.go:42: 08:39:56 | 1-032_validate_dynamic_scaling/3-cluster-secrets-exceed-maxShards | running command: [sh -c stsReplicas=$(kubectl get sts argocd-application-controller -n $NAMESPACE -o jsonpath='{.status.replicas}') echo "$stsReplicas" if test "$stsReplicas" != "4"; then echo "FAILED! Number of replicas not equal to maxShards" exit 1 fi exit 0 ] logger.go:42: 08:39:56 | 1-032_validate_dynamic_scaling/3-cluster-secrets-exceed-maxShards | 4 logger.go:42: 08:39:57 | 1-032_validate_dynamic_scaling/3-cluster-secrets-exceed-maxShards | running command: [sh -c stsReplicas=$(kubectl get sts argocd-application-controller -n $NAMESPACE -o jsonpath='{.status.replicas}') echo "$stsReplicas" if test "$stsReplicas" != "4"; then echo "FAILED! Number of replicas not equal to maxShards" exit 1 fi exit 0 ] logger.go:42: 08:39:57 | 1-032_validate_dynamic_scaling/3-cluster-secrets-exceed-maxShards | 4 logger.go:42: 08:39:58 | 1-032_validate_dynamic_scaling/3-cluster-secrets-exceed-maxShards | running command: [sh -c stsReplicas=$(kubectl get sts argocd-application-controller -n $NAMESPACE -o jsonpath='{.status.replicas}') echo "$stsReplicas" if test "$stsReplicas" != "4"; then echo "FAILED! Number of replicas not equal to maxShards" exit 1 fi exit 0 ] logger.go:42: 08:39:59 | 1-032_validate_dynamic_scaling/3-cluster-secrets-exceed-maxShards | 4 logger.go:42: 08:40:00 | 1-032_validate_dynamic_scaling/3-cluster-secrets-exceed-maxShards | running command: [sh -c stsReplicas=$(kubectl get sts argocd-application-controller -n $NAMESPACE -o jsonpath='{.status.replicas}') echo "$stsReplicas" if test "$stsReplicas" != "4"; then echo "FAILED! Number of replicas not equal to maxShards" exit 1 fi exit 0 ] === CONT kuttl/harness/1-029_validate_tls_secret_no_scale logger.go:42: 08:40:00 | 1-029_validate_tls_secret_no_scale/1-install | test step completed 1-install logger.go:42: 08:40:00 | 1-029_validate_tls_secret_no_scale/2-create-tls-secret | starting test step 2-create-tls-secret logger.go:42: 08:40:00 | 1-029_validate_tls_secret_no_scale/2-create-tls-secret | running command: [sh -c openssl req -x509 -newkey rsa:4096 -keyout /tmp/test-029-key.pem -out /tmp/test-029-cert.pem -subj '/CN=test-029-cert' -days 365 -nodes cert=$(cat /tmp/test-029-cert.pem | base64 -w 0) key=$(cat /tmp/test-029-key.pem | base64 -w 0) # Dirty hack to replace argocd-tls cat <<_EOF_ | oc replace -n $NAMESPACE secret argocd-tls -f - apiVersion: v1 kind: Secret type: kubernetes.io/tls metadata: name: argocd-tls namespace: $NAMESPACE data: tls.key: $key tls.crt: $cert _EOF_ ] === CONT kuttl/harness/1-032_validate_dynamic_scaling logger.go:42: 08:40:00 | 1-032_validate_dynamic_scaling/3-cluster-secrets-exceed-maxShards | 4 === CONT kuttl/harness/1-029_validate_tls_secret_no_scale logger.go:42: 08:40:00 | 1-029_validate_tls_secret_no_scale/2-create-tls-secret | .......+..+...+...+....+...+++++++++++++++++++++++++++++++++++++++++++++*.....+.+..+.......+++++++++++++++++++++++++++++++++++++++++++++*....+.....+...............+...+...+.........+..................+.+..............+..........+...+++++ logger.go:42: 08:40:00 | 1-029_validate_tls_secret_no_scale/2-create-tls-secret | ...+..+.+...........+......+...+.+...+..+...+...+..........+...+.....+......+...+..........+.....+.+...............+..+...+....+++++++++++++++++++++++++++++++++++++++++++++*....+++++++++++++++++++++++++++++++++++++++++++++*.+............+...+.+.....+..........+.....+.......+.........+..................+..+...+...+.........+......+.........+...................+......+......+.....+...+.+...+...+.........+........+...+............+......+.+...+......+..+............+.+.........+.....+.+..+++++ logger.go:42: 08:40:00 | 1-029_validate_tls_secret_no_scale/2-create-tls-secret | ----- logger.go:42: 08:40:01 | 1-029_validate_tls_secret_no_scale/2-create-tls-secret | secret/argocd-tls replaced logger.go:42: 08:40:01 | 1-029_validate_tls_secret_no_scale/2-create-tls-secret | test step completed 2-create-tls-secret logger.go:42: 08:40:01 | 1-029_validate_tls_secret_no_scale/3-sleep-and-recheck | starting test step 3-sleep-and-recheck logger.go:42: 08:40:01 | 1-029_validate_tls_secret_no_scale/3-sleep-and-recheck | running command: [sh -c sleep 10] === CONT kuttl/harness/1-032_validate_dynamic_scaling logger.go:42: 08:40:01 | 1-032_validate_dynamic_scaling/3-cluster-secrets-exceed-maxShards | running command: [sh -c stsReplicas=$(kubectl get sts argocd-application-controller -n $NAMESPACE -o jsonpath='{.status.replicas}') echo "$stsReplicas" if test "$stsReplicas" != "4"; then echo "FAILED! Number of replicas not equal to maxShards" exit 1 fi exit 0 ] logger.go:42: 08:40:01 | 1-032_validate_dynamic_scaling/3-cluster-secrets-exceed-maxShards | 3 logger.go:42: 08:40:01 | 1-032_validate_dynamic_scaling/3-cluster-secrets-exceed-maxShards | FAILED! Number of replicas not equal to maxShards logger.go:42: 08:40:02 | 1-032_validate_dynamic_scaling/3-cluster-secrets-exceed-maxShards | running command: [sh -c stsReplicas=$(kubectl get sts argocd-application-controller -n $NAMESPACE -o jsonpath='{.status.replicas}') echo "$stsReplicas" if test "$stsReplicas" != "4"; then echo "FAILED! Number of replicas not equal to maxShards" exit 1 fi exit 0 ] logger.go:42: 08:40:03 | 1-032_validate_dynamic_scaling/3-cluster-secrets-exceed-maxShards | 4 logger.go:42: 08:40:04 | 1-032_validate_dynamic_scaling/3-cluster-secrets-exceed-maxShards | running command: [sh -c stsReplicas=$(kubectl get sts argocd-application-controller -n $NAMESPACE -o jsonpath='{.status.replicas}') echo "$stsReplicas" if test "$stsReplicas" != "4"; then echo "FAILED! Number of replicas not equal to maxShards" exit 1 fi exit 0 ] logger.go:42: 08:40:04 | 1-032_validate_dynamic_scaling/3-cluster-secrets-exceed-maxShards | 4 logger.go:42: 08:40:05 | 1-032_validate_dynamic_scaling/3-cluster-secrets-exceed-maxShards | running command: [sh -c stsReplicas=$(kubectl get sts argocd-application-controller -n $NAMESPACE -o jsonpath='{.status.replicas}') echo "$stsReplicas" if test "$stsReplicas" != "4"; then echo "FAILED! Number of replicas not equal to maxShards" exit 1 fi exit 0 ] logger.go:42: 08:40:05 | 1-032_validate_dynamic_scaling/3-cluster-secrets-exceed-maxShards | 4 logger.go:42: 08:40:07 | 1-032_validate_dynamic_scaling/3-cluster-secrets-exceed-maxShards | running command: [sh -c stsReplicas=$(kubectl get sts argocd-application-controller -n $NAMESPACE -o jsonpath='{.status.replicas}') echo "$stsReplicas" if test "$stsReplicas" != "4"; then echo "FAILED! Number of replicas not equal to maxShards" exit 1 fi exit 0 ] logger.go:42: 08:40:07 | 1-032_validate_dynamic_scaling/3-cluster-secrets-exceed-maxShards | 4 logger.go:42: 08:40:08 | 1-032_validate_dynamic_scaling/3-cluster-secrets-exceed-maxShards | running command: [sh -c stsReplicas=$(kubectl get sts argocd-application-controller -n $NAMESPACE -o jsonpath='{.status.replicas}') echo "$stsReplicas" if test "$stsReplicas" != "4"; then echo "FAILED! Number of replicas not equal to maxShards" exit 1 fi exit 0 ] logger.go:42: 08:40:08 | 1-032_validate_dynamic_scaling/3-cluster-secrets-exceed-maxShards | 4 === CONT kuttl/harness/1-043_validate_log_level_format logger.go:42: 08:40:09 | 1-043_validate_log_level_format/3-check-loglevel | running command: [sh -c set -e set -o pipefail for wl in deployment/argocd-server deployment/argocd-repo-server statefulset/argocd-application-controller; do wlCommand=$(oc get -n $NAMESPACE $wl -o jsonpath='{.spec.template.spec.containers[0].command}'| jq -r '.[]' ) level="debug" format="json" if ! echo "$wlCommand" | grep -qPz -- "--loglevel\\n$level(\$|\\n)"; then echo "logLevel was not set correctly for $wl" echo "CWD: $wlCommand" exit 1 fi if ! echo "$wlCommand" | grep -qPz -- "--logformat\\n$format(\$|\\n)"; then echo "logFormat was not set correctly for $wl" echo "CWD: $wlCommand" exit 1 fi done ] === CONT kuttl/harness/1-032_validate_dynamic_scaling logger.go:42: 08:40:09 | 1-032_validate_dynamic_scaling/3-cluster-secrets-exceed-maxShards | running command: [sh -c stsReplicas=$(kubectl get sts argocd-application-controller -n $NAMESPACE -o jsonpath='{.status.replicas}') echo "$stsReplicas" if test "$stsReplicas" != "4"; then echo "FAILED! Number of replicas not equal to maxShards" exit 1 fi exit 0 ] logger.go:42: 08:40:10 | 1-032_validate_dynamic_scaling/3-cluster-secrets-exceed-maxShards | 4 === CONT kuttl/harness/1-043_validate_log_level_format logger.go:42: 08:40:10 | 1-043_validate_log_level_format/3-check-loglevel | test step completed 3-check-loglevel logger.go:42: 08:40:10 | 1-043_validate_log_level_format | skipping kubernetes event logging logger.go:42: 08:40:10 | 1-043_validate_log_level_format | Deleting namespace: kuttl-test-distinct-rooster === CONT kuttl/harness/1-029_validate_tls_secret_no_scale logger.go:42: 08:40:11 | 1-029_validate_tls_secret_no_scale/3-sleep-and-recheck | test step completed 3-sleep-and-recheck logger.go:42: 08:40:11 | 1-029_validate_tls_secret_no_scale | skipping kubernetes event logging logger.go:42: 08:40:11 | 1-029_validate_tls_secret_no_scale | Deleting namespace: kuttl-test-stunning-mallard === CONT kuttl/harness/1-032_validate_dynamic_scaling logger.go:42: 08:40:11 | 1-032_validate_dynamic_scaling/3-cluster-secrets-exceed-maxShards | running command: [sh -c stsReplicas=$(kubectl get sts argocd-application-controller -n $NAMESPACE -o jsonpath='{.status.replicas}') echo "$stsReplicas" if test "$stsReplicas" != "4"; then echo "FAILED! Number of replicas not equal to maxShards" exit 1 fi exit 0 ] logger.go:42: 08:40:12 | 1-032_validate_dynamic_scaling/3-cluster-secrets-exceed-maxShards | 4 logger.go:42: 08:40:13 | 1-032_validate_dynamic_scaling/3-cluster-secrets-exceed-maxShards | running command: [sh -c stsReplicas=$(kubectl get sts argocd-application-controller -n $NAMESPACE -o jsonpath='{.status.replicas}') echo "$stsReplicas" if test "$stsReplicas" != "4"; then echo "FAILED! Number of replicas not equal to maxShards" exit 1 fi exit 0 ] logger.go:42: 08:40:13 | 1-032_validate_dynamic_scaling/3-cluster-secrets-exceed-maxShards | 4 logger.go:42: 08:40:14 | 1-032_validate_dynamic_scaling/3-cluster-secrets-exceed-maxShards | running command: [sh -c stsReplicas=$(kubectl get sts argocd-application-controller -n $NAMESPACE -o jsonpath='{.status.replicas}') echo "$stsReplicas" if test "$stsReplicas" != "4"; then echo "FAILED! Number of replicas not equal to maxShards" exit 1 fi exit 0 ] logger.go:42: 08:40:14 | 1-032_validate_dynamic_scaling/3-cluster-secrets-exceed-maxShards | 4 logger.go:42: 08:40:15 | 1-032_validate_dynamic_scaling/3-cluster-secrets-exceed-maxShards | running command: [sh -c stsReplicas=$(kubectl get sts argocd-application-controller -n $NAMESPACE -o jsonpath='{.status.replicas}') echo "$stsReplicas" if test "$stsReplicas" != "4"; then echo "FAILED! Number of replicas not equal to maxShards" exit 1 fi exit 0 ] logger.go:42: 08:40:16 | 1-032_validate_dynamic_scaling/3-cluster-secrets-exceed-maxShards | 4 === CONT kuttl/harness/1-043_validate_custom_labels_annotations logger.go:42: 08:40:16 | 1-043_validate_custom_labels_annotations | Creating namespace: kuttl-test-complete-dassie logger.go:42: 08:40:16 | 1-043_validate_custom_labels_annotations/1-install | starting test step 1-install logger.go:42: 08:40:16 | 1-043_validate_custom_labels_annotations/1-install | ArgoCD:kuttl-test-complete-dassie/argocd-sample created === CONT kuttl/harness/1-032_validate_dynamic_scaling logger.go:42: 08:40:17 | 1-032_validate_dynamic_scaling/3-cluster-secrets-exceed-maxShards | running command: [sh -c stsReplicas=$(kubectl get sts argocd-application-controller -n $NAMESPACE -o jsonpath='{.status.replicas}') echo "$stsReplicas" if test "$stsReplicas" != "4"; then echo "FAILED! Number of replicas not equal to maxShards" exit 1 fi exit 0 ] === CONT kuttl/harness/1-025-validate-managed-by-change logger.go:42: 08:40:17 | 1-025-validate-managed-by-change | Creating namespace: kuttl-test-guided-doberman logger.go:42: 08:40:17 | 1-025-validate-managed-by-change/1-install | starting test step 1-install logger.go:42: 08:40:17 | 1-025-validate-managed-by-change/1-install | Namespace:/test-1-25-target created === CONT kuttl/harness/1-032_validate_dynamic_scaling logger.go:42: 08:40:17 | 1-032_validate_dynamic_scaling/3-cluster-secrets-exceed-maxShards | 4 === CONT kuttl/harness/1-025-validate-managed-by-change logger.go:42: 08:40:17 | 1-025-validate-managed-by-change/1-install | Namespace:/test-1-25-argo1 created logger.go:42: 08:40:17 | 1-025-validate-managed-by-change/1-install | Namespace:/test-1-25-argo2 created logger.go:42: 08:40:17 | 1-025-validate-managed-by-change/1-install | ArgoCD:test-1-25-argo1/argocd created logger.go:42: 08:40:17 | 1-025-validate-managed-by-change/1-install | ArgoCD:test-1-25-argo2/argocd created === CONT kuttl/harness/1-032_validate_dynamic_scaling logger.go:42: 08:40:18 | 1-032_validate_dynamic_scaling/3-cluster-secrets-exceed-maxShards | running command: [sh -c stsReplicas=$(kubectl get sts argocd-application-controller -n $NAMESPACE -o jsonpath='{.status.replicas}') echo "$stsReplicas" if test "$stsReplicas" != "4"; then echo "FAILED! Number of replicas not equal to maxShards" exit 1 fi exit 0 ] logger.go:42: 08:40:18 | 1-032_validate_dynamic_scaling/3-cluster-secrets-exceed-maxShards | 4 === CONT kuttl/harness/1-043_validate_custom_labels_annotations logger.go:42: 08:40:18 | 1-043_validate_custom_labels_annotations/1-install | test step completed 1-install logger.go:42: 08:40:18 | 1-043_validate_custom_labels_annotations/2-delete-labels-annotations | starting test step 2-delete-labels-annotations logger.go:42: 08:40:19 | 1-043_validate_custom_labels_annotations/2-delete-labels-annotations | ArgoCD:kuttl-test-complete-dassie/argocd-sample updated logger.go:42: 08:40:19 | 1-043_validate_custom_labels_annotations/2-delete-labels-annotations | test step completed 2-delete-labels-annotations logger.go:42: 08:40:19 | 1-043_validate_custom_labels_annotations | skipping kubernetes event logging logger.go:42: 08:40:19 | 1-043_validate_custom_labels_annotations | Deleting namespace: kuttl-test-complete-dassie === CONT kuttl/harness/1-032_validate_dynamic_scaling logger.go:42: 08:40:19 | 1-032_validate_dynamic_scaling/3-cluster-secrets-exceed-maxShards | running command: [sh -c stsReplicas=$(kubectl get sts argocd-application-controller -n $NAMESPACE -o jsonpath='{.status.replicas}') echo "$stsReplicas" if test "$stsReplicas" != "4"; then echo "FAILED! Number of replicas not equal to maxShards" exit 1 fi exit 0 ] logger.go:42: 08:40:20 | 1-032_validate_dynamic_scaling/3-cluster-secrets-exceed-maxShards | 4 logger.go:42: 08:40:21 | 1-032_validate_dynamic_scaling/3-cluster-secrets-exceed-maxShards | running command: [sh -c stsReplicas=$(kubectl get sts argocd-application-controller -n $NAMESPACE -o jsonpath='{.status.replicas}') echo "$stsReplicas" if test "$stsReplicas" != "4"; then echo "FAILED! Number of replicas not equal to maxShards" exit 1 fi exit 0 ] logger.go:42: 08:40:21 | 1-032_validate_dynamic_scaling/3-cluster-secrets-exceed-maxShards | 4 logger.go:42: 08:40:22 | 1-032_validate_dynamic_scaling/3-cluster-secrets-exceed-maxShards | running command: [sh -c stsReplicas=$(kubectl get sts argocd-application-controller -n $NAMESPACE -o jsonpath='{.status.replicas}') echo "$stsReplicas" if test "$stsReplicas" != "4"; then echo "FAILED! Number of replicas not equal to maxShards" exit 1 fi exit 0 ] logger.go:42: 08:40:22 | 1-032_validate_dynamic_scaling/3-cluster-secrets-exceed-maxShards | 4 logger.go:42: 08:40:24 | 1-032_validate_dynamic_scaling/3-cluster-secrets-exceed-maxShards | running command: [sh -c stsReplicas=$(kubectl get sts argocd-application-controller -n $NAMESPACE -o jsonpath='{.status.replicas}') echo "$stsReplicas" if test "$stsReplicas" != "4"; then echo "FAILED! Number of replicas not equal to maxShards" exit 1 fi exit 0 ] logger.go:42: 08:40:24 | 1-032_validate_dynamic_scaling/3-cluster-secrets-exceed-maxShards | 4 logger.go:42: 08:40:24 | 1-032_validate_dynamic_scaling/3-cluster-secrets-exceed-maxShards | test step completed 3-cluster-secrets-exceed-maxShards logger.go:42: 08:40:24 | 1-032_validate_dynamic_scaling/4-delete-cluster-secret | starting test step 4-delete-cluster-secret logger.go:42: 08:40:24 | 1-032_validate_dynamic_scaling/4-delete-cluster-secret | running command: [sleep 60s] === CONT kuttl/harness/1-042_restricted_pss_compliant 2024/12/20 08:40:24 object detected with no GVK Kind for path /kuttl-e2e/gitops-operator/tests/parallel/1-042_restricted_pss_compliant/01-install-argocd-in-restricted-pss-ns copy.yaml logger.go:42: 08:40:24 | 1-042_restricted_pss_compliant | Creating namespace: kuttl-test-real-shrew logger.go:42: 08:40:24 | 1-042_restricted_pss_compliant/1-install-argocd-in-restricted-pss-ns copy | starting test step 1-install-argocd-in-restricted-pss-ns copy logger.go:42: 08:40:24 | 1-042_restricted_pss_compliant/1-install-argocd-in-restricted-pss-ns copy | Namespace:/test-1-042-restricted-pss-compliant created logger.go:42: 08:40:24 | 1-042_restricted_pss_compliant/1-install-argocd-in-restricted-pss-ns copy | ArgoCD:test-1-042-restricted-pss-compliant/argocd created === CONT kuttl/harness/1-025-validate-managed-by-change logger.go:42: 08:40:51 | 1-025-validate-managed-by-change/1-install | test step completed 1-install logger.go:42: 08:40:51 | 1-025-validate-managed-by-change/2-install-app | starting test step 2-install-app logger.go:42: 08:40:51 | 1-025-validate-managed-by-change/2-install-app | running command: [sh -c function wait_until_pods_running() { echo -n "Waiting until all pods in namespace $1 are up" for i in {1..150}; do # timeout after 5 minutes local pods="$(oc get pods --no-headers -n $1 2>/dev/null)" # All pods must be running local not_running=$(echo "${pods}" | grep -v Running | grep -v Completed | wc -l) if [[ -n "${pods}" && ${not_running} -eq 0 ]]; then local all_ready=1 while read pod ; do local status=(`echo -n ${pod} | cut -f2 -d' ' | tr '/' ' '`) # All containers must be ready [[ -z ${status[0]} ]] && all_ready=0 && break [[ -z ${status[1]} ]] && all_ready=0 && break [[ ${status[0]} -lt 1 ]] && all_ready=0 && break [[ ${status[1]} -lt 1 ]] && all_ready=0 && break [[ ${status[0]} -ne ${status[1]} ]] && all_ready=0 && break done <<< $(echo "${pods}" | grep -v Completed) if (( all_ready )); then echo -e "\nAll pods are up:\n${pods}" return 0 fi fi echo -n "." sleep 2 done echo -e "\n\nERROR: timeout waiting for pods to come up\n${pods}" return 1 } wait_until_pods_running "test-1-25-argo1" wait_until_pods_running "test-1-25-argo2" ] logger.go:42: 08:40:51 | 1-025-validate-managed-by-change/2-install-app | Waiting until all pods in namespace test-1-25-argo1 are up logger.go:42: 08:40:51 | 1-025-validate-managed-by-change/2-install-app | All pods are up: logger.go:42: 08:40:51 | 1-025-validate-managed-by-change/2-install-app | argocd-application-controller-0 1/1 Running 0 32s logger.go:42: 08:40:51 | 1-025-validate-managed-by-change/2-install-app | argocd-redis-78f558c8cb-cqtvk 1/1 Running 0 32s logger.go:42: 08:40:51 | 1-025-validate-managed-by-change/2-install-app | argocd-repo-server-8577869674-6mnzr 1/1 Running 0 32s logger.go:42: 08:40:51 | 1-025-validate-managed-by-change/2-install-app | argocd-server-7d4c446857-7jjd2 1/1 Running 0 32s logger.go:42: 08:40:52 | 1-025-validate-managed-by-change/2-install-app | Waiting until all pods in namespace test-1-25-argo2 are up logger.go:42: 08:40:52 | 1-025-validate-managed-by-change/2-install-app | All pods are up: logger.go:42: 08:40:52 | 1-025-validate-managed-by-change/2-install-app | argocd-application-controller-0 1/1 Running 0 32s logger.go:42: 08:40:52 | 1-025-validate-managed-by-change/2-install-app | argocd-redis-78f558c8cb-tpwvr 1/1 Running 0 32s logger.go:42: 08:40:52 | 1-025-validate-managed-by-change/2-install-app | argocd-repo-server-7dbc56d747-nbj9z 1/1 Running 0 32s logger.go:42: 08:40:52 | 1-025-validate-managed-by-change/2-install-app | argocd-server-6cb897c5f4-c2hmm 1/1 Running 0 32s logger.go:42: 08:40:52 | 1-025-validate-managed-by-change/2-install-app | Application:test-1-25-argo1/guestbook created === CONT kuttl/harness/1-108_alternate_cluster_roles_cluster_scoped_instance logger.go:42: 08:40:54 | 1-108_alternate_cluster_roles_cluster_scoped_instance/9-check-app-message | one or more objects failed to apply, reason: persistentvolumes is forbidden: User "system:serviceaccount:alternate-role:argocd-argocd-application-controller" cannot create resource "persistentvolumes" in API group "" at the cluster scope. Retrying attempt #3 at 8:40AM. logger.go:42: 08:40:54 | 1-108_alternate_cluster_roles_cluster_scoped_instance/9-check-app-message | test step completed 9-check-app-message logger.go:42: 08:40:54 | 1-108_alternate_cluster_roles_cluster_scoped_instance/10-modify-clusterrole | starting test step 10-modify-clusterrole logger.go:42: 08:40:54 | 1-108_alternate_cluster_roles_cluster_scoped_instance/10-modify-clusterrole | ClusterRole:/argocd-alternate-role-argocd-application-controller updated === CONT kuttl/harness/1-042_restricted_pss_compliant logger.go:42: 08:40:57 | 1-042_restricted_pss_compliant/1-install-argocd-in-restricted-pss-ns copy | test step completed 1-install-argocd-in-restricted-pss-ns copy logger.go:42: 08:40:57 | 1-042_restricted_pss_compliant/2-check-pod | starting test step 2-check-pod logger.go:42: 08:40:57 | 1-042_restricted_pss_compliant/2-check-pod | running command: [sh -c sleep 10] === CONT kuttl/harness/1-108_alternate_cluster_roles_cluster_scoped_instance logger.go:42: 08:41:01 | 1-108_alternate_cluster_roles_cluster_scoped_instance/10-modify-clusterrole | test step completed 10-modify-clusterrole logger.go:42: 08:41:01 | 1-108_alternate_cluster_roles_cluster_scoped_instance/11-delete | starting test step 11-delete === CONT kuttl/harness/1-025-validate-managed-by-change logger.go:42: 08:41:03 | 1-025-validate-managed-by-change/2-install-app | test step completed 2-install-app logger.go:42: 08:41:03 | 1-025-validate-managed-by-change/3-update-namespace | starting test step 3-update-namespace logger.go:42: 08:41:03 | 1-025-validate-managed-by-change/3-update-namespace | Namespace:/test-1-25-target updated logger.go:42: 08:41:03 | 1-025-validate-managed-by-change/3-update-namespace | Application:test-1-25-argo1/guestbook updated logger.go:42: 08:41:03 | 1-025-validate-managed-by-change/3-update-namespace | Application:test-1-25-argo2/guestbook created === CONT kuttl/harness/1-042_restricted_pss_compliant logger.go:42: 08:41:07 | 1-042_restricted_pss_compliant/2-check-pod | running command: [sh -c kubectl get pods -n test-1-042-restricted-pss-compliant | grep 'argocd-application-controller'] logger.go:42: 08:41:07 | 1-042_restricted_pss_compliant/2-check-pod | argocd-application-controller-0 1/1 Running 0 42s logger.go:42: 08:41:07 | 1-042_restricted_pss_compliant/2-check-pod | running command: [sh -c kubectl get pods -n test-1-042-restricted-pss-compliant | grep 'argocd-applicationset-controller'] logger.go:42: 08:41:08 | 1-042_restricted_pss_compliant/2-check-pod | argocd-applicationset-controller-5cb46dc9d6-jtd4c 1/1 Running 0 43s logger.go:42: 08:41:08 | 1-042_restricted_pss_compliant/2-check-pod | running command: [sh -c kubectl get pods -n test-1-042-restricted-pss-compliant | grep 'argocd-dex-server'] === CONT kuttl/harness/1-025-validate-managed-by-change logger.go:42: 08:41:08 | 1-025-validate-managed-by-change/3-update-namespace | test step completed 3-update-namespace logger.go:42: 08:41:08 | 1-025-validate-managed-by-change/99-delete | starting test step 99-delete === CONT kuttl/harness/1-042_restricted_pss_compliant logger.go:42: 08:41:08 | 1-042_restricted_pss_compliant/2-check-pod | argocd-dex-server-68b64c5bfb-7qp6n 1/1 Running 0 43s logger.go:42: 08:41:08 | 1-042_restricted_pss_compliant/2-check-pod | running command: [sh -c kubectl get pods -n test-1-042-restricted-pss-compliant | grep 'argocd-notifications-controller'] logger.go:42: 08:41:08 | 1-042_restricted_pss_compliant/2-check-pod | argocd-notifications-controller-fc567d9fd-65pvd 1/1 Running 0 43s logger.go:42: 08:41:08 | 1-042_restricted_pss_compliant/2-check-pod | running command: [sh -c kubectl get pods -n test-1-042-restricted-pss-compliant | grep 'argocd-redis'] logger.go:42: 08:41:09 | 1-042_restricted_pss_compliant/2-check-pod | argocd-redis-78f558c8cb-lp7xd 1/1 Running 0 44s logger.go:42: 08:41:09 | 1-042_restricted_pss_compliant/2-check-pod | running command: [sh -c kubectl get pods -n test-1-042-restricted-pss-compliant | grep 'argocd-repo-server'] logger.go:42: 08:41:09 | 1-042_restricted_pss_compliant/2-check-pod | argocd-repo-server-df86bff89-hgsxr 1/1 Running 0 44s logger.go:42: 08:41:09 | 1-042_restricted_pss_compliant/2-check-pod | running command: [sh -c kubectl get pods -n test-1-042-restricted-pss-compliant | grep 'argocd-server'] logger.go:42: 08:41:10 | 1-042_restricted_pss_compliant/2-check-pod | argocd-server-7b657b669b-vgkwj 1/1 Running 0 45s logger.go:42: 08:41:10 | 1-042_restricted_pss_compliant/2-check-pod | test step completed 2-check-pod logger.go:42: 08:41:10 | 1-042_restricted_pss_compliant/3-enable-keycloak-sso | starting test step 3-enable-keycloak-sso logger.go:42: 08:41:10 | 1-042_restricted_pss_compliant/3-enable-keycloak-sso | running command: [sh -c kubectl patch -n test-1-042-restricted-pss-compliant argocd/argocd --type='json' -p='[{"op": "remove", "path": "/spec/sso/dex"}]' ] logger.go:42: 08:41:10 | 1-042_restricted_pss_compliant/3-enable-keycloak-sso | argocd.argoproj.io/argocd patched logger.go:42: 08:41:10 | 1-042_restricted_pss_compliant/3-enable-keycloak-sso | ArgoCD:test-1-042-restricted-pss-compliant/argocd updated logger.go:42: 08:41:11 | 1-042_restricted_pss_compliant/3-enable-keycloak-sso | test step completed 3-enable-keycloak-sso logger.go:42: 08:41:11 | 1-042_restricted_pss_compliant/4-check-pod | starting test step 4-check-pod logger.go:42: 08:41:11 | 1-042_restricted_pss_compliant/4-check-pod | running command: [sh -c sleep 10] === CONT kuttl/harness/1-108_alternate_cluster_roles_cluster_scoped_instance logger.go:42: 08:41:12 | 1-108_alternate_cluster_roles_cluster_scoped_instance/11-delete | test step completed 11-delete logger.go:42: 08:41:12 | 1-108_alternate_cluster_roles_cluster_scoped_instance | skipping kubernetes event logging logger.go:42: 08:41:12 | 1-108_alternate_cluster_roles_cluster_scoped_instance | Deleting namespace: kuttl-test-arriving-martin === CONT kuttl/harness/1-023_validate_repo_server_tls logger.go:42: 08:41:18 | 1-023_validate_repo_server_tls | Creating namespace: kuttl-test-organic-koala logger.go:42: 08:41:18 | 1-023_validate_repo_server_tls/1-install | starting test step 1-install logger.go:42: 08:41:18 | 1-023_validate_repo_server_tls/1-install | Namespace:/test-1-23-custom created logger.go:42: 08:41:18 | 1-023_validate_repo_server_tls/1-install | ArgoCD:test-1-23-custom/argocd created === CONT kuttl/harness/1-025-validate-managed-by-change logger.go:42: 08:41:20 | 1-025-validate-managed-by-change/99-delete | test step completed 99-delete logger.go:42: 08:41:20 | 1-025-validate-managed-by-change | skipping kubernetes event logging logger.go:42: 08:41:20 | 1-025-validate-managed-by-change | Deleting namespace: kuttl-test-guided-doberman === CONT kuttl/harness/1-042_restricted_pss_compliant logger.go:42: 08:41:21 | 1-042_restricted_pss_compliant/4-check-pod | running command: [sh -c kubectl get pods -n test-1-042-restricted-pss-compliant | grep 'keycloak'] logger.go:42: 08:41:22 | 1-042_restricted_pss_compliant/4-check-pod | keycloak-1-b6kfg 0/1 Running 0 11s logger.go:42: 08:41:22 | 1-042_restricted_pss_compliant/4-check-pod | keycloak-1-deploy 1/1 Running 0 12s logger.go:42: 08:41:22 | 1-042_restricted_pss_compliant/4-check-pod | test step completed 4-check-pod logger.go:42: 08:41:22 | 1-042_restricted_pss_compliant/5-enable-redis-ha | starting test step 5-enable-redis-ha logger.go:42: 08:41:22 | 1-042_restricted_pss_compliant/5-enable-redis-ha | ArgoCD:test-1-042-restricted-pss-compliant/argocd updated === CONT kuttl/harness/1-032_validate_dynamic_scaling logger.go:42: 08:41:24 | 1-032_validate_dynamic_scaling/4-delete-cluster-secret | running command: [kubectl delete Secret cluster-2 cluster-3 cluster-4 cluster-5 cluster-6 -n kuttl-test-pure-pangolin] logger.go:42: 08:41:24 | 1-032_validate_dynamic_scaling/4-delete-cluster-secret | secret "cluster-2" deleted logger.go:42: 08:41:24 | 1-032_validate_dynamic_scaling/4-delete-cluster-secret | secret "cluster-3" deleted logger.go:42: 08:41:24 | 1-032_validate_dynamic_scaling/4-delete-cluster-secret | secret "cluster-4" deleted logger.go:42: 08:41:24 | 1-032_validate_dynamic_scaling/4-delete-cluster-secret | secret "cluster-5" deleted logger.go:42: 08:41:24 | 1-032_validate_dynamic_scaling/4-delete-cluster-secret | secret "cluster-6" deleted logger.go:42: 08:41:24 | 1-032_validate_dynamic_scaling/4-delete-cluster-secret | running command: [sleep 30s] === CONT kuttl/harness/1-039_validate_fix_argocd-tls-certs-cm logger.go:42: 08:41:25 | 1-039_validate_fix_argocd-tls-certs-cm | Creating namespace: kuttl-test-organic-dog logger.go:42: 08:41:25 | 1-039_validate_fix_argocd-tls-certs-cm/1-install | starting test step 1-install logger.go:42: 08:41:25 | 1-039_validate_fix_argocd-tls-certs-cm/1-install | ArgoCD:kuttl-test-organic-dog/example-argocd created === CONT kuttl/harness/1-042_restricted_pss_compliant logger.go:42: 08:41:34 | 1-042_restricted_pss_compliant/5-enable-redis-ha | test step completed 5-enable-redis-ha logger.go:42: 08:41:34 | 1-042_restricted_pss_compliant/6-check-pod | starting test step 6-check-pod logger.go:42: 08:41:34 | 1-042_restricted_pss_compliant/6-check-pod | running command: [sh -c sleep 10] === CONT kuttl/harness/1-039_validate_fix_argocd-tls-certs-cm logger.go:42: 08:41:37 | 1-039_validate_fix_argocd-tls-certs-cm/1-install | test step completed 1-install logger.go:42: 08:41:37 | 1-039_validate_fix_argocd-tls-certs-cm/2-modify_configmap | starting test step 2-modify_configmap logger.go:42: 08:41:38 | 1-039_validate_fix_argocd-tls-certs-cm/2-modify_configmap | ConfigMap:kuttl-test-organic-dog/argocd-tls-certs-cm updated logger.go:42: 08:41:38 | 1-039_validate_fix_argocd-tls-certs-cm/2-modify_configmap | test step completed 2-modify_configmap logger.go:42: 08:41:38 | 1-039_validate_fix_argocd-tls-certs-cm/3-modify_argocd_cr | starting test step 3-modify_argocd_cr logger.go:42: 08:41:38 | 1-039_validate_fix_argocd-tls-certs-cm/3-modify_argocd_cr | ArgoCD:kuttl-test-organic-dog/example-argocd updated logger.go:42: 08:41:38 | 1-039_validate_fix_argocd-tls-certs-cm/3-modify_argocd_cr | test step completed 3-modify_argocd_cr logger.go:42: 08:41:38 | 1-039_validate_fix_argocd-tls-certs-cm/4- | starting test step 4- logger.go:42: 08:41:38 | 1-039_validate_fix_argocd-tls-certs-cm/4- | test step completed 4- logger.go:42: 08:41:38 | 1-039_validate_fix_argocd-tls-certs-cm | skipping kubernetes event logging logger.go:42: 08:41:38 | 1-039_validate_fix_argocd-tls-certs-cm | Deleting namespace: kuttl-test-organic-dog === CONT kuttl/harness/1-095_validate_dex_clientsecret logger.go:42: 08:41:43 | 1-095_validate_dex_clientsecret | Creating namespace: kuttl-test-useful-skylark logger.go:42: 08:41:43 | 1-095_validate_dex_clientsecret/1-install | starting test step 1-install logger.go:42: 08:41:43 | 1-095_validate_dex_clientsecret/1-install | ArgoCD:kuttl-test-useful-skylark/example-argocd created === CONT kuttl/harness/1-042_restricted_pss_compliant logger.go:42: 08:41:44 | 1-042_restricted_pss_compliant/6-check-pod | running command: [sh -c kubectl get pods -n test-1-042-restricted-pss-compliant | grep 'argocd-redis-ha-haproxy'] logger.go:42: 08:41:44 | 1-042_restricted_pss_compliant/6-check-pod | argocd-redis-ha-haproxy-f5f676bfb-ng7qz 1/1 Running 0 22s logger.go:42: 08:41:44 | 1-042_restricted_pss_compliant/6-check-pod | running command: [sh -c kubectl get pods -n test-1-042-restricted-pss-compliant | grep 'argocd-redis-ha-server'] logger.go:42: 08:41:45 | 1-042_restricted_pss_compliant/6-check-pod | argocd-redis-ha-server-0 0/2 Running 0 23s logger.go:42: 08:41:45 | 1-042_restricted_pss_compliant/6-check-pod | test step completed 6-check-pod logger.go:42: 08:41:45 | 1-042_restricted_pss_compliant/99-delete | starting test step 99-delete === CONT kuttl/harness/1-023_validate_repo_server_tls logger.go:42: 08:41:49 | 1-023_validate_repo_server_tls/1-install | test step completed 1-install logger.go:42: 08:41:49 | 1-023_validate_repo_server_tls/2-change-argocd | starting test step 2-change-argocd logger.go:42: 08:41:50 | 1-023_validate_repo_server_tls/2-change-argocd | ArgoCD:test-1-23-custom/argocd updated logger.go:42: 08:41:51 | 1-023_validate_repo_server_tls/2-change-argocd | test step completed 2-change-argocd logger.go:42: 08:41:51 | 1-023_validate_repo_server_tls/4-install-app | starting test step 4-install-app logger.go:42: 08:41:51 | 1-023_validate_repo_server_tls/4-install-app | Application:test-1-23-custom/guestbook created === CONT kuttl/harness/1-032_validate_dynamic_scaling logger.go:42: 08:41:54 | 1-032_validate_dynamic_scaling/4-delete-cluster-secret | test step completed 4-delete-cluster-secret logger.go:42: 08:41:54 | 1-032_validate_dynamic_scaling | skipping kubernetes event logging logger.go:42: 08:41:54 | 1-032_validate_dynamic_scaling | Deleting namespace: kuttl-test-pure-pangolin === CONT kuttl/harness/1-038_validate_productized_images logger.go:42: 08:42:00 | 1-038_validate_productized_images | Creating namespace: kuttl-test-uncommon-buzzard logger.go:42: 08:42:00 | 1-038_validate_productized_images/1-install | starting test step 1-install logger.go:42: 08:42:00 | 1-038_validate_productized_images/1-install | ArgoCD:kuttl-test-uncommon-buzzard/argocd created === CONT kuttl/harness/1-023_validate_repo_server_tls logger.go:42: 08:42:04 | 1-023_validate_repo_server_tls/4-install-app | test step completed 4-install-app logger.go:42: 08:42:04 | 1-023_validate_repo_server_tls/99-delete | starting test step 99-delete === CONT kuttl/harness/1-038_validate_productized_images logger.go:42: 08:42:12 | 1-038_validate_productized_images/1-install | test step completed 1-install logger.go:42: 08:42:12 | 1-038_validate_productized_images/2-check-images | starting test step 2-check-images logger.go:42: 08:42:12 | 1-038_validate_productized_images/2-check-images | running command: [sh -c for wl in deployment/argocd-server deployment/argocd-repo-server statefulset/argocd-application-controller; do image=$(oc -n $NAMESPACE get ${wl} -o jsonpath='{.spec.template.spec.containers[0].image}' | awk -F'@' '{print $1}') if test "$image" != "registry.redhat.io/openshift-gitops-1/argocd-rhel8"; then echo "Non-productized image in workload $wl detected." exit 1 fi done ] logger.go:42: 08:42:14 | 1-038_validate_productized_images/2-check-images | test step completed 2-check-images logger.go:42: 08:42:14 | 1-038_validate_productized_images | skipping kubernetes event logging logger.go:42: 08:42:14 | 1-038_validate_productized_images | Deleting namespace: kuttl-test-uncommon-buzzard === CONT kuttl/harness/1-023_validate_repo_server_tls logger.go:42: 08:42:15 | 1-023_validate_repo_server_tls/99-delete | test step completed 99-delete logger.go:42: 08:42:15 | 1-023_validate_repo_server_tls | skipping kubernetes event logging logger.go:42: 08:42:15 | 1-023_validate_repo_server_tls | Deleting namespace: kuttl-test-organic-koala === CONT kuttl/harness/1-095_validate_dex_clientsecret logger.go:42: 08:42:16 | 1-095_validate_dex_clientsecret/1-install | test step completed 1-install logger.go:42: 08:42:16 | 1-095_validate_dex_clientsecret/2-check-clientSecret-cm | starting test step 2-check-clientSecret-cm logger.go:42: 08:42:16 | 1-095_validate_dex_clientsecret/2-check-clientSecret-cm | running command: [sh -c clientSecret=$(oc get configmap argocd-cm -n $NAMESPACE -o jsonpath='{.data.dex\.config}' | grep clientSecret | awk -F' ' '{print $2}') if test "$clientSecret" != "\$oidc.dex.clientSecret"; then echo "Client secret exposed!" exit 1 fi exit 0 ] logger.go:42: 08:42:16 | 1-095_validate_dex_clientsecret/2-check-clientSecret-cm | test step completed 2-check-clientSecret-cm logger.go:42: 08:42:16 | 1-095_validate_dex_clientsecret/3-verify-clientsecret-secret | starting test step 3-verify-clientsecret-secret logger.go:42: 08:42:16 | 1-095_validate_dex_clientsecret/3-verify-clientsecret-secret | running command: [sh -c # This test validates the Dex Client Secret copied by the operator from dex serviceaccount token secret in to argocd-secret. # To verify the behavior we should first get the token secret name of the dex service account. secret=$(oc get -n $NAMESPACE sa example-argocd-argocd-dex-server -o json | jq -r '.secrets[] | select(.name | contains("token")) | .name') # Extract the clientSecret expectedClientSecret=$(oc get secret $secret -n $NAMESPACE -o json | jq -r '.data.token') # actualClientSecret is the value of the secret in argocd-secret where argocd-operator should copy the secret from actualClientSecret=$(oc get secret argocd-secret -o json -n $NAMESPACE | jq -r '.data."oidc.dex.clientSecret"') # Verify if [[ $expectedClientSecret != $actualClientSecret ]]; then echo "Error: Dex Client Secret for OIDC is not valid" exit 1 fi ] logger.go:42: 08:42:18 | 1-095_validate_dex_clientsecret/3-verify-clientsecret-secret | test step completed 3-verify-clientsecret-secret logger.go:42: 08:42:18 | 1-095_validate_dex_clientsecret | skipping kubernetes event logging logger.go:42: 08:42:18 | 1-095_validate_dex_clientsecret | Deleting namespace: kuttl-test-useful-skylark === CONT kuttl/harness/1-021_validate_rolebindings logger.go:42: 08:42:19 | 1-021_validate_rolebindings | Creating namespace: kuttl-test-magical-heron logger.go:42: 08:42:19 | 1-021_validate_rolebindings/1-install | starting test step 1-install logger.go:42: 08:42:19 | 1-021_validate_rolebindings/1-install | ArgoCD:kuttl-test-magical-heron/argocd created === CONT kuttl/harness/1-037_validate_argocd_setting_replicas logger.go:42: 08:42:21 | 1-037_validate_argocd_setting_replicas | Creating namespace: kuttl-test-flexible-elf logger.go:42: 08:42:21 | 1-037_validate_argocd_setting_replicas/1-install | starting test step 1-install logger.go:42: 08:42:21 | 1-037_validate_argocd_setting_replicas/1-install | ArgoCD:kuttl-test-flexible-elf/argocd created === CONT kuttl/harness/1-042_restricted_pss_compliant logger.go:42: 08:42:23 | 1-042_restricted_pss_compliant/99-delete | test step completed 99-delete logger.go:42: 08:42:23 | 1-042_restricted_pss_compliant | skipping kubernetes event logging logger.go:42: 08:42:23 | 1-042_restricted_pss_compliant | Deleting namespace: kuttl-test-real-shrew === CONT kuttl/harness/1-036_validate_keycloak_resource_reqs logger.go:42: 08:42:23 | 1-036_validate_keycloak_resource_reqs | Creating namespace: kuttl-test-bright-honeybee logger.go:42: 08:42:23 | 1-036_validate_keycloak_resource_reqs/1-install | starting test step 1-install logger.go:42: 08:42:23 | 1-036_validate_keycloak_resource_reqs/1-install | ArgoCD:kuttl-test-bright-honeybee/argocd created === CONT kuttl/harness/1-019_validate_volume_mounts logger.go:42: 08:42:29 | 1-019_validate_volume_mounts | Creating namespace: kuttl-test-alert-spider logger.go:42: 08:42:29 | 1-019_validate_volume_mounts/1-install | starting test step 1-install logger.go:42: 08:42:29 | 1-019_validate_volume_mounts/1-install | ArgoCD:kuttl-test-alert-spider/argocd created === CONT kuttl/harness/1-021_validate_rolebindings logger.go:42: 08:42:51 | 1-021_validate_rolebindings/1-install | test step completed 1-install logger.go:42: 08:42:51 | 1-021_validate_rolebindings | skipping kubernetes event logging logger.go:42: 08:42:51 | 1-021_validate_rolebindings | Deleting namespace: kuttl-test-magical-heron === CONT kuttl/harness/1-037_validate_argocd_setting_replicas logger.go:42: 08:42:52 | 1-037_validate_argocd_setting_replicas/1-install | test step completed 1-install logger.go:42: 08:42:52 | 1-037_validate_argocd_setting_replicas/2-scale_out_server | starting test step 2-scale_out_server logger.go:42: 08:42:52 | 1-037_validate_argocd_setting_replicas/2-scale_out_server | running command: [sh -c oc patch argocd argocd \ -n $NAMESPACE \ --type='json' \ -p='[{"op": "replace", "path": "/spec/server/replicas", "value": 3 }]' exit 0 ] logger.go:42: 08:42:52 | 1-037_validate_argocd_setting_replicas/2-scale_out_server | argocd.argoproj.io/argocd patched logger.go:42: 08:42:52 | 1-037_validate_argocd_setting_replicas/2-scale_out_server | test step completed 2-scale_out_server logger.go:42: 08:42:52 | 1-037_validate_argocd_setting_replicas/3-scale_out_repo | starting test step 3-scale_out_repo logger.go:42: 08:42:52 | 1-037_validate_argocd_setting_replicas/3-scale_out_repo | running command: [sh -c oc patch argocd argocd \ -n $NAMESPACE \ --type='json' \ -p='[{"op": "replace", "path": "/spec/repo/replicas", "value": 3 }]' exit 0 ] logger.go:42: 08:42:53 | 1-037_validate_argocd_setting_replicas/3-scale_out_repo | argocd.argoproj.io/argocd patched logger.go:42: 08:42:53 | 1-037_validate_argocd_setting_replicas/3-scale_out_repo | test step completed 3-scale_out_repo logger.go:42: 08:42:53 | 1-037_validate_argocd_setting_replicas/4- | starting test step 4- === CONT kuttl/harness/1-036_validate_keycloak_resource_reqs logger.go:42: 08:42:56 | 1-036_validate_keycloak_resource_reqs/1-install | test step completed 1-install logger.go:42: 08:42:56 | 1-036_validate_keycloak_resource_reqs/2-update-sso-keycloak-provider | starting test step 2-update-sso-keycloak-provider logger.go:42: 08:42:56 | 1-036_validate_keycloak_resource_reqs/2-update-sso-keycloak-provider | running command: [sh -c oc patch -n $NAMESPACE argocd/argocd --type='json' -p='[{"op": "add", "path": "/spec/sso", "value": {"provider": "keycloak"}}]' ] logger.go:42: 08:42:56 | 1-036_validate_keycloak_resource_reqs/2-update-sso-keycloak-provider | argocd.argoproj.io/argocd patched === CONT kuttl/harness/1-034_validate_webhook_notifications logger.go:42: 08:42:57 | 1-034_validate_webhook_notifications | Creating namespace: kuttl-test-crucial-ladybird logger.go:42: 08:42:57 | 1-034_validate_webhook_notifications/0-setup-webhook-server | starting test step 0-setup-webhook-server logger.go:42: 08:42:57 | 1-034_validate_webhook_notifications/0-setup-webhook-server | Service:kuttl-test-crucial-ladybird/webhook created logger.go:42: 08:42:57 | 1-034_validate_webhook_notifications/0-setup-webhook-server | Deployment:kuttl-test-crucial-ladybird/webhook created logger.go:42: 08:42:57 | 1-034_validate_webhook_notifications/0-setup-webhook-server | ConfigMap:kuttl-test-crucial-ladybird/webhook-config created logger.go:42: 08:42:57 | 1-034_validate_webhook_notifications/0-setup-webhook-server | Secret:kuttl-test-crucial-ladybird/webhook-tls created === CONT kuttl/harness/1-019_validate_volume_mounts logger.go:42: 08:43:01 | 1-019_validate_volume_mounts/1-install | test step completed 1-install logger.go:42: 08:43:01 | 1-019_validate_volume_mounts | skipping kubernetes event logging logger.go:42: 08:43:01 | 1-019_validate_volume_mounts | Deleting namespace: kuttl-test-alert-spider === CONT kuttl/harness/1-012_validate-managed-by-chain logger.go:42: 08:43:06 | 1-012_validate-managed-by-chain | Ignoring README.md as it does not match file name regexp: ^(\d+)-(?:[^\.]+)(?:\.yaml)?$ logger.go:42: 08:43:06 | 1-012_validate-managed-by-chain | Creating namespace: kuttl-test-direct-mackerel logger.go:42: 08:43:06 | 1-012_validate-managed-by-chain/1-install | starting test step 1-install logger.go:42: 08:43:06 | 1-012_validate-managed-by-chain/1-install | Namespace:/test-1-12-custom created logger.go:42: 08:43:06 | 1-012_validate-managed-by-chain/1-install | Namespace:/test-1-12-custom2 created logger.go:42: 08:43:06 | 1-012_validate-managed-by-chain/1-install | ArgoCD:kuttl-test-direct-mackerel/argocd created === CONT kuttl/harness/1-034_validate_webhook_notifications logger.go:42: 08:43:10 | 1-034_validate_webhook_notifications/0-setup-webhook-server | test step completed 0-setup-webhook-server logger.go:42: 08:43:10 | 1-034_validate_webhook_notifications/1-install-argocd | starting test step 1-install-argocd logger.go:42: 08:43:10 | 1-034_validate_webhook_notifications/1-install-argocd | ArgoCD:kuttl-test-crucial-ladybird/argocd created === CONT kuttl/harness/1-037_validate_argocd_setting_replicas logger.go:42: 08:43:23 | 1-037_validate_argocd_setting_replicas/4- | test step completed 4- logger.go:42: 08:43:23 | 1-037_validate_argocd_setting_replicas/5-scale_in_server | starting test step 5-scale_in_server logger.go:42: 08:43:23 | 1-037_validate_argocd_setting_replicas/5-scale_in_server | running command: [sh -c oc patch argocd argocd \ -n $NAMESPACE \ --type='json' \ -p='[{"op": "replace", "path": "/spec/server/replicas", "value": 1 }]' exit 0 ] logger.go:42: 08:43:24 | 1-037_validate_argocd_setting_replicas/5-scale_in_server | argocd.argoproj.io/argocd patched logger.go:42: 08:43:24 | 1-037_validate_argocd_setting_replicas/5-scale_in_server | test step completed 5-scale_in_server logger.go:42: 08:43:24 | 1-037_validate_argocd_setting_replicas/6-scale_in_repo | starting test step 6-scale_in_repo logger.go:42: 08:43:24 | 1-037_validate_argocd_setting_replicas/6-scale_in_repo | running command: [sh -c oc patch argocd argocd \ -n $NAMESPACE \ --type='json' \ -p='[{"op": "replace", "path": "/spec/repo/replicas", "value": 1 }]' exit 0 ] logger.go:42: 08:43:24 | 1-037_validate_argocd_setting_replicas/6-scale_in_repo | argocd.argoproj.io/argocd patched logger.go:42: 08:43:24 | 1-037_validate_argocd_setting_replicas/6-scale_in_repo | test step completed 6-scale_in_repo logger.go:42: 08:43:24 | 1-037_validate_argocd_setting_replicas/7- | starting test step 7- logger.go:42: 08:43:26 | 1-037_validate_argocd_setting_replicas/7- | test step completed 7- logger.go:42: 08:43:26 | 1-037_validate_argocd_setting_replicas | skipping kubernetes event logging logger.go:42: 08:43:26 | 1-037_validate_argocd_setting_replicas | Deleting namespace: kuttl-test-flexible-elf === CONT kuttl/harness/1-033_validate_resource_exclusions logger.go:42: 08:43:31 | 1-033_validate_resource_exclusions | Creating namespace: kuttl-test-optimal-elephant logger.go:42: 08:43:31 | 1-033_validate_resource_exclusions/1-install | starting test step 1-install logger.go:42: 08:43:31 | 1-033_validate_resource_exclusions/1-install | ArgoCD:kuttl-test-optimal-elephant/argocd created === CONT kuttl/harness/1-012_validate-managed-by-chain logger.go:42: 08:43:39 | 1-012_validate-managed-by-chain/1-install | test step completed 1-install logger.go:42: 08:43:39 | 1-012_validate-managed-by-chain/2-label-namespace | starting test step 2-label-namespace logger.go:42: 08:43:39 | 1-012_validate-managed-by-chain/2-label-namespace | running command: [sh -c kubectl label ns test-1-12-custom argocd.argoproj.io/managed-by=$NAMESPACE --overwrite] logger.go:42: 08:43:39 | 1-012_validate-managed-by-chain/2-label-namespace | namespace/test-1-12-custom labeled logger.go:42: 08:43:40 | 1-012_validate-managed-by-chain/2-label-namespace | test step completed 2-label-namespace logger.go:42: 08:43:40 | 1-012_validate-managed-by-chain/3-check-secret | starting test step 3-check-secret logger.go:42: 08:43:40 | 1-012_validate-managed-by-chain/3-check-secret | running command: [sh -c namespaces=$(oc get secret -n $NAMESPACE argocd-default-cluster-config -o jsonpath='{.data.namespaces}' | base64 -d) if test "$namespaces" != "$NAMESPACE,test-1-12-custom"; then echo "Assertion for cluster secret failed!" exit 1 fi exit 0 ] logger.go:42: 08:43:41 | 1-012_validate-managed-by-chain/3-check-secret | test step completed 3-check-secret logger.go:42: 08:43:41 | 1-012_validate-managed-by-chain/4-create-application | starting test step 4-create-application logger.go:42: 08:43:41 | 1-012_validate-managed-by-chain/4-create-application | Application:kuttl-test-direct-mackerel/test-1-12-custom created === CONT kuttl/harness/1-034_validate_webhook_notifications logger.go:42: 08:43:42 | 1-034_validate_webhook_notifications/1-install-argocd | test step completed 1-install-argocd logger.go:42: 08:43:42 | 1-034_validate_webhook_notifications/2-add-notification-confs | starting test step 2-add-notification-confs logger.go:42: 08:43:42 | 1-034_validate_webhook_notifications/2-add-notification-confs | NotificationsConfiguration:kuttl-test-crucial-ladybird/default-notifications-configuration updated logger.go:42: 08:43:42 | 1-034_validate_webhook_notifications/2-add-notification-confs | test step completed 2-add-notification-confs logger.go:42: 08:43:42 | 1-034_validate_webhook_notifications/3-sleep | starting test step 3-sleep logger.go:42: 08:43:42 | 1-034_validate_webhook_notifications/3-sleep | running command: [sh -c sleep 20] === CONT kuttl/harness/1-012_validate-managed-by-chain logger.go:42: 08:43:47 | 1-012_validate-managed-by-chain/4-create-application | test step completed 4-create-application logger.go:42: 08:43:47 | 1-012_validate-managed-by-chain/7-label-namespace | starting test step 7-label-namespace logger.go:42: 08:43:47 | 1-012_validate-managed-by-chain/7-label-namespace | running command: [sh -c kubectl label ns test-1-12-custom2 argocd.argoproj.io/managed-by=$NAMESPACE --overwrite] logger.go:42: 08:43:47 | 1-012_validate-managed-by-chain/7-label-namespace | namespace/test-1-12-custom2 labeled logger.go:42: 08:43:48 | 1-012_validate-managed-by-chain/7-label-namespace | test step completed 7-label-namespace logger.go:42: 08:43:48 | 1-012_validate-managed-by-chain/8-create-application | starting test step 8-create-application logger.go:42: 08:43:48 | 1-012_validate-managed-by-chain/8-create-application | Application:kuttl-test-direct-mackerel/test-1-12-custom2 created logger.go:42: 08:43:53 | 1-012_validate-managed-by-chain/8-create-application | test step completed 8-create-application logger.go:42: 08:43:53 | 1-012_validate-managed-by-chain/9-delete-app-and-namespace | starting test step 9-delete-app-and-namespace === CONT kuttl/harness/1-034_validate_webhook_notifications logger.go:42: 08:44:02 | 1-034_validate_webhook_notifications/3-sleep | test step completed 3-sleep logger.go:42: 08:44:02 | 1-034_validate_webhook_notifications/4-create-app | starting test step 4-create-app logger.go:42: 08:44:02 | 1-034_validate_webhook_notifications/4-create-app | running command: [sh -c set -e cat << EOF | kubectl apply -f - apiVersion: argoproj.io/v1alpha1 kind: Application metadata: name: my-app-3 namespace: $NAMESPACE annotations: "notifications.argoproj.io/subscribe.test-on-created.test-webhook": "" spec: destination: namespace: $NAMESPACE server: https://kubernetes.default.svc project: default source: repoURL: https://github.com/redhat-developer/gitops-operator path: test/examples/nginx targetRevision: HEAD EOF ] logger.go:42: 08:44:03 | 1-034_validate_webhook_notifications/4-create-app | application.argoproj.io/my-app-3 created logger.go:42: 08:44:03 | 1-034_validate_webhook_notifications/4-create-app | running command: [sh -c sleep 10] === CONT kuttl/harness/1-033_validate_resource_exclusions logger.go:42: 08:44:04 | 1-033_validate_resource_exclusions/1-install | test step completed 1-install logger.go:42: 08:44:04 | 1-033_validate_resource_exclusions/2-add_resource_exclusions | starting test step 2-add_resource_exclusions logger.go:42: 08:44:04 | 1-033_validate_resource_exclusions/2-add_resource_exclusions | ArgoCD:kuttl-test-optimal-elephant/argocd updated === CONT kuttl/harness/1-012_validate-managed-by-chain logger.go:42: 08:44:04 | 1-012_validate-managed-by-chain/9-delete-app-and-namespace | test step completed 9-delete-app-and-namespace logger.go:42: 08:44:04 | 1-012_validate-managed-by-chain/10-check-secret | starting test step 10-check-secret logger.go:42: 08:44:04 | 1-012_validate-managed-by-chain/10-check-secret | running command: [sh -c should="$NAMESPACE,test-1-12-custom2" namespaces=$(oc get secret -n $NAMESPACE argocd-default-cluster-config -o jsonpath='{.data.namespaces}' | base64 -d) if test "$namespaces" != "$should"; then echo "Assertion for cluster secret failed! '$namespaces' != '$should'" # 1.2.0 doesn't reconcile the cluster secret on namespace deletion if test GITOPS_TARGET_VERSION = "1.2.0"; then exit 0 else exit 1 fi fi exit 0 ] logger.go:42: 08:44:04 | 1-012_validate-managed-by-chain/10-check-secret | test step completed 10-check-secret logger.go:42: 08:44:04 | 1-012_validate-managed-by-chain/11-recreate-applications | starting test step 11-recreate-applications logger.go:42: 08:44:04 | 1-012_validate-managed-by-chain/11-recreate-applications | Namespace:/test-1-12-custom created logger.go:42: 08:44:04 | 1-012_validate-managed-by-chain/11-recreate-applications | Application:kuttl-test-direct-mackerel/test-1-12-custom created logger.go:42: 08:44:04 | 1-012_validate-managed-by-chain/11-recreate-applications | Application:kuttl-test-direct-mackerel/test-1-12-custom2 created === CONT kuttl/harness/1-033_validate_resource_exclusions logger.go:42: 08:44:05 | 1-033_validate_resource_exclusions/2-add_resource_exclusions | test step completed 2-add_resource_exclusions logger.go:42: 08:44:05 | 1-033_validate_resource_exclusions | skipping kubernetes event logging logger.go:42: 08:44:05 | 1-033_validate_resource_exclusions | Deleting namespace: kuttl-test-optimal-elephant === CONT kuttl/harness/1-012_validate-managed-by-chain logger.go:42: 08:44:05 | 1-012_validate-managed-by-chain/11-recreate-applications | test step completed 11-recreate-applications logger.go:42: 08:44:05 | 1-012_validate-managed-by-chain/99-delete | starting test step 99-delete === CONT kuttl/harness/1-088_validate_applicationset_add_env_vars logger.go:42: 08:44:10 | 1-088_validate_applicationset_add_env_vars | Creating namespace: kuttl-test-massive-moray logger.go:42: 08:44:10 | 1-088_validate_applicationset_add_env_vars/1-basic-argocd-install | starting test step 1-basic-argocd-install logger.go:42: 08:44:10 | 1-088_validate_applicationset_add_env_vars/1-basic-argocd-install | ArgoCD:kuttl-test-massive-moray/example-argocd created === CONT kuttl/harness/1-012_validate-managed-by-chain logger.go:42: 08:44:12 | 1-012_validate-managed-by-chain/99-delete | test step completed 99-delete logger.go:42: 08:44:12 | 1-012_validate-managed-by-chain | skipping kubernetes event logging logger.go:42: 08:44:12 | 1-012_validate-managed-by-chain | Deleting namespace: kuttl-test-direct-mackerel === CONT kuttl/harness/1-034_validate_webhook_notifications logger.go:42: 08:44:13 | 1-034_validate_webhook_notifications/4-create-app | test step completed 4-create-app logger.go:42: 08:44:13 | 1-034_validate_webhook_notifications/5-verify-webhook-notification | starting test step 5-verify-webhook-notification logger.go:42: 08:44:13 | 1-034_validate_webhook_notifications/5-verify-webhook-notification | running command: [sh -c #!/bin/bash kubectl -n $NAMESPACE logs deployment.apps/example-notifications-controller | grep "x509" PREV_CMD=$? if [ $PREV_CMD -eq 1 ]; then exit 0 else exit 1 fi ] logger.go:42: 08:44:14 | 1-034_validate_webhook_notifications/5-verify-webhook-notification | error: error from server (NotFound): deployments.apps "example-notifications-controller" not found in namespace "kuttl-test-crucial-ladybird" logger.go:42: 08:44:14 | 1-034_validate_webhook_notifications/5-verify-webhook-notification | running command: [sh -c #!/bin/bash # delays could occur in receiving notification, hence retry before failing for i in {1..5} do sleep 5 kubectl -n $NAMESPACE logs deployment.apps/webhook | grep '{"created":"my-app-3","type":"Directory"}' && break done ] === CONT kuttl/harness/1-096-validate_home_env_argocd_controller logger.go:42: 08:44:18 | 1-096-validate_home_env_argocd_controller | Creating namespace: kuttl-test-game-mastodon logger.go:42: 08:44:18 | 1-096-validate_home_env_argocd_controller/1- | starting test step 1- logger.go:42: 08:44:18 | 1-096-validate_home_env_argocd_controller/1- | test step completed 1- logger.go:42: 08:44:18 | 1-096-validate_home_env_argocd_controller | skipping kubernetes event logging logger.go:42: 08:44:18 | 1-096-validate_home_env_argocd_controller | Deleting namespace: kuttl-test-game-mastodon === CONT kuttl/harness/1-034_validate_webhook_notifications logger.go:42: 08:44:19 | 1-034_validate_webhook_notifications/5-verify-webhook-notification | [webhook] 2024/12/20 08:44:07 [bff26f] executing /usr/bin/date (/usr/bin/date) with arguments ["/usr/bin/date"] and environment [PAYLOAD={"created":"my-app-3","type":"Directory"}] using /var/webhook as cwd logger.go:42: 08:44:19 | 1-034_validate_webhook_notifications/5-verify-webhook-notification | test step completed 5-verify-webhook-notification logger.go:42: 08:44:19 | 1-034_validate_webhook_notifications | skipping kubernetes event logging logger.go:42: 08:44:19 | 1-034_validate_webhook_notifications | Deleting namespace: kuttl-test-crucial-ladybird === CONT kuttl/harness/1-090_validate_permissions logger.go:42: 08:44:23 | 1-090_validate_permissions | Creating namespace: kuttl-test-meet-shrew logger.go:42: 08:44:23 | 1-090_validate_permissions/1- | starting test step 1- logger.go:42: 08:44:23 | 1-090_validate_permissions/1- | test step completed 1- logger.go:42: 08:44:23 | 1-090_validate_permissions/2- | starting test step 2- logger.go:42: 08:44:23 | 1-090_validate_permissions/2- | test step completed 2- logger.go:42: 08:44:23 | 1-090_validate_permissions | skipping kubernetes event logging logger.go:42: 08:44:23 | 1-090_validate_permissions | Deleting namespace: kuttl-test-meet-shrew === CONT kuttl/harness/1-089_validate_extra_repo_commands_args logger.go:42: 08:44:25 | 1-089_validate_extra_repo_commands_args | Creating namespace: kuttl-test-better-gnu logger.go:42: 08:44:25 | 1-089_validate_extra_repo_commands_args/1-basic-argocd-install | starting test step 1-basic-argocd-install logger.go:42: 08:44:25 | 1-089_validate_extra_repo_commands_args/1-basic-argocd-install | Namespace:/test-1-89-repo-extra-command created logger.go:42: 08:44:25 | 1-089_validate_extra_repo_commands_args/1-basic-argocd-install | ArgoCD:test-1-89-repo-extra-command/example-argocd created === CONT kuttl/harness/1-032_validate_resource_inclusions logger.go:42: 08:44:29 | 1-032_validate_resource_inclusions | Creating namespace: kuttl-test-bold-cow logger.go:42: 08:44:29 | 1-032_validate_resource_inclusions/1-install | starting test step 1-install logger.go:42: 08:44:29 | 1-032_validate_resource_inclusions/1-install | ArgoCD:kuttl-test-bold-cow/argocd created === CONT kuttl/harness/1-088_validate_applicationset_add_env_vars logger.go:42: 08:44:42 | 1-088_validate_applicationset_add_env_vars/1-basic-argocd-install | test step completed 1-basic-argocd-install logger.go:42: 08:44:42 | 1-088_validate_applicationset_add_env_vars/2-add-env-vars | starting test step 2-add-env-vars logger.go:42: 08:44:42 | 1-088_validate_applicationset_add_env_vars/2-add-env-vars | ArgoCD:kuttl-test-massive-moray/example-argocd updated logger.go:42: 08:44:43 | 1-088_validate_applicationset_add_env_vars/2-add-env-vars | test step completed 2-add-env-vars logger.go:42: 08:44:43 | 1-088_validate_applicationset_add_env_vars | skipping kubernetes event logging logger.go:42: 08:44:43 | 1-088_validate_applicationset_add_env_vars | Deleting namespace: kuttl-test-massive-moray === CONT kuttl/harness/1-087_validate_repo_server_settings logger.go:42: 08:44:49 | 1-087_validate_repo_server_settings | Creating namespace: kuttl-test-communal-trout logger.go:42: 08:44:49 | 1-087_validate_repo_server_settings/1-install | starting test step 1-install logger.go:42: 08:44:49 | 1-087_validate_repo_server_settings/1-install | ArgoCD:kuttl-test-communal-trout/example-argocd created === CONT kuttl/harness/1-089_validate_extra_repo_commands_args logger.go:42: 08:44:57 | 1-089_validate_extra_repo_commands_args/1-basic-argocd-install | test step completed 1-basic-argocd-install logger.go:42: 08:44:57 | 1-089_validate_extra_repo_commands_args/2-add-extraRepoCommandArgs | starting test step 2-add-extraRepoCommandArgs logger.go:42: 08:44:57 | 1-089_validate_extra_repo_commands_args/2-add-extraRepoCommandArgs | ArgoCD:test-1-89-repo-extra-command/example-argocd updated === CONT kuttl/harness/1-092_validate_workload_status_monitoring_alert logger.go:42: 08:44:57 | 1-092_validate_workload_status_monitoring_alert/2-verify-alert | running command: [sh -c set -eo pipefail cleanup() { rm alerts.json } trap cleanup INT TERM EXIT oc whoami jq '.data.alerts' <<< "$(oc -n openshift-monitoring exec -c prometheus prometheus-k8s-0 -- curl -s 'http://localhost:9090/api/v1/alerts')" > alerts.json result=$(jq --arg NAMESPACE "$NAMESPACE" ' .[] | select( .labels.deployment == "argocd-applicationset-controller" and .labels.namespace == $NAMESPACE and .labels.alertname == "ApplicationSetControllerNotReady" and .state == "firing")' alerts.json) [[ -n "$result" ]] && exit 0 || exit 1 ] logger.go:42: 08:44:57 | 1-092_validate_workload_status_monitoring_alert/2-verify-alert | kube:admin === CONT kuttl/harness/1-089_validate_extra_repo_commands_args logger.go:42: 08:44:58 | 1-089_validate_extra_repo_commands_args/2-add-extraRepoCommandArgs | test step completed 2-add-extraRepoCommandArgs logger.go:42: 08:44:58 | 1-089_validate_extra_repo_commands_args/99-delete | starting test step 99-delete === CONT kuttl/harness/1-092_validate_workload_status_monitoring_alert logger.go:42: 08:44:58 | 1-092_validate_workload_status_monitoring_alert/2-verify-alert | test step completed 2-verify-alert logger.go:42: 08:44:58 | 1-092_validate_workload_status_monitoring_alert/3-disable-monitoring | starting test step 3-disable-monitoring logger.go:42: 08:44:58 | 1-092_validate_workload_status_monitoring_alert/3-disable-monitoring | ArgoCD:kuttl-test-picked-werewolf/argocd updated logger.go:42: 08:44:59 | 1-092_validate_workload_status_monitoring_alert/3-disable-monitoring | test step completed 3-disable-monitoring logger.go:42: 08:44:59 | 1-092_validate_workload_status_monitoring_alert | skipping kubernetes event logging logger.go:42: 08:44:59 | 1-092_validate_workload_status_monitoring_alert | Deleting namespace: kuttl-test-picked-werewolf === CONT kuttl/harness/1-032_validate_resource_inclusions logger.go:42: 08:45:01 | 1-032_validate_resource_inclusions/1-install | test step completed 1-install logger.go:42: 08:45:01 | 1-032_validate_resource_inclusions/2-add_resource_inclusions | starting test step 2-add_resource_inclusions logger.go:42: 08:45:01 | 1-032_validate_resource_inclusions/2-add_resource_inclusions | ArgoCD:kuttl-test-bold-cow/argocd updated logger.go:42: 08:45:02 | 1-032_validate_resource_inclusions/2-add_resource_inclusions | test step completed 2-add_resource_inclusions logger.go:42: 08:45:02 | 1-032_validate_resource_inclusions | skipping kubernetes event logging logger.go:42: 08:45:02 | 1-032_validate_resource_inclusions | Deleting namespace: kuttl-test-bold-cow === CONT kuttl/harness/1-033_validate_applicationset_tls_scm_volume_mount logger.go:42: 08:45:05 | 1-033_validate_applicationset_tls_scm_volume_mount | Creating namespace: kuttl-test-frank-marten logger.go:42: 08:45:05 | 1-033_validate_applicationset_tls_scm_volume_mount/1-install | starting test step 1-install logger.go:42: 08:45:05 | 1-033_validate_applicationset_tls_scm_volume_mount/1-install | Namespace:/test-1-32-appsets-scm-tls-mount created logger.go:42: 08:45:05 | 1-033_validate_applicationset_tls_scm_volume_mount/1-install | ConfigMap:test-1-32-appsets-scm-tls-mount/argocd-appset-gitlab-scm-tls-certs-cm created logger.go:42: 08:45:05 | 1-033_validate_applicationset_tls_scm_volume_mount/1-install | ArgoCD:test-1-32-appsets-scm-tls-mount/argocd created === CONT kuttl/harness/1-036_validate_keycloak_resource_reqs logger.go:42: 08:45:05 | 1-036_validate_keycloak_resource_reqs/2-update-sso-keycloak-provider | test step completed 2-update-sso-keycloak-provider logger.go:42: 08:45:05 | 1-036_validate_keycloak_resource_reqs/3-check-resources | starting test step 3-check-resources logger.go:42: 08:45:05 | 1-036_validate_keycloak_resource_reqs/3-check-resources | running command: [sh -c resources=$(oc get -n $NAMESPACE pod/keycloak-1-deploy -o jsonpath='{.spec.containers[0].resources}') if [[ -n ${resources} ]]; then if [[ "${resources}" != '{"limits":{"cpu":"500m","memory":"512Mi"},"requests":{"cpu":"250m","memory":"256Mi"}}' ]]; then echo "resources spec for pod/keycloak-1-deploy are incorrect" echo "${resources}" exit 1 fi else echo "resources spec not found in pod/keycloak-1-deploy" exit 1 fi ] logger.go:42: 08:45:06 | 1-036_validate_keycloak_resource_reqs/3-check-resources | test step completed 3-check-resources logger.go:42: 08:45:06 | 1-036_validate_keycloak_resource_reqs | skipping kubernetes event logging logger.go:42: 08:45:06 | 1-036_validate_keycloak_resource_reqs | Deleting namespace: kuttl-test-bright-honeybee === CONT kuttl/harness/1-007_validate_volume_mounts logger.go:42: 08:45:08 | 1-007_validate_volume_mounts | Creating namespace: kuttl-test-complete-crow logger.go:42: 08:45:08 | 1-007_validate_volume_mounts/1-install | starting test step 1-install logger.go:42: 08:45:08 | 1-007_validate_volume_mounts/1-install | ArgoCD:kuttl-test-complete-crow/argocd created === CONT kuttl/harness/1-089_validate_extra_repo_commands_args logger.go:42: 08:45:09 | 1-089_validate_extra_repo_commands_args/99-delete | test step completed 99-delete logger.go:42: 08:45:09 | 1-089_validate_extra_repo_commands_args | skipping kubernetes event logging logger.go:42: 08:45:09 | 1-089_validate_extra_repo_commands_args | Deleting namespace: kuttl-test-better-gnu === CONT kuttl/harness/1-008_validate-custom-argocd-namespace logger.go:42: 08:45:14 | 1-008_validate-custom-argocd-namespace | Creating namespace: kuttl-test-epic-hookworm logger.go:42: 08:45:14 | 1-008_validate-custom-argocd-namespace/1-install | starting test step 1-install logger.go:42: 08:45:14 | 1-008_validate-custom-argocd-namespace/1-install | Namespace:/test-1-8-custom created logger.go:42: 08:45:14 | 1-008_validate-custom-argocd-namespace/1-install | ArgoCD:test-1-8-custom/argocd created === CONT kuttl/harness/1-003_validate_console_link logger.go:42: 08:45:16 | 1-003_validate_console_link | Creating namespace: kuttl-test-hopeful-barnacle logger.go:42: 08:45:16 | 1-003_validate_console_link/1-check-console-link | starting test step 1-check-console-link logger.go:42: 08:45:16 | 1-003_validate_console_link/1-check-console-link | test step completed 1-check-console-link logger.go:42: 08:45:16 | 1-003_validate_console_link | skipping kubernetes event logging logger.go:42: 08:45:16 | 1-003_validate_console_link | Deleting namespace: kuttl-test-hopeful-barnacle === CONT kuttl/harness/1-087_validate_repo_server_settings logger.go:42: 08:45:21 | 1-087_validate_repo_server_settings/1-install | test step completed 1-install logger.go:42: 08:45:21 | 1-087_validate_repo_server_settings/2-modify-argocd | starting test step 2-modify-argocd logger.go:42: 08:45:21 | 1-087_validate_repo_server_settings/2-modify-argocd | ArgoCD:kuttl-test-communal-trout/example-argocd updated === CONT kuttl/harness/1-004_beta_to_alpha_conversion logger.go:42: 08:45:22 | 1-004_beta_to_alpha_conversion | Creating namespace: kuttl-test-amused-opossum logger.go:42: 08:45:22 | 1-004_beta_to_alpha_conversion/1-argocd-dex | starting test step 1-argocd-dex logger.go:42: 08:45:22 | 1-004_beta_to_alpha_conversion/1-argocd-dex | ArgoCD:kuttl-test-amused-opossum/argocd created === CONT kuttl/harness/1-087_validate_repo_server_settings logger.go:42: 08:45:22 | 1-087_validate_repo_server_settings/2-modify-argocd | test step completed 2-modify-argocd logger.go:42: 08:45:22 | 1-087_validate_repo_server_settings/4-modify-serviceaccount | starting test step 4-modify-serviceaccount logger.go:42: 08:45:22 | 1-087_validate_repo_server_settings/4-modify-serviceaccount | ServiceAccount:kuttl-test-communal-trout/modified-default created logger.go:42: 08:45:22 | 1-087_validate_repo_server_settings/4-modify-serviceaccount | ArgoCD:kuttl-test-communal-trout/example-argocd updated logger.go:42: 08:45:23 | 1-087_validate_repo_server_settings/4-modify-serviceaccount | test step completed 4-modify-serviceaccount logger.go:42: 08:45:23 | 1-087_validate_repo_server_settings/5-reset-repo-settings | starting test step 5-reset-repo-settings logger.go:42: 08:45:23 | 1-087_validate_repo_server_settings/5-reset-repo-settings | ArgoCD:kuttl-test-communal-trout/example-argocd updated logger.go:42: 08:45:24 | 1-087_validate_repo_server_settings/5-reset-repo-settings | test step completed 5-reset-repo-settings logger.go:42: 08:45:24 | 1-087_validate_repo_server_settings | skipping kubernetes event logging logger.go:42: 08:45:24 | 1-087_validate_repo_server_settings | Deleting namespace: kuttl-test-communal-trout === CONT kuttl/harness/1-003_alpha_to_beta_sso_conflict_conversion logger.go:42: 08:45:30 | 1-003_alpha_to_beta_sso_conflict_conversion | Creating namespace: kuttl-test-funny-skylark logger.go:42: 08:45:30 | 1-003_alpha_to_beta_sso_conflict_conversion/1-argocd-dex-keycloak-conflict | starting test step 1-argocd-dex-keycloak-conflict logger.go:42: 08:45:30 | 1-003_alpha_to_beta_sso_conflict_conversion/1-argocd-dex-keycloak-conflict | ArgoCD:kuttl-test-funny-skylark/argocd created === CONT kuttl/harness/1-033_validate_applicationset_tls_scm_volume_mount logger.go:42: 08:45:36 | 1-033_validate_applicationset_tls_scm_volume_mount/1-install | test step completed 1-install logger.go:42: 08:45:36 | 1-033_validate_applicationset_tls_scm_volume_mount | skipping kubernetes event logging logger.go:42: 08:45:36 | 1-033_validate_applicationset_tls_scm_volume_mount | Deleting namespace: kuttl-test-frank-marten === CONT kuttl/harness/1-007_validate_volume_mounts logger.go:42: 08:45:40 | 1-007_validate_volume_mounts/1-install | test step completed 1-install logger.go:42: 08:45:40 | 1-007_validate_volume_mounts/2-install | starting test step 2-install logger.go:42: 08:45:40 | 1-007_validate_volume_mounts/2-install | ArgoCD:kuttl-test-complete-crow/argocd updated === CONT kuttl/harness/1-002_alpha_to_beta_keycloak_conversion logger.go:42: 08:45:42 | 1-002_alpha_to_beta_keycloak_conversion | Creating namespace: kuttl-test-becoming-sunbeam logger.go:42: 08:45:42 | 1-002_alpha_to_beta_keycloak_conversion/1-argocd-keycloak | starting test step 1-argocd-keycloak logger.go:42: 08:45:42 | 1-002_alpha_to_beta_keycloak_conversion/1-argocd-keycloak | ArgoCD:kuttl-test-becoming-sunbeam/argocd created === CONT kuttl/harness/1-007_validate_volume_mounts logger.go:42: 08:45:44 | 1-007_validate_volume_mounts/2-install | test step completed 2-install logger.go:42: 08:45:44 | 1-007_validate_volume_mounts | skipping kubernetes event logging logger.go:42: 08:45:44 | 1-007_validate_volume_mounts | Deleting namespace: kuttl-test-complete-crow === CONT kuttl/harness/1-008_validate-custom-argocd-namespace logger.go:42: 08:45:47 | 1-008_validate-custom-argocd-namespace/1-install | test step completed 1-install logger.go:42: 08:45:47 | 1-008_validate-custom-argocd-namespace/2-wait | starting test step 2-wait logger.go:42: 08:45:47 | 1-008_validate-custom-argocd-namespace/2-wait | running command: [sh -c function wait_until_pods_running() { echo -n "Waiting until all pods in namespace $1 are up" for i in {1..150}; do # timeout after 5 minutes local pods="$(oc get pods --no-headers -n $1 2>/dev/null)" # All pods must be running local not_running=$(echo "${pods}" | grep -v Running | grep -v Completed | wc -l) if [[ -n "${pods}" && ${not_running} -eq 0 ]]; then local all_ready=1 while read pod ; do local status=(`echo -n ${pod} | cut -f2 -d' ' | tr '/' ' '`) # All containers must be ready [[ -z ${status[0]} ]] && all_ready=0 && break [[ -z ${status[1]} ]] && all_ready=0 && break [[ ${status[0]} -lt 1 ]] && all_ready=0 && break [[ ${status[1]} -lt 1 ]] && all_ready=0 && break [[ ${status[0]} -ne ${status[1]} ]] && all_ready=0 && break done <<< $(echo "${pods}" | grep -v Completed) if (( all_ready )); then echo -e "\nAll pods are up:\n${pods}" return 0 fi fi echo -n "." sleep 2 done echo -e "\n\nERROR: timeout waiting for pods to come up\n${pods}" return 1 } wait_until_pods_running "test-1-8-custom" ] logger.go:42: 08:45:47 | 1-008_validate-custom-argocd-namespace/2-wait | Waiting until all pods in namespace test-1-8-custom are up logger.go:42: 08:45:47 | 1-008_validate-custom-argocd-namespace/2-wait | All pods are up: logger.go:42: 08:45:47 | 1-008_validate-custom-argocd-namespace/2-wait | argocd-application-controller-0 1/1 Running 0 32s logger.go:42: 08:45:47 | 1-008_validate-custom-argocd-namespace/2-wait | argocd-redis-78f558c8cb-hshx7 1/1 Running 0 32s logger.go:42: 08:45:47 | 1-008_validate-custom-argocd-namespace/2-wait | argocd-repo-server-6d54f789db-dcwg8 1/1 Running 0 32s logger.go:42: 08:45:47 | 1-008_validate-custom-argocd-namespace/2-wait | argocd-server-55d4f96445-dv68h 1/1 Running 0 32s logger.go:42: 08:45:47 | 1-008_validate-custom-argocd-namespace/2-wait | test step completed 2-wait logger.go:42: 08:45:47 | 1-008_validate-custom-argocd-namespace/3-create-app | starting test step 3-create-app logger.go:42: 08:45:47 | 1-008_validate-custom-argocd-namespace/3-create-app | Application:test-1-8-custom/validate-custom-argocd created === CONT kuttl/harness/1-086_validate_applicationset_extra_command_args logger.go:42: 08:45:50 | 1-086_validate_applicationset_extra_command_args | Creating namespace: kuttl-test-hopeful-bluegill logger.go:42: 08:45:50 | 1-086_validate_applicationset_extra_command_args/1-basic-argocd-install | starting test step 1-basic-argocd-install logger.go:42: 08:45:50 | 1-086_validate_applicationset_extra_command_args/1-basic-argocd-install | Namespace:/test-1-86-appsets-extra-command created logger.go:42: 08:45:50 | 1-086_validate_applicationset_extra_command_args/1-basic-argocd-install | ArgoCD:test-1-86-appsets-extra-command/example-argocd created === CONT kuttl/harness/1-008_validate-custom-argocd-namespace logger.go:42: 08:45:54 | 1-008_validate-custom-argocd-namespace/3-create-app | test step completed 3-create-app logger.go:42: 08:45:54 | 1-008_validate-custom-argocd-namespace/99-delete | starting test step 99-delete === CONT kuttl/harness/1-004_beta_to_alpha_conversion logger.go:42: 08:45:55 | 1-004_beta_to_alpha_conversion/1-argocd-dex | test step completed 1-argocd-dex logger.go:42: 08:45:55 | 1-004_beta_to_alpha_conversion/2-delete | starting test step 2-delete logger.go:42: 08:45:55 | 1-004_beta_to_alpha_conversion/2-delete | test step completed 2-delete logger.go:42: 08:45:55 | 1-004_beta_to_alpha_conversion | skipping kubernetes event logging logger.go:42: 08:45:55 | 1-004_beta_to_alpha_conversion | Deleting namespace: kuttl-test-amused-opossum === CONT kuttl/harness/1-005_validate_route_tls logger.go:42: 08:46:00 | 1-005_validate_route_tls | Creating namespace: kuttl-test-peaceful-leopard logger.go:42: 08:46:00 | 1-005_validate_route_tls/1-install | starting test step 1-install logger.go:42: 08:46:01 | 1-005_validate_route_tls/1-install | ArgoCD:kuttl-test-peaceful-leopard/example created === CONT kuttl/harness/1-003_alpha_to_beta_sso_conflict_conversion logger.go:42: 08:46:03 | 1-003_alpha_to_beta_sso_conflict_conversion/1-argocd-dex-keycloak-conflict | test step completed 1-argocd-dex-keycloak-conflict logger.go:42: 08:46:03 | 1-003_alpha_to_beta_sso_conflict_conversion/2-delete | starting test step 2-delete logger.go:42: 08:46:03 | 1-003_alpha_to_beta_sso_conflict_conversion/2-delete | test step completed 2-delete logger.go:42: 08:46:03 | 1-003_alpha_to_beta_sso_conflict_conversion | skipping kubernetes event logging logger.go:42: 08:46:03 | 1-003_alpha_to_beta_sso_conflict_conversion | Deleting namespace: kuttl-test-funny-skylark === CONT kuttl/harness/1-008_validate-custom-argocd-namespace logger.go:42: 08:46:05 | 1-008_validate-custom-argocd-namespace/99-delete | test step completed 99-delete logger.go:42: 08:46:05 | 1-008_validate-custom-argocd-namespace | skipping kubernetes event logging logger.go:42: 08:46:05 | 1-008_validate-custom-argocd-namespace | Deleting namespace: kuttl-test-epic-hookworm === CONT kuttl/harness/1-007_validate_namespace_scoped_install logger.go:42: 08:46:09 | 1-007_validate_namespace_scoped_install | Creating namespace: kuttl-test-national-elephant logger.go:42: 08:46:09 | 1-007_validate_namespace_scoped_install/1-install | starting test step 1-install logger.go:42: 08:46:09 | 1-007_validate_namespace_scoped_install/1-install | ArgoCD:kuttl-test-national-elephant/argocd created === CONT kuttl/harness/1-002_alpha_to_beta_keycloak_conversion logger.go:42: 08:46:14 | 1-002_alpha_to_beta_keycloak_conversion/1-argocd-keycloak | test step completed 1-argocd-keycloak logger.go:42: 08:46:14 | 1-002_alpha_to_beta_keycloak_conversion/2-delete | starting test step 2-delete logger.go:42: 08:46:14 | 1-002_alpha_to_beta_keycloak_conversion/2-delete | test step completed 2-delete logger.go:42: 08:46:14 | 1-002_alpha_to_beta_keycloak_conversion | skipping kubernetes event logging logger.go:42: 08:46:14 | 1-002_alpha_to_beta_keycloak_conversion | Deleting namespace: kuttl-test-becoming-sunbeam === CONT kuttl/harness/1-007_validate_namespace_scoped_install logger.go:42: 08:46:21 | 1-007_validate_namespace_scoped_install/1-install | test step completed 1-install logger.go:42: 08:46:21 | 1-007_validate_namespace_scoped_install/2-check-cluster-secret | starting test step 2-check-cluster-secret logger.go:42: 08:46:21 | 1-007_validate_namespace_scoped_install/2-check-cluster-secret | running command: [sh -c namespaces=$(oc get secret -n $NAMESPACE argocd-default-cluster-config -o jsonpath='{.data.namespaces}' | base64 -d) if test "$namespaces" != "$NAMESPACE"; then echo "Assertion for cluster secret failed!" exit 1 fi exit 0 ] === CONT kuttl/harness/1-086_validate_applicationset_extra_command_args logger.go:42: 08:46:22 | 1-086_validate_applicationset_extra_command_args/1-basic-argocd-install | test step completed 1-basic-argocd-install logger.go:42: 08:46:22 | 1-086_validate_applicationset_extra_command_args/2-add-extraCommandArgs | starting test step 2-add-extraCommandArgs logger.go:42: 08:46:22 | 1-086_validate_applicationset_extra_command_args/2-add-extraCommandArgs | ArgoCD:test-1-86-appsets-extra-command/example-argocd updated === CONT kuttl/harness/1-007_validate_namespace_scoped_install logger.go:42: 08:46:22 | 1-007_validate_namespace_scoped_install/2-check-cluster-secret | test step completed 2-check-cluster-secret logger.go:42: 08:46:22 | 1-007_validate_namespace_scoped_install | skipping kubernetes event logging logger.go:42: 08:46:22 | 1-007_validate_namespace_scoped_install | Deleting namespace: kuttl-test-national-elephant === CONT kuttl/harness/1-086_validate_applicationset_extra_command_args logger.go:42: 08:46:23 | 1-086_validate_applicationset_extra_command_args/2-add-extraCommandArgs | test step completed 2-add-extraCommandArgs logger.go:42: 08:46:23 | 1-086_validate_applicationset_extra_command_args/99-delete | starting test step 99-delete === CONT kuttl/harness/1-005_validate_route_tls logger.go:42: 08:46:32 | 1-005_validate_route_tls/1-install | test step completed 1-install logger.go:42: 08:46:32 | 1-005_validate_route_tls/2-embedded-tls-data | starting test step 2-embedded-tls-data logger.go:42: 08:46:32 | 1-005_validate_route_tls/2-embedded-tls-data | ArgoCD:kuttl-test-peaceful-leopard/example updated logger.go:42: 08:46:33 | 1-005_validate_route_tls/2-embedded-tls-data | test step completed 2-embedded-tls-data logger.go:42: 08:46:33 | 1-005_validate_route_tls/3-secret-tls-data | starting test step 3-secret-tls-data logger.go:42: 08:46:34 | 1-005_validate_route_tls/3-secret-tls-data | ArgoCD:kuttl-test-peaceful-leopard/example updated logger.go:42: 08:46:34 | 1-005_validate_route_tls/3-secret-tls-data | Secret:kuttl-test-peaceful-leopard/tls-data-secret created === CONT kuttl/harness/1-086_validate_applicationset_extra_command_args logger.go:42: 08:46:34 | 1-086_validate_applicationset_extra_command_args/99-delete | test step completed 99-delete logger.go:42: 08:46:34 | 1-086_validate_applicationset_extra_command_args | skipping kubernetes event logging logger.go:42: 08:46:34 | 1-086_validate_applicationset_extra_command_args | Deleting namespace: kuttl-test-hopeful-bluegill === CONT kuttl/harness/1-005_validate_route_tls logger.go:42: 08:46:35 | 1-005_validate_route_tls/3-secret-tls-data | test step completed 3-secret-tls-data logger.go:42: 08:46:35 | 1-005_validate_route_tls/4-update-secret-tls-data | starting test step 4-update-secret-tls-data logger.go:42: 08:46:35 | 1-005_validate_route_tls/4-update-secret-tls-data | running command: [sh -c sleep 10] logger.go:42: 08:46:45 | 1-005_validate_route_tls/4-update-secret-tls-data | Secret:kuttl-test-peaceful-leopard/tls-data-secret updated logger.go:42: 08:46:46 | 1-005_validate_route_tls/4-update-secret-tls-data | test step completed 4-update-secret-tls-data logger.go:42: 08:46:46 | 1-005_validate_route_tls | skipping kubernetes event logging logger.go:42: 08:46:46 | 1-005_validate_route_tls | Deleting namespace: kuttl-test-peaceful-leopard === CONT kuttl harness.go:405: run tests finished harness.go:513: cleaning up harness.go:570: removing temp folder: "" --- PASS: kuttl (1307.07s) --- PASS: kuttl/harness (0.00s) --- PASS: kuttl/harness/1-084_validate_status_host_ingress (17.98s) --- PASS: kuttl/harness/1-083_validate_resource_customization_subkeys (31.20s) --- PASS: kuttl/harness/1-049_validate_parallelism_limit (31.98s) --- PASS: kuttl/harness/1-081_validate_applicationset_deployment (5.48s) --- PASS: kuttl/harness/1-001_alpha_to_beta_dex_conversion (39.19s) --- PASS: kuttl/harness/1-082_validate_node_placement (9.27s) --- PASS: kuttl/harness/1-077_validate_disable_dex_removed (6.28s) --- PASS: kuttl/harness/1-115_validate_controller_extra_command_args (52.99s) --- PASS: kuttl/harness/1-074_validate_terminating_namespace_block (8.90s) --- PASS: kuttl/harness/1-079_validate_vars_for_notificaitons (25.51s) --- PASS: kuttl/harness/1-083_validate_kustomize_namereference (46.86s) --- PASS: kuttl/harness/1-075_validate_dex_anyuid (23.75s) --- PASS: kuttl/harness/1-080_validate_regex_support_argocd_rbac (40.26s) --- PASS: kuttl/harness/1-072_validate_liveness_probe_removed (38.33s) --- PASS: kuttl/harness/1-070_validate_config_management_plugin (76.80s) --- PASS: kuttl/harness/1-068_validate_redis_secure_comm_autotls_no_ha (73.99s) --- PASS: kuttl/harness/1-069_validate_redis_secure_comm_autotls_ha (187.03s) --- PASS: kuttl/harness/1-071_validate_SCC_HA (229.85s) --- PASS: kuttl/harness/1-066_validate_redis_secure_comm_no_autotls_no_ha (179.17s) --- PASS: kuttl/harness/1-073_validate_rhsso (302.72s) --- PASS: kuttl/harness/1-063_validate_dex_liveness_probe (5.49s) --- PASS: kuttl/harness/1-064_validate_security_contexts (98.54s) --- PASS: kuttl/harness/1-062_validate_extra_config (56.77s) --- PASS: kuttl/harness/1-053_validate_cluster_admin_rbac (5.54s) --- PASS: kuttl/harness/1-063_validate_statefulset_restart (80.38s) --- PASS: kuttl/harness/1-051-validate_csv_permissions (5.86s) --- PASS: kuttl/harness/1-052_validate_rolebinding_number (29.90s) --- PASS: kuttl/harness/1-054_validate_deploymentconfig (90.61s) --- PASS: kuttl/harness/1-114_validate_server_sidecar (6.61s) --- PASS: kuttl/harness/1-113_validate_appcontroller_sidecar (6.73s) --- PASS: kuttl/harness/1-112_validate_server_initcontainers (6.52s) --- PASS: kuttl/harness/1-111_validate_appcontroller_initcontainers (6.63s) --- PASS: kuttl/harness/1-067_validate_redis_secure_comm_no_autotls_ha (390.36s) --- PASS: kuttl/harness/1-099_validate_server_autoscale (84.31s) --- PASS: kuttl/harness/1-107_host_attribute_sso_provider (43.56s) --- PASS: kuttl/harness/1-065_validate_redis_ha_anti_affinity (319.17s) --- PASS: kuttl/harness/1-104_validate_applicationset_tls_scm_volume_mount (48.69s) --- PASS: kuttl/harness/1-103_argocd_alpha_to_beta_conversion (38.21s) --- PASS: kuttl/harness/1-050_validate_sso (189.51s) --- PASS: kuttl/harness/1-055_drop_resource_customizations (38.18s) --- PASS: kuttl/harness/1-102_validate_handle_terminating_namespaces (81.32s) --- PASS: kuttl/harness/1-058_validate_prometheus_rule (40.95s) --- PASS: kuttl/harness/1-091_argocd_app_validate-applicationset-status (12.23s) --- PASS: kuttl/harness/1-057_validate_notifications (69.73s) --- PASS: kuttl/harness/1-055_validate_notification_controller (61.82s) --- PASS: kuttl/harness/1-061_validate_resource_tracking_method (32.74s) --- PASS: kuttl/harness/1-098_validate_dex_clientsecret_deprecated (39.58s) --- PASS: kuttl/harness/1-047_validate_custom_env (48.52s) --- PASS: kuttl/harness/1-048_validate_controller_sharding (73.11s) --- PASS: kuttl/harness/1-009_validate-manage-other-namespace (65.81s) --- PASS: kuttl/harness/1-045_validate_repo_exec_timeout (48.61s) --- PASS: kuttl/harness/1-045_validate_applicationset_image_override (7.69s) --- PASS: kuttl/harness/1-030_validate_reencrypt (38.29s) --- PASS: kuttl/harness/1-044_validate_resource_limit_changes (49.49s) --- PASS: kuttl/harness/1-043_validate_log_level_format (54.27s) --- PASS: kuttl/harness/1-029_validate_tls_secret_no_scale (48.40s) --- PASS: kuttl/harness/1-043_validate_custom_labels_annotations (7.78s) --- PASS: kuttl/harness/1-108_alternate_cluster_roles_cluster_scoped_instance (459.35s) --- PASS: kuttl/harness/1-025-validate-managed-by-change (68.45s) --- PASS: kuttl/harness/1-039_validate_fix_argocd-tls-certs-cm (17.95s) --- PASS: kuttl/harness/1-032_validate_dynamic_scaling (325.60s) --- PASS: kuttl/harness/1-038_validate_productized_images (19.01s) --- PASS: kuttl/harness/1-023_validate_repo_server_tls (62.82s) --- PASS: kuttl/harness/1-095_validate_dex_clientsecret (40.25s) --- PASS: kuttl/harness/1-042_restricted_pss_compliant (124.69s) --- PASS: kuttl/harness/1-021_validate_rolebindings (37.52s) --- PASS: kuttl/harness/1-019_validate_volume_mounts (37.47s) --- PASS: kuttl/harness/1-037_validate_argocd_setting_replicas (70.65s) --- PASS: kuttl/harness/1-033_validate_resource_exclusions (38.96s) --- PASS: kuttl/harness/1-012_validate-managed-by-chain (71.52s) --- PASS: kuttl/harness/1-096-validate_home_env_argocd_controller (5.61s) --- PASS: kuttl/harness/1-034_validate_webhook_notifications (87.97s) --- PASS: kuttl/harness/1-090_validate_permissions (5.49s) --- PASS: kuttl/harness/1-088_validate_applicationset_add_env_vars (38.43s) --- PASS: kuttl/harness/1-092_validate_workload_status_monitoring_alert (459.28s) --- PASS: kuttl/harness/1-032_validate_resource_inclusions (38.97s) --- PASS: kuttl/harness/1-089_validate_extra_repo_commands_args (49.48s) --- PASS: kuttl/harness/1-036_validate_keycloak_resource_reqs (172.95s) --- PASS: kuttl/harness/1-003_validate_console_link (5.46s) --- PASS: kuttl/harness/1-087_validate_repo_server_settings (41.39s) --- PASS: kuttl/harness/1-033_validate_applicationset_tls_scm_volume_mount (37.15s) --- PASS: kuttl/harness/1-007_validate_volume_mounts (41.89s) --- PASS: kuttl/harness/1-004_beta_to_alpha_conversion (38.61s) --- PASS: kuttl/harness/1-003_alpha_to_beta_sso_conflict_conversion (39.44s) --- PASS: kuttl/harness/1-008_validate-custom-argocd-namespace (56.58s) --- PASS: kuttl/harness/1-007_validate_namespace_scoped_install (18.05s) --- PASS: kuttl/harness/1-086_validate_applicationset_extra_command_args (49.94s) --- PASS: kuttl/harness/1-005_validate_route_tls (50.98s) --- PASS: kuttl/harness/1-002_alpha_to_beta_keycloak_conversion (73.00s) PASS Running sequential test suite 2024/12/20 08:46:55 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. harness.go:275: Successful connection to cluster at: https://a6005cf9ec79040fbadbf93e777ebad0-b1e1c28c91430fab.elb.us-east-1.amazonaws.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 37 tests === RUN kuttl/harness === 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-100_validate_rollouts_resources_creation === PAUSE kuttl/harness/1-100_validate_rollouts_resources_creation === RUN kuttl/harness/1-101_validate_rollout_policyrules === PAUSE kuttl/harness/1-101_validate_rollout_policyrules === 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 === RUN kuttl/harness/1-106_validate_argocd_metrics_controller === PAUSE kuttl/harness/1-106_validate_argocd_metrics_controller === RUN kuttl/harness/1-109_validate_reencrypt_termination_policy === PAUSE kuttl/harness/1-109_validate_reencrypt_termination_policy === RUN kuttl/harness/1-110_validate_podsecurity_alerts === PAUSE kuttl/harness/1-110_validate_podsecurity_alerts === RUN kuttl/harness/1-111_validate_default_argocd_route === PAUSE kuttl/harness/1-111_validate_default_argocd_route === RUN kuttl/harness/1-112_validate_rollout_plugin_support === PAUSE kuttl/harness/1-112_validate_rollout_plugin_support === CONT kuttl/harness/1-002_validate_backend_service logger.go:42: 08:46:55 | 1-002_validate_backend_service | Creating namespace: kuttl-test-helping-prawn logger.go:42: 08:46:55 | 1-002_validate_backend_service/1-check-backend-service | starting test step 1-check-backend-service logger.go:42: 08:46:55 | 1-002_validate_backend_service/1-check-backend-service | test step completed 1-check-backend-service logger.go:42: 08:46:55 | 1-002_validate_backend_service | skipping kubernetes event logging logger.go:42: 08:46:55 | 1-002_validate_backend_service | Deleting namespace: kuttl-test-helping-prawn === CONT kuttl/harness/1-100_validate_rollouts_resources_creation logger.go:42: 08:47:01 | 1-100_validate_rollouts_resources_creation | Creating namespace: kuttl-test-ultimate-leopard logger.go:42: 08:47:01 | 1-100_validate_rollouts_resources_creation/1-install-rolloutmanager | starting test step 1-install-rolloutmanager logger.go:42: 08:47:01 | 1-100_validate_rollouts_resources_creation/1-install-rolloutmanager | RolloutManager:openshift-gitops/example-rollout-manager created logger.go:42: 08:47:28 | 1-100_validate_rollouts_resources_creation/1-install-rolloutmanager | test step completed 1-install-rolloutmanager logger.go:42: 08:47:28 | 1-100_validate_rollouts_resources_creation/2- | starting test step 2- logger.go:42: 08:47:28 | 1-100_validate_rollouts_resources_creation/2- | test step completed 2- logger.go:42: 08:47:28 | 1-100_validate_rollouts_resources_creation/3-delete | starting test step 3-delete logger.go:42: 08:47:29 | 1-100_validate_rollouts_resources_creation/3-delete | test step completed 3-delete logger.go:42: 08:47:29 | 1-100_validate_rollouts_resources_creation | skipping kubernetes event logging logger.go:42: 08:47:29 | 1-100_validate_rollouts_resources_creation | Deleting namespace: kuttl-test-ultimate-leopard === CONT kuttl/harness/1-112_validate_rollout_plugin_support logger.go:42: 08:47:34 | 1-112_validate_rollout_plugin_support | Creating namespace: kuttl-test-cosmic-bison logger.go:42: 08:47:34 | 1-112_validate_rollout_plugin_support/1-install-rolloutmanager | starting test step 1-install-rolloutmanager logger.go:42: 08:47:34 | 1-112_validate_rollout_plugin_support/1-install-rolloutmanager | RolloutManager:openshift-gitops/example-rollout-manager created logger.go:42: 08:47:50 | 1-112_validate_rollout_plugin_support/1-install-rolloutmanager | test step completed 1-install-rolloutmanager logger.go:42: 08:47:50 | 1-112_validate_rollout_plugin_support/3-delete | starting test step 3-delete logger.go:42: 08:47:50 | 1-112_validate_rollout_plugin_support/3-delete | test step completed 3-delete logger.go:42: 08:47:50 | 1-112_validate_rollout_plugin_support | skipping kubernetes event logging logger.go:42: 08:47:50 | 1-112_validate_rollout_plugin_support | Deleting namespace: kuttl-test-cosmic-bison === CONT kuttl/harness/1-111_validate_default_argocd_route logger.go:42: 08:47:56 | 1-111_validate_default_argocd_route | Creating namespace: kuttl-test-classic-bluegill logger.go:42: 08:47:56 | 1-111_validate_default_argocd_route/1- | starting test step 1- logger.go:42: 08:47:56 | 1-111_validate_default_argocd_route/1- | test step completed 1- logger.go:42: 08:47:56 | 1-111_validate_default_argocd_route/2-update_tls | starting test step 2-update_tls logger.go:42: 08:47:56 | 1-111_validate_default_argocd_route/2-update_tls | ArgoCD:openshift-gitops/openshift-gitops updated logger.go:42: 08:47:57 | 1-111_validate_default_argocd_route/2-update_tls | test step completed 2-update_tls logger.go:42: 08:47:57 | 1-111_validate_default_argocd_route/3-cleanup | starting test step 3-cleanup logger.go:42: 08:47:57 | 1-111_validate_default_argocd_route/3-cleanup | running command: [sh -c kubectl patch argocd openshift-gitops -n openshift-gitops --type='json' -p='[{"op": "remove", "path": "/spec/server/route/tls"}]' ] logger.go:42: 08:47:57 | 1-111_validate_default_argocd_route/3-cleanup | argocd.argoproj.io/openshift-gitops patched logger.go:42: 08:47:57 | 1-111_validate_default_argocd_route/3-cleanup | running command: [sh -c sleep 10] logger.go:42: 08:48:07 | 1-111_validate_default_argocd_route/3-cleanup | test step completed 3-cleanup logger.go:42: 08:48:07 | 1-111_validate_default_argocd_route | skipping kubernetes event logging logger.go:42: 08:48:07 | 1-111_validate_default_argocd_route | Deleting namespace: kuttl-test-classic-bluegill === CONT kuttl/harness/1-110_validate_podsecurity_alerts logger.go:42: 08:48:13 | 1-110_validate_podsecurity_alerts | Creating namespace: kuttl-test-optimal-sunbeam logger.go:42: 08:48:13 | 1-110_validate_podsecurity_alerts/1- | starting test step 1- logger.go:42: 08:48:13 | 1-110_validate_podsecurity_alerts/1- | test step completed 1- logger.go:42: 08:48:13 | 1-110_validate_podsecurity_alerts | skipping kubernetes event logging logger.go:42: 08:48:13 | 1-110_validate_podsecurity_alerts | Deleting namespace: kuttl-test-optimal-sunbeam === CONT kuttl/harness/1-109_validate_reencrypt_termination_policy logger.go:42: 08:48:18 | 1-109_validate_reencrypt_termination_policy | Creating namespace: kuttl-test-wondrous-gopher logger.go:42: 08:48:18 | 1-109_validate_reencrypt_termination_policy/1- | starting test step 1- logger.go:42: 08:48:18 | 1-109_validate_reencrypt_termination_policy/1- | test step completed 1- logger.go:42: 08:48:18 | 1-109_validate_reencrypt_termination_policy/2-check-certificate | starting test step 2-check-certificate logger.go:42: 08:48:18 | 1-109_validate_reencrypt_termination_policy/2-check-certificate | running command: [sh -c route=https://$(oc get route -n openshift-gitops openshift-gitops-server -o jsonpath='{.spec.host}') issuer=$(curl --insecure -v "$route" 2>&1 | awk '/issuer:/') if [ $issuer != *"root-ca"* ] && [ $issuer != *"ingress-operator"* ]; then echo "TLS connections rely on the default ingress operator certificate or root-ca" exit 1 fi ] logger.go:42: 08:48:19 | 1-109_validate_reencrypt_termination_policy/2-check-certificate | sh: line 5: [: too many arguments logger.go:42: 08:48:19 | 1-109_validate_reencrypt_termination_policy/2-check-certificate | test step completed 2-check-certificate logger.go:42: 08:48:19 | 1-109_validate_reencrypt_termination_policy | skipping kubernetes event logging logger.go:42: 08:48:19 | 1-109_validate_reencrypt_termination_policy | Deleting namespace: kuttl-test-wondrous-gopher === CONT kuttl/harness/1-106_validate_argocd_metrics_controller logger.go:42: 08:48:24 | 1-106_validate_argocd_metrics_controller | Creating namespace: kuttl-test-included-buck logger.go:42: 08:48:24 | 1-106_validate_argocd_metrics_controller/1- | starting test step 1- logger.go:42: 08:48:24 | 1-106_validate_argocd_metrics_controller/1- | test step completed 1- logger.go:42: 08:48:24 | 1-106_validate_argocd_metrics_controller/2-disable-metrics | starting test step 2-disable-metrics logger.go:42: 08:48:24 | 1-106_validate_argocd_metrics_controller/2-disable-metrics | running command: [sh -c oc patch argocd openshift-gitops -n openshift-gitops --type='json' -p='[{"op": "replace", "path": "/spec/monitoring/disableMetrics", "value": true}]' ] logger.go:42: 08:48:25 | 1-106_validate_argocd_metrics_controller/2-disable-metrics | argocd.argoproj.io/openshift-gitops patched logger.go:42: 08:48:25 | 1-106_validate_argocd_metrics_controller/2-disable-metrics | test step completed 2-disable-metrics logger.go:42: 08:48:25 | 1-106_validate_argocd_metrics_controller/3-enable-metrics | starting test step 3-enable-metrics logger.go:42: 08:48:25 | 1-106_validate_argocd_metrics_controller/3-enable-metrics | running command: [sh -c oc patch argocd openshift-gitops -n openshift-gitops --type='json' -p='[{"op": "replace", "path": "/spec/monitoring/disableMetrics", "value": false}]' ] logger.go:42: 08:48:25 | 1-106_validate_argocd_metrics_controller/3-enable-metrics | argocd.argoproj.io/openshift-gitops patched logger.go:42: 08:48:25 | 1-106_validate_argocd_metrics_controller/3-enable-metrics | test step completed 3-enable-metrics logger.go:42: 08:48:25 | 1-106_validate_argocd_metrics_controller | skipping kubernetes event logging logger.go:42: 08:48:25 | 1-106_validate_argocd_metrics_controller | Deleting namespace: kuttl-test-included-buck === CONT kuttl/harness/1-105_validate_label_selector logger.go:42: 08:48:31 | 1-105_validate_label_selector | Creating namespace: kuttl-test-causal-elephant logger.go:42: 08:48:31 | 1-105_validate_label_selector/1-add-label-selector | starting test step 1-add-label-selector logger.go:42: 08:48:31 | 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:48:32 | 1-105_validate_label_selector/1-add-label-selector | subscription.operators.coreos.com/openshift-gitops-operator patched logger.go:42: 08:48:32 | 1-105_validate_label_selector/1-add-label-selector | running command: [sh -c sleep 120] logger.go:42: 08:50:32 | 1-105_validate_label_selector/1-add-label-selector | test step completed 1-add-label-selector logger.go:42: 08:50:32 | 1-105_validate_label_selector/2-create-ns | starting test step 2-create-ns logger.go:42: 08:50:32 | 1-105_validate_label_selector/2-create-ns | Namespace:/test-argocd created logger.go:42: 08:50:32 | 1-105_validate_label_selector/2-create-ns | ArgoCD:test-argocd/argocd created logger.go:42: 08:50:32 | 1-105_validate_label_selector/2-create-ns | ArgoCD:test-argocd/test1 created logger.go:42: 08:50:32 | 1-105_validate_label_selector/2-create-ns | test step completed 2-create-ns logger.go:42: 08:50:32 | 1-105_validate_label_selector/3-add-label | starting test step 3-add-label logger.go:42: 08:50:32 | 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:50:32 | 1-105_validate_label_selector/3-add-label | argocd.argoproj.io/test1 labeled logger.go:42: 08:50:32 | 1-105_validate_label_selector/3-add-label | running command: [sh -c sleep 30] logger.go:42: 08:51:04 | 1-105_validate_label_selector/3-add-label | test step completed 3-add-label logger.go:42: 08:51:04 | 1-105_validate_label_selector/4-install | starting test step 4-install logger.go:42: 08:51:04 | 1-105_validate_label_selector/4-install | ArgoCD:test-argocd/test1 updated logger.go:42: 08:51:05 | 1-105_validate_label_selector/4-install | test step completed 4-install logger.go:42: 08:51:05 | 1-105_validate_label_selector/5-remove-label | starting test step 5-remove-label logger.go:42: 08:51:05 | 1-105_validate_label_selector/5-remove-label | running command: [sh -c kubectl label argocd test1 foo- -n test-argocd ] logger.go:42: 08:51:06 | 1-105_validate_label_selector/5-remove-label | argocd.argoproj.io/test1 unlabeled logger.go:42: 08:51:06 | 1-105_validate_label_selector/5-remove-label | running command: [sh -c sleep 30] logger.go:42: 08:51:36 | 1-105_validate_label_selector/5-remove-label | test step completed 5-remove-label logger.go:42: 08:51:36 | 1-105_validate_label_selector/6-install | starting test step 6-install logger.go:42: 08:51:36 | 1-105_validate_label_selector/6-install | ArgoCD:test-argocd/test1 updated logger.go:42: 08:51:36 | 1-105_validate_label_selector/6-install | test step completed 6-install logger.go:42: 08:51:36 | 1-105_validate_label_selector/7-remove-label-selector | starting test step 7-remove-label-selector logger.go:42: 08:51:36 | 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:51:37 | 1-105_validate_label_selector/7-remove-label-selector | subscription.operators.coreos.com/openshift-gitops-operator patched logger.go:42: 08:51:37 | 1-105_validate_label_selector/7-remove-label-selector | running command: [sh -c sleep 120] logger.go:42: 08:53:37 | 1-105_validate_label_selector/7-remove-label-selector | test step completed 7-remove-label-selector logger.go:42: 08:53:37 | 1-105_validate_label_selector/99-delete | starting test step 99-delete logger.go:42: 08:53:48 | 1-105_validate_label_selector/99-delete | test step completed 99-delete logger.go:42: 08:53:48 | 1-105_validate_label_selector | skipping kubernetes event logging logger.go:42: 08:53:48 | 1-105_validate_label_selector | Deleting namespace: kuttl-test-causal-elephant === CONT kuttl/harness/1-104_validate_prometheus_alert logger.go:42: 08:53:53 | 1-104_validate_prometheus_alert | Creating namespace: kuttl-test-deciding-bison logger.go:42: 08:53:53 | 1-104_validate_prometheus_alert/1- | starting test step 1- logger.go:42: 08:53:53 | 1-104_validate_prometheus_alert/1- | test step completed 1- logger.go:42: 08:53:53 | 1-104_validate_prometheus_alert | skipping kubernetes event logging logger.go:42: 08:53:53 | 1-104_validate_prometheus_alert | Deleting namespace: kuttl-test-deciding-bison === CONT kuttl/harness/1-101_validate_rollout_policyrules logger.go:42: 08:53:59 | 1-101_validate_rollout_policyrules | Creating namespace: kuttl-test-rapid-buzzard logger.go:42: 08:53:59 | 1-101_validate_rollout_policyrules/1-install-rollloutmanager | starting test step 1-install-rollloutmanager logger.go:42: 08:53:59 | 1-101_validate_rollout_policyrules/1-install-rollloutmanager | RolloutManager:openshift-gitops/example-rollout-manager created logger.go:42: 08:54:00 | 1-101_validate_rollout_policyrules/1-install-rollloutmanager | test step completed 1-install-rollloutmanager logger.go:42: 08:54:00 | 1-101_validate_rollout_policyrules/2-delete | starting test step 2-delete logger.go:42: 08:54:00 | 1-101_validate_rollout_policyrules/2-delete | test step completed 2-delete logger.go:42: 08:54:00 | 1-101_validate_rollout_policyrules | skipping kubernetes event logging logger.go:42: 08:54:00 | 1-101_validate_rollout_policyrules | Deleting namespace: kuttl-test-rapid-buzzard === CONT kuttl/harness/1-036_validate_role_rolebinding_for_source_namespace logger.go:42: 08:54:05 | 1-036_validate_role_rolebinding_for_source_namespace | Creating namespace: kuttl-test-model-starling logger.go:42: 08:54:05 | 1-036_validate_role_rolebinding_for_source_namespace/1-sourcenamespace_without_wildcard | starting test step 1-sourcenamespace_without_wildcard logger.go:42: 08:54:05 | 1-036_validate_role_rolebinding_for_source_namespace/1-sourcenamespace_without_wildcard | Namespace:/test created logger.go:42: 08:54:05 | 1-036_validate_role_rolebinding_for_source_namespace/1-sourcenamespace_without_wildcard | ArgoCD:default/example-argocd created logger.go:42: 08:54:06 | 1-036_validate_role_rolebinding_for_source_namespace/1-sourcenamespace_without_wildcard | test step completed 1-sourcenamespace_without_wildcard logger.go:42: 08:54:06 | 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:54:07 | 1-036_validate_role_rolebinding_for_source_namespace/2-sourceNamespace_with_wildcard_pattern | Namespace:/test-1 created logger.go:42: 08:54:07 | 1-036_validate_role_rolebinding_for_source_namespace/2-sourceNamespace_with_wildcard_pattern | Namespace:/dev created logger.go:42: 08:54:07 | 1-036_validate_role_rolebinding_for_source_namespace/2-sourceNamespace_with_wildcard_pattern | ArgoCD:default/example-argocd updated logger.go:42: 08:54:08 | 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:54:08 | 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:54:08 | 1-036_validate_role_rolebinding_for_source_namespace/3-new_namespace_with_match_pattern | Namespace:/test-2 created logger.go:42: 08:54:09 | 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:54:09 | 1-036_validate_role_rolebinding_for_source_namespace/4-sourceNamespace_with_wildcard | starting test step 4-sourceNamespace_with_wildcard logger.go:42: 08:54:09 | 1-036_validate_role_rolebinding_for_source_namespace/4-sourceNamespace_with_wildcard | Namespace:/test-3 created logger.go:42: 08:54:09 | 1-036_validate_role_rolebinding_for_source_namespace/4-sourceNamespace_with_wildcard | ArgoCD:default/example-argocd updated logger.go:42: 08:54:12 | 1-036_validate_role_rolebinding_for_source_namespace/4-sourceNamespace_with_wildcard | test step completed 4-sourceNamespace_with_wildcard logger.go:42: 08:54:12 | 1-036_validate_role_rolebinding_for_source_namespace/5-multiple_sourcenamespace | starting test step 5-multiple_sourcenamespace logger.go:42: 08:54:12 | 1-036_validate_role_rolebinding_for_source_namespace/5-multiple_sourcenamespace | Namespace:/test-ns-1 created logger.go:42: 08:54:12 | 1-036_validate_role_rolebinding_for_source_namespace/5-multiple_sourcenamespace | Namespace:/dev-ns-1 created logger.go:42: 08:54:12 | 1-036_validate_role_rolebinding_for_source_namespace/5-multiple_sourcenamespace | Namespace:/other-ns created logger.go:42: 08:54:12 | 1-036_validate_role_rolebinding_for_source_namespace/5-multiple_sourcenamespace | ArgoCD:default/example-argocd updated logger.go:42: 08:54:13 | 1-036_validate_role_rolebinding_for_source_namespace/5-multiple_sourcenamespace | test step completed 5-multiple_sourcenamespace logger.go:42: 08:54:13 | 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 logger.go:42: 08:54:13 | 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:54:16 | 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:54:16 | 1-036_validate_role_rolebinding_for_source_namespace | skipping kubernetes event logging logger.go:42: 08:54:17 | 1-036_validate_role_rolebinding_for_source_namespace | Deleting namespace: kuttl-test-model-starling === CONT kuttl/harness/1-086_validate_default_argocd_role logger.go:42: 08:54:22 | 1-086_validate_default_argocd_role | Creating namespace: kuttl-test-internal-raptor logger.go:42: 08:54:22 | 1-086_validate_default_argocd_role/1- | starting test step 1- logger.go:42: 08:54:23 | 1-086_validate_default_argocd_role/1- | test step completed 1- logger.go:42: 08:54:23 | 1-086_validate_default_argocd_role/2-install | starting test step 2-install logger.go:42: 08:54:23 | 1-086_validate_default_argocd_role/2-install | Namespace:/test-1-086-custom created logger.go:42: 08:54:23 | 1-086_validate_default_argocd_role/2-install | Namespace:/test-1-086-custom2 created logger.go:42: 08:54:23 | 1-086_validate_default_argocd_role/2-install | Namespace:/test-1-086-custom3 created logger.go:42: 08:54:23 | 1-086_validate_default_argocd_role/2-install | ArgoCD:test-1-086-custom/argocd-default-policy created logger.go:42: 08:54:23 | 1-086_validate_default_argocd_role/2-install | ArgoCD:test-1-086-custom2/argocd-default-policy-empty created logger.go:42: 08:54:23 | 1-086_validate_default_argocd_role/2-install | ArgoCD:test-1-086-custom3/argocd-default-policy-admin created logger.go:42: 08:54:55 | 1-086_validate_default_argocd_role/2-install | test step completed 2-install logger.go:42: 08:54:55 | 1-086_validate_default_argocd_role | skipping kubernetes event logging logger.go:42: 08:54:55 | 1-086_validate_default_argocd_role | Deleting namespace: kuttl-test-internal-raptor === CONT kuttl/harness/1-085_validate_dynamic_plugin_installation logger.go:42: 08:55:01 | 1-085_validate_dynamic_plugin_installation | Creating namespace: kuttl-test-proper-tiger logger.go:42: 08:55:01 | 1-085_validate_dynamic_plugin_installation/1-install-dynamic-plugin | starting test step 1-install-dynamic-plugin logger.go:42: 08:55:01 | 1-085_validate_dynamic_plugin_installation/1-install-dynamic-plugin | running command: [sh -c set -eo pipefail # Get CSV name and also OCP version. export namespace=openshift-operators export csv_name=$(oc get csv -n openshift-operators | awk '/gitops-operator/ {print $1}') if [ -z "$csv_name" ]; then export csv_name=$(oc get csv -n openshift-gitops-operator | awk '/gitops-operator/ {print $1}') export namespace=openshift-gitops-operator fi ocp_version=$(oc version | awk '/Server Version/ {print $3}' | cut -d '.' -f1,2) 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 $namespace \ --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 ] logger.go:42: 08:55:02 | 1-085_validate_dynamic_plugin_installation/1-install-dynamic-plugin | clusterserviceversion.operators.coreos.com/openshift-gitops-operator.v1.15.0 patched logger.go:42: 08:55:07 | 1-085_validate_dynamic_plugin_installation/1-install-dynamic-plugin | test step completed 1-install-dynamic-plugin logger.go:42: 08:55:07 | 1-085_validate_dynamic_plugin_installation/2- | starting test step 2- logger.go:42: 08:55:07 | 1-085_validate_dynamic_plugin_installation/2- | test step completed 2- logger.go:42: 08:55:07 | 1-085_validate_dynamic_plugin_installation | skipping kubernetes event logging logger.go:42: 08:55:07 | 1-085_validate_dynamic_plugin_installation | Deleting namespace: kuttl-test-proper-tiger === CONT kuttl/harness/1-084_validate_prune_templates 2024/12/20 08:55:12 object detected with no GVK Kind for path /kuttl-e2e/gitops-operator/tests/sequential/1-084_validate_prune_templates/02-prune-duplicateGVK-resource.yaml 2024/12/20 08:55:12 object detected with no GVK Kind for path /kuttl-e2e/gitops-operator/tests/sequential/1-084_validate_prune_templates/03-errors.yaml 2024/12/20 08:55:12 object detected with no GVK Kind for path /kuttl-e2e/gitops-operator/tests/sequential/1-084_validate_prune_templates/04-delete.yaml 2024/12/20 08:55:12 object detected with no GVK Kind for path /kuttl-e2e/gitops-operator/tests/sequential/1-084_validate_prune_templates/01-assert.yaml 2024/12/20 08:55:12 object detected with no GVK Kind for path /kuttl-e2e/gitops-operator/tests/sequential/1-084_validate_prune_templates/01-create-ns-managed-by.yaml logger.go:42: 08:55:12 | 1-084_validate_prune_templates | Creating namespace: kuttl-test-large-lacewing logger.go:42: 08:55:12 | 1-084_validate_prune_templates/1-create-ns-managed-by | starting test step 1-create-ns-managed-by logger.go:42: 08:55:12 | 1-084_validate_prune_templates/1-create-ns-managed-by | test step completed 1-create-ns-managed-by logger.go:42: 08:55:12 | 1-084_validate_prune_templates/2-prune-duplicateGVK-resource | starting test step 2-prune-duplicateGVK-resource logger.go:42: 08:55:12 | 1-084_validate_prune_templates/2-prune-duplicateGVK-resource | test step completed 2-prune-duplicateGVK-resource logger.go:42: 08:55:12 | 1-084_validate_prune_templates/3- | starting test step 3- logger.go:42: 08:55:12 | 1-084_validate_prune_templates/3- | test step completed 3- logger.go:42: 08:55:12 | 1-084_validate_prune_templates/4-delete | starting test step 4-delete logger.go:42: 08:55:12 | 1-084_validate_prune_templates/4-delete | test step completed 4-delete logger.go:42: 08:55:12 | 1-084_validate_prune_templates | skipping kubernetes event logging logger.go:42: 08:55:12 | 1-084_validate_prune_templates | Deleting namespace: kuttl-test-large-lacewing === CONT kuttl/harness/1-083_validate_apps_in_any_namespace logger.go:42: 08:55:18 | 1-083_validate_apps_in_any_namespace | Ignoring errors.yaml as it does not match file name regexp: ^(\d+)-(?:[^\.]+)(?:\.yaml)?$ logger.go:42: 08:55:18 | 1-083_validate_apps_in_any_namespace | Creating namespace: kuttl-test-free-mite logger.go:42: 08:55:18 | 1-083_validate_apps_in_any_namespace/1-create-ns-managed-by | starting test step 1-create-ns-managed-by logger.go:42: 08:55:18 | 1-083_validate_apps_in_any_namespace/1-create-ns-managed-by | Namespace:/test-1-24-custom created logger.go:42: 08:55:31 | 1-083_validate_apps_in_any_namespace/1-create-ns-managed-by | test step completed 1-create-ns-managed-by logger.go:42: 08:55:31 | 1-083_validate_apps_in_any_namespace/2-add-source-ns | starting test step 2-add-source-ns logger.go:42: 08:55:31 | 1-083_validate_apps_in_any_namespace/2-add-source-ns | ArgoCD:openshift-gitops/openshift-gitops updated logger.go:42: 08:55:31 | 1-083_validate_apps_in_any_namespace/2-add-source-ns | test step completed 2-add-source-ns logger.go:42: 08:55:31 | 1-083_validate_apps_in_any_namespace/3-delete | starting test step 3-delete logger.go:42: 08:55:36 | 1-083_validate_apps_in_any_namespace/3-delete | test step completed 3-delete logger.go:42: 08:55:36 | 1-083_validate_apps_in_any_namespace/4-change-source-namespaces | starting test step 4-change-source-namespaces logger.go:42: 08:55:36 | 1-083_validate_apps_in_any_namespace/4-change-source-namespaces | ArgoCD:openshift-gitops/openshift-gitops updated logger.go:42: 08:55:42 | 1-083_validate_apps_in_any_namespace/4-change-source-namespaces | test step completed 4-change-source-namespaces logger.go:42: 08:55:42 | 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:55:43 | 1-083_validate_apps_in_any_namespace/5-create-ns-and-add-source-ns | Namespace:/test-1-24-custom created logger.go:42: 08:55:43 | 1-083_validate_apps_in_any_namespace/5-create-ns-and-add-source-ns | ArgoCD:openshift-gitops/openshift-gitops updated logger.go:42: 08:56:13 | 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:56:13 | 1-083_validate_apps_in_any_namespace/6-add-managed-by | starting test step 6-add-managed-by logger.go:42: 08:56:13 | 1-083_validate_apps_in_any_namespace/6-add-managed-by | Namespace:/test-1-24-custom updated logger.go:42: 08:56:15 | 1-083_validate_apps_in_any_namespace/6-add-managed-by | test step completed 6-add-managed-by logger.go:42: 08:56:15 | 1-083_validate_apps_in_any_namespace/7-remove-managed-by | starting test step 7-remove-managed-by logger.go:42: 08:56:15 | 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:56:15 | 1-083_validate_apps_in_any_namespace/7-remove-managed-by | namespace/test-1-24-custom unlabeled logger.go:42: 08:56:15 | 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:56:15 | 1-083_validate_apps_in_any_namespace/7-remove-managed-by | deployment.apps/openshift-gitops-server restarted logger.go:42: 08:56:15 | 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:56:16 | 1-083_validate_apps_in_any_namespace/7-remove-managed-by | statefulset.apps/openshift-gitops-application-controller restarted logger.go:42: 08:56:16 | 1-083_validate_apps_in_any_namespace/7-remove-managed-by | running command: [sh -c sleep 5] logger.go:42: 08:56:46 | 1-083_validate_apps_in_any_namespace/7-remove-managed-by | test step completed 7-remove-managed-by logger.go:42: 08:56:46 | 1-083_validate_apps_in_any_namespace/8-change-source-namespaces | starting test step 8-change-source-namespaces logger.go:42: 08:56:46 | 1-083_validate_apps_in_any_namespace/8-change-source-namespaces | ArgoCD:openshift-gitops/openshift-gitops updated logger.go:42: 08:56:47 | 1-083_validate_apps_in_any_namespace/8-change-source-namespaces | test step completed 8-change-source-namespaces logger.go:42: 08:56:47 | 1-083_validate_apps_in_any_namespace/99-delete | starting test step 99-delete logger.go:42: 08:56:53 | 1-083_validate_apps_in_any_namespace/99-delete | test step completed 99-delete logger.go:42: 08:56:53 | 1-083_validate_apps_in_any_namespace | skipping kubernetes event logging logger.go:42: 08:56:53 | 1-083_validate_apps_in_any_namespace | Deleting namespace: kuttl-test-free-mite === CONT kuttl/harness/1-078_validate_default_argocd_consoleLink logger.go:42: 08:56:58 | 1-078_validate_default_argocd_consoleLink | Creating namespace: kuttl-test-touching-hookworm logger.go:42: 08:56:58 | 1-078_validate_default_argocd_consoleLink/1- | starting test step 1- logger.go:42: 08:56:58 | 1-078_validate_default_argocd_consoleLink/1- | test step completed 1- logger.go:42: 08:56:58 | 1-078_validate_default_argocd_consoleLink/2-add_env | starting test step 2-add_env logger.go:42: 08:56:58 | 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:56:59 | 1-078_validate_default_argocd_consoleLink/2-add_env | subscription.operators.coreos.com/openshift-gitops-operator patched logger.go:42: 08:57:25 | 1-078_validate_default_argocd_consoleLink/2-add_env | test step completed 2-add_env logger.go:42: 08:57:25 | 1-078_validate_default_argocd_consoleLink/3-disable-env | starting test step 3-disable-env logger.go:42: 08:57:25 | 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:57:26 | 1-078_validate_default_argocd_consoleLink/3-disable-env | subscription.operators.coreos.com/openshift-gitops-operator patched logger.go:42: 08:57:55 | 1-078_validate_default_argocd_consoleLink/3-disable-env | test step completed 3-disable-env logger.go:42: 08:57:55 | 1-078_validate_default_argocd_consoleLink/4-empty-valued-env | starting test step 4-empty-valued-env logger.go:42: 08:57:55 | 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:57:55 | 1-078_validate_default_argocd_consoleLink/4-empty-valued-env | subscription.operators.coreos.com/openshift-gitops-operator patched logger.go:42: 08:57:55 | 1-078_validate_default_argocd_consoleLink/4-empty-valued-env | test step completed 4-empty-valued-env logger.go:42: 08:57:55 | 1-078_validate_default_argocd_consoleLink/5-remove-env | starting test step 5-remove-env logger.go:42: 08:57:55 | 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:57:56 | 1-078_validate_default_argocd_consoleLink/5-remove-env | subscription.operators.coreos.com/openshift-gitops-operator patched logger.go:42: 08:57:56 | 1-078_validate_default_argocd_consoleLink/5-remove-env | test step completed 5-remove-env logger.go:42: 08:57:56 | 1-078_validate_default_argocd_consoleLink | skipping kubernetes event logging logger.go:42: 08:57:56 | 1-078_validate_default_argocd_consoleLink | Deleting namespace: kuttl-test-touching-hookworm === CONT kuttl/harness/1-071_validate_node_selectors logger.go:42: 08:58:01 | 1-071_validate_node_selectors | Creating namespace: kuttl-test-steady-lark logger.go:42: 08:58:01 | 1-071_validate_node_selectors/1- | starting test step 1- logger.go:42: 08:58:01 | 1-071_validate_node_selectors/1- | test step completed 1- logger.go:42: 08:58:01 | 1-071_validate_node_selectors/2-custom-node-selector | starting test step 2-custom-node-selector logger.go:42: 08:58:01 | 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:58:02 | 1-071_validate_node_selectors/2-custom-node-selector | gitopsservice.pipelines.openshift.io/cluster patched logger.go:42: 08:58:03 | 1-071_validate_node_selectors/2-custom-node-selector | test step completed 2-custom-node-selector logger.go:42: 08:58:03 | 1-071_validate_node_selectors/3-patch-run-on-infra | starting test step 3-patch-run-on-infra logger.go:42: 08:58:03 | 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:58:03 | 1-071_validate_node_selectors/3-patch-run-on-infra | gitopsservice.pipelines.openshift.io/cluster patched logger.go:42: 08:58:05 | 1-071_validate_node_selectors/3-patch-run-on-infra | test step completed 3-patch-run-on-infra logger.go:42: 08:58:05 | 1-071_validate_node_selectors/4-change-back | starting test step 4-change-back logger.go:42: 08:58:05 | 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:58:05 | 1-071_validate_node_selectors/4-change-back | gitopsservice.pipelines.openshift.io/cluster patched logger.go:42: 08:58:05 | 1-071_validate_node_selectors/4-change-back | statefulset.apps/openshift-gitops-application-controller patched logger.go:42: 08:58:05 | 1-071_validate_node_selectors/4-change-back | test step completed 4-change-back logger.go:42: 08:58:05 | 1-071_validate_node_selectors | skipping kubernetes event logging logger.go:42: 08:58:05 | 1-071_validate_node_selectors | Deleting namespace: kuttl-test-steady-lark === CONT kuttl/harness/1-064_validate_tcp_reset_error logger.go:42: 08:58:11 | 1-064_validate_tcp_reset_error | Creating namespace: kuttl-test-composed-burro logger.go:42: 08:58:11 | 1-064_validate_tcp_reset_error/1- | starting test step 1- logger.go:42: 08:58:25 | 1-064_validate_tcp_reset_error/1- | test step completed 1- logger.go:42: 08:58:25 | 1-064_validate_tcp_reset_error/2-install | starting test step 2-install logger.go:42: 08:58:25 | 1-064_validate_tcp_reset_error/2-install | Application:openshift-gitops/1-27-argocd created logger.go:42: 08:59:02 | 1-064_validate_tcp_reset_error/2-install | test step completed 2-install logger.go:42: 08:59:02 | 1-064_validate_tcp_reset_error/3-create-app | starting test step 3-create-app logger.go:42: 08:59:02 | 1-064_validate_tcp_reset_error/3-create-app | Application:test-1-27-custom/guestbook created logger.go:42: 08:59:08 | 1-064_validate_tcp_reset_error/3-create-app | test step completed 3-create-app logger.go:42: 08:59:08 | 1-064_validate_tcp_reset_error/4-check-app-manifest | starting test step 4-check-app-manifest logger.go:42: 08:59:08 | 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:59:09 | 1-064_validate_tcp_reset_error/4-check-app-manifest | time="2024-12-20T08:59:09Z" level=warning msg="Failed to invoke grpc call. Use flag --grpc-web in grpc calls. To avoid this warning message, use flag --grpc-web." logger.go:42: 08:59:10 | 1-064_validate_tcp_reset_error/4-check-app-manifest | time="2024-12-20T08:59:10Z" level=warning msg="Failed to invoke grpc call. Use flag --grpc-web in grpc calls. To avoid this warning message, use flag --grpc-web." logger.go:42: 08:59:11 | 1-064_validate_tcp_reset_error/4-check-app-manifest | Logged out from 'openshift-gitops-server-openshift-gitops.apps.1d8685690b2b024fd64d.hypershift.aws-2.ci.openshift.org' logger.go:42: 08:59:11 | 1-064_validate_tcp_reset_error/4-check-app-manifest | test step completed 4-check-app-manifest logger.go:42: 08:59:11 | 1-064_validate_tcp_reset_error/99-delete | starting test step 99-delete logger.go:42: 08:59:22 | 1-064_validate_tcp_reset_error/99-delete | test step completed 99-delete logger.go:42: 08:59:22 | 1-064_validate_tcp_reset_error | skipping kubernetes event logging logger.go:42: 08:59:22 | 1-064_validate_tcp_reset_error | Deleting namespace: kuttl-test-composed-burro === CONT kuttl/harness/1-056_validate_managed-by logger.go:42: 08:59:28 | 1-056_validate_managed-by | Creating namespace: kuttl-test-pretty-chimp logger.go:42: 08:59:28 | 1-056_validate_managed-by/1-install | starting test step 1-install logger.go:42: 08:59:28 | 1-056_validate_managed-by/1-install | Namespace:/test-1-56-target created logger.go:42: 08:59:28 | 1-056_validate_managed-by/1-install | Namespace:/test-1-56-custom created logger.go:42: 08:59:28 | 1-056_validate_managed-by/1-install | ArgoCD:test-1-56-target/example-argocd created logger.go:42: 08:59:59 | 1-056_validate_managed-by/1-install | test step completed 1-install logger.go:42: 08:59:59 | 1-056_validate_managed-by/2-delete | starting test step 2-delete logger.go:42: 08:59:59 | 1-056_validate_managed-by/2-delete | test step completed 2-delete logger.go:42: 08:59:59 | 1-056_validate_managed-by/3-check | starting test step 3-check logger.go:42: 08:59:59 | 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: 09:00:00 | 1-056_validate_managed-by/3-check | label value: test-1-56-target logger.go:42: 09:00:00 | 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: 09:00:00 | 1-056_validate_managed-by/3-check | test step completed 3-check logger.go:42: 09:00:00 | 1-056_validate_managed-by/4-add_env | starting test step 4-add_env logger.go:42: 09:00:00 | 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: 09:00:00 | 1-056_validate_managed-by/4-add_env | subscription.operators.coreos.com/openshift-gitops-operator patched logger.go:42: 09:00:00 | 1-056_validate_managed-by/4-add_env | test step completed 4-add_env logger.go:42: 09:00:00 | 1-056_validate_managed-by/5-check | starting test step 5-check logger.go:42: 09:00:00 | 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: 09:00:01 | 1-056_validate_managed-by/5-check | label value: test-1-56-target logger.go:42: 09:00:01 | 1-056_validate_managed-by/5-check | managed-by label exists, set REMOVE_MANAGED_BY_LABEL_ON_ARGOCD_DELETION variable to delete the label logger.go:42: 09:00:01 | 1-056_validate_managed-by/5-check | test step completed 5-check logger.go:42: 09:00:01 | 1-056_validate_managed-by/6-install | starting test step 6-install logger.go:42: 09:00:01 | 1-056_validate_managed-by/6-install | Namespace:/test-1-56-target-2 created logger.go:42: 09:00:01 | 1-056_validate_managed-by/6-install | Namespace:/test-1-56-custom-2 created logger.go:42: 09:00:01 | 1-056_validate_managed-by/6-install | ArgoCD:test-1-56-target-2/example-argocd-2 created logger.go:42: 09:00:33 | 1-056_validate_managed-by/6-install | test step completed 6-install logger.go:42: 09:00:33 | 1-056_validate_managed-by/7-delete | starting test step 7-delete logger.go:42: 09:00:34 | 1-056_validate_managed-by/7-delete | test step completed 7-delete logger.go:42: 09:00:34 | 1-056_validate_managed-by/8-remove_env | starting test step 8-remove_env logger.go:42: 09:00:34 | 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: 09:00:34 | 1-056_validate_managed-by/8-remove_env | subscription.operators.coreos.com/openshift-gitops-operator patched logger.go:42: 09:00:34 | 1-056_validate_managed-by/8-remove_env | test step completed 8-remove_env logger.go:42: 09:00:34 | 1-056_validate_managed-by/99-delete | starting test step 99-delete logger.go:42: 09:00:40 | 1-056_validate_managed-by/99-delete | test step completed 99-delete logger.go:42: 09:00:40 | 1-056_validate_managed-by | skipping kubernetes event logging logger.go:42: 09:00:40 | 1-056_validate_managed-by | Deleting namespace: kuttl-test-pretty-chimp === CONT kuttl/harness/1-050_validate_sso logger.go:42: 09:00:46 | 1-050_validate_sso | Creating namespace: kuttl-test-secure-bison logger.go:42: 09:00:46 | 1-050_validate_sso/1-install | starting test step 1-install logger.go:42: 09:00:46 | 1-050_validate_sso/1-install | ArgoCD:kuttl-test-secure-bison/argocd created logger.go:42: 09:01:17 | 1-050_validate_sso/1-install | test step completed 1-install logger.go:42: 09:01:17 | 1-050_validate_sso/2-remove-spec-sso | starting test step 2-remove-spec-sso logger.go:42: 09:01:17 | 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: 09:01:17 | 1-050_validate_sso/2-remove-spec-sso | argocd.argoproj.io/argocd patched logger.go:42: 09:01:17 | 1-050_validate_sso/2-remove-spec-sso | running command: [sh -c sleep 10] logger.go:42: 09:01:27 | 1-050_validate_sso/2-remove-spec-sso | test step completed 2-remove-spec-sso logger.go:42: 09:01:27 | 1-050_validate_sso/7-provider-keycloak-dex-spec | starting test step 7-provider-keycloak-dex-spec logger.go:42: 09:01:27 | 1-050_validate_sso/7-provider-keycloak-dex-spec | ArgoCD:kuttl-test-secure-bison/argocd updated logger.go:42: 09:01:28 | 1-050_validate_sso/7-provider-keycloak-dex-spec | test step completed 7-provider-keycloak-dex-spec logger.go:42: 09:01:28 | 1-050_validate_sso/8-remove-spec-dex | starting test step 8-remove-spec-dex logger.go:42: 09:01:28 | 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: 09:01:29 | 1-050_validate_sso/8-remove-spec-dex | argocd.argoproj.io/argocd patched logger.go:42: 09:03:42 | 1-050_validate_sso/8-remove-spec-dex | test step completed 8-remove-spec-dex logger.go:42: 09:03:42 | 1-050_validate_sso | skipping kubernetes event logging logger.go:42: 09:03:42 | 1-050_validate_sso | Deleting namespace: kuttl-test-secure-bison === CONT kuttl/harness/1-042_validate_status_host logger.go:42: 09:03:53 | 1-042_validate_status_host | Creating namespace: kuttl-test-central-asp logger.go:42: 09:03:53 | 1-042_validate_status_host/1-install | starting test step 1-install logger.go:42: 09:03:53 | 1-042_validate_status_host/1-install | ArgoCD:kuttl-test-central-asp/example-argocd created logger.go:42: 09:04:25 | 1-042_validate_status_host/1-install | test step completed 1-install logger.go:42: 09:04:25 | 1-042_validate_status_host/2-check_URL | starting test step 2-check_URL logger.go:42: 09:04:25 | 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: 09:04:26 | 1-042_validate_status_host/2-check_URL | route_URL:example-argocd-server-kuttl-test-central-asp.apps.1d8685690b2b024fd64d.hypershift.aws-2.ci.openshift.org logger.go:42: 09:04:26 | 1-042_validate_status_host/2-check_URL | status_URL:example-argocd-server-kuttl-test-central-asp.apps.1d8685690b2b024fd64d.hypershift.aws-2.ci.openshift.org logger.go:42: 09:04:26 | 1-042_validate_status_host/2-check_URL | test step completed 2-check_URL logger.go:42: 09:04:26 | 1-042_validate_status_host/3-modify_route_URL | starting test step 3-modify_route_URL logger.go:42: 09:04:26 | 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: 09:04:26 | 1-042_validate_status_host/3-modify_route_URL | route.route.openshift.io/example-argocd-server patched logger.go:42: 09:04:27 | 1-042_validate_status_host/3-modify_route_URL | test step completed 3-modify_route_URL logger.go:42: 09:04:27 | 1-042_validate_status_host/4-disable_route | starting test step 4-disable_route logger.go:42: 09:04:28 | 1-042_validate_status_host/4-disable_route | ArgoCD:kuttl-test-central-asp/example-argocd updated logger.go:42: 09:04:28 | 1-042_validate_status_host/4-disable_route | test step completed 4-disable_route logger.go:42: 09:04:28 | 1-042_validate_status_host/5-check_URL_gone | starting test step 5-check_URL_gone logger.go:42: 09:04:28 | 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: 09:04:33 | 1-042_validate_status_host/5-check_URL_gone | logger.go:42: 09:04:33 | 1-042_validate_status_host/5-check_URL_gone | test step completed 5-check_URL_gone logger.go:42: 09:04:33 | 1-042_validate_status_host | skipping kubernetes event logging logger.go:42: 09:04:33 | 1-042_validate_status_host | Deleting namespace: kuttl-test-central-asp === CONT kuttl/harness/1-041_validate_argocd_sync_alert logger.go:42: 09:04:39 | 1-041_validate_argocd_sync_alert | Creating namespace: kuttl-test-crucial-squid logger.go:42: 09:04:39 | 1-041_validate_argocd_sync_alert/1- | starting test step 1- logger.go:42: 09:04:39 | 1-041_validate_argocd_sync_alert/1- | test step completed 1- logger.go:42: 09:04:39 | 1-041_validate_argocd_sync_alert | skipping kubernetes event logging logger.go:42: 09:04:39 | 1-041_validate_argocd_sync_alert | Deleting namespace: kuttl-test-crucial-squid === CONT kuttl/harness/1-040_validate_quoted_RBAC_group_names logger.go:42: 09:04:44 | 1-040_validate_quoted_RBAC_group_names | Creating namespace: kuttl-test-fleet-earwig logger.go:42: 09:04:44 | 1-040_validate_quoted_RBAC_group_names/1-login_argocd_api_server | starting test step 1-login_argocd_api_server logger.go:42: 09:04:44 | 1-040_validate_quoted_RBAC_group_names/1-login_argocd_api_server | running command: [sh -c api_server=$(oc get routes -n openshift-gitops --field-selector metadata.name=openshift-gitops-server -o jsonpath="{.items[*]['spec.host']}") password=$(oc get secret openshift-gitops-cluster -n openshift-gitops -o jsonpath='{.data.admin\.password}' | base64 -d) output=$(argocd login $api_server --username admin --password $password --insecure) if ! [[ "${output}" =~ "'admin:login' logged in successfully" ]]; then exit 1 fi exit 0 ] logger.go:42: 09:04:45 | 1-040_validate_quoted_RBAC_group_names/1-login_argocd_api_server | time="2024-12-20T09:04:45Z" level=warning msg="Failed to invoke grpc call. Use flag --grpc-web in grpc calls. To avoid this warning message, use flag --grpc-web." logger.go:42: 09:04:46 | 1-040_validate_quoted_RBAC_group_names/1-login_argocd_api_server | test step completed 1-login_argocd_api_server logger.go:42: 09:04:46 | 1-040_validate_quoted_RBAC_group_names/2-create_role | starting test step 2-create_role logger.go:42: 09:04:46 | 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: 09:04:47 | 1-040_validate_quoted_RBAC_group_names/2-create_role | time="2024-12-20T09:04:47Z" level=warning msg="Failed to invoke grpc call. Use flag --grpc-web in grpc calls. To avoid this warning message, use flag --grpc-web." logger.go:42: 09:04:47 | 1-040_validate_quoted_RBAC_group_names/2-create_role | test step completed 2-create_role logger.go:42: 09:04:47 | 1-040_validate_quoted_RBAC_group_names/3-specify_group_names | starting test step 3-specify_group_names logger.go:42: 09:04:47 | 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: 09:04:47 | 1-040_validate_quoted_RBAC_group_names/3-specify_group_names | time="2024-12-20T09:04:47Z" level=warning msg="Failed to invoke grpc call. Use flag --grpc-web in grpc calls. To avoid this warning message, use flag --grpc-web." logger.go:42: 09:04:47 | 1-040_validate_quoted_RBAC_group_names/3-specify_group_names | time="2024-12-20T09:04:47Z" level=warning msg="Failed to invoke grpc call. Use flag --grpc-web in grpc calls. To avoid this warning message, use flag --grpc-web." logger.go:42: 09:04:47 | 1-040_validate_quoted_RBAC_group_names/3-specify_group_names | Role 'somerole' deleted logger.go:42: 09:04:48 | 1-040_validate_quoted_RBAC_group_names/3-specify_group_names | test step completed 3-specify_group_names logger.go:42: 09:04:48 | 1-040_validate_quoted_RBAC_group_names | skipping kubernetes event logging logger.go:42: 09:04:48 | 1-040_validate_quoted_RBAC_group_names | Deleting namespace: kuttl-test-fleet-earwig === CONT kuttl/harness/1-037_validate_applicationset_in_any_namespace logger.go:42: 09:04:53 | 1-037_validate_applicationset_in_any_namespace | Creating namespace: kuttl-test-able-bluegill logger.go:42: 09:04:53 | 1-037_validate_applicationset_in_any_namespace/0-prepare | starting test step 0-prepare logger.go:42: 09:04:53 | 1-037_validate_applicationset_in_any_namespace/0-prepare | Namespace:/appset-argocd created logger.go:42: 09:04:53 | 1-037_validate_applicationset_in_any_namespace/0-prepare | Namespace:/appset-old-ns created logger.go:42: 09:04:53 | 1-037_validate_applicationset_in_any_namespace/0-prepare | Namespace:/appset-new-ns created logger.go:42: 09:04:53 | 1-037_validate_applicationset_in_any_namespace/0-prepare | test step completed 0-prepare logger.go:42: 09:04:53 | 1-037_validate_applicationset_in_any_namespace/1-argocd | starting test step 1-argocd logger.go:42: 09:04:53 | 1-037_validate_applicationset_in_any_namespace/1-argocd | ArgoCD:appset-argocd/example created logger.go:42: 09:05:25 | 1-037_validate_applicationset_in_any_namespace/1-argocd | test step completed 1-argocd logger.go:42: 09:05:25 | 1-037_validate_applicationset_in_any_namespace/2-enable-appset-in-any-ns | starting test step 2-enable-appset-in-any-ns logger.go:42: 09:05:25 | 1-037_validate_applicationset_in_any_namespace/2-enable-appset-in-any-ns | ArgoCD:appset-argocd/example updated logger.go:42: 09:05:25 | 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: 09:05:25 | 1-037_validate_applicationset_in_any_namespace/3-add-new-appset-ns | starting test step 3-add-new-appset-ns logger.go:42: 09:05:25 | 1-037_validate_applicationset_in_any_namespace/3-add-new-appset-ns | ArgoCD:appset-argocd/example updated logger.go:42: 09:05:25 | 1-037_validate_applicationset_in_any_namespace/3-add-new-appset-ns | test step completed 3-add-new-appset-ns logger.go:42: 09:05:25 | 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: 09:05:25 | 1-037_validate_applicationset_in_any_namespace/4-enable-apps-in-new-ns | ArgoCD:appset-argocd/example updated logger.go:42: 09:05:26 | 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: 09:05:26 | 1-037_validate_applicationset_in_any_namespace/5-enable-apps-in-old-ns | starting test step 5-enable-apps-in-old-ns logger.go:42: 09:05:26 | 1-037_validate_applicationset_in_any_namespace/5-enable-apps-in-old-ns | ArgoCD:appset-argocd/example updated logger.go:42: 09:05:28 | 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: 09:05:28 | 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: 09:05:28 | 1-037_validate_applicationset_in_any_namespace/6-disable-appset-in-new-ns | ArgoCD:appset-argocd/example updated logger.go:42: 09:05:29 | 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: 09:05:29 | 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: 09:05:29 | 1-037_validate_applicationset_in_any_namespace/7-disable-apps-in-all-ns | ArgoCD:appset-argocd/example updated logger.go:42: 09:05:30 | 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: 09:05:30 | 1-037_validate_applicationset_in_any_namespace/99-cleanup | starting test step 99-cleanup logger.go:42: 09:06:03 | 1-037_validate_applicationset_in_any_namespace/99-cleanup | test step completed 99-cleanup logger.go:42: 09:06:03 | 1-037_validate_applicationset_in_any_namespace | skipping kubernetes event logging logger.go:42: 09:06:03 | 1-037_validate_applicationset_in_any_namespace | Deleting namespace: kuttl-test-able-bluegill === CONT kuttl/harness/1-020_validate_redis_ha_nonha logger.go:42: 09:06:08 | 1-020_validate_redis_ha_nonha | Creating namespace: kuttl-test-fond-hagfish logger.go:42: 09:06:08 | 1-020_validate_redis_ha_nonha/1- | starting test step 1- logger.go:42: 09:06:08 | 1-020_validate_redis_ha_nonha/1- | test step completed 1- logger.go:42: 09:06:08 | 1-020_validate_redis_ha_nonha/2-enable-ha | starting test step 2-enable-ha logger.go:42: 09:06:09 | 1-020_validate_redis_ha_nonha/2-enable-ha | ArgoCD:openshift-gitops/openshift-gitops updated logger.go:42: 09:08:41 | 1-020_validate_redis_ha_nonha/2-enable-ha | test step completed 2-enable-ha logger.go:42: 09:08:41 | 1-020_validate_redis_ha_nonha/3-update-ha-resources | starting test step 3-update-ha-resources logger.go:42: 09:08:41 | 1-020_validate_redis_ha_nonha/3-update-ha-resources | ArgoCD:openshift-gitops/openshift-gitops updated logger.go:42: 09:08:42 | 1-020_validate_redis_ha_nonha/3-update-ha-resources | test step completed 3-update-ha-resources logger.go:42: 09:08:42 | 1-020_validate_redis_ha_nonha/4-disable-ha | starting test step 4-disable-ha logger.go:42: 09:08:42 | 1-020_validate_redis_ha_nonha/4-disable-ha | ArgoCD:openshift-gitops/openshift-gitops updated logger.go:42: 09:08:55 | 1-020_validate_redis_ha_nonha/4-disable-ha | test step completed 4-disable-ha logger.go:42: 09:08:55 | 1-020_validate_redis_ha_nonha | skipping kubernetes event logging logger.go:42: 09:08:55 | 1-020_validate_redis_ha_nonha | Deleting namespace: kuttl-test-fond-hagfish === CONT kuttl/harness/1-035_validate_argocd_secret_repopulate logger.go:42: 09:09:00 | 1-035_validate_argocd_secret_repopulate | Creating namespace: kuttl-test-fast-moth logger.go:42: 09:09:00 | 1-035_validate_argocd_secret_repopulate/1- | starting test step 1- logger.go:42: 09:09:00 | 1-035_validate_argocd_secret_repopulate/1- | test step completed 1- logger.go:42: 09:09:00 | 1-035_validate_argocd_secret_repopulate/2-remove_secret_data | starting test step 2-remove_secret_data logger.go:42: 09:09:00 | 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: 09:09:01 | 1-035_validate_argocd_secret_repopulate/2-remove_secret_data | secret/argocd-secret patched logger.go:42: 09:09:01 | 1-035_validate_argocd_secret_repopulate/2-remove_secret_data | test step completed 2-remove_secret_data logger.go:42: 09:09:01 | 1-035_validate_argocd_secret_repopulate/3-check_secret_repopulate | starting test step 3-check_secret_repopulate logger.go:42: 09:09:01 | 1-035_validate_argocd_secret_repopulate/3-check_secret_repopulate | running command: [sh -c until [[ $i -eq 20 ]] do secret_data=$(oc get secret/argocd-secret -n openshift-gitops -o custom-columns=SECRET:.data --no-headers) if [[ $secret_data == "" ]] then i=$((i+1)) sleep 6 else echo "argocd-secret was repopulated" exit 0 fi done echo "argocd-secret was not repopulated" exit 1 ] logger.go:42: 09:09:01 | 1-035_validate_argocd_secret_repopulate/3-check_secret_repopulate | argocd-secret was repopulated logger.go:42: 09:09:01 | 1-035_validate_argocd_secret_repopulate/3-check_secret_repopulate | test step completed 3-check_secret_repopulate logger.go:42: 09:09:01 | 1-035_validate_argocd_secret_repopulate/4-check_controller_pod_status | starting test step 4-check_controller_pod_status logger.go:42: 09:09:01 | 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: 09:09:01 | 1-035_validate_argocd_secret_repopulate/4-check_controller_pod_status | deployment "openshift-gitops-operator-controller-manager" successfully rolled out logger.go:42: 09:09:01 | 1-035_validate_argocd_secret_repopulate/4-check_controller_pod_status | test step completed 4-check_controller_pod_status logger.go:42: 09:09:01 | 1-035_validate_argocd_secret_repopulate/5-argocd_login | starting test step 5-argocd_login logger.go:42: 09:09:01 | 1-035_validate_argocd_secret_repopulate/5-argocd_login | running command: [sh -c api_server=$(oc get routes -n openshift-gitops --field-selector metadata.name=openshift-gitops-server -o jsonpath="{.items[*]['spec.host']}") password=$(oc get secret openshift-gitops-cluster -n openshift-gitops -o jsonpath='{.data.admin\.password}' | base64 -d) output=$(argocd login $api_server --username admin --password $password --insecure) if ! [[ "${output}" =~ "'admin:login' logged in successfully" ]]; then if [[ "${output}" == *"rpc error: code = Unknown desc = server.secretkey is missing" ]]; then echo "server.secretkey is missing" exit 1 fi fi exit 0 ] logger.go:42: 09:09:03 | 1-035_validate_argocd_secret_repopulate/5-argocd_login | time="2024-12-20T09:09:03Z" level=warning msg="Failed to invoke grpc call. Use flag --grpc-web in grpc calls. To avoid this warning message, use flag --grpc-web." logger.go:42: 09:09:03 | 1-035_validate_argocd_secret_repopulate/5-argocd_login | test step completed 5-argocd_login logger.go:42: 09:09:03 | 1-035_validate_argocd_secret_repopulate | skipping kubernetes event logging logger.go:42: 09:09:03 | 1-035_validate_argocd_secret_repopulate | Deleting namespace: kuttl-test-fast-moth === CONT kuttl/harness/1-034_validate_custom_roles logger.go:42: 09:09:09 | 1-034_validate_custom_roles | Creating namespace: kuttl-test-tender-martin logger.go:42: 09:09:09 | 1-034_validate_custom_roles/1-install | starting test step 1-install logger.go:42: 09:09:09 | 1-034_validate_custom_roles/1-install | Namespace:/test-1-034-custom created logger.go:42: 09:09:09 | 1-034_validate_custom_roles/1-install | ArgoCD:test-1-034-custom/argocd created logger.go:42: 09:09:09 | 1-034_validate_custom_roles/1-install | Namespace:/custom-role-namespace created logger.go:42: 09:09:09 | 1-034_validate_custom_roles/1-install | ClusterRole:/custom-argocd-role created logger.go:42: 09:09:40 | 1-034_validate_custom_roles/1-install | test step completed 1-install logger.go:42: 09:09:40 | 1-034_validate_custom_roles/2-patch-subscription | starting test step 2-patch-subscription logger.go:42: 09:09:40 | 1-034_validate_custom_roles/2-patch-subscription | running command: [sh -c if ! [ -z $NON_OLM ]; then oc set env deployment openshift-gitops-operator-controller-manager -n openshift-gitops-operator CONTROLLER_CLUSTER_ROLE=custom-argocd-role oc set env deployment openshift-gitops-operator-controller-manager -n openshift-gitops-operator SERVER_CLUSTER_ROLE=custom-argocd-role elif ! [ -z $CI ]; then oc patch -n openshift-gitops-operator subscription `subscription=gitops-operator- && oc get subscription --all-namespaces | grep $subscription | head -1 | awk '{print $2}'`\ --type merge --patch '{"spec": {"config": {"env": [{"name": "CONTROLLER_CLUSTER_ROLE", "value": "custom-argocd-role"},{"name": "SERVER_CLUSTER_ROLE", "value": "custom-argocd-role"}]}}}' else oc patch -n openshift-operators subscription openshift-gitops-operator \ --type merge --patch '{"spec": {"config": {"env": [{"name": "CONTROLLER_CLUSTER_ROLE", "value": "custom-argocd-role"},{"name": "SERVER_CLUSTER_ROLE", "value": "custom-argocd-role"}]}}}' fi ] logger.go:42: 09:09:40 | 1-034_validate_custom_roles/2-patch-subscription | subscription.operators.coreos.com/openshift-gitops-operator patched logger.go:42: 09:09:40 | 1-034_validate_custom_roles/2-patch-subscription | running command: [sh -c sleep 10] logger.go:42: 09:09:50 | 1-034_validate_custom_roles/2-patch-subscription | test step completed 2-patch-subscription logger.go:42: 09:09:50 | 1-034_validate_custom_roles/3- | starting test step 3- logger.go:42: 09:10:07 | 1-034_validate_custom_roles/3- | test step completed 3- logger.go:42: 09:10:07 | 1-034_validate_custom_roles/4- | starting test step 4- logger.go:42: 09:10:07 | 1-034_validate_custom_roles/4- | test step completed 4- logger.go:42: 09:10:07 | 1-034_validate_custom_roles/5-delete | starting test step 5-delete logger.go:42: 09:10:12 | 1-034_validate_custom_roles/5-delete | test step completed 5-delete logger.go:42: 09:10:12 | 1-034_validate_custom_roles/6-revert-patch | starting test step 6-revert-patch logger.go:42: 09:10:12 | 1-034_validate_custom_roles/6-revert-patch | running command: [sh -c if ! [ -z $NON_OLM ]; then oc set env deployment openshift-gitops-operator-controller-manager -n openshift-operators SERVER_CLUSTER_ROLE=null elif ! [ -z $CI ]; then oc patch -n openshift-operators subscription `subscription=gitops-operator- && oc get subscription --all-namespaces | grep $subscription | head -1 | awk '{print $2}'` --type json --patch='[ { "op": "remove", "path": "/spec/config" } ]' else oc patch subscription/openshift-gitops-operator -n openshift-operators --type json --patch='[ { "op": "remove", "path": "/spec/config" } ]' fi ] logger.go:42: 09:10:13 | 1-034_validate_custom_roles/6-revert-patch | subscription.operators.coreos.com/openshift-gitops-operator patched logger.go:42: 09:10:13 | 1-034_validate_custom_roles/6-revert-patch | running command: [sh -c # Loop to wait until SERVER_CLUSTER_ROLE is removed from the Argo CD server Deployment for i in {1..30}; do if oc get deployment openshift-gitops-argocd-server -n openshift-gitops -o jsonpath='{.spec.template.spec.containers[0].env}' | grep -q 'SERVER_CLUSTER_ROLE=custom-argocd-role'; then echo "Waiting for SERVER_CLUSTER_ROLE to be removed..." sleep 5 else echo "SERVER_CLUSTER_ROLE has been removed." break fi done # If after the loop the variable is still set, fail the step if oc get deployment openshift-gitops-argocd-server -n openshift-gitops -o jsonpath='{.spec.template.spec.containers[0].env}' | grep -q 'SERVER_CLUSTER_ROLE=custom-argocd-role'; then echo "ERROR: SERVER_CLUSTER_ROLE was not removed after waiting." exit 1 fi ] logger.go:42: 09:10:13 | 1-034_validate_custom_roles/6-revert-patch | Error from server (NotFound): deployments.apps "openshift-gitops-argocd-server" not found logger.go:42: 09:10:13 | 1-034_validate_custom_roles/6-revert-patch | SERVER_CLUSTER_ROLE has been removed. logger.go:42: 09:10:14 | 1-034_validate_custom_roles/6-revert-patch | Error from server (NotFound): deployments.apps "openshift-gitops-argocd-server" not found logger.go:42: 09:10:14 | 1-034_validate_custom_roles/6-revert-patch | test step completed 6-revert-patch logger.go:42: 09:10:14 | 1-034_validate_custom_roles | skipping kubernetes event logging logger.go:42: 09:10:14 | 1-034_validate_custom_roles | Deleting namespace: kuttl-test-tender-martin === CONT kuttl/harness/1-031_validate_toolchain logger.go:42: 09:10:19 | 1-031_validate_toolchain | Creating namespace: kuttl-test-possible-martin logger.go:42: 09:10:19 | 1-031_validate_toolchain/1-check | starting test step 1-check logger.go:42: 09:10:19 | 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.4.3' expected_helmVersion='v3.15.4' expected_argocdVersion='v2.13.1' expected_dexVersion='v2.41.1-1-ga7854d65' 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 ] logger.go:42: 09:10:23 | 1-031_validate_toolchain/1-check | time="2024-12-20T09:10:23Z" level=warning msg="Failed to invoke grpc call. Use flag --grpc-web in grpc calls. To avoid this warning message, use flag --grpc-web." logger.go:42: 09:10:24 | 1-031_validate_toolchain/1-check | test step completed 1-check logger.go:42: 09:10:24 | 1-031_validate_toolchain | skipping kubernetes event logging logger.go:42: 09:10:24 | 1-031_validate_toolchain | Deleting namespace: kuttl-test-possible-martin === CONT kuttl/harness/1-028_validate_run_on_infra logger.go:42: 09:10:30 | 1-028_validate_run_on_infra | Ignoring errors.yaml as it does not match file name regexp: ^(\d+)-(?:[^\.]+)(?:\.yaml)?$ logger.go:42: 09:10:30 | 1-028_validate_run_on_infra | Creating namespace: kuttl-test-cunning-wombat logger.go:42: 09:10:30 | 1-028_validate_run_on_infra/1-install | starting test step 1-install logger.go:42: 09:10:30 | 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:10:30 | 1-028_validate_run_on_infra/1-install | gitopsservice.pipelines.openshift.io/cluster patched logger.go:42: 09:10:44 | 1-028_validate_run_on_infra/1-install | test step completed 1-install logger.go:42: 09:10:44 | 1-028_validate_run_on_infra/2-custom-argocd | starting test step 2-custom-argocd logger.go:42: 09:10:44 | 1-028_validate_run_on_infra/2-custom-argocd | ArgoCD:kuttl-test-cunning-wombat/argocd created logger.go:42: 09:11:16 | 1-028_validate_run_on_infra/2-custom-argocd | test step completed 2-custom-argocd logger.go:42: 09:11:16 | 1-028_validate_run_on_infra/3-change-back | starting test step 3-change-back logger.go:42: 09:11:16 | 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:11:16 | 1-028_validate_run_on_infra/3-change-back | gitopsservice.pipelines.openshift.io/cluster patched logger.go:42: 09:11:17 | 1-028_validate_run_on_infra/3-change-back | statefulset.apps/openshift-gitops-application-controller patched logger.go:42: 09:11:17 | 1-028_validate_run_on_infra/3-change-back | test step completed 3-change-back logger.go:42: 09:11:17 | 1-028_validate_run_on_infra/4-check | starting test step 4-check logger.go:42: 09:11:17 | 1-028_validate_run_on_infra/4-check | test step completed 4-check logger.go:42: 09:11:17 | 1-028_validate_run_on_infra | skipping kubernetes event logging logger.go:42: 09:11:17 | 1-028_validate_run_on_infra | Deleting namespace: kuttl-test-cunning-wombat === CONT kuttl/harness/1-027_validate_operand_from_git logger.go:42: 09:11:22 | 1-027_validate_operand_from_git | Creating namespace: kuttl-test-rapid-goblin logger.go:42: 09:11:22 | 1-027_validate_operand_from_git/1- | starting test step 1- logger.go:42: 09:11:27 | 1-027_validate_operand_from_git/1- | test step completed 1- logger.go:42: 09:11:27 | 1-027_validate_operand_from_git/2-install | starting test step 2-install logger.go:42: 09:11:27 | 1-027_validate_operand_from_git/2-install | Application:openshift-gitops/1-27-argocd created logger.go:42: 09:12:04 | 1-027_validate_operand_from_git/2-install | test step completed 2-install logger.go:42: 09:12:04 | 1-027_validate_operand_from_git/3-create-app | starting test step 3-create-app logger.go:42: 09:12:04 | 1-027_validate_operand_from_git/3-create-app | Application:test-1-27-custom/guestbook created logger.go:42: 09:12:11 | 1-027_validate_operand_from_git/3-create-app | test step completed 3-create-app logger.go:42: 09:12:11 | 1-027_validate_operand_from_git/99-delete | starting test step 99-delete logger.go:42: 09:12:22 | 1-027_validate_operand_from_git/99-delete | test step completed 99-delete logger.go:42: 09:12:22 | 1-027_validate_operand_from_git | skipping kubernetes event logging logger.go:42: 09:12:22 | 1-027_validate_operand_from_git | Deleting namespace: kuttl-test-rapid-goblin === CONT kuttl/harness/1-026-validate_backend_service_permissions logger.go:42: 09:12:27 | 1-026-validate_backend_service_permissions | Creating namespace: kuttl-test-united-lamprey logger.go:42: 09:12:27 | 1-026-validate_backend_service_permissions/1-check-backend-service | starting test step 1-check-backend-service logger.go:42: 09:12:27 | 1-026-validate_backend_service_permissions/1-check-backend-service | test step completed 1-check-backend-service logger.go:42: 09:12:27 | 1-026-validate_backend_service_permissions | skipping kubernetes event logging logger.go:42: 09:12:27 | 1-026-validate_backend_service_permissions | Deleting namespace: kuttl-test-united-lamprey === CONT kuttl/harness/1-018_validate_disable_default_instance logger.go:42: 09:12:32 | 1-018_validate_disable_default_instance | Ignoring errors.yaml as it does not match file name regexp: ^(\d+)-(?:[^\.]+)(?:\.yaml)?$ logger.go:42: 09:12:32 | 1-018_validate_disable_default_instance | Creating namespace: kuttl-test-wired-wombat logger.go:42: 09:12:32 | 1-018_validate_disable_default_instance/1- | starting test step 1- logger.go:42: 09:12:32 | 1-018_validate_disable_default_instance/1- | test step completed 1- logger.go:42: 09:12:32 | 1-018_validate_disable_default_instance/2-patch-subscription | starting test step 2-patch-subscription logger.go:42: 09:12:32 | 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:12:33 | 1-018_validate_disable_default_instance/2-patch-subscription | subscription.operators.coreos.com/openshift-gitops-operator patched logger.go:42: 09:12:33 | 1-018_validate_disable_default_instance/2-patch-subscription | running command: [sh -c sleep 20] logger.go:42: 09:12:53 | 1-018_validate_disable_default_instance/2-patch-subscription | test step completed 2-patch-subscription logger.go:42: 09:12:53 | 1-018_validate_disable_default_instance/3-check | starting test step 3-check logger.go:42: 09:13:03 | 1-018_validate_disable_default_instance/3-check | test step completed 3-check logger.go:42: 09:13:03 | 1-018_validate_disable_default_instance/4-patch-subscription | starting test step 4-patch-subscription logger.go:42: 09:13:03 | 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:13:03 | 1-018_validate_disable_default_instance/4-patch-subscription | subscription.operators.coreos.com/openshift-gitops-operator patched logger.go:42: 09:14:07 | 1-018_validate_disable_default_instance/4-patch-subscription | test step completed 4-patch-subscription logger.go:42: 09:14:07 | 1-018_validate_disable_default_instance | skipping kubernetes event logging logger.go:42: 09:14:07 | 1-018_validate_disable_default_instance | Deleting namespace: kuttl-test-wired-wombat === CONT kuttl/harness/1-004_validate_argocd_installation logger.go:42: 09:14:12 | 1-004_validate_argocd_installation | Creating namespace: kuttl-test-crucial-joey logger.go:42: 09:14:12 | 1-004_validate_argocd_installation/1-check-prereqs | starting test step 1-check-prereqs logger.go:42: 09:14:12 | 1-004_validate_argocd_installation/1-check-prereqs | test step completed 1-check-prereqs logger.go:42: 09:14:12 | 1-004_validate_argocd_installation/2-change-operand | starting test step 2-change-operand logger.go:42: 09:14:12 | 1-004_validate_argocd_installation/2-change-operand | ArgoCD:openshift-gitops/openshift-gitops updated logger.go:42: 09:14:12 | 1-004_validate_argocd_installation/2-change-operand | test step completed 2-change-operand logger.go:42: 09:14:12 | 1-004_validate_argocd_installation/3-wait | starting test step 3-wait logger.go:42: 09:14:12 | 1-004_validate_argocd_installation/3-wait | running command: [sh -c sleep 5] logger.go:42: 09:14:17 | 1-004_validate_argocd_installation/3-wait | test step completed 3-wait logger.go:42: 09:14:17 | 1-004_validate_argocd_installation/4- | starting test step 4- logger.go:42: 09:14:24 | 1-004_validate_argocd_installation/4- | test step completed 4- logger.go:42: 09:14:24 | 1-004_validate_argocd_installation | skipping kubernetes event logging logger.go:42: 09:14:24 | 1-004_validate_argocd_installation | Deleting namespace: kuttl-test-crucial-joey === CONT kuttl/harness/1-006_validate_machine_config logger.go:42: 09:14:30 | 1-006_validate_machine_config | Creating namespace: kuttl-test-living-kingfish logger.go:42: 09:14:30 | 1-006_validate_machine_config/1-install | starting test step 1-install logger.go:42: 09:14:30 | 1-006_validate_machine_config/1-install | ArgoCD:openshift-gitops/openshift-gitops updated logger.go:42: 09:14:30 | 1-006_validate_machine_config/1-install | Application:openshift-gitops/validate-machine-config created logger.go:42: 09:14:41 | 1-006_validate_machine_config/1-install | test step completed 1-install logger.go:42: 09:14:41 | 1-006_validate_machine_config/2- | starting test step 2- logger.go:42: 09:14:41 | 1-006_validate_machine_config/2- | test step completed 2- logger.go:42: 09:14:41 | 1-006_validate_machine_config/3-scale-down-repo-server | starting test step 3-scale-down-repo-server logger.go:42: 09:14:42 | 1-006_validate_machine_config/3-scale-down-repo-server | ArgoCD:openshift-gitops/openshift-gitops updated logger.go:42: 09:14:43 | 1-006_validate_machine_config/3-scale-down-repo-server | test step completed 3-scale-down-repo-server logger.go:42: 09:14:43 | 1-006_validate_machine_config/99-delete | starting test step 99-delete logger.go:42: 09:14:43 | 1-006_validate_machine_config/99-delete | test step completed 99-delete logger.go:42: 09:14:43 | 1-006_validate_machine_config | skipping kubernetes event logging logger.go:42: 09:14:43 | 1-006_validate_machine_config | Deleting namespace: kuttl-test-living-kingfish === CONT kuttl/harness/1-010_validate-ootb-manage-other-namespace logger.go:42: 09:14:48 | 1-010_validate-ootb-manage-other-namespace | Ignoring README.md as it does not match file name regexp: ^(\d+)-(?:[^\.]+)(?:\.yaml)?$ logger.go:42: 09:14:48 | 1-010_validate-ootb-manage-other-namespace | Ignoring errors.yaml as it does not match file name regexp: ^(\d+)-(?:[^\.]+)(?:\.yaml)?$ logger.go:42: 09:14:48 | 1-010_validate-ootb-manage-other-namespace | Creating namespace: kuttl-test-awake-troll logger.go:42: 09:14:48 | 1-010_validate-ootb-manage-other-namespace/1-install | starting test step 1-install logger.go:42: 09:14:48 | 1-010_validate-ootb-manage-other-namespace/1-install | Namespace:/test-1-10-custom created logger.go:42: 09:14:48 | 1-010_validate-ootb-manage-other-namespace/1-install | test step completed 1-install logger.go:42: 09:14:48 | 1-010_validate-ootb-manage-other-namespace/2- | starting test step 2- logger.go:42: 09:14:49 | 1-010_validate-ootb-manage-other-namespace/2- | test step completed 2- logger.go:42: 09:14:49 | 1-010_validate-ootb-manage-other-namespace/3-create-application | starting test step 3-create-application logger.go:42: 09:14:49 | 1-010_validate-ootb-manage-other-namespace/3-create-application | Application:openshift-gitops/test-1-10-custom created logger.go:42: 09:14:52 | 1-010_validate-ootb-manage-other-namespace/3-create-application | test step completed 3-create-application logger.go:42: 09:14:52 | 1-010_validate-ootb-manage-other-namespace/4-unlabel-namespace | starting test step 4-unlabel-namespace logger.go:42: 09:14:52 | 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:14:53 | 1-010_validate-ootb-manage-other-namespace/4-unlabel-namespace | namespace/test-1-10-custom unlabeled logger.go:42: 09:14:53 | 1-010_validate-ootb-manage-other-namespace/4-unlabel-namespace | running command: [sh -c sleep 5] logger.go:42: 09:14:58 | 1-010_validate-ootb-manage-other-namespace/4-unlabel-namespace | test step completed 4-unlabel-namespace logger.go:42: 09:14:58 | 1-010_validate-ootb-manage-other-namespace/5-check-rbac | starting test step 5-check-rbac logger.go:42: 09:14:58 | 1-010_validate-ootb-manage-other-namespace/5-check-rbac | test step completed 5-check-rbac logger.go:42: 09:14:58 | 1-010_validate-ootb-manage-other-namespace/99-delete | starting test step 99-delete logger.go:42: 09:15:08 | 1-010_validate-ootb-manage-other-namespace/99-delete | test step completed 99-delete logger.go:42: 09:15:08 | 1-010_validate-ootb-manage-other-namespace | skipping kubernetes event logging logger.go:42: 09:15:08 | 1-010_validate-ootb-manage-other-namespace | Deleting namespace: kuttl-test-awake-troll === CONT kuttl/harness/1-003_validate_cluster_config logger.go:42: 09:15:14 | 1-003_validate_cluster_config | Creating namespace: kuttl-test-good-monster logger.go:42: 09:15:14 | 1-003_validate_cluster_config/0-cluster-scoped-argocd | starting test step 0-cluster-scoped-argocd logger.go:42: 09:15:14 | 1-003_validate_cluster_config/0-cluster-scoped-argocd | Namespace:/argocd-e2e-cluster-config created logger.go:42: 09:15:14 | 1-003_validate_cluster_config/0-cluster-scoped-argocd | ArgoCD:argocd-e2e-cluster-config/example-argocd created logger.go:42: 09:15:14 | 1-003_validate_cluster_config/0-cluster-scoped-argocd | test step completed 0-cluster-scoped-argocd logger.go:42: 09:15:14 | 1-003_validate_cluster_config/1-cluster-scoped | starting test step 1-cluster-scoped logger.go:42: 09:15:14 | 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:15:14 | 1-003_validate_cluster_config/1-cluster-scoped | subscription.operators.coreos.com/openshift-gitops-operator patched logger.go:42: 09:15:48 | 1-003_validate_cluster_config/1-cluster-scoped | test step completed 1-cluster-scoped logger.go:42: 09:15:48 | 1-003_validate_cluster_config/2- | starting test step 2- logger.go:42: 09:15:48 | 1-003_validate_cluster_config/2- | test step completed 2- logger.go:42: 09:15:48 | 1-003_validate_cluster_config/3-enable-appset-in-any-namespace | starting test step 3-enable-appset-in-any-namespace logger.go:42: 09:15:48 | 1-003_validate_cluster_config/3-enable-appset-in-any-namespace | ArgoCD:argocd-e2e-cluster-config/example-argocd updated logger.go:42: 09:15:51 | 1-003_validate_cluster_config/3-enable-appset-in-any-namespace | test step completed 3-enable-appset-in-any-namespace logger.go:42: 09:15:51 | 1-003_validate_cluster_config/99-delete | starting test step 99-delete logger.go:42: 09:16:02 | 1-003_validate_cluster_config/99-delete | test step completed 99-delete logger.go:42: 09:16:02 | 1-003_validate_cluster_config | skipping kubernetes event logging logger.go:42: 09:16:02 | 1-003_validate_cluster_config | Deleting namespace: kuttl-test-good-monster === CONT kuttl/harness/1-005_validate_metrics logger.go:42: 09:16:07 | 1-005_validate_metrics | Creating namespace: kuttl-test-arriving-gazelle logger.go:42: 09:16:07 | 1-005_validate_metrics/1- | starting test step 1- logger.go:42: 09:16:07 | 1-005_validate_metrics/1- | test step completed 1- logger.go:42: 09:16:07 | 1-005_validate_metrics | skipping kubernetes event logging logger.go:42: 09:16:07 | 1-005_validate_metrics | Deleting namespace: kuttl-test-arriving-gazelle === CONT kuttl harness.go:405: run tests finished harness.go:513: cleaning up harness.go:570: removing temp folder: "" --- PASS: kuttl (1757.26s) --- PASS: kuttl/harness (0.00s) --- PASS: kuttl/harness/1-002_validate_backend_service (5.61s) --- PASS: kuttl/harness/1-100_validate_rollouts_resources_creation (33.26s) --- PASS: kuttl/harness/1-112_validate_rollout_plugin_support (21.44s) --- PASS: kuttl/harness/1-111_validate_default_argocd_route (16.99s) --- PASS: kuttl/harness/1-110_validate_podsecurity_alerts (5.55s) --- PASS: kuttl/harness/1-109_validate_reencrypt_termination_policy (5.98s) --- PASS: kuttl/harness/1-106_validate_argocd_metrics_controller (6.52s) --- PASS: kuttl/harness/1-105_validate_label_selector (322.61s) --- PASS: kuttl/harness/1-104_validate_prometheus_alert (5.45s) --- PASS: kuttl/harness/1-101_validate_rollout_policyrules (6.54s) --- PASS: kuttl/harness/1-036_validate_role_rolebinding_for_source_namespace (17.11s) --- PASS: kuttl/harness/1-086_validate_default_argocd_role (38.33s) --- PASS: kuttl/harness/1-085_validate_dynamic_plugin_installation (11.64s) --- PASS: kuttl/harness/1-084_validate_prune_templates (5.50s) --- PASS: kuttl/harness/1-083_validate_apps_in_any_namespace (100.42s) --- PASS: kuttl/harness/1-078_validate_default_argocd_consoleLink (63.07s) --- PASS: kuttl/harness/1-071_validate_node_selectors (9.33s) --- PASS: kuttl/harness/1-064_validate_tcp_reset_error (76.87s) --- PASS: kuttl/harness/1-056_validate_managed-by (77.96s) --- PASS: kuttl/harness/1-050_validate_sso (187.00s) --- PASS: kuttl/harness/1-042_validate_status_host (45.94s) --- PASS: kuttl/harness/1-041_validate_argocd_sync_alert (5.46s) --- PASS: kuttl/harness/1-040_validate_quoted_RBAC_group_names (9.06s) --- PASS: kuttl/harness/1-037_validate_applicationset_in_any_namespace (75.29s) --- PASS: kuttl/harness/1-020_validate_redis_ha_nonha (171.86s) --- PASS: kuttl/harness/1-035_validate_argocd_secret_repopulate (8.41s) --- PASS: kuttl/harness/1-034_validate_custom_roles (70.62s) --- PASS: kuttl/harness/1-031_validate_toolchain (10.51s) --- PASS: kuttl/harness/1-028_validate_run_on_infra (52.50s) --- PASS: kuttl/harness/1-027_validate_operand_from_git (64.76s) --- PASS: kuttl/harness/1-026-validate_backend_service_permissions (5.47s) --- PASS: kuttl/harness/1-018_validate_disable_default_instance (99.58s) --- PASS: kuttl/harness/1-004_validate_argocd_installation (17.79s) --- PASS: kuttl/harness/1-006_validate_machine_config (18.20s) --- PASS: kuttl/harness/1-010_validate-ootb-manage-other-namespace (25.73s) --- PASS: kuttl/harness/1-003_validate_cluster_config (53.35s) --- PASS: kuttl/harness/1-005_validate_metrics (5.47s) PASS ========================== ==== E2E TESTS PASSED ==== ========================== Copying results Deleted temp working directory /kuttl-e2e/gitops-operator/tmp.QjuxdpdSpX make: Leaving directory '/kuttl-e2e/gitops-operator' File has been uploaded to CI/z-stream-test-pipeline-upgradekuttletest2489z/241220-082332/sequential_2024.12.20-08.25.06.xml 🚀 File has been uploaded to CI/z-stream-test-pipeline-upgradekuttletest2489z/241220-082332/sequential_2024.12.20-08.25.06.log 🚀 File has been uploaded to CI/z-stream-test-pipeline-upgradekuttletest2489z/241220-082332/parallel_2024.12.20-08.25.06.xml 🚀 File has been uploaded to CI/z-stream-test-pipeline-upgradekuttletest2489z/241220-082332/parallel_2024.12.20-08.25.06.log 🚀 Updating artifacts path to results http://uploader.devtools-gitops--pipeline.svc.cluster.local:8080/CI/z-stream-test-pipeline-upgradekuttletest2489z/241220-082332/0 undefined step-run-argocd-e2e-tests $RUN_ARGOCD_E2E_TESTS is set to false, skipping the execution 0 http://uploader.devtools-gitops--pipeline.svc.cluster.local:8080/CI/z-stream-test-pipeline-upgradekuttletest2489z/241220-082332/ undefined step-evaluate-failed-tasks All tests passed undefined step-send-slack-notification ok