kubectl kuttl test ./tests/parallel --config ./tests/parallel/kuttl-test.yaml --test 1-068_validate_redis_secure_comm_autotls_no_ha && kubectl kuttl test ./tests/parallel --config ./tests/parallel/kuttl-test.yaml --test 1-065_validate_redis_ha_anti_affinity 2024/02/29 19:32:21 kutt-test config testdirs is overridden with args: [ ./tests/parallel ] === RUN kuttl harness.go:462: starting setup harness.go:252: running tests using configured kubeconfig. I0229 19:32:23.074441 64112 request.go:682] Waited for 1.000323292s due to client-side throttling, not priority and fairness, request: GET:https://api.test-psi-412-2.ocp-gitops-qe.com:6443/apis/discovery.k8s.io/v1?timeout=32s harness.go:275: Successful connection to cluster at: https://api.test-psi-412-2.ocp-gitops-qe.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: ./tests/parallel has 79 tests === RUN kuttl/harness === RUN kuttl/harness/1-068_validate_redis_secure_comm_autotls_no_ha === PAUSE kuttl/harness/1-068_validate_redis_secure_comm_autotls_no_ha === CONT kuttl/harness/1-068_validate_redis_secure_comm_autotls_no_ha logger.go:42: 19:32:30 | 1-068_validate_redis_secure_comm_autotls_no_ha | Creating namespace: kuttl-test-usable-bullfrog logger.go:42: 19:32:30 | 1-068_validate_redis_secure_comm_autotls_no_ha/1-install | starting test step 1-install logger.go:42: 19:32:33 | 1-068_validate_redis_secure_comm_autotls_no_ha/1-install | ArgoCD:kuttl-test-usable-bullfrog/argocd created logger.go:42: 19:33:06 | 1-068_validate_redis_secure_comm_autotls_no_ha/1-install | test step completed 1-install logger.go:42: 19:33:06 | 1-068_validate_redis_secure_comm_autotls_no_ha/2-enable_autotls | starting test step 2-enable_autotls logger.go:42: 19:33:06 | 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: 19:33:08 | 1-068_validate_redis_secure_comm_autotls_no_ha/2-enable_autotls | argocd.argoproj.io/argocd patched I0229 19:33:10.381256 64112 request.go:682] Waited for 1.047341417s due to client-side throttling, not priority and fairness, request: GET:https://api.test-psi-412-2.ocp-gitops-qe.com:6443/apis/storage.k8s.io/v1beta1?timeout=32s logger.go:42: 19:33:40 | 1-068_validate_redis_secure_comm_autotls_no_ha/2-enable_autotls | test step completed 2-enable_autotls logger.go:42: 19:33:40 | 1-068_validate_redis_secure_comm_autotls_no_ha/3-check_secret | starting test step 3-check_secret logger.go:42: 19:33:40 | 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 ] I0229 19:33:42.929239 64112 request.go:682] Waited for 1.049231042s due to client-side throttling, not priority and fairness, request: GET:https://api.test-psi-412-2.ocp-gitops-qe.com:6443/apis/performance.openshift.io/v1alpha1?timeout=32s logger.go:42: 19:33:44 | 1-068_validate_redis_secure_comm_autotls_no_ha/3-check_secret | test step completed 3-check_secret logger.go:42: 19:33:44 | 1-068_validate_redis_secure_comm_autotls_no_ha/4- | starting test step 4- logger.go:42: 19:33:48 | 1-068_validate_redis_secure_comm_autotls_no_ha/4- | test step completed 4- logger.go:42: 19:33:48 | 1-068_validate_redis_secure_comm_autotls_no_ha/5-check_crt_files | starting test step 5-check_crt_files logger.go:42: 19:33:48 | 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: 19:33:50 | 1-068_validate_redis_secure_comm_autotls_no_ha/5-check_crt_files | /app/config/server/tls/redis/tls.crt logger.go:42: 19:33:51 | 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: 19:33:53 | 1-068_validate_redis_secure_comm_autotls_no_ha/5-check_crt_files | /app/config/reposerver/tls/redis/tls.crt logger.go:42: 19:33:55 | 1-068_validate_redis_secure_comm_autotls_no_ha/5-check_crt_files | /app/config/redis/tls/tls.crt logger.go:42: 19:33:57 | 1-068_validate_redis_secure_comm_autotls_no_ha/5-check_crt_files | /app/config/controller/tls/redis/tls.crt I0229 19:33:59.227690 64112 request.go:682] Waited for 1.0497895s due to client-side throttling, not priority and fairness, request: GET:https://api.test-psi-412-2.ocp-gitops-qe.com:6443/apis/k8s.cni.cncf.io/v1?timeout=32s logger.go:42: 19:34:00 | 1-068_validate_redis_secure_comm_autotls_no_ha/5-check_crt_files | test step completed 5-check_crt_files logger.go:42: 19:34:00 | 1-068_validate_redis_secure_comm_autotls_no_ha | skipping kubernetes event logging logger.go:42: 19:34:00 | 1-068_validate_redis_secure_comm_autotls_no_ha | Deleting namespace: kuttl-test-usable-bullfrog === NAME kuttl harness.go:405: run tests finished harness.go:513: cleaning up harness.go:570: removing temp folder: "" --- PASS: kuttl (106.28s) --- PASS: kuttl/harness (0.00s) --- PASS: kuttl/harness/1-068_validate_redis_secure_comm_autotls_no_ha (97.28s) PASS 2024/02/29 19:34:07 kutt-test config testdirs is overridden with args: [ ./tests/parallel ] === RUN kuttl harness.go:462: starting setup harness.go:252: running tests using configured kubeconfig. I0229 19:34:09.267963 64405 request.go:682] Waited for 1.048946166s due to client-side throttling, not priority and fairness, request: GET:https://api.test-psi-412-2.ocp-gitops-qe.com:6443/apis/autoscaling.openshift.io/v1?timeout=32s harness.go:275: Successful connection to cluster at: https://api.test-psi-412-2.ocp-gitops-qe.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: ./tests/parallel has 79 tests === RUN kuttl/harness === RUN kuttl/harness/1-065_validate_redis_ha_anti_affinity === PAUSE kuttl/harness/1-065_validate_redis_ha_anti_affinity === CONT kuttl/harness/1-065_validate_redis_ha_anti_affinity logger.go:42: 19:34:16 | 1-065_validate_redis_ha_anti_affinity | Creating namespace: kuttl-test-steady-dogfish logger.go:42: 19:34:16 | 1-065_validate_redis_ha_anti_affinity/1-install | starting test step 1-install logger.go:42: 19:34:19 | 1-065_validate_redis_ha_anti_affinity/1-install | ArgoCD:kuttl-test-steady-dogfish/argocd created logger.go:42: 19:34:19 | 1-065_validate_redis_ha_anti_affinity/1-install | test step completed 1-install logger.go:42: 19:34:19 | 1-065_validate_redis_ha_anti_affinity/2- | starting test step 2- I0229 19:34:21.135370 64405 request.go:682] Waited for 1.049552125s due to client-side throttling, not priority and fairness, request: GET:https://api.test-psi-412-2.ocp-gitops-qe.com:6443/apis/operator.openshift.io/v1alpha1?timeout=32s logger.go:42: 19:43:23 | 1-065_validate_redis_ha_anti_affinity/2- | test step completed 2- logger.go:42: 19:43:23 | 1-065_validate_redis_ha_anti_affinity | skipping kubernetes event logging logger.go:42: 19:43:23 | 1-065_validate_redis_ha_anti_affinity | Deleting namespace: kuttl-test-steady-dogfish === NAME kuttl harness.go:405: run tests finished harness.go:513: cleaning up harness.go:570: removing temp folder: "" --- PASS: kuttl (602.58s) --- PASS: kuttl/harness (0.00s) --- PASS: kuttl/harness/1-065_validate_redis_ha_anti_affinity (593.80s) PASS