undefined step-generate Cluster name generated: 412-psi-111932 Is nightly?: false Image repository: devtools_gitops Result path: CI/z-stream-test-pipeline/241119-114133 Result path URL: http://uploader.devtools-gitops--pipeline.svc.cluster.local:8080/CI/z-stream-test-pipeline/241119-114133/ undefined step-create-cluster-dir Directory with cluster info exists, logging in WARNING: Using insecure TLS client config. Setting this option is not supported! Login successful. You have access to 80 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":1732016503.3322887,"caller":"git/git.go:176","msg":"Successfully cloned https://gitlab.cee.redhat.com/gitops/plumbing-gitops.git @ a4859e5c72de7caa0f0b3995cae8d9b545ba0ba7 (grafted, HEAD) in path /workspace/output/"} {"level":"info","ts":1732016503.4049425,"caller":"git/git.go:215","msg":"Successfully initialized and updated submodules in path /workspace/output/"} + cd /workspace/output/ ++ git rev-parse HEAD + RESULT_SHA=a4859e5c72de7caa0f0b3995cae8d9b545ba0ba7 + EXIT_CODE=0 + '[' 0 '!=' 0 ']' ++ git log -1 --pretty=%ct + RESULT_COMMITTER_DATE=1729838808 + printf %s 1729838808 + printf %s a4859e5c72de7caa0f0b3995cae8d9b545ba0ba7 + printf %s https://gitlab.cee.redhat.com/gitops/plumbing-gitops.git undefined step-branch-version Either the gitops version gitops-1.13 is invalid or the latest component versions need to be added to params-config.yaml in plumbing repository, for now using default setting to test it up!. 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 80 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 iib-863751 iib-863751-devtools_gitops grpc GitOps Team 31h pod/iib-863751-klvk8 condition met Operator will be installed from default catalog source iib-863751 passed 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":1732016523.0066426,"caller":"git/git.go:176","msg":"Successfully cloned https://gitlab.cee.redhat.com/gitops/operator-e2e.git @ 1825542c364c404831cabedafefb0cbd081d2b11 (grafted, HEAD, origin/master) in path /workspace/output/"} {"level":"info","ts":1732016523.099441,"caller":"git/git.go:215","msg":"Successfully initialized and updated submodules in path /workspace/output/"} + cd /workspace/output/ ++ git rev-parse HEAD + RESULT_SHA=1825542c364c404831cabedafefb0cbd081d2b11 + EXIT_CODE=0 + '[' 0 '!=' 0 ']' ++ git log -1 --pretty=%ct + RESULT_COMMITTER_DATE=1731973210 + printf %s 1731973210 + printf %s 1825542c364c404831cabedafefb0cbd081d2b11 + printf %s https://gitlab.cee.redhat.com/gitops/operator-e2e.git undefined step-test-argo-rollouts + RESULT=/install-dir/412-psi-result.txt Logging in as kubeadmin user + trap update_result EXIT + echo -e 'Logging in as kubeadmin user' ++ cat /install-dir/412-psi/auth/kubeadmin-password ++ cat /install-dir/412-psi/auth/api-url + oc login -u kubeadmin -p 42gAD-8MDH2-d22FD-er5LT https://api.412-psi.ocp-gitops-qe.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 80 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/412-psi-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 80 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/11/19 11:42:27 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. I1119 11:42:28.710089 115 request.go:682] Waited for 1.03739173s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/operators.coreos.com/v1?timeout=32s harness.go:275: Successful connection to cluster at: https://api.412-psi.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: /kuttl-e2e/gitops-operator/tests/parallel has 84 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-007_validate_namespace_scoped_install === PAUSE kuttl/harness/1-007_validate_namespace_scoped_install === 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-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_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-082_validate_node_placement === CONT kuttl/harness/1-081_validate_applicationset_deployment === CONT kuttl/harness/1-065_validate_redis_ha_anti_affinity === CONT kuttl/harness/1-050_validate_sso === CONT kuttl/harness/1-081_validate_applicationset_deployment logger.go:42: 11:42:36 | 1-081_validate_applicationset_deployment | Creating namespace: kuttl-test-select-dory === CONT kuttl/harness/1-065_validate_redis_ha_anti_affinity logger.go:42: 11:42:36 | 1-065_validate_redis_ha_anti_affinity | Creating namespace: kuttl-test-probable-narwhal === CONT kuttl/harness/1-001_alpha_to_beta_dex_conversion logger.go:42: 11:42:36 | 1-001_alpha_to_beta_dex_conversion | Creating namespace: kuttl-test-factual-iguana === CONT kuttl/harness/1-082_validate_node_placement logger.go:42: 11:42:36 | 1-082_validate_node_placement | Creating namespace: kuttl-test-neat-antelope === CONT kuttl/harness/1-050_validate_sso logger.go:42: 11:42:36 | 1-050_validate_sso | Creating namespace: kuttl-test-thorough-moray === CONT kuttl/harness/1-081_validate_applicationset_deployment logger.go:42: 11:42:36 | 1-081_validate_applicationset_deployment/1- | starting test step 1- === CONT kuttl/harness/1-001_alpha_to_beta_dex_conversion logger.go:42: 11:42:36 | 1-001_alpha_to_beta_dex_conversion/1-argocd-dex | starting test step 1-argocd-dex === CONT kuttl/harness/1-065_validate_redis_ha_anti_affinity logger.go:42: 11:42:36 | 1-065_validate_redis_ha_anti_affinity/1-install | starting test step 1-install === CONT kuttl/harness/1-082_validate_node_placement logger.go:42: 11:42:36 | 1-082_validate_node_placement/1-default-node-selector | starting test step 1-default-node-selector === CONT kuttl/harness/1-050_validate_sso logger.go:42: 11:42:36 | 1-050_validate_sso/1-install | starting test step 1-install I1119 11:42:38.739039 115 request.go:682] Waited for 2.015492862s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/networking.k8s.io/v1?timeout=32s === CONT kuttl/harness/1-001_alpha_to_beta_dex_conversion logger.go:42: 11:42:42 | 1-001_alpha_to_beta_dex_conversion/1-argocd-dex | ArgoCD:kuttl-test-factual-iguana/argocd created === CONT kuttl/harness/1-082_validate_node_placement logger.go:42: 11:42:45 | 1-082_validate_node_placement/1-default-node-selector | ArgoCD:kuttl-test-neat-antelope/example-argocd created I1119 11:42:48.741800 115 request.go:682] Waited for 2.980232214s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/config.openshift.io/v1?timeout=32s === CONT kuttl/harness/1-050_validate_sso logger.go:42: 11:42:48 | 1-050_validate_sso/1-install | ArgoCD:kuttl-test-thorough-moray/argocd created === CONT kuttl/harness/1-081_validate_applicationset_deployment logger.go:42: 11:42:51 | 1-081_validate_applicationset_deployment/1- | test step completed 1- logger.go:42: 11:42:51 | 1-081_validate_applicationset_deployment | skipping kubernetes event logging logger.go:42: 11:42:51 | 1-081_validate_applicationset_deployment | Deleting namespace: kuttl-test-select-dory === CONT kuttl/harness/1-065_validate_redis_ha_anti_affinity logger.go:42: 11:42:51 | 1-065_validate_redis_ha_anti_affinity/1-install | ArgoCD:kuttl-test-probable-narwhal/argocd created logger.go:42: 11:42:51 | 1-065_validate_redis_ha_anti_affinity/1-install | test step completed 1-install logger.go:42: 11:42:51 | 1-065_validate_redis_ha_anti_affinity/2- | starting test step 2- === CONT kuttl/harness/1-001_alpha_to_beta_dex_conversion logger.go:42: 11:42:54 | 1-001_alpha_to_beta_dex_conversion/1-argocd-dex | test step completed 1-argocd-dex logger.go:42: 11:42:54 | 1-001_alpha_to_beta_dex_conversion/2-delete | starting test step 2-delete === CONT kuttl/harness/1-082_validate_node_placement logger.go:42: 11:42:54 | 1-082_validate_node_placement/1-default-node-selector | test step completed 1-default-node-selector logger.go:42: 11:42:54 | 1-082_validate_node_placement/2-custom-node-placement | starting test step 2-custom-node-placement === CONT kuttl/harness/1-057_validate_notifications === CONT kuttl/harness/1-082_validate_node_placement logger.go:42: 11:42:57 | 1-082_validate_node_placement/2-custom-node-placement | ArgoCD:kuttl-test-neat-antelope/example-argocd updated I1119 11:42:58.915460 115 request.go:682] Waited for 1.023325209s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/machineconfiguration.openshift.io/v1?timeout=32s === CONT kuttl/harness/1-057_validate_notifications logger.go:42: 11:43:00 | 1-057_validate_notifications | Creating namespace: kuttl-test-funky-possum logger.go:42: 11:43:00 | 1-057_validate_notifications/1-install | starting test step 1-install === CONT kuttl/harness/1-001_alpha_to_beta_dex_conversion logger.go:42: 11:43:00 | 1-001_alpha_to_beta_dex_conversion/2-delete | test step completed 2-delete logger.go:42: 11:43:00 | 1-001_alpha_to_beta_dex_conversion | skipping kubernetes event logging logger.go:42: 11:43:00 | 1-001_alpha_to_beta_dex_conversion | Deleting namespace: kuttl-test-factual-iguana === CONT kuttl/harness/1-057_validate_notifications logger.go:42: 11:43:03 | 1-057_validate_notifications/1-install | ArgoCD:kuttl-test-funky-possum/argocd created === CONT kuttl/harness/1-082_validate_node_placement logger.go:42: 11:43:03 | 1-082_validate_node_placement/2-custom-node-placement | test step completed 2-custom-node-placement logger.go:42: 11:43:03 | 1-082_validate_node_placement/3-node-placement-with-toleration | starting test step 3-node-placement-with-toleration === CONT kuttl/harness/1-057_validate_notifications logger.go:42: 11:43:03 | 1-057_validate_notifications/1-install | Service:kuttl-test-funky-possum/smtp4dev created logger.go:42: 11:43:04 | 1-057_validate_notifications/1-install | Deployment:kuttl-test-funky-possum/smtp4dev created === CONT kuttl/harness/1-064_validate_security_contexts logger.go:42: 11:43:07 | 1-064_validate_security_contexts | Creating namespace: kuttl-test-crucial-mammal logger.go:42: 11:43:07 | 1-064_validate_security_contexts/1-install | starting test step 1-install === CONT kuttl/harness/1-082_validate_node_placement logger.go:42: 11:43:07 | 1-082_validate_node_placement/3-node-placement-with-toleration | ArgoCD:kuttl-test-neat-antelope/example-argocd updated I1119 11:43:08.922064 115 request.go:682] Waited for 1.880730053s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/migration.k8s.io/v1alpha1?timeout=32s === CONT kuttl/harness/1-064_validate_security_contexts logger.go:42: 11:43:10 | 1-064_validate_security_contexts/1-install | ArgoCD:kuttl-test-crucial-mammal/argocd created === CONT kuttl/harness/1-082_validate_node_placement logger.go:42: 11:43:10 | 1-082_validate_node_placement/3-node-placement-with-toleration | test step completed 3-node-placement-with-toleration logger.go:42: 11:43:10 | 1-082_validate_node_placement | skipping kubernetes event logging logger.go:42: 11:43:10 | 1-082_validate_node_placement | Deleting namespace: kuttl-test-neat-antelope === CONT kuttl/harness/1-064_validate_security_contexts logger.go:42: 11:43:11 | 1-064_validate_security_contexts/1-install | test step completed 1-install logger.go:42: 11:43:11 | 1-064_validate_security_contexts/2-check-controller-manager | starting test step 2-check-controller-manager logger.go:42: 11:43:11 | 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: 11:43:15 | 1-064_validate_security_contexts/2-check-controller-manager | test step completed 2-check-controller-manager logger.go:42: 11:43:15 | 1-064_validate_security_contexts | skipping kubernetes event logging logger.go:42: 11:43:15 | 1-064_validate_security_contexts | Deleting namespace: kuttl-test-crucial-mammal === CONT kuttl/harness/1-063_validate_statefulset_restart logger.go:42: 11:43:16 | 1-063_validate_statefulset_restart | Creating namespace: kuttl-test-legible-osprey logger.go:42: 11:43:16 | 1-063_validate_statefulset_restart/1-install | starting test step 1-install I1119 11:43:18.955149 115 request.go:682] Waited for 2.631651781s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/console.openshift.io/v1?timeout=32s logger.go:42: 11:43:19 | 1-063_validate_statefulset_restart/1-install | ArgoCD:kuttl-test-legible-osprey/example-argocd created === CONT kuttl/harness/1-050_validate_sso logger.go:42: 11:43:21 | 1-050_validate_sso/1-install | test step completed 1-install logger.go:42: 11:43:21 | 1-050_validate_sso/2-remove-spec-sso | starting test step 2-remove-spec-sso logger.go:42: 11:43:21 | 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"}]' ] === CONT kuttl/harness/1-063_validate_dex_liveness_probe logger.go:42: 11:43:21 | 1-063_validate_dex_liveness_probe | Creating namespace: kuttl-test-hopeful-ringtail logger.go:42: 11:43:21 | 1-063_validate_dex_liveness_probe/1- | starting test step 1- === CONT kuttl/harness/1-050_validate_sso logger.go:42: 11:43:21 | 1-050_validate_sso/2-remove-spec-sso | argocd.argoproj.io/argocd patched logger.go:42: 11:43:21 | 1-050_validate_sso/2-remove-spec-sso | running command: [sh -c sleep 10] === CONT kuttl/harness/1-063_validate_dex_liveness_probe logger.go:42: 11:43:24 | 1-063_validate_dex_liveness_probe/1- | test step completed 1- logger.go:42: 11:43:24 | 1-063_validate_dex_liveness_probe | skipping kubernetes event logging logger.go:42: 11:43:24 | 1-063_validate_dex_liveness_probe | Deleting namespace: kuttl-test-hopeful-ringtail === CONT kuttl/harness/1-062_validate_extra_config logger.go:42: 11:43:30 | 1-062_validate_extra_config | Creating namespace: kuttl-test-loved-satyr logger.go:42: 11:43:30 | 1-062_validate_extra_config/1-argocd-with-extraconfig | starting test step 1-argocd-with-extraconfig I1119 11:43:31.697118 115 request.go:682] Waited for 1.028920282s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/extensions.istio.io/v1alpha1?timeout=32s logger.go:42: 11:43:33 | 1-062_validate_extra_config/1-argocd-with-extraconfig | ArgoCD:kuttl-test-loved-satyr/example-argocd created === CONT kuttl/harness/1-057_validate_notifications logger.go:42: 11:43:36 | 1-057_validate_notifications/1-install | test step completed 1-install logger.go:42: 11:43:36 | 1-057_validate_notifications/2-update-notifications-cm | starting test step 2-update-notifications-cm logger.go:42: 11:43:36 | 1-057_validate_notifications/2-update-notifications-cm | running command: [sh -c sleep 15] === CONT kuttl/harness/1-050_validate_sso logger.go:42: 11:43:36 | 1-050_validate_sso/2-remove-spec-sso | test step completed 2-remove-spec-sso logger.go:42: 11:43:36 | 1-050_validate_sso/7-provider-keycloak-dex-spec | starting test step 7-provider-keycloak-dex-spec logger.go:42: 11:43:39 | 1-050_validate_sso/7-provider-keycloak-dex-spec | ArgoCD:kuttl-test-thorough-moray/argocd updated logger.go:42: 11:43:39 | 1-050_validate_sso/7-provider-keycloak-dex-spec | test step completed 7-provider-keycloak-dex-spec logger.go:42: 11:43:39 | 1-050_validate_sso/8-remove-spec-dex | starting test step 8-remove-spec-dex logger.go:42: 11:43:39 | 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: 11:43:40 | 1-050_validate_sso/8-remove-spec-dex | argocd.argoproj.io/argocd patched I1119 11:43:41.744345 115 request.go:682] Waited for 1.478104711s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/networking.istio.io/v1beta1?timeout=32s === CONT kuttl/harness/1-063_validate_statefulset_restart logger.go:42: 11:43:51 | 1-063_validate_statefulset_restart/1-install | test step completed 1-install logger.go:42: 11:43:51 | 1-063_validate_statefulset_restart/2-change_to_invalid_image | starting test step 2-change_to_invalid_image logger.go:42: 11:43:51 | 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 ] === CONT kuttl/harness/1-057_validate_notifications logger.go:42: 11:43:51 | 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 }" } }]' ] === CONT kuttl/harness/1-063_validate_statefulset_restart logger.go:42: 11:43:51 | 1-063_validate_statefulset_restart/2-change_to_invalid_image | statefulset.apps/example-argocd-application-controller patched === CONT kuttl/harness/1-057_validate_notifications logger.go:42: 11:43:52 | 1-057_validate_notifications/2-update-notifications-cm | notificationsconfiguration.argoproj.io/default-notifications-configuration patched logger.go:42: 11:43:52 | 1-057_validate_notifications/2-update-notifications-cm | running command: [sh -c sleep 5] I1119 11:43:58.389203 115 request.go:682] Waited for 1.031075797s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/apiserver.openshift.io/v1?timeout=32s logger.go:42: 11:44:00 | 1-057_validate_notifications/2-update-notifications-cm | test step completed 2-update-notifications-cm logger.go:42: 11:44:00 | 1-057_validate_notifications/3-create-app | starting test step 3-create-app logger.go:42: 11:44:00 | 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: 11:44:00 | 1-057_validate_notifications/3-create-app | application.argoproj.io/my-app-3 created logger.go:42: 11:44:00 | 1-057_validate_notifications/3-create-app | running command: [sh -c sleep 5] === CONT kuttl/harness/1-063_validate_statefulset_restart logger.go:42: 11:44:05 | 1-063_validate_statefulset_restart/2-change_to_invalid_image | test step completed 2-change_to_invalid_image logger.go:42: 11:44:05 | 1-063_validate_statefulset_restart/3-check_image_after_change | starting test step 3-check_image_after_change logger.go:42: 11:44:05 | 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 ] === CONT kuttl/harness/1-062_validate_extra_config logger.go:42: 11:44:05 | 1-062_validate_extra_config/1-argocd-with-extraconfig | test step completed 1-argocd-with-extraconfig logger.go:42: 11:44:05 | 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: 11:44:08 | 1-062_validate_extra_config/2-argocd-with-firstclass-and-extraconfig copy | ArgoCD:kuttl-test-loved-satyr/example-argocd updated I1119 11:44:09.089958 115 request.go:682] Waited for 1.020319098s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/user.openshift.io/v1?timeout=32s === CONT kuttl/harness/1-063_validate_statefulset_restart logger.go:42: 11:44:11 | 1-063_validate_statefulset_restart/3-check_image_after_change | test step completed 3-check_image_after_change logger.go:42: 11:44:11 | 1-063_validate_statefulset_restart | skipping kubernetes event logging logger.go:42: 11:44:11 | 1-063_validate_statefulset_restart | Deleting namespace: kuttl-test-legible-osprey === CONT kuttl/harness/1-057_validate_notifications logger.go:42: 11:44:14 | 1-057_validate_notifications/3-create-app | test step completed 3-create-app logger.go:42: 11:44:14 | 1-057_validate_notifications/4-delete-app | starting test step 4-delete-app logger.go:42: 11:44:14 | 1-057_validate_notifications/4-delete-app | running command: [sh -c set -e kubectl delete -n $NAMESPACE application.argoproj.io my-app-3 ] === CONT kuttl/harness/1-062_validate_extra_config logger.go:42: 11:44:14 | 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: 11:44:14 | 1-062_validate_extra_config/3-update-configmap | starting test step 3-update-configmap === CONT kuttl/harness/1-057_validate_notifications logger.go:42: 11:44:14 | 1-057_validate_notifications/4-delete-app | application.argoproj.io "my-app-3" deleted logger.go:42: 11:44:14 | 1-057_validate_notifications/4-delete-app | running command: [sh -c sleep 5] === CONT kuttl/harness/1-062_validate_extra_config logger.go:42: 11:44:17 | 1-062_validate_extra_config/3-update-configmap | ConfigMap:kuttl-test-loved-satyr/argocd-cm updated === CONT kuttl/harness/1-061_validate_resource_tracking_method logger.go:42: 11:44:17 | 1-061_validate_resource_tracking_method | Creating namespace: kuttl-test-noted-quetzal logger.go:42: 11:44:17 | 1-061_validate_resource_tracking_method/1-install | starting test step 1-install I1119 11:44:19.104229 115 request.go:682] Waited for 1.630729882s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/autoscaling.openshift.io/v1?timeout=32s === CONT kuttl/harness/1-062_validate_extra_config logger.go:42: 11:44:20 | 1-062_validate_extra_config/3-update-configmap | test step completed 3-update-configmap logger.go:42: 11:44:20 | 1-062_validate_extra_config/4-create-dex-without-extraconfig | starting test step 4-create-dex-without-extraconfig === CONT kuttl/harness/1-061_validate_resource_tracking_method logger.go:42: 11:44:20 | 1-061_validate_resource_tracking_method/1-install | ArgoCD:kuttl-test-noted-quetzal/argocd created === CONT kuttl/harness/1-062_validate_extra_config logger.go:42: 11:44:26 | 1-062_validate_extra_config/4-create-dex-without-extraconfig | ArgoCD:kuttl-test-loved-satyr/example-argocd updated === CONT kuttl/harness/1-057_validate_notifications logger.go:42: 11:44:26 | 1-057_validate_notifications/4-delete-app | test step completed 4-delete-app logger.go:42: 11:44:26 | 1-057_validate_notifications/5-verify-email | starting test step 5-verify-email logger.go:42: 11:44:26 | 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 ] === CONT kuttl/harness/1-062_validate_extra_config logger.go:42: 11:44:27 | 1-062_validate_extra_config/4-create-dex-without-extraconfig | test step completed 4-create-dex-without-extraconfig logger.go:42: 11:44:27 | 1-062_validate_extra_config/5-override-dex-using-extraconfig | starting test step 5-override-dex-using-extraconfig I1119 11:44:29.133562 115 request.go:682] Waited for 1.529625811s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/networking.istio.io/v1alpha3?timeout=32s logger.go:42: 11:44:30 | 1-062_validate_extra_config/5-override-dex-using-extraconfig | ArgoCD:kuttl-test-loved-satyr/example-argocd updated === CONT kuttl/harness/1-057_validate_notifications logger.go:42: 11:44:33 | 1-057_validate_notifications/5-verify-email | test step completed 5-verify-email logger.go:42: 11:44:33 | 1-057_validate_notifications | skipping kubernetes event logging === CONT kuttl/harness/1-062_validate_extra_config logger.go:42: 11:44:33 | 1-062_validate_extra_config/5-override-dex-using-extraconfig | test step completed 5-override-dex-using-extraconfig logger.go:42: 11:44:33 | 1-062_validate_extra_config | skipping kubernetes event logging logger.go:42: 11:44:33 | 1-062_validate_extra_config | Deleting namespace: kuttl-test-loved-satyr === CONT kuttl/harness/1-057_validate_notifications logger.go:42: 11:44:33 | 1-057_validate_notifications | Deleting namespace: kuttl-test-funky-possum === CONT kuttl/harness/1-058_validate_prometheus_rule logger.go:42: 11:44:39 | 1-058_validate_prometheus_rule | Creating namespace: kuttl-test-refined-hermit logger.go:42: 11:44:39 | 1-058_validate_prometheus_rule/1-install | starting test step 1-install === CONT kuttl/harness/1-098_validate_dex_clientsecret_deprecated I1119 11:44:41.004741 115 request.go:682] Waited for 1.020261199s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/machineconfiguration.openshift.io/v1?timeout=32s logger.go:42: 11:44:42 | 1-098_validate_dex_clientsecret_deprecated | Creating namespace: kuttl-test-nice-corgi logger.go:42: 11:44:42 | 1-098_validate_dex_clientsecret_deprecated/1-install | starting test step 1-install === CONT kuttl/harness/1-058_validate_prometheus_rule logger.go:42: 11:44:43 | 1-058_validate_prometheus_rule/1-install | ArgoCD:kuttl-test-refined-hermit/example-argocd created === CONT kuttl/harness/1-098_validate_dex_clientsecret_deprecated logger.go:42: 11:44:46 | 1-098_validate_dex_clientsecret_deprecated/1-install | ArgoCD:kuttl-test-nice-corgi/example-argocd created === CONT kuttl/harness/1-061_validate_resource_tracking_method logger.go:42: 11:44:52 | 1-061_validate_resource_tracking_method/1-install | test step completed 1-install logger.go:42: 11:44:52 | 1-061_validate_resource_tracking_method/2-patch_cm_annotation | starting test step 2-patch_cm_annotation logger.go:42: 11:44:52 | 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: 11:44:53 | 1-061_validate_resource_tracking_method/2-patch_cm_annotation | argocd.argoproj.io/argocd patched I1119 11:44:54.064919 115 request.go:682] Waited for 1.013925518s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/extensions.istio.io/v1alpha1?timeout=32s === CONT kuttl/harness/1-058_validate_prometheus_rule logger.go:42: 11:44:56 | 1-058_validate_prometheus_rule/1-install | test step completed 1-install logger.go:42: 11:44:56 | 1-058_validate_prometheus_rule/2-wait | starting test step 2-wait logger.go:42: 11:44:56 | 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-061_validate_resource_tracking_method logger.go:42: 11:44:56 | 1-061_validate_resource_tracking_method/2-patch_cm_annotation | test step completed 2-patch_cm_annotation logger.go:42: 11:44:56 | 1-061_validate_resource_tracking_method/3-patch_cm_annotation_label | starting test step 3-patch_cm_annotation_label logger.go:42: 11:44:56 | 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-058_validate_prometheus_rule logger.go:42: 11:44:56 | 1-058_validate_prometheus_rule/2-wait | Waiting until all pods in namespace kuttl-test-refined-hermit are up logger.go:42: 11:44:56 | 1-058_validate_prometheus_rule/2-wait | All pods are up: logger.go:42: 11:44:56 | 1-058_validate_prometheus_rule/2-wait | example-argocd-application-controller-0 1/1 Running 0 13s logger.go:42: 11:44:56 | 1-058_validate_prometheus_rule/2-wait | example-argocd-redis-966b6fd8c-565hw 1/1 Running 0 13s logger.go:42: 11:44:56 | 1-058_validate_prometheus_rule/2-wait | example-argocd-repo-server-5f667f7d79-bf6w6 1/1 Running 0 13s logger.go:42: 11:44:56 | 1-058_validate_prometheus_rule/2-wait | example-argocd-server-75944477f4-6q5qk 1/1 Running 0 13s === CONT kuttl/harness/1-061_validate_resource_tracking_method logger.go:42: 11:44:57 | 1-061_validate_resource_tracking_method/3-patch_cm_annotation_label | argocd.argoproj.io/argocd patched === CONT kuttl/harness/1-058_validate_prometheus_rule logger.go:42: 11:44:59 | 1-058_validate_prometheus_rule/2-wait | test step completed 2-wait logger.go:42: 11:44:59 | 1-058_validate_prometheus_rule/3-create_application | starting test step 3-create_application logger.go:42: 11:44:59 | 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: 11:45:00 | 1-058_validate_prometheus_rule/3-create_application | application.argoproj.io/test-1-58-custom created === CONT kuttl/harness/1-061_validate_resource_tracking_method logger.go:42: 11:45:02 | 1-061_validate_resource_tracking_method/3-patch_cm_annotation_label | test step completed 3-patch_cm_annotation_label logger.go:42: 11:45:02 | 1-061_validate_resource_tracking_method/4-patch_cm_invalid_method | starting test step 4-patch_cm_invalid_method I1119 11:45:04.109197 115 request.go:682] Waited for 1.181530296s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/scheduling.k8s.io/v1?timeout=32s logger.go:42: 11:45:05 | 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 ] === CONT kuttl/harness/1-058_validate_prometheus_rule logger.go:42: 11:45:05 | 1-058_validate_prometheus_rule/3-create_application | test step completed 3-create_application logger.go:42: 11:45:05 | 1-058_validate_prometheus_rule | skipping kubernetes event logging logger.go:42: 11:45:05 | 1-058_validate_prometheus_rule | Deleting namespace: kuttl-test-refined-hermit === CONT kuttl/harness/1-061_validate_resource_tracking_method logger.go:42: 11:45:06 | 1-061_validate_resource_tracking_method/4-patch_cm_invalid_method | argocd.argoproj.io/argocd patched logger.go:42: 11:45:09 | 1-061_validate_resource_tracking_method/4-patch_cm_invalid_method | test step completed 4-patch_cm_invalid_method logger.go:42: 11:45:09 | 1-061_validate_resource_tracking_method | skipping kubernetes event logging logger.go:42: 11:45:09 | 1-061_validate_resource_tracking_method | Deleting namespace: kuttl-test-noted-quetzal === CONT kuttl/harness/1-115_validate_controller_extra_command_args logger.go:42: 11:45:12 | 1-115_validate_controller_extra_command_args | Creating namespace: kuttl-test-pet-mayfly logger.go:42: 11:45:12 | 1-115_validate_controller_extra_command_args/1-basic-argocd-install | starting test step 1-basic-argocd-install I1119 11:45:14.125842 115 request.go:682] Waited for 1.979532008s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/argoproj.io/v1beta1?timeout=32s logger.go:42: 11:45:15 | 1-115_validate_controller_extra_command_args/1-basic-argocd-install | Namespace:/test-1-38-controller-extra-command created logger.go:42: 11:45:15 | 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-114_validate_server_sidecar logger.go:42: 11:45:16 | 1-114_validate_server_sidecar | Creating namespace: kuttl-test-active-bull logger.go:42: 11:45:16 | 1-114_validate_server_sidecar/1-install | starting test step 1-install === CONT kuttl/harness/1-098_validate_dex_clientsecret_deprecated logger.go:42: 11:45:19 | 1-098_validate_dex_clientsecret_deprecated/1-install | test step completed 1-install logger.go:42: 11:45:19 | 1-098_validate_dex_clientsecret_deprecated/2-verify-clientsecret | starting test step 2-verify-clientsecret logger.go:42: 11:45: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 ] === CONT kuttl/harness/1-114_validate_server_sidecar logger.go:42: 11:45:19 | 1-114_validate_server_sidecar/1-install | ArgoCD:kuttl-test-active-bull/argocd created I1119 11:45:24.138696 115 request.go:682] Waited for 2.980221025s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/security.internal.openshift.io/v1?timeout=32s === CONT kuttl/harness/1-098_validate_dex_clientsecret_deprecated logger.go:42: 11:45:24 | 1-098_validate_dex_clientsecret_deprecated/2-verify-clientsecret | test step completed 2-verify-clientsecret logger.go:42: 11:45:24 | 1-098_validate_dex_clientsecret_deprecated | skipping kubernetes event logging logger.go:42: 11:45:24 | 1-098_validate_dex_clientsecret_deprecated | Deleting namespace: kuttl-test-nice-corgi === CONT kuttl/harness/1-115_validate_controller_extra_command_args logger.go:42: 11:45:27 | 1-115_validate_controller_extra_command_args/1-basic-argocd-install | test step completed 1-basic-argocd-install logger.go:42: 11:45:27 | 1-115_validate_controller_extra_command_args/2-add-extraCommandArgs | starting test step 2-add-extraCommandArgs === CONT kuttl/harness/1-113_validate_appcontroller_sidecar logger.go:42: 11:45:30 | 1-113_validate_appcontroller_sidecar | Creating namespace: kuttl-test-fluent-kiwi logger.go:42: 11:45:30 | 1-113_validate_appcontroller_sidecar/1-install | starting test step 1-install === CONT kuttl/harness/1-115_validate_controller_extra_command_args logger.go:42: 11:45:30 | 1-115_validate_controller_extra_command_args/2-add-extraCommandArgs | ArgoCD:test-1-38-controller-extra-command/example-argocd updated === CONT kuttl/harness/1-113_validate_appcontroller_sidecar logger.go:42: 11:45:33 | 1-113_validate_appcontroller_sidecar/1-install | ArgoCD:kuttl-test-fluent-kiwi/argocd created === CONT kuttl/harness/1-050_validate_sso logger.go:42: 11:45:54 | 1-050_validate_sso/8-remove-spec-dex | test step completed 8-remove-spec-dex logger.go:42: 11:45:54 | 1-050_validate_sso | skipping kubernetes event logging logger.go:42: 11:45:55 | 1-050_validate_sso | Deleting namespace: kuttl-test-thorough-moray === CONT kuttl/harness/1-112_validate_server_initcontainers logger.go:42: 11:46:06 | 1-112_validate_server_initcontainers | Creating namespace: kuttl-test-holy-koala logger.go:42: 11:46:06 | 1-112_validate_server_initcontainers/1-install | starting test step 1-install I1119 11:46:07.803543 115 request.go:682] Waited for 1.031281188s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/network.openshift.io/v1?timeout=32s logger.go:42: 11:46:09 | 1-112_validate_server_initcontainers/1-install | ArgoCD:kuttl-test-holy-koala/argocd created === CONT kuttl/harness/1-065_validate_redis_ha_anti_affinity logger.go:42: 11:51:55 | 1-065_validate_redis_ha_anti_affinity/2- | test step completed 2- logger.go:42: 11:51:55 | 1-065_validate_redis_ha_anti_affinity | skipping kubernetes event logging logger.go:42: 11:51:55 | 1-065_validate_redis_ha_anti_affinity | Deleting namespace: kuttl-test-probable-narwhal === CONT kuttl/harness/1-111_validate_appcontroller_initcontainers logger.go:42: 11:52:38 | 1-111_validate_appcontroller_initcontainers | Creating namespace: kuttl-test-peaceful-hookworm logger.go:42: 11:52:38 | 1-111_validate_appcontroller_initcontainers/1-install | starting test step 1-install I1119 11:52:39.588535 115 request.go:682] Waited for 1.014941796s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/argoproj.io/v1beta1?timeout=32s logger.go:42: 11:52:41 | 1-111_validate_appcontroller_initcontainers/1-install | ArgoCD:kuttl-test-peaceful-hookworm/argocd created === CONT kuttl/harness/1-114_validate_server_sidecar logger.go:42: 11:57:20 | 1-114_validate_server_sidecar/1-install | test step failed 1-install case.go:364: failed in step 1-install case.go:366: --- Deployment:kuttl-test-active-bull/argocd-server +++ Deployment:kuttl-test-active-bull/argocd-server @@ -1,23 +1,347 @@ apiVersion: apps/v1 kind: Deployment metadata: + labels: + app.kubernetes.io/component: server + app.kubernetes.io/managed-by: argocd + app.kubernetes.io/name: argocd-server + app.kubernetes.io/part-of: argocd + managedFields: + - apiVersion: apps/v1 + fieldsType: FieldsV1 + fieldsV1: + f:metadata: + f:labels: + .: {} + f:app.kubernetes.io/component: {} + f:app.kubernetes.io/managed-by: {} + f:app.kubernetes.io/name: {} + f:app.kubernetes.io/part-of: {} + f:ownerReferences: + .: {} + k:{"uid":"730bf47d-08b7-45be-8bc1-9a5ce97e8b08"}: {} + f:spec: + f:progressDeadlineSeconds: {} + f:replicas: {} + f:revisionHistoryLimit: {} + f:selector: {} + f:strategy: + f:rollingUpdate: + .: {} + f:maxSurge: {} + f:maxUnavailable: {} + f:type: {} + f:template: + f:metadata: + f:labels: + .: {} + f:app.kubernetes.io/name: {} + f:spec: + f:containers: + k:{"name":"argocd-server"}: + .: {} + f:command: {} + f:env: + .: {} + k:{"name":"REDIS_PASSWORD"}: + .: {} + f:name: {} + f:valueFrom: + .: {} + f:secretKeyRef: {} + f:image: {} + f:imagePullPolicy: {} + f:livenessProbe: + .: {} + f:failureThreshold: {} + f:httpGet: + .: {} + f:path: {} + f:port: {} + f:scheme: {} + f:initialDelaySeconds: {} + f:periodSeconds: {} + f:successThreshold: {} + f:timeoutSeconds: {} + f:name: {} + f:ports: + .: {} + k:{"containerPort":8080,"protocol":"TCP"}: + .: {} + f:containerPort: {} + f:protocol: {} + k:{"containerPort":8083,"protocol":"TCP"}: + .: {} + f:containerPort: {} + f:protocol: {} + f:readinessProbe: + .: {} + f:failureThreshold: {} + f:httpGet: + .: {} + f:path: {} + f:port: {} + f:scheme: {} + f:initialDelaySeconds: {} + f:periodSeconds: {} + f:successThreshold: {} + f:timeoutSeconds: {} + f:resources: {} + f:securityContext: + .: {} + f:allowPrivilegeEscalation: {} + f:capabilities: + .: {} + f:drop: {} + f:runAsNonRoot: {} + f:seccompProfile: + .: {} + f:type: {} + f:terminationMessagePath: {} + f:terminationMessagePolicy: {} + f:volumeMounts: + .: {} + k:{"mountPath":"/app/config/server/tls"}: + .: {} + f:mountPath: {} + f:name: {} + k:{"mountPath":"/app/config/server/tls/redis"}: + .: {} + f:mountPath: {} + f:name: {} + k:{"mountPath":"/app/config/ssh"}: + .: {} + f:mountPath: {} + f:name: {} + k:{"mountPath":"/app/config/tls"}: + .: {} + f:mountPath: {} + f:name: {} + f:dnsPolicy: {} + f:nodeSelector: {} + f:restartPolicy: {} + f:schedulerName: {} + f:securityContext: + .: {} + f:seccompProfile: + .: {} + f:type: {} + f:serviceAccount: {} + f:serviceAccountName: {} + f:terminationGracePeriodSeconds: {} + f:volumes: + .: {} + k:{"name":"argocd-operator-redis-tls"}: + .: {} + f:name: {} + f:secret: + .: {} + f:defaultMode: {} + f:optional: {} + f:secretName: {} + k:{"name":"argocd-repo-server-tls"}: + .: {} + f:name: {} + f:secret: + .: {} + f:defaultMode: {} + f:optional: {} + f:secretName: {} + k:{"name":"ssh-known-hosts"}: + .: {} + f:configMap: + .: {} + f:defaultMode: {} + f:name: {} + f:name: {} + k:{"name":"tls-certs"}: + .: {} + f:configMap: + .: {} + f:defaultMode: {} + f:name: {} + f:name: {} + manager: manager + operation: Update + time: "2024-11-19T11:45:20Z" + - apiVersion: apps/v1 + fieldsType: FieldsV1 + fieldsV1: + f:metadata: + f:annotations: + .: {} + f:deployment.kubernetes.io/revision: {} + f:status: + f:availableReplicas: {} + f:conditions: + .: {} + k:{"type":"Available"}: + .: {} + f:lastTransitionTime: {} + f:lastUpdateTime: {} + f:message: {} + f:reason: {} + f:status: {} + f:type: {} + k:{"type":"Progressing"}: + .: {} + f:lastTransitionTime: {} + f:lastUpdateTime: {} + f:message: {} + f:reason: {} + f:status: {} + f:type: {} + f:observedGeneration: {} + f:readyReplicas: {} + f:replicas: {} + f:updatedReplicas: {} + manager: kube-controller-manager + operation: Update + subresource: status + time: "2024-11-19T11:45:50Z" name: argocd-server namespace: kuttl-test-active-bull + ownerReferences: + - apiVersion: argoproj.io/v1beta1 + blockOwnerDeletion: true + controller: true + kind: ArgoCD + name: argocd + uid: 730bf47d-08b7-45be-8bc1-9a5ce97e8b08 spec: + progressDeadlineSeconds: 600 + replicas: 1 + revisionHistoryLimit: 10 selector: matchLabels: app.kubernetes.io/name: argocd-server + strategy: + rollingUpdate: + maxSurge: 25%! (MISSING)+ maxUnavailable: 25%! (MISSING)+ type: RollingUpdate template: + metadata: + creationTimestamp: null + labels: + app.kubernetes.io/name: argocd-server spec: containers: - - name: argocd-server - - image: busybox - name: sidecar - resources: - limits: - cpu: 50m - memory: 64Mi - requests: - cpu: 10m - memory: 32Mi + - command: + - argocd-server + - --staticassets + - /shared/app + - --dex-server + - https://argocd-dex-server.kuttl-test-active-bull.svc.cluster.local:5556 + - --repo-server + - argocd-repo-server.kuttl-test-active-bull.svc.cluster.local:8081 + - --redis + - argocd-redis.kuttl-test-active-bull.svc.cluster.local:6379 + - --loglevel + - info + - --logformat + - text + env: + - name: REDIS_PASSWORD + valueFrom: + secretKeyRef: + key: admin.password + name: argocd-redis-initial-password + image: registry.redhat.io/openshift-gitops-1/argocd-rhel8@sha256:066eae4a541079fbba91dea0652bdb12d3e981d5a225d0827e61f49faff067d3 + imagePullPolicy: Always + livenessProbe: + failureThreshold: 3 + httpGet: + path: /healthz + port: 8080 + scheme: HTTP + initialDelaySeconds: 3 + periodSeconds: 30 + successThreshold: 1 + timeoutSeconds: 1 + name: argocd-server + ports: + - containerPort: 8080 + protocol: TCP + - containerPort: 8083 + protocol: TCP + readinessProbe: + failureThreshold: 3 + httpGet: + path: /healthz + port: 8080 + scheme: HTTP + initialDelaySeconds: 3 + periodSeconds: 30 + successThreshold: 1 + timeoutSeconds: 1 + resources: {} + securityContext: + allowPrivilegeEscalation: false + capabilities: + drop: + - ALL + runAsNonRoot: true + seccompProfile: + type: RuntimeDefault + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /app/config/ssh + name: ssh-known-hosts + - mountPath: /app/config/tls + name: tls-certs + - mountPath: /app/config/server/tls + name: argocd-repo-server-tls + - mountPath: /app/config/server/tls/redis + name: argocd-operator-redis-tls + dnsPolicy: ClusterFirst + nodeSelector: + kubernetes.io/os: linux + restartPolicy: Always + schedulerName: default-scheduler + securityContext: + seccompProfile: + type: RuntimeDefault + serviceAccount: argocd-argocd-server + serviceAccountName: argocd-argocd-server + terminationGracePeriodSeconds: 30 + volumes: + - configMap: + defaultMode: 420 + name: argocd-ssh-known-hosts-cm + name: ssh-known-hosts + - configMap: + defaultMode: 420 + name: argocd-tls-certs-cm + name: tls-certs + - name: argocd-repo-server-tls + secret: + defaultMode: 420 + optional: true + secretName: argocd-repo-server-tls + - name: argocd-operator-redis-tls + secret: + defaultMode: 420 + optional: true + secretName: argocd-operator-redis-tls +status: + availableReplicas: 1 + conditions: + - lastTransitionTime: "2024-11-19T11:45:50Z" + lastUpdateTime: "2024-11-19T11:45:50Z" + message: Deployment has minimum availability. + reason: MinimumReplicasAvailable + status: "True" + type: Available + - lastTransitionTime: "2024-11-19T11:45:20Z" + lastUpdateTime: "2024-11-19T11:45:50Z" + message: ReplicaSet "argocd-server-cf94c4758" has successfully progressed. + reason: NewReplicaSetAvailable + status: "True" + type: Progressing + observedGeneration: 1 + readyReplicas: 1 + replicas: 1 + updatedReplicas: 1 case.go:366: resource Deployment:kuttl-test-active-bull/argocd-server: .spec.template.spec.containers: slice length mismatch: 2 != 1 logger.go:42: 11:57:20 | 1-114_validate_server_sidecar | skipping kubernetes event logging logger.go:42: 11:57:20 | 1-114_validate_server_sidecar | Deleting namespace: kuttl-test-active-bull === CONT kuttl/harness/1-108_alternate_cluster_roles_cluster_scoped_instance 2024/11/19 11:57:25 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: 11:57:25 | 1-108_alternate_cluster_roles_cluster_scoped_instance | Creating namespace: kuttl-test-valid-worm logger.go:42: 11:57:25 | 1-108_alternate_cluster_roles_cluster_scoped_instance/1-create-ns | starting test step 1-create-ns I1119 11:57:27.043172 115 request.go:682] Waited for 1.031402069s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/operator.openshift.io/v1alpha1?timeout=32s logger.go:42: 11:57:29 | 1-108_alternate_cluster_roles_cluster_scoped_instance/1-create-ns | Namespace:/alternate-role created logger.go:42: 11:57:29 | 1-108_alternate_cluster_roles_cluster_scoped_instance/1-create-ns | test step completed 1-create-ns logger.go:42: 11:57:29 | 1-108_alternate_cluster_roles_cluster_scoped_instance/2-edit-subscription | starting test step 2-edit-subscription logger.go:42: 11:57:29 | 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: 11:57:29 | 1-108_alternate_cluster_roles_cluster_scoped_instance/2-edit-subscription | subscription.operators.coreos.com/openshift-gitops-operator patched logger.go:42: 11:57:32 | 1-108_alternate_cluster_roles_cluster_scoped_instance/2-edit-subscription | test step completed 2-edit-subscription logger.go:42: 11:57:32 | 1-108_alternate_cluster_roles_cluster_scoped_instance/3-install | starting test step 3-install === CONT kuttl/harness/1-115_validate_controller_extra_command_args logger.go:42: 11:57:33 | 1-115_validate_controller_extra_command_args/2-add-extraCommandArgs | test step failed 2-add-extraCommandArgs case.go:364: failed in step 2-add-extraCommandArgs case.go:366: --- StatefulSet:test-1-38-controller-extra-command/example-argocd-application-controller +++ StatefulSet:test-1-38-controller-extra-command/example-argocd-application-controller @@ -1,11 +1,192 @@ apiVersion: apps/v1 kind: StatefulSet metadata: + labels: + app.kubernetes.io/component: application-controller + app.kubernetes.io/managed-by: example-argocd + app.kubernetes.io/name: example-argocd-application-controller + app.kubernetes.io/part-of: argocd + managedFields: + - apiVersion: apps/v1 + fieldsType: FieldsV1 + fieldsV1: + f:metadata: + f:labels: + .: {} + f:app.kubernetes.io/component: {} + f:app.kubernetes.io/managed-by: {} + f:app.kubernetes.io/name: {} + f:app.kubernetes.io/part-of: {} + f:ownerReferences: + .: {} + k:{"uid":"1eb976af-6719-41d3-af99-50fd3a4c9528"}: {} + f:spec: + f:podManagementPolicy: {} + f:replicas: {} + f:revisionHistoryLimit: {} + f:selector: {} + f:serviceName: {} + f:template: + f:metadata: + f:labels: + .: {} + f:app.kubernetes.io/name: {} + f:spec: + f:affinity: + .: {} + f:podAntiAffinity: + .: {} + f:preferredDuringSchedulingIgnoredDuringExecution: {} + f:containers: + k:{"name":"argocd-application-controller"}: + .: {} + f:command: {} + f:env: + .: {} + k:{"name":"HOME"}: + .: {} + f:name: {} + f:value: {} + k:{"name":"REDIS_PASSWORD"}: + .: {} + f:name: {} + f:valueFrom: + .: {} + f:secretKeyRef: {} + f:image: {} + f:imagePullPolicy: {} + f:name: {} + f:ports: + .: {} + k:{"containerPort":8082,"protocol":"TCP"}: + .: {} + f:containerPort: {} + f:protocol: {} + f:readinessProbe: + .: {} + f:failureThreshold: {} + f:httpGet: + .: {} + f:path: {} + f:port: {} + f:scheme: {} + f:initialDelaySeconds: {} + f:periodSeconds: {} + f:successThreshold: {} + f:timeoutSeconds: {} + f:resources: {} + f:securityContext: + .: {} + f:allowPrivilegeEscalation: {} + f:capabilities: + .: {} + f:drop: {} + f:runAsNonRoot: {} + f:terminationMessagePath: {} + f:terminationMessagePolicy: {} + f:volumeMounts: + .: {} + k:{"mountPath":"/app/config/controller/tls"}: + .: {} + f:mountPath: {} + f:name: {} + k:{"mountPath":"/app/config/controller/tls/redis"}: + .: {} + f:mountPath: {} + f:name: {} + f:dnsPolicy: {} + f:nodeSelector: {} + f:restartPolicy: {} + f:schedulerName: {} + f:securityContext: + .: {} + f:seccompProfile: + .: {} + f:type: {} + f:serviceAccount: {} + f:serviceAccountName: {} + f:terminationGracePeriodSeconds: {} + f:volumes: + .: {} + k:{"name":"argocd-operator-redis-tls"}: + .: {} + f:name: {} + f:secret: + .: {} + f:defaultMode: {} + f:optional: {} + f:secretName: {} + k:{"name":"argocd-repo-server-tls"}: + .: {} + f:name: {} + f:secret: + .: {} + f:defaultMode: {} + f:optional: {} + f:secretName: {} + f:updateStrategy: + f:rollingUpdate: + .: {} + f:partition: {} + f:type: {} + manager: manager + operation: Update + time: "2024-11-19T11:45:16Z" + - apiVersion: apps/v1 + fieldsType: FieldsV1 + fieldsV1: + f:status: + f:availableReplicas: {} + f:collisionCount: {} + f:currentReplicas: {} + f:currentRevision: {} + f:observedGeneration: {} + f:readyReplicas: {} + f:replicas: {} + f:updateRevision: {} + f:updatedReplicas: {} + manager: kube-controller-manager + operation: Update + subresource: status + time: "2024-11-19T11:45:26Z" name: example-argocd-application-controller namespace: test-1-38-controller-extra-command + ownerReferences: + - apiVersion: argoproj.io/v1beta1 + blockOwnerDeletion: true + controller: true + kind: ArgoCD + name: example-argocd + uid: 1eb976af-6719-41d3-af99-50fd3a4c9528 spec: + podManagementPolicy: OrderedReady + replicas: 1 + revisionHistoryLimit: 10 + selector: + matchLabels: + app.kubernetes.io/name: example-argocd-application-controller + serviceName: example-argocd-application-controller template: + metadata: + creationTimestamp: null + labels: + app.kubernetes.io/name: example-argocd-application-controller spec: + affinity: + podAntiAffinity: + preferredDuringSchedulingIgnoredDuringExecution: + - podAffinityTerm: + labelSelector: + matchLabels: + app.kubernetes.io/name: example-argocd-argocd-application-controller + topologyKey: kubernetes.io/hostname + weight: 100 + - podAffinityTerm: + labelSelector: + matchLabels: + app.kubernetes.io/part-of: argocd + topologyKey: kubernetes.io/hostname + weight: 5 containers: - command: - argocd-application-controller @@ -23,5 +204,78 @@ - info - --logformat - text - - --app-hard-resync + env: + - name: HOME + value: /home/argocd + - name: REDIS_PASSWORD + valueFrom: + secretKeyRef: + key: admin.password + name: example-argocd-redis-initial-password + image: registry.redhat.io/openshift-gitops-1/argocd-rhel8@sha256:066eae4a541079fbba91dea0652bdb12d3e981d5a225d0827e61f49faff067d3 + imagePullPolicy: Always + name: argocd-application-controller + ports: + - containerPort: 8082 + protocol: TCP + readinessProbe: + failureThreshold: 3 + httpGet: + path: /healthz + port: 8082 + scheme: HTTP + initialDelaySeconds: 5 + periodSeconds: 10 + successThreshold: 1 + timeoutSeconds: 1 + resources: {} + securityContext: + allowPrivilegeEscalation: false + capabilities: + drop: + - ALL + runAsNonRoot: true + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /app/config/controller/tls + name: argocd-repo-server-tls + - mountPath: /app/config/controller/tls/redis + name: argocd-operator-redis-tls + dnsPolicy: ClusterFirst + nodeSelector: + kubernetes.io/os: linux + restartPolicy: Always + schedulerName: default-scheduler + securityContext: + seccompProfile: + type: RuntimeDefault + serviceAccount: example-argocd-argocd-application-controller + serviceAccountName: example-argocd-argocd-application-controller + terminationGracePeriodSeconds: 30 + volumes: + - name: argocd-repo-server-tls + secret: + defaultMode: 420 + optional: true + secretName: argocd-repo-server-tls + - name: argocd-operator-redis-tls + secret: + defaultMode: 420 + optional: true + secretName: argocd-operator-redis-tls + updateStrategy: + rollingUpdate: + partition: 0 + type: RollingUpdate +status: + availableReplicas: 1 + collisionCount: 0 + currentReplicas: 1 + currentRevision: example-argocd-application-controller-7fbcdcb6b7 + observedGeneration: 1 + readyReplicas: 1 + replicas: 1 + updateRevision: example-argocd-application-controller-7fbcdcb6b7 + updatedReplicas: 1 case.go:366: resource StatefulSet:test-1-38-controller-extra-command/example-argocd-application-controller: .spec.template.spec.containers.command: slice length mismatch: 16 != 15 logger.go:42: 11:57:33 | 1-115_validate_controller_extra_command_args | skipping kubernetes event logging === CONT kuttl/harness/1-113_validate_appcontroller_sidecar logger.go:42: 11:57:33 | 1-113_validate_appcontroller_sidecar/1-install | test step failed 1-install case.go:364: failed in step 1-install case.go:366: --- Pod:kuttl-test-fluent-kiwi/argocd-application-controller-0 +++ Pod:kuttl-test-fluent-kiwi/argocd-application-controller-0 @@ -1,18 +1,379 @@ apiVersion: v1 kind: Pod metadata: + annotations: + k8s.v1.cni.cncf.io/network-status: |- + [{ + "name": "openshift-sdn", + "interface": "eth0", + "ips": [ + "10.129.3.165" + ], + "default": true, + "dns": {} + }] + k8s.v1.cni.cncf.io/networks-status: |- + [{ + "name": "openshift-sdn", + "interface": "eth0", + "ips": [ + "10.129.3.165" + ], + "default": true, + "dns": {} + }] + openshift.io/scc: restricted-v2 + seccomp.security.alpha.kubernetes.io/pod: runtime/default + generateName: argocd-application-controller- + labels: + app.kubernetes.io/name: argocd-application-controller + controller-revision-hash: argocd-application-controller-79d86b5648 + statefulset.kubernetes.io/pod-name: argocd-application-controller-0 + managedFields: + - apiVersion: v1 + fieldsType: FieldsV1 + fieldsV1: + f:metadata: + f:generateName: {} + f:labels: + .: {} + f:app.kubernetes.io/name: {} + f:controller-revision-hash: {} + f:statefulset.kubernetes.io/pod-name: {} + f:ownerReferences: + .: {} + k:{"uid":"563d4522-a8e8-4a24-a0e4-b760be705ad6"}: {} + f:spec: + f:affinity: + .: {} + f:podAntiAffinity: + .: {} + f:preferredDuringSchedulingIgnoredDuringExecution: {} + f:containers: + k:{"name":"argocd-application-controller"}: + .: {} + f:command: {} + f:env: + .: {} + k:{"name":"HOME"}: + .: {} + f:name: {} + f:value: {} + k:{"name":"REDIS_PASSWORD"}: + .: {} + f:name: {} + f:valueFrom: + .: {} + f:secretKeyRef: {} + f:image: {} + f:imagePullPolicy: {} + f:name: {} + f:ports: + .: {} + k:{"containerPort":8082,"protocol":"TCP"}: + .: {} + f:containerPort: {} + f:protocol: {} + f:readinessProbe: + .: {} + f:failureThreshold: {} + f:httpGet: + .: {} + f:path: {} + f:port: {} + f:scheme: {} + f:initialDelaySeconds: {} + f:periodSeconds: {} + f:successThreshold: {} + f:timeoutSeconds: {} + f:resources: {} + f:securityContext: + .: {} + f:allowPrivilegeEscalation: {} + f:capabilities: + .: {} + f:drop: {} + f:runAsNonRoot: {} + f:terminationMessagePath: {} + f:terminationMessagePolicy: {} + f:volumeMounts: + .: {} + k:{"mountPath":"/app/config/controller/tls"}: + .: {} + f:mountPath: {} + f:name: {} + k:{"mountPath":"/app/config/controller/tls/redis"}: + .: {} + f:mountPath: {} + f:name: {} + f:dnsPolicy: {} + f:enableServiceLinks: {} + f:hostname: {} + f:nodeSelector: {} + f:restartPolicy: {} + f:schedulerName: {} + f:securityContext: + .: {} + f:seccompProfile: + .: {} + f:type: {} + f:serviceAccount: {} + f:serviceAccountName: {} + f:subdomain: {} + f:terminationGracePeriodSeconds: {} + f:volumes: + .: {} + k:{"name":"argocd-operator-redis-tls"}: + .: {} + f:name: {} + f:secret: + .: {} + f:defaultMode: {} + f:optional: {} + f:secretName: {} + k:{"name":"argocd-repo-server-tls"}: + .: {} + f:name: {} + f:secret: + .: {} + f:defaultMode: {} + f:optional: {} + f:secretName: {} + manager: kube-controller-manager + operation: Update + time: "2024-11-19T11:45:33Z" + - apiVersion: v1 + fieldsType: FieldsV1 + fieldsV1: + f:metadata: + f:annotations: + f:k8s.v1.cni.cncf.io/network-status: {} + f:k8s.v1.cni.cncf.io/networks-status: {} + manager: multus + operation: Update + subresource: status + time: "2024-11-19T11:45:35Z" + - apiVersion: v1 + fieldsType: FieldsV1 + fieldsV1: + f:status: + f:conditions: + k:{"type":"ContainersReady"}: + .: {} + f:lastProbeTime: {} + f:lastTransitionTime: {} + f:status: {} + f:type: {} + k:{"type":"Initialized"}: + .: {} + f:lastProbeTime: {} + f:lastTransitionTime: {} + f:status: {} + f:type: {} + k:{"type":"Ready"}: + .: {} + f:lastProbeTime: {} + f:lastTransitionTime: {} + f:status: {} + f:type: {} + f:containerStatuses: {} + f:hostIP: {} + f:phase: {} + f:podIP: {} + f:podIPs: + .: {} + k:{"ip":"10.129.3.165"}: + .: {} + f:ip: {} + f:startTime: {} + manager: kubelet + operation: Update + subresource: status + time: "2024-11-19T11:45:44Z" name: argocd-application-controller-0 namespace: kuttl-test-fluent-kiwi + ownerReferences: + - apiVersion: apps/v1 + blockOwnerDeletion: true + controller: true + kind: StatefulSet + name: argocd-application-controller + uid: 563d4522-a8e8-4a24-a0e4-b760be705ad6 spec: + affinity: + podAntiAffinity: + preferredDuringSchedulingIgnoredDuringExecution: + - podAffinityTerm: + labelSelector: + matchLabels: + app.kubernetes.io/name: argocd-argocd-application-controller + topologyKey: kubernetes.io/hostname + weight: 100 + - podAffinityTerm: + labelSelector: + matchLabels: + app.kubernetes.io/part-of: argocd + topologyKey: kubernetes.io/hostname + weight: 5 containers: - - name: argocd-application-controller - - image: busybox - name: sidecar - resources: - limits: - cpu: 50m - memory: 64Mi - requests: - cpu: 10m - memory: 32Mi + - command: + - argocd-application-controller + - --operation-processors + - "10" + - --redis + - argocd-redis.kuttl-test-fluent-kiwi.svc.cluster.local:6379 + - --repo-server + - argocd-repo-server.kuttl-test-fluent-kiwi.svc.cluster.local:8081 + - --status-processors + - "20" + - --kubectl-parallelism-limit + - "10" + - --loglevel + - info + - --logformat + - text + env: + - name: HOME + value: /home/argocd + - name: REDIS_PASSWORD + valueFrom: + secretKeyRef: + key: admin.password + name: argocd-redis-initial-password + image: registry.redhat.io/openshift-gitops-1/argocd-rhel8@sha256:066eae4a541079fbba91dea0652bdb12d3e981d5a225d0827e61f49faff067d3 + imagePullPolicy: Always + name: argocd-application-controller + ports: + - containerPort: 8082 + protocol: TCP + readinessProbe: + failureThreshold: 3 + httpGet: + path: /healthz + port: 8082 + scheme: HTTP + initialDelaySeconds: 5 + periodSeconds: 10 + successThreshold: 1 + timeoutSeconds: 1 + resources: {} + securityContext: + allowPrivilegeEscalation: false + capabilities: + drop: + - ALL + runAsNonRoot: true + runAsUser: 1001190000 + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /app/config/controller/tls + name: argocd-repo-server-tls + - mountPath: /app/config/controller/tls/redis + name: argocd-operator-redis-tls + - mountPath: /var/run/secrets/kubernetes.io/serviceaccount + name: kube-api-access-fn9q8 + readOnly: true + dnsPolicy: ClusterFirst + enableServiceLinks: true + hostname: argocd-application-controller-0 + imagePullSecrets: + - name: argocd-argocd-application-controller-dockercfg-brdjm + nodeName: 412-psi-67ql5-worker-0-hfnmn + nodeSelector: + kubernetes.io/os: linux + preemptionPolicy: PreemptLowerPriority + priority: 0 + restartPolicy: Always + schedulerName: default-scheduler + securityContext: + fsGroup: 1001190000 + seLinuxOptions: + level: s0:c35,c0 + seccompProfile: + type: RuntimeDefault + serviceAccount: argocd-argocd-application-controller + serviceAccountName: argocd-argocd-application-controller + subdomain: argocd-application-controller + terminationGracePeriodSeconds: 30 + tolerations: + - effect: NoExecute + key: node.kubernetes.io/not-ready + operator: Exists + tolerationSeconds: 300 + - effect: NoExecute + key: node.kubernetes.io/unreachable + operator: Exists + tolerationSeconds: 300 + volumes: + - name: argocd-repo-server-tls + secret: + defaultMode: 420 + optional: true + secretName: argocd-repo-server-tls + - name: argocd-operator-redis-tls + secret: + defaultMode: 420 + optional: true + secretName: argocd-operator-redis-tls + - name: kube-api-access-fn9q8 + projected: + defaultMode: 420 + sources: + - serviceAccountToken: + expirationSeconds: 3607 + path: token + - configMap: + items: + - key: ca.crt + path: ca.crt + name: kube-root-ca.crt + - downwardAPI: + items: + - fieldRef: + apiVersion: v1 + fieldPath: metadata.namespace + path: namespace + - configMap: + items: + - key: service-ca.crt + path: service-ca.crt + name: openshift-service-ca.crt +status: + conditions: + - lastProbeTime: null + lastTransitionTime: "2024-11-19T11:45:34Z" + status: "True" + type: Initialized + - lastProbeTime: null + lastTransitionTime: "2024-11-19T11:45:44Z" + status: "True" + type: Ready + - lastProbeTime: null + lastTransitionTime: "2024-11-19T11:45:44Z" + status: "True" + type: ContainersReady + - lastProbeTime: null + lastTransitionTime: "2024-11-19T11:45:33Z" + status: "True" + type: PodScheduled + containerStatuses: + - containerID: cri-o://995f516ba47412505aa95795fb440d2839da6e07a0eec49953ea5aab11267e43 + image: registry.redhat.io/openshift-gitops-1/argocd-rhel8@sha256:066eae4a541079fbba91dea0652bdb12d3e981d5a225d0827e61f49faff067d3 + imageID: registry.redhat.io/openshift-gitops-1/argocd-rhel8@sha256:066eae4a541079fbba91dea0652bdb12d3e981d5a225d0827e61f49faff067d3 + lastState: {} + name: argocd-application-controller + ready: true + restartCount: 0 + started: true + state: + running: + startedAt: "2024-11-19T11:45:36Z" + hostIP: 192.168.3.51 + phase: Running + podIP: 10.129.3.165 + podIPs: + - ip: 10.129.3.165 + qosClass: BestEffort + startTime: "2024-11-19T11:45:34Z" case.go:366: resource Pod:kuttl-test-fluent-kiwi/argocd-application-controller-0: .spec.containers: slice length mismatch: 2 != 1 logger.go:42: 11:57:33 | 1-113_validate_appcontroller_sidecar | skipping kubernetes event logging logger.go:42: 11:57:33 | 1-113_validate_appcontroller_sidecar | Deleting namespace: kuttl-test-fluent-kiwi === CONT kuttl/harness/1-115_validate_controller_extra_command_args logger.go:42: 11:57:33 | 1-115_validate_controller_extra_command_args | Deleting namespace: kuttl-test-pet-mayfly === CONT kuttl/harness/1-108_alternate_cluster_roles_cluster_scoped_instance logger.go:42: 11:57:35 | 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: 11:57:39 | 1-107_host_attribute_sso_provider | Creating namespace: kuttl-test-useful-midge logger.go:42: 11:57:39 | 1-107_host_attribute_sso_provider/1-install | starting test step 1-install === CONT kuttl/harness/1-104_validate_applicationset_tls_scm_volume_mount I1119 11:57:40.875573 115 request.go:682] Waited for 1.02668514s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/monitoring.coreos.com/v1beta1?timeout=32s logger.go:42: 11:57:42 | 1-104_validate_applicationset_tls_scm_volume_mount | Creating namespace: kuttl-test-humane-starfish logger.go:42: 11:57:42 | 1-104_validate_applicationset_tls_scm_volume_mount/1-install | starting test step 1-install === CONT kuttl/harness/1-107_host_attribute_sso_provider logger.go:42: 11:57:42 | 1-107_host_attribute_sso_provider/1-install | ArgoCD:kuttl-test-useful-midge/example-argocd-keycloak created === CONT kuttl/harness/1-104_validate_applicationset_tls_scm_volume_mount logger.go:42: 11:57:45 | 1-104_validate_applicationset_tls_scm_volume_mount/1-install | Namespace:/test-1-104-appsets-scm-tls-mount created logger.go:42: 11:57:45 | 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: 11:57:45 | 1-104_validate_applicationset_tls_scm_volume_mount/1-install | ArgoCD:test-1-104-appsets-scm-tls-mount/argocd created === CONT kuttl/harness/1-108_alternate_cluster_roles_cluster_scoped_instance logger.go:42: 11:58:00 | 1-108_alternate_cluster_roles_cluster_scoped_instance/3-install | test step completed 3-install logger.go:42: 11:58:00 | 1-108_alternate_cluster_roles_cluster_scoped_instance/4-create-app | starting test step 4-create-app I1119 11:58:01.368227 115 request.go:682] Waited for 1.03157655s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/flowcontrol.apiserver.k8s.io/v1beta2?timeout=32s logger.go:42: 11:58:03 | 1-108_alternate_cluster_roles_cluster_scoped_instance/4-create-app | Application:alternate-role/clusterrole-app created logger.go:42: 11:58:07 | 1-108_alternate_cluster_roles_cluster_scoped_instance/4-create-app | test step completed 4-create-app logger.go:42: 11:58:07 | 1-108_alternate_cluster_roles_cluster_scoped_instance/5-disable-role | starting test step 5-disable-role logger.go:42: 11:58:10 | 1-108_alternate_cluster_roles_cluster_scoped_instance/5-disable-role | ArgoCD:alternate-role/argocd updated === CONT kuttl/harness/1-112_validate_server_initcontainers logger.go:42: 11:58:11 | 1-112_validate_server_initcontainers/1-install | test step failed 1-install case.go:364: failed in step 1-install case.go:366: --- Deployment:kuttl-test-holy-koala/argocd-server +++ Deployment:kuttl-test-holy-koala/argocd-server @@ -1,25 +1,347 @@ apiVersion: apps/v1 kind: Deployment metadata: + labels: + app.kubernetes.io/component: server + app.kubernetes.io/managed-by: argocd + app.kubernetes.io/name: argocd-server + app.kubernetes.io/part-of: argocd + managedFields: + - apiVersion: apps/v1 + fieldsType: FieldsV1 + fieldsV1: + f:metadata: + f:labels: + .: {} + f:app.kubernetes.io/component: {} + f:app.kubernetes.io/managed-by: {} + f:app.kubernetes.io/name: {} + f:app.kubernetes.io/part-of: {} + f:ownerReferences: + .: {} + k:{"uid":"e5aad5b9-fabd-46d2-84d7-733e42778d0d"}: {} + f:spec: + f:progressDeadlineSeconds: {} + f:replicas: {} + f:revisionHistoryLimit: {} + f:selector: {} + f:strategy: + f:rollingUpdate: + .: {} + f:maxSurge: {} + f:maxUnavailable: {} + f:type: {} + f:template: + f:metadata: + f:labels: + .: {} + f:app.kubernetes.io/name: {} + f:spec: + f:containers: + k:{"name":"argocd-server"}: + .: {} + f:command: {} + f:env: + .: {} + k:{"name":"REDIS_PASSWORD"}: + .: {} + f:name: {} + f:valueFrom: + .: {} + f:secretKeyRef: {} + f:image: {} + f:imagePullPolicy: {} + f:livenessProbe: + .: {} + f:failureThreshold: {} + f:httpGet: + .: {} + f:path: {} + f:port: {} + f:scheme: {} + f:initialDelaySeconds: {} + f:periodSeconds: {} + f:successThreshold: {} + f:timeoutSeconds: {} + f:name: {} + f:ports: + .: {} + k:{"containerPort":8080,"protocol":"TCP"}: + .: {} + f:containerPort: {} + f:protocol: {} + k:{"containerPort":8083,"protocol":"TCP"}: + .: {} + f:containerPort: {} + f:protocol: {} + f:readinessProbe: + .: {} + f:failureThreshold: {} + f:httpGet: + .: {} + f:path: {} + f:port: {} + f:scheme: {} + f:initialDelaySeconds: {} + f:periodSeconds: {} + f:successThreshold: {} + f:timeoutSeconds: {} + f:resources: {} + f:securityContext: + .: {} + f:allowPrivilegeEscalation: {} + f:capabilities: + .: {} + f:drop: {} + f:runAsNonRoot: {} + f:seccompProfile: + .: {} + f:type: {} + f:terminationMessagePath: {} + f:terminationMessagePolicy: {} + f:volumeMounts: + .: {} + k:{"mountPath":"/app/config/server/tls"}: + .: {} + f:mountPath: {} + f:name: {} + k:{"mountPath":"/app/config/server/tls/redis"}: + .: {} + f:mountPath: {} + f:name: {} + k:{"mountPath":"/app/config/ssh"}: + .: {} + f:mountPath: {} + f:name: {} + k:{"mountPath":"/app/config/tls"}: + .: {} + f:mountPath: {} + f:name: {} + f:dnsPolicy: {} + f:nodeSelector: {} + f:restartPolicy: {} + f:schedulerName: {} + f:securityContext: + .: {} + f:seccompProfile: + .: {} + f:type: {} + f:serviceAccount: {} + f:serviceAccountName: {} + f:terminationGracePeriodSeconds: {} + f:volumes: + .: {} + k:{"name":"argocd-operator-redis-tls"}: + .: {} + f:name: {} + f:secret: + .: {} + f:defaultMode: {} + f:optional: {} + f:secretName: {} + k:{"name":"argocd-repo-server-tls"}: + .: {} + f:name: {} + f:secret: + .: {} + f:defaultMode: {} + f:optional: {} + f:secretName: {} + k:{"name":"ssh-known-hosts"}: + .: {} + f:configMap: + .: {} + f:defaultMode: {} + f:name: {} + f:name: {} + k:{"name":"tls-certs"}: + .: {} + f:configMap: + .: {} + f:defaultMode: {} + f:name: {} + f:name: {} + manager: manager + operation: Update + time: "2024-11-19T11:46:10Z" + - apiVersion: apps/v1 + fieldsType: FieldsV1 + fieldsV1: + f:metadata: + f:annotations: + .: {} + f:deployment.kubernetes.io/revision: {} + f:status: + f:availableReplicas: {} + f:conditions: + .: {} + k:{"type":"Available"}: + .: {} + f:lastTransitionTime: {} + f:lastUpdateTime: {} + f:message: {} + f:reason: {} + f:status: {} + f:type: {} + k:{"type":"Progressing"}: + .: {} + f:lastTransitionTime: {} + f:lastUpdateTime: {} + f:message: {} + f:reason: {} + f:status: {} + f:type: {} + f:observedGeneration: {} + f:readyReplicas: {} + f:replicas: {} + f:updatedReplicas: {} + manager: kube-controller-manager + operation: Update + subresource: status + time: "2024-11-19T11:46:40Z" name: argocd-server namespace: kuttl-test-holy-koala + ownerReferences: + - apiVersion: argoproj.io/v1beta1 + blockOwnerDeletion: true + controller: true + kind: ArgoCD + name: argocd + uid: e5aad5b9-fabd-46d2-84d7-733e42778d0d spec: + progressDeadlineSeconds: 600 + replicas: 1 + revisionHistoryLimit: 10 selector: matchLabels: app.kubernetes.io/name: argocd-server + strategy: + rollingUpdate: + maxSurge: 25%! (MISSING)+ maxUnavailable: 25%! (MISSING)+ type: RollingUpdate template: + metadata: + creationTimestamp: null + labels: + app.kubernetes.io/name: argocd-server spec: containers: - - name: argocd-server - initContainers: - - image: nginx:latest + - command: + - argocd-server + - --staticassets + - /shared/app + - --dex-server + - https://argocd-dex-server.kuttl-test-holy-koala.svc.cluster.local:5556 + - --repo-server + - argocd-repo-server.kuttl-test-holy-koala.svc.cluster.local:8081 + - --redis + - argocd-redis.kuttl-test-holy-koala.svc.cluster.local:6379 + - --loglevel + - info + - --logformat + - text + env: + - name: REDIS_PASSWORD + valueFrom: + secretKeyRef: + key: admin.password + name: argocd-redis-initial-password + image: registry.redhat.io/openshift-gitops-1/argocd-rhel8@sha256:066eae4a541079fbba91dea0652bdb12d3e981d5a225d0827e61f49faff067d3 imagePullPolicy: Always - name: argocd-init - resources: - limits: - cpu: 50m - memory: 64Mi - requests: - cpu: 10m - memory: 32Mi + livenessProbe: + failureThreshold: 3 + httpGet: + path: /healthz + port: 8080 + scheme: HTTP + initialDelaySeconds: 3 + periodSeconds: 30 + successThreshold: 1 + timeoutSeconds: 1 + name: argocd-server + ports: + - containerPort: 8080 + protocol: TCP + - containerPort: 8083 + protocol: TCP + readinessProbe: + failureThreshold: 3 + httpGet: + path: /healthz + port: 8080 + scheme: HTTP + initialDelaySeconds: 3 + periodSeconds: 30 + successThreshold: 1 + timeoutSeconds: 1 + resources: {} + securityContext: + allowPrivilegeEscalation: false + capabilities: + drop: + - ALL + runAsNonRoot: true + seccompProfile: + type: RuntimeDefault + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /app/config/ssh + name: ssh-known-hosts + - mountPath: /app/config/tls + name: tls-certs + - mountPath: /app/config/server/tls + name: argocd-repo-server-tls + - mountPath: /app/config/server/tls/redis + name: argocd-operator-redis-tls + dnsPolicy: ClusterFirst + nodeSelector: + kubernetes.io/os: linux + restartPolicy: Always + schedulerName: default-scheduler + securityContext: + seccompProfile: + type: RuntimeDefault + serviceAccount: argocd-argocd-server + serviceAccountName: argocd-argocd-server + terminationGracePeriodSeconds: 30 + volumes: + - configMap: + defaultMode: 420 + name: argocd-ssh-known-hosts-cm + name: ssh-known-hosts + - configMap: + defaultMode: 420 + name: argocd-tls-certs-cm + name: tls-certs + - name: argocd-repo-server-tls + secret: + defaultMode: 420 + optional: true + secretName: argocd-repo-server-tls + - name: argocd-operator-redis-tls + secret: + defaultMode: 420 + optional: true + secretName: argocd-operator-redis-tls +status: + availableReplicas: 1 + conditions: + - lastTransitionTime: "2024-11-19T11:46:40Z" + lastUpdateTime: "2024-11-19T11:46:40Z" + message: Deployment has minimum availability. + reason: MinimumReplicasAvailable + status: "True" + type: Available + - lastTransitionTime: "2024-11-19T11:46:10Z" + lastUpdateTime: "2024-11-19T11:46:40Z" + message: ReplicaSet "argocd-server-844b446f6c" has successfully progressed. + reason: NewReplicaSetAvailable + status: "True" + type: Progressing + observedGeneration: 1 + readyReplicas: 1 + replicas: 1 + updatedReplicas: 1 case.go:366: resource Deployment:kuttl-test-holy-koala/argocd-server: .spec.template.spec.initContainers: key is missing from map logger.go:42: 11:58:11 | 1-112_validate_server_initcontainers | skipping kubernetes event logging logger.go:42: 11:58:11 | 1-112_validate_server_initcontainers | Deleting namespace: kuttl-test-holy-koala === CONT kuttl/harness/1-108_alternate_cluster_roles_cluster_scoped_instance logger.go:42: 11:58:11 | 1-108_alternate_cluster_roles_cluster_scoped_instance/5-disable-role | test step completed 5-disable-role logger.go:42: 11:58:11 | 1-108_alternate_cluster_roles_cluster_scoped_instance/6-create-cluster-role | starting test step 6-create-cluster-role I1119 11:58:13.028712 115 request.go:682] Waited for 1.031716142s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/cluster.open-cluster-management.io/v1alpha1?timeout=32s logger.go:42: 11:58:15 | 1-108_alternate_cluster_roles_cluster_scoped_instance/6-create-cluster-role | ClusterRole:/argocd-alternate-role-argocd-application-controller created logger.go:42: 11:58:15 | 1-108_alternate_cluster_roles_cluster_scoped_instance/6-create-cluster-role | test step completed 6-create-cluster-role logger.go:42: 11:58:15 | 1-108_alternate_cluster_roles_cluster_scoped_instance/7-create-cluster-rolebinding | starting test step 7-create-cluster-rolebinding === CONT kuttl/harness/1-103_argocd_alpha_to_beta_conversion logger.go:42: 11:58:18 | 1-103_argocd_alpha_to_beta_conversion | Creating namespace: kuttl-test-epic-zebra logger.go:42: 11:58:18 | 1-103_argocd_alpha_to_beta_conversion/1-alpha_argocd | starting test step 1-alpha_argocd === CONT kuttl/harness/1-108_alternate_cluster_roles_cluster_scoped_instance logger.go:42: 11:58:18 | 1-108_alternate_cluster_roles_cluster_scoped_instance/7-create-cluster-rolebinding | ClusterRoleBinding:/argocd-alternate-role-argocd-application-controller created logger.go:42: 11:58:18 | 1-108_alternate_cluster_roles_cluster_scoped_instance/7-create-cluster-rolebinding | test step completed 7-create-cluster-rolebinding logger.go:42: 11:58:18 | 1-108_alternate_cluster_roles_cluster_scoped_instance/8-delete | starting test step 8-delete === CONT kuttl/harness/1-103_argocd_alpha_to_beta_conversion logger.go:42: 11:58:21 | 1-103_argocd_alpha_to_beta_conversion/1-alpha_argocd | ArgoCD:kuttl-test-epic-zebra/argocd created I1119 11:58:27.915569 115 request.go:682] Waited for 1.031094514s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/autoscaling.openshift.io/v1beta1?timeout=32s === CONT kuttl/harness/1-108_alternate_cluster_roles_cluster_scoped_instance logger.go:42: 11:58:29 | 1-108_alternate_cluster_roles_cluster_scoped_instance/8-delete | test step completed 8-delete logger.go:42: 11:58:29 | 1-108_alternate_cluster_roles_cluster_scoped_instance/9-check-app-message | starting test step 9-check-app-message logger.go:42: 11:58:29 | 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-107_host_attribute_sso_provider logger.go:42: 11:58:31 | 1-107_host_attribute_sso_provider/1-install | test step completed 1-install logger.go:42: 11:58:31 | 1-107_host_attribute_sso_provider | skipping kubernetes event logging logger.go:42: 11:58:31 | 1-107_host_attribute_sso_provider | Deleting namespace: kuttl-test-useful-midge === CONT kuttl/harness/1-103_argocd_alpha_to_beta_conversion logger.go:42: 11:58:32 | 1-103_argocd_alpha_to_beta_conversion/1-alpha_argocd | test step completed 1-alpha_argocd logger.go:42: 11:58:32 | 1-103_argocd_alpha_to_beta_conversion/2-delete | starting test step 2-delete logger.go:42: 11:58:36 | 1-103_argocd_alpha_to_beta_conversion/2-delete | test step completed 2-delete logger.go:42: 11:58:36 | 1-103_argocd_alpha_to_beta_conversion | skipping kubernetes event logging logger.go:42: 11:58:36 | 1-103_argocd_alpha_to_beta_conversion | Deleting namespace: kuttl-test-epic-zebra === CONT kuttl/harness/1-102_validate_handle_terminating_namespaces logger.go:42: 11:58:42 | 1-102_validate_handle_terminating_namespaces | Creating namespace: kuttl-test-special-anteater logger.go:42: 11:58:42 | 1-102_validate_handle_terminating_namespaces/1-install | starting test step 1-install I1119 11:58:43.271276 115 request.go:682] Waited for 1.029653451s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/quota.openshift.io/v1?timeout=32s logger.go:42: 11:58:45 | 1-102_validate_handle_terminating_namespaces/1-install | Namespace:/gitops-service-argocd created logger.go:42: 11:58:45 | 1-102_validate_handle_terminating_namespaces/1-install | test step completed 1-install logger.go:42: 11:58:45 | 1-102_validate_handle_terminating_namespaces/2-install | starting test step 2-install logger.go:42: 11:58:48 | 1-102_validate_handle_terminating_namespaces/2-install | ArgoCD:gitops-service-argocd/gitops-service-argocd created logger.go:42: 11:58:48 | 1-102_validate_handle_terminating_namespaces/2-install | Namespace:/jane created logger.go:42: 11:58:48 | 1-102_validate_handle_terminating_namespaces/2-install | ConfigMap:jane/my-config-map-2 created logger.go:42: 11:59:20 | 1-102_validate_handle_terminating_namespaces/2-install | test step completed 2-install logger.go:42: 11:59:20 | 1-102_validate_handle_terminating_namespaces/3-delete-ns | starting test step 3-delete-ns logger.go:42: 11:59:20 | 1-102_validate_handle_terminating_namespaces/3-delete-ns | running command: [kubectl delete ns jane] logger.go:42: 11:59:20 | 1-102_validate_handle_terminating_namespaces/3-delete-ns | namespace "jane" deleted === CONT kuttl/harness/1-099_validate_server_autoscale logger.go:42: 11:59:21 | 1-099_validate_server_autoscale | Creating namespace: kuttl-test-modern-catfish logger.go:42: 11:59:21 | 1-099_validate_server_autoscale/1-install | starting test step 1-install I1119 11:59:22.429454 115 request.go:682] Waited for 1.031505715s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/apiextensions.k8s.io/v1?timeout=32s logger.go:42: 11:59:24 | 1-099_validate_server_autoscale/1-install | ArgoCD:kuttl-test-modern-catfish/example-argocd created === CONT kuttl/harness/1-108_alternate_cluster_roles_cluster_scoped_instance logger.go:42: 11:59:30 | 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 11:59AM. I1119 11:59:32.441426 115 request.go:682] Waited for 1.831644955s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/stable.example.com/v1?timeout=32s logger.go:42: 11:59:33 | 1-108_alternate_cluster_roles_cluster_scoped_instance/9-check-app-message | test step completed 9-check-app-message logger.go:42: 11:59:33 | 1-108_alternate_cluster_roles_cluster_scoped_instance/10-modify-clusterrole | starting test step 10-modify-clusterrole logger.go:42: 11:59:36 | 1-108_alternate_cluster_roles_cluster_scoped_instance/10-modify-clusterrole | ClusterRole:/argocd-alternate-role-argocd-application-controller updated === CONT kuttl/harness/1-104_validate_applicationset_tls_scm_volume_mount logger.go:42: 11:59:46 | 1-104_validate_applicationset_tls_scm_volume_mount/1-install | test step failed 1-install case.go:364: failed in step 1-install case.go:366: --- Deployment:test-1-104-appsets-scm-tls-mount/argocd-applicationset-controller +++ Deployment:test-1-104-appsets-scm-tls-mount/argocd-applicationset-controller @@ -6,13 +6,214 @@ app.kubernetes.io/managed-by: argocd app.kubernetes.io/name: argocd-applicationset-controller app.kubernetes.io/part-of: argocd-applicationset + managedFields: + - apiVersion: apps/v1 + fieldsType: FieldsV1 + fieldsV1: + f:metadata: + f:labels: + .: {} + f:app.kubernetes.io/component: {} + f:app.kubernetes.io/managed-by: {} + f:app.kubernetes.io/name: {} + f:app.kubernetes.io/part-of: {} + f:ownerReferences: + .: {} + k:{"uid":"41f6c919-c1c1-416d-b6dc-9b081b2aa8a2"}: {} + f:spec: + f:progressDeadlineSeconds: {} + f:replicas: {} + f:revisionHistoryLimit: {} + f:selector: {} + f:strategy: + f:rollingUpdate: + .: {} + f:maxSurge: {} + f:maxUnavailable: {} + f:type: {} + f:template: + f:metadata: + f:labels: + .: {} + f:app.kubernetes.io/name: {} + f:spec: + f:containers: + k:{"name":"argocd-applicationset-controller"}: + .: {} + f:command: {} + f:env: + .: {} + k:{"name":"NAMESPACE"}: + .: {} + f:name: {} + f:valueFrom: + .: {} + f:fieldRef: {} + f:image: {} + f:imagePullPolicy: {} + f:name: {} + f:ports: + .: {} + k:{"containerPort":7000,"protocol":"TCP"}: + .: {} + f:containerPort: {} + f:name: {} + f:protocol: {} + k:{"containerPort":8080,"protocol":"TCP"}: + .: {} + f:containerPort: {} + f:name: {} + f:protocol: {} + f:resources: {} + f:securityContext: + .: {} + f:allowPrivilegeEscalation: {} + f:capabilities: + .: {} + f:drop: {} + f:readOnlyRootFilesystem: {} + f:runAsNonRoot: {} + f:terminationMessagePath: {} + f:terminationMessagePolicy: {} + f:volumeMounts: + .: {} + k:{"mountPath":"/app/config/gpg/keys"}: + .: {} + f:mountPath: {} + f:name: {} + k:{"mountPath":"/app/config/gpg/source"}: + .: {} + f:mountPath: {} + f:name: {} + k:{"mountPath":"/app/config/ssh"}: + .: {} + f:mountPath: {} + f:name: {} + k:{"mountPath":"/app/config/tls"}: + .: {} + f:mountPath: {} + f:name: {} + k:{"mountPath":"/app/tls/scm/cert"}: + .: {} + f:mountPath: {} + f:name: {} + k:{"mountPath":"/tmp"}: + .: {} + f:mountPath: {} + f:name: {} + f:dnsPolicy: {} + f:nodeSelector: {} + f:restartPolicy: {} + f:schedulerName: {} + f:securityContext: + .: {} + f:seccompProfile: + .: {} + f:type: {} + f:serviceAccount: {} + f:serviceAccountName: {} + f:terminationGracePeriodSeconds: {} + f:volumes: + .: {} + k:{"name":"appset-gitlab-scm-tls-cert"}: + .: {} + f:configMap: + .: {} + f:defaultMode: {} + f:name: {} + f:name: {} + k:{"name":"gpg-keyring"}: + .: {} + f:emptyDir: {} + f:name: {} + k:{"name":"gpg-keys"}: + .: {} + f:configMap: + .: {} + f:defaultMode: {} + f:name: {} + f:name: {} + k:{"name":"ssh-known-hosts"}: + .: {} + f:configMap: + .: {} + f:defaultMode: {} + f:name: {} + f:name: {} + k:{"name":"tls-certs"}: + .: {} + f:configMap: + .: {} + f:defaultMode: {} + f:name: {} + f:name: {} + k:{"name":"tmp"}: + .: {} + f:emptyDir: {} + f:name: {} + manager: manager + operation: Update + time: "2024-11-19T11:57:58Z" + - apiVersion: apps/v1 + fieldsType: FieldsV1 + fieldsV1: + f:metadata: + f:annotations: + .: {} + f:deployment.kubernetes.io/revision: {} + f:status: + f:conditions: + .: {} + k:{"type":"Available"}: + .: {} + f:lastTransitionTime: {} + f:lastUpdateTime: {} + f:message: {} + f:reason: {} + f:status: {} + f:type: {} + k:{"type":"Progressing"}: + .: {} + f:lastTransitionTime: {} + f:lastUpdateTime: {} + f:message: {} + f:reason: {} + f:status: {} + f:type: {} + f:observedGeneration: {} + f:replicas: {} + f:unavailableReplicas: {} + f:updatedReplicas: {} + manager: kube-controller-manager + operation: Update + subresource: status + time: "2024-11-19T11:57:59Z" name: argocd-applicationset-controller namespace: test-1-104-appsets-scm-tls-mount + ownerReferences: + - apiVersion: argoproj.io/v1beta1 + blockOwnerDeletion: true + controller: true + kind: ArgoCD + name: argocd + uid: 41f6c919-c1c1-416d-b6dc-9b081b2aa8a2 spec: + progressDeadlineSeconds: 600 + replicas: 1 + revisionHistoryLimit: 10 selector: matchLabels: app.kubernetes.io/name: argocd-applicationset-controller + strategy: + rollingUpdate: + maxSurge: 25%! (MISSING)+ maxUnavailable: 25%! (MISSING)+ type: RollingUpdate template: + metadata: + creationTimestamp: null + labels: + app.kubernetes.io/name: argocd-applicationset-controller spec: containers: - command: @@ -24,6 +225,32 @@ - info - --scm-root-ca-path - /app/tls/scm/cert + env: + - name: NAMESPACE + valueFrom: + fieldRef: + apiVersion: v1 + fieldPath: metadata.namespace + image: registry.redhat.io/openshift-gitops-1/argocd-rhel8@sha256:066eae4a541079fbba91dea0652bdb12d3e981d5a225d0827e61f49faff067d3 + imagePullPolicy: Always + name: argocd-applicationset-controller + ports: + - containerPort: 7000 + name: webhook + protocol: TCP + - containerPort: 8080 + name: metrics + protocol: TCP + resources: {} + securityContext: + allowPrivilegeEscalation: false + capabilities: + drop: + - ALL + readOnlyRootFilesystem: true + runAsNonRoot: true + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File volumeMounts: - mountPath: /app/config/ssh name: ssh-known-hosts @@ -35,8 +262,19 @@ name: gpg-keyring - mountPath: /tmp name: tmp - - mountPath: /app/tls/scm/ + - mountPath: /app/tls/scm/cert name: appset-gitlab-scm-tls-cert + dnsPolicy: ClusterFirst + nodeSelector: + kubernetes.io/os: linux + restartPolicy: Always + schedulerName: default-scheduler + securityContext: + seccompProfile: + type: RuntimeDefault + serviceAccount: argocd-applicationset-controller + serviceAccountName: argocd-applicationset-controller + terminationGracePeriodSeconds: 30 volumes: - configMap: defaultMode: 420 @@ -58,4 +296,22 @@ defaultMode: 420 name: argocd-appset-gitlab-scm-tls-certs-cm name: appset-gitlab-scm-tls-cert +status: + conditions: + - lastTransitionTime: "2024-11-19T11:57:58Z" + lastUpdateTime: "2024-11-19T11:57:58Z" + message: Deployment does not have minimum availability. + reason: MinimumReplicasUnavailable + status: "False" + type: Available + - lastTransitionTime: "2024-11-19T11:57:58Z" + lastUpdateTime: "2024-11-19T11:57:59Z" + message: ReplicaSet "argocd-applicationset-controller-6b6987f995" is progressing. + reason: ReplicaSetUpdated + status: "True" + type: Progressing + observedGeneration: 1 + replicas: 1 + unavailableReplicas: 1 + updatedReplicas: 1 case.go:366: resource Deployment:test-1-104-appsets-scm-tls-mount/argocd-applicationset-controller: .spec.template.spec.containers.volumeMounts.mountPath: value mismatch, expected: /app/tls/scm/ != actual: /app/tls/scm/cert logger.go:42: 11:59:46 | 1-104_validate_applicationset_tls_scm_volume_mount | skipping kubernetes event logging logger.go:42: 11:59:46 | 1-104_validate_applicationset_tls_scm_volume_mount | Deleting namespace: kuttl-test-humane-starfish I1119 11:59:51.233052 115 request.go:682] Waited for 1.030725633s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/argoproj.io/v1alpha1?timeout=32s === CONT kuttl/harness/1-089_validate_extra_repo_commands_args === CONT kuttl/harness/1-102_validate_handle_terminating_namespaces logger.go:42: 11:59:53 | 1-102_validate_handle_terminating_namespaces/3-delete-ns | test step completed 3-delete-ns logger.go:42: 11:59:53 | 1-102_validate_handle_terminating_namespaces/4-create-ns | starting test step 4-create-ns === CONT kuttl/harness/1-089_validate_extra_repo_commands_args logger.go:42: 11:59:56 | 1-089_validate_extra_repo_commands_args | Creating namespace: kuttl-test-capital-ferret logger.go:42: 11:59:56 | 1-089_validate_extra_repo_commands_args/1-basic-argocd-install | starting test step 1-basic-argocd-install === CONT kuttl/harness/1-099_validate_server_autoscale logger.go:42: 11:59:56 | 1-099_validate_server_autoscale/1-install | test step completed 1-install logger.go:42: 11:59:56 | 1-099_validate_server_autoscale/2-enable-server-autoscale | starting test step 2-enable-server-autoscale === CONT kuttl/harness/1-102_validate_handle_terminating_namespaces logger.go:42: 11:59:56 | 1-102_validate_handle_terminating_namespaces/4-create-ns | Namespace:/john created === CONT kuttl/harness/1-089_validate_extra_repo_commands_args logger.go:42: 11:59:59 | 1-089_validate_extra_repo_commands_args/1-basic-argocd-install | Namespace:/test-1-89-repo-extra-command created logger.go:42: 11:59:59 | 1-089_validate_extra_repo_commands_args/1-basic-argocd-install | ArgoCD:test-1-89-repo-extra-command/example-argocd created I1119 12:00:01.281787 115 request.go:682] Waited for 2.030448895s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/autoscaling.openshift.io/v1beta1?timeout=32s === CONT kuttl/harness/1-102_validate_handle_terminating_namespaces logger.go:42: 12:00:02 | 1-102_validate_handle_terminating_namespaces/4-create-ns | test step completed 4-create-ns logger.go:42: 12:00:02 | 1-102_validate_handle_terminating_namespaces/5-create-app | starting test step 5-create-app === CONT kuttl/harness/1-099_validate_server_autoscale logger.go:42: 12:00:02 | 1-099_validate_server_autoscale/2-enable-server-autoscale | ArgoCD:kuttl-test-modern-catfish/example-argocd updated logger.go:42: 12:00:02 | 1-099_validate_server_autoscale/2-enable-server-autoscale | test step completed 2-enable-server-autoscale logger.go:42: 12:00:02 | 1-099_validate_server_autoscale/3-check-server-replicas | starting test step 3-check-server-replicas logger.go:42: 12:00:05 | 1-099_validate_server_autoscale/3-check-server-replicas | running command: [sh -c sleep 45] === CONT kuttl/harness/1-102_validate_handle_terminating_namespaces logger.go:42: 12:00:05 | 1-102_validate_handle_terminating_namespaces/5-create-app | Application:gitops-service-argocd/my-app created logger.go:42: 12:00:08 | 1-102_validate_handle_terminating_namespaces/5-create-app | test step completed 5-create-app logger.go:42: 12:00:08 | 1-102_validate_handle_terminating_namespaces/99-delete | starting test step 99-delete logger.go:42: 12:00:20 | 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: 12:00:20 | 1-102_validate_handle_terminating_namespaces/99-delete | configmap/my-config-map-2 patched I1119 12:00:21.823551 115 request.go:682] Waited for 1.030572262s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/authorization.k8s.io/v1?timeout=32s logger.go:42: 12:00:23 | 1-102_validate_handle_terminating_namespaces/99-delete | test step completed 99-delete logger.go:42: 12:00:23 | 1-102_validate_handle_terminating_namespaces | skipping kubernetes event logging logger.go:42: 12:00:23 | 1-102_validate_handle_terminating_namespaces | Deleting namespace: kuttl-test-special-anteater === CONT kuttl/harness/1-096-validate_home_env_argocd_controller logger.go:42: 12:00:29 | 1-096-validate_home_env_argocd_controller | Creating namespace: kuttl-test-right-halibut logger.go:42: 12:00:29 | 1-096-validate_home_env_argocd_controller/1- | starting test step 1- I1119 12:00:31.845625 115 request.go:682] Waited for 2.079377511s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/operator.openshift.io/v1?timeout=32s logger.go:42: 12:00:32 | 1-096-validate_home_env_argocd_controller/1- | test step completed 1- logger.go:42: 12:00:32 | 1-096-validate_home_env_argocd_controller | skipping kubernetes event logging logger.go:42: 12:00:32 | 1-096-validate_home_env_argocd_controller | Deleting namespace: kuttl-test-right-halibut === CONT kuttl/harness/1-089_validate_extra_repo_commands_args logger.go:42: 12:00:32 | 1-089_validate_extra_repo_commands_args/1-basic-argocd-install | test step completed 1-basic-argocd-install logger.go:42: 12:00:32 | 1-089_validate_extra_repo_commands_args/2-add-extraRepoCommandArgs | starting test step 2-add-extraRepoCommandArgs logger.go:42: 12:00:35 | 1-089_validate_extra_repo_commands_args/2-add-extraRepoCommandArgs | ArgoCD:test-1-89-repo-extra-command/example-argocd updated logger.go:42: 12:00:36 | 1-089_validate_extra_repo_commands_args/2-add-extraRepoCommandArgs | test step completed 2-add-extraRepoCommandArgs logger.go:42: 12:00:36 | 1-089_validate_extra_repo_commands_args/99-delete | starting test step 99-delete === CONT kuttl/harness/1-095_validate_dex_clientsecret logger.go:42: 12:00:38 | 1-095_validate_dex_clientsecret | Creating namespace: kuttl-test-careful-lab logger.go:42: 12:00:38 | 1-095_validate_dex_clientsecret/1-install | starting test step 1-install logger.go:42: 12:00:41 | 1-095_validate_dex_clientsecret/1-install | ArgoCD:kuttl-test-careful-lab/example-argocd created I1119 12:00:50.161014 115 request.go:682] Waited for 1.0294112s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/flowcontrol.apiserver.k8s.io/v1beta1?timeout=32s === CONT kuttl/harness/1-099_validate_server_autoscale logger.go:42: 12:00:50 | 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: 12:00:50 | 1-099_validate_server_autoscale/3-check-server-replicas | server replica count matches expectation === CONT kuttl/harness/1-089_validate_extra_repo_commands_args logger.go:42: 12:00:52 | 1-089_validate_extra_repo_commands_args/99-delete | test step completed 99-delete logger.go:42: 12:00:52 | 1-089_validate_extra_repo_commands_args | skipping kubernetes event logging logger.go:42: 12:00:52 | 1-089_validate_extra_repo_commands_args | Deleting namespace: kuttl-test-capital-ferret === CONT kuttl/harness/1-099_validate_server_autoscale logger.go:42: 12:00:55 | 1-099_validate_server_autoscale/3-check-server-replicas | test step completed 3-check-server-replicas logger.go:42: 12:00:55 | 1-099_validate_server_autoscale/4-update-hpa | starting test step 4-update-hpa === CONT kuttl/harness/1-092_validate_workload_status_monitoring_alert logger.go:42: 12:00:58 | 1-092_validate_workload_status_monitoring_alert | Creating namespace: kuttl-test-eternal-shad logger.go:42: 12:00:58 | 1-092_validate_workload_status_monitoring_alert/1-install | starting test step 1-install === CONT kuttl/harness/1-108_alternate_cluster_roles_cluster_scoped_instance logger.go:42: 12:00:58 | 1-108_alternate_cluster_roles_cluster_scoped_instance/10-modify-clusterrole | test step completed 10-modify-clusterrole logger.go:42: 12:00:58 | 1-108_alternate_cluster_roles_cluster_scoped_instance/11-delete | starting test step 11-delete === CONT kuttl/harness/1-099_validate_server_autoscale logger.go:42: 12:00:58 | 1-099_validate_server_autoscale/4-update-hpa | ArgoCD:kuttl-test-modern-catfish/example-argocd updated I1119 12:01:00.161614 115 request.go:682] Waited for 1.98144504s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/flowcontrol.apiserver.k8s.io/v1beta1?timeout=32s logger.go:42: 12:01:01 | 1-099_validate_server_autoscale/4-update-hpa | test step completed 4-update-hpa logger.go:42: 12:01:01 | 1-099_validate_server_autoscale | skipping kubernetes event logging logger.go:42: 12:01:01 | 1-099_validate_server_autoscale | Deleting namespace: kuttl-test-modern-catfish === CONT kuttl/harness/1-092_validate_workload_status_monitoring_alert logger.go:42: 12:01:01 | 1-092_validate_workload_status_monitoring_alert/1-install | ArgoCD:kuttl-test-eternal-shad/argocd created === CONT kuttl/harness/1-091_argocd_app_validate-applicationset-status logger.go:42: 12:01:07 | 1-091_argocd_app_validate-applicationset-status | Creating namespace: kuttl-test-epic-stork logger.go:42: 12:01:07 | 1-091_argocd_app_validate-applicationset-status/1-install | starting test step 1-install I1119 12:01:10.186454 115 request.go:682] Waited for 2.379539922s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/network.openshift.io/v1?timeout=32s logger.go:42: 12:01:10 | 1-091_argocd_app_validate-applicationset-status/1-install | ArgoCD:kuttl-test-epic-stork/example-argocd created logger.go:42: 12:01:11 | 1-091_argocd_app_validate-applicationset-status/1-install | test step completed 1-install logger.go:42: 12:01:11 | 1-091_argocd_app_validate-applicationset-status/2-enable-appset | starting test step 2-enable-appset logger.go:42: 12:01:14 | 1-091_argocd_app_validate-applicationset-status/2-enable-appset | ArgoCD:kuttl-test-epic-stork/example-argocd updated === CONT kuttl/harness/1-108_alternate_cluster_roles_cluster_scoped_instance logger.go:42: 12:01:17 | 1-108_alternate_cluster_roles_cluster_scoped_instance/11-delete | test step completed 11-delete logger.go:42: 12:01:17 | 1-108_alternate_cluster_roles_cluster_scoped_instance | skipping kubernetes event logging === CONT kuttl/harness/1-095_validate_dex_clientsecret logger.go:42: 12:01:17 | 1-095_validate_dex_clientsecret/1-install | test step completed 1-install logger.go:42: 12:01:17 | 1-095_validate_dex_clientsecret/2-check-clientSecret-cm | starting test step 2-check-clientSecret-cm logger.go:42: 12:01:17 | 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 ] === CONT kuttl/harness/1-108_alternate_cluster_roles_cluster_scoped_instance logger.go:42: 12:01:17 | 1-108_alternate_cluster_roles_cluster_scoped_instance | Deleting namespace: kuttl-test-valid-worm I1119 12:01:20.198752 115 request.go:682] Waited for 1.830753452s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/metal3.io/v1alpha1?timeout=32s === CONT kuttl/harness/1-095_validate_dex_clientsecret logger.go:42: 12:01:21 | 1-095_validate_dex_clientsecret/2-check-clientSecret-cm | test step completed 2-check-clientSecret-cm logger.go:42: 12:01:21 | 1-095_validate_dex_clientsecret/3-verify-clientsecret-secret | starting test step 3-verify-clientsecret-secret logger.go:42: 12:01:21 | 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 ] === CONT kuttl/harness/1-091_argocd_app_validate-applicationset-status logger.go:42: 12:01:21 | 1-091_argocd_app_validate-applicationset-status/2-enable-appset | test step completed 2-enable-appset logger.go:42: 12:01:21 | 1-091_argocd_app_validate-applicationset-status/3-change-appset-image | starting test step 3-change-appset-image === CONT kuttl/harness/1-090_validate_permissions === CONT kuttl/harness/1-091_argocd_app_validate-applicationset-status logger.go:42: 12:01:24 | 1-091_argocd_app_validate-applicationset-status/3-change-appset-image | ArgoCD:kuttl-test-epic-stork/example-argocd updated logger.go:42: 12:01:24 | 1-091_argocd_app_validate-applicationset-status/3-change-appset-image | test step completed 3-change-appset-image logger.go:42: 12:01:24 | 1-091_argocd_app_validate-applicationset-status/4-delete-exisiting-deployment | starting test step 4-delete-exisiting-deployment === CONT kuttl/harness/1-095_validate_dex_clientsecret logger.go:42: 12:01:27 | 1-095_validate_dex_clientsecret/3-verify-clientsecret-secret | test step completed 3-verify-clientsecret-secret logger.go:42: 12:01:27 | 1-095_validate_dex_clientsecret | skipping kubernetes event logging === CONT kuttl/harness/1-090_validate_permissions logger.go:42: 12:01:27 | 1-090_validate_permissions | Creating namespace: kuttl-test-worthy-possum === CONT kuttl/harness/1-091_argocd_app_validate-applicationset-status logger.go:42: 12:01:27 | 1-091_argocd_app_validate-applicationset-status/4-delete-exisiting-deployment | running command: [kubectl delete deployment example-argocd-applicationset-controller -n kuttl-test-epic-stork] === CONT kuttl/harness/1-090_validate_permissions logger.go:42: 12:01:27 | 1-090_validate_permissions/1- | starting test step 1- === CONT kuttl/harness/1-095_validate_dex_clientsecret logger.go:42: 12:01:27 | 1-095_validate_dex_clientsecret | Deleting namespace: kuttl-test-careful-lab === CONT kuttl/harness/1-091_argocd_app_validate-applicationset-status logger.go:42: 12:01:27 | 1-091_argocd_app_validate-applicationset-status/4-delete-exisiting-deployment | deployment.apps "example-argocd-applicationset-controller" deleted I1119 12:01:30.213107 115 request.go:682] Waited for 2.745008207s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/discovery.k8s.io/v1?timeout=32s logger.go:42: 12:01:33 | 1-091_argocd_app_validate-applicationset-status/4-delete-exisiting-deployment | test step completed 4-delete-exisiting-deployment logger.go:42: 12:01:33 | 1-091_argocd_app_validate-applicationset-status | skipping kubernetes event logging === CONT kuttl/harness/1-092_validate_workload_status_monitoring_alert logger.go:42: 12:01:33 | 1-092_validate_workload_status_monitoring_alert/1-install | test step completed 1-install logger.go:42: 12:01:33 | 1-092_validate_workload_status_monitoring_alert/2-verify-alert | starting test step 2-verify-alert logger.go:42: 12:01:33 | 1-092_validate_workload_status_monitoring_alert/2-verify-alert | running command: [sh -c sleep 7m] === CONT kuttl/harness/1-072_validate_liveness_probe_removed logger.go:42: 12:01:33 | 1-072_validate_liveness_probe_removed | Creating namespace: kuttl-test-outgoing-gecko logger.go:42: 12:01:33 | 1-072_validate_liveness_probe_removed/1-install | starting test step 1-install === CONT kuttl/harness/1-091_argocd_app_validate-applicationset-status logger.go:42: 12:01:33 | 1-091_argocd_app_validate-applicationset-status | Deleting namespace: kuttl-test-epic-stork === CONT kuttl/harness/1-072_validate_liveness_probe_removed logger.go:42: 12:01:36 | 1-072_validate_liveness_probe_removed/1-install | ArgoCD:kuttl-test-outgoing-gecko/argocd created === CONT kuttl/harness/1-080_validate_regex_support_argocd_rbac logger.go:42: 12:01:39 | 1-080_validate_regex_support_argocd_rbac | Creating namespace: kuttl-test-magical-cod logger.go:42: 12:01:39 | 1-080_validate_regex_support_argocd_rbac/1-install | starting test step 1-install I1119 12:01:40.844131 115 request.go:682] Waited for 1.026238048s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/packages.operators.coreos.com/v1?timeout=32s logger.go:42: 12:01:42 | 1-080_validate_regex_support_argocd_rbac/1-install | ArgoCD:kuttl-test-magical-cod/example-argocd created === CONT kuttl/harness/1-072_validate_liveness_probe_removed logger.go:42: 12:02:08 | 1-072_validate_liveness_probe_removed/1-install | test step completed 1-install logger.go:42: 12:02:08 | 1-072_validate_liveness_probe_removed/2-check_liveness_probe_removed | starting test step 2-check_liveness_probe_removed logger.go:42: 12:02:08 | 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 ] I1119 12:02:09.674435 115 request.go:682] Waited for 1.03097563s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/cloud.network.openshift.io/v1?timeout=32s logger.go:42: 12:02:11 | 1-072_validate_liveness_probe_removed/2-check_liveness_probe_removed | test step completed 2-check_liveness_probe_removed logger.go:42: 12:02:11 | 1-072_validate_liveness_probe_removed | skipping kubernetes event logging logger.go:42: 12:02:11 | 1-072_validate_liveness_probe_removed | Deleting namespace: kuttl-test-outgoing-gecko === CONT kuttl/harness/1-080_validate_regex_support_argocd_rbac logger.go:42: 12:02:14 | 1-080_validate_regex_support_argocd_rbac/1-install | test step completed 1-install logger.go:42: 12:02:14 | 1-080_validate_regex_support_argocd_rbac/2-modify-argocd | starting test step 2-modify-argocd === CONT kuttl/harness/1-079_validate_vars_for_notificaitons logger.go:42: 12:02:17 | 1-079_validate_vars_for_notificaitons | Creating namespace: kuttl-test-valued-stud logger.go:42: 12:02:17 | 1-079_validate_vars_for_notificaitons/1-install | starting test step 1-install === CONT kuttl/harness/1-080_validate_regex_support_argocd_rbac logger.go:42: 12:02:18 | 1-080_validate_regex_support_argocd_rbac/2-modify-argocd | ArgoCD:kuttl-test-magical-cod/example-argocd updated I1119 12:02:19.714961 115 request.go:682] Waited for 1.732201449s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/stable.example.com/v1?timeout=32s logger.go:42: 12:02:20 | 1-080_validate_regex_support_argocd_rbac/2-modify-argocd | test step completed 2-modify-argocd logger.go:42: 12:02:20 | 1-080_validate_regex_support_argocd_rbac/3-try-modify | starting test step 3-try-modify === CONT kuttl/harness/1-079_validate_vars_for_notificaitons logger.go:42: 12:02:21 | 1-079_validate_vars_for_notificaitons/1-install | ArgoCD:kuttl-test-valued-stud/example-argocd created === CONT kuttl/harness/1-080_validate_regex_support_argocd_rbac logger.go:42: 12:02:24 | 1-080_validate_regex_support_argocd_rbac/3-try-modify | ConfigMap:kuttl-test-magical-cod/argocd-rbac-cm updated logger.go:42: 12:02:25 | 1-080_validate_regex_support_argocd_rbac/3-try-modify | test step completed 3-try-modify logger.go:42: 12:02:25 | 1-080_validate_regex_support_argocd_rbac/4-modify-argocd | starting test step 4-modify-argocd logger.go:42: 12:02:28 | 1-080_validate_regex_support_argocd_rbac/4-modify-argocd | ArgoCD:kuttl-test-magical-cod/example-argocd updated logger.go:42: 12:02:29 | 1-080_validate_regex_support_argocd_rbac/4-modify-argocd | test step completed 4-modify-argocd logger.go:42: 12:02:29 | 1-080_validate_regex_support_argocd_rbac | skipping kubernetes event logging logger.go:42: 12:02:29 | 1-080_validate_regex_support_argocd_rbac | Deleting namespace: kuttl-test-magical-cod === CONT kuttl/harness/1-077_validate_disable_dex_removed logger.go:42: 12:02:35 | 1-077_validate_disable_dex_removed | Creating namespace: kuttl-test-complete-monster logger.go:42: 12:02:35 | 1-077_validate_disable_dex_removed/1-check_disable_dex_removed | starting test step 1-check_disable_dex_removed logger.go:42: 12:02:35 | 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 ] I1119 12:02:37.106545 115 request.go:682] Waited for 1.03043013s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/autoscaling.openshift.io/v1beta1?timeout=32s logger.go:42: 12:02:39 | 1-077_validate_disable_dex_removed/1-check_disable_dex_removed | test step completed 1-check_disable_dex_removed logger.go:42: 12:02:39 | 1-077_validate_disable_dex_removed | skipping kubernetes event logging logger.go:42: 12:02:39 | 1-077_validate_disable_dex_removed | Deleting namespace: kuttl-test-complete-monster === CONT kuttl/harness/1-075_validate_dex_anyuid logger.go:42: 12:02:44 | 1-075_validate_dex_anyuid | Creating namespace: kuttl-test-more-insect logger.go:42: 12:02:44 | 1-075_validate_dex_anyuid/1-install | starting test step 1-install I1119 12:02:47.128950 115 request.go:682] Waited for 2.271353689s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/operator.openshift.io/v1?timeout=32s logger.go:42: 12:02:47 | 1-075_validate_dex_anyuid/1-install | ArgoCD:kuttl-test-more-insect/argocd created === CONT kuttl/harness/1-079_validate_vars_for_notificaitons logger.go:42: 12:02:53 | 1-079_validate_vars_for_notificaitons/1-install | test step completed 1-install logger.go:42: 12:02:53 | 1-079_validate_vars_for_notificaitons/2-modify-argocd | starting test step 2-modify-argocd logger.go:42: 12:02:56 | 1-079_validate_vars_for_notificaitons/2-modify-argocd | ArgoCD:kuttl-test-valued-stud/example-argocd updated === CONT kuttl/harness/1-075_validate_dex_anyuid logger.go:42: 12:03:00 | 1-075_validate_dex_anyuid/1-install | test step completed 1-install logger.go:42: 12:03:00 | 1-075_validate_dex_anyuid/2-change_dex_scc_to_anyuid | starting test step 2-change_dex_scc_to_anyuid logger.go:42: 12:03:00 | 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: 12:03:00 | 1-079_validate_vars_for_notificaitons/2-modify-argocd | test step completed 2-modify-argocd logger.go:42: 12:03:00 | 1-079_validate_vars_for_notificaitons | skipping kubernetes event logging logger.go:42: 12:03:00 | 1-079_validate_vars_for_notificaitons | Deleting namespace: kuttl-test-valued-stud === CONT kuttl/harness/1-075_validate_dex_anyuid logger.go:42: 12:03:00 | 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" I1119 12:03:01.937714 115 request.go:682] Waited for 1.030727462s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/cluster.open-cluster-management.io/v1alpha1?timeout=32s logger.go:42: 12:03:03 | 1-075_validate_dex_anyuid/2-change_dex_scc_to_anyuid | test step completed 2-change_dex_scc_to_anyuid logger.go:42: 12:03:03 | 1-075_validate_dex_anyuid/3-restart_dex_pod | starting test step 3-restart_dex_pod logger.go:42: 12:03:03 | 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: 12:03:04 | 1-075_validate_dex_anyuid/3-restart_dex_pod | deployment.apps/argocd-dex-server restarted === CONT kuttl/harness/1-074_validate_terminating_namespace_block logger.go:42: 12:03:07 | 1-074_validate_terminating_namespace_block | Creating namespace: kuttl-test-renewing-wolf logger.go:42: 12:03:07 | 1-074_validate_terminating_namespace_block/1-install | starting test step 1-install === CONT kuttl/harness/1-075_validate_dex_anyuid logger.go:42: 12:03:10 | 1-075_validate_dex_anyuid/3-restart_dex_pod | test step completed 3-restart_dex_pod logger.go:42: 12:03:10 | 1-075_validate_dex_anyuid | skipping kubernetes event logging logger.go:42: 12:03:10 | 1-075_validate_dex_anyuid | Deleting namespace: kuttl-test-more-insect === CONT kuttl/harness/1-074_validate_terminating_namespace_block logger.go:42: 12:03:10 | 1-074_validate_terminating_namespace_block/1-install | Namespace:/gitops-2242-ns-main created logger.go:42: 12:03:10 | 1-074_validate_terminating_namespace_block/1-install | ArgoCD:gitops-2242-ns-main/gitops-2242-argocd created logger.go:42: 12:03:10 | 1-074_validate_terminating_namespace_block/1-install | RoleBinding:gitops-2242-ns-main/grant-argocd created logger.go:42: 12:03:10 | 1-074_validate_terminating_namespace_block/1-install | test step completed 1-install logger.go:42: 12:03:10 | 1-074_validate_terminating_namespace_block/2-managed-ns-cm | starting test step 2-managed-ns-cm I1119 12:03:11.957467 115 request.go:682] Waited for 1.373709531s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/quota.openshift.io/v1?timeout=32s logger.go:42: 12:03:13 | 1-074_validate_terminating_namespace_block/2-managed-ns-cm | Namespace:/gitops-2242-ns-first created logger.go:42: 12:03:13 | 1-074_validate_terminating_namespace_block/2-managed-ns-cm | ConfigMap:gitops-2242-ns-first/my-config-map-2 created logger.go:42: 12:03:13 | 1-074_validate_terminating_namespace_block/2-managed-ns-cm | test step completed 2-managed-ns-cm logger.go:42: 12:03:13 | 1-074_validate_terminating_namespace_block/3-delete-ns | starting test step 3-delete-ns logger.go:42: 12:03:13 | 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: 12:03:14 | 1-074_validate_terminating_namespace_block/3-delete-ns | namespace "gitops-2242-ns-first" deleted === CONT kuttl/harness/1-032_validate_dynamic_scaling === CONT kuttl/harness/1-074_validate_terminating_namespace_block logger.go:42: 12:03:17 | 1-074_validate_terminating_namespace_block/3-delete-ns | test step completed 3-delete-ns logger.go:42: 12:03:17 | 1-074_validate_terminating_namespace_block/4-create-ns | starting test step 4-create-ns === CONT kuttl/harness/1-032_validate_dynamic_scaling logger.go:42: 12:03:20 | 1-032_validate_dynamic_scaling | Creating namespace: kuttl-test-trusty-whippet logger.go:42: 12:03:20 | 1-032_validate_dynamic_scaling/1-install | starting test step 1-install logger.go:42: 12:03:20 | 1-032_validate_dynamic_scaling/1-install | running command: [sleep 30s] === CONT kuttl/harness/1-074_validate_terminating_namespace_block logger.go:42: 12:03:20 | 1-074_validate_terminating_namespace_block/4-create-ns | Namespace:/gitops-2242-ns-second created logger.go:42: 12:03:21 | 1-074_validate_terminating_namespace_block/4-create-ns | test step completed 4-create-ns logger.go:42: 12:03:21 | 1-074_validate_terminating_namespace_block/99-cleanup | starting test step 99-cleanup logger.go:42: 12:03:21 | 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: 12:03:21 | 1-074_validate_terminating_namespace_block/99-cleanup | configmap/my-config-map-2 patched logger.go:42: 12:03:22 | 1-074_validate_terminating_namespace_block/99-cleanup | namespace "gitops-2242-ns-first" deleted logger.go:42: 12:03:22 | 1-074_validate_terminating_namespace_block/99-cleanup | namespace "gitops-2242-ns-second" deleted logger.go:42: 12:03:22 | 1-074_validate_terminating_namespace_block/99-cleanup | namespace "gitops-2242-ns-main" deleted I1119 12:03:24.018609 115 request.go:682] Waited for 1.029820684s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/performance.openshift.io/v1?timeout=32s logger.go:42: 12:03:25 | 1-074_validate_terminating_namespace_block/99-cleanup | test step completed 99-cleanup logger.go:42: 12:03:25 | 1-074_validate_terminating_namespace_block | skipping kubernetes event logging logger.go:42: 12:03:26 | 1-074_validate_terminating_namespace_block | Deleting namespace: kuttl-test-renewing-wolf === CONT kuttl/harness/1-049_validate_parallelism_limit logger.go:42: 12:03:31 | 1-049_validate_parallelism_limit | Creating namespace: kuttl-test-one-raptor logger.go:42: 12:03:31 | 1-049_validate_parallelism_limit/1-install | starting test step 1-install I1119 12:03:34.042171 115 request.go:682] Waited for 2.081078985s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/config.openshift.io/v1?timeout=32s logger.go:42: 12:03:34 | 1-049_validate_parallelism_limit/1-install | ArgoCD:kuttl-test-one-raptor/argocd created logger.go:42: 12:03:46 | 1-049_validate_parallelism_limit/1-install | test step completed 1-install logger.go:42: 12:03:46 | 1-049_validate_parallelism_limit/2-check-deployment | starting test step 2-check-deployment logger.go:42: 12:03:46 | 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 ] I1119 12:03:47.779752 115 request.go:682] Waited for 1.031080941s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/performance.openshift.io/v1?timeout=32s logger.go:42: 12:03:49 | 1-049_validate_parallelism_limit/2-check-deployment | test step completed 2-check-deployment logger.go:42: 12:03:49 | 1-049_validate_parallelism_limit/3-change-limit | starting test step 3-change-limit === CONT kuttl/harness/1-032_validate_dynamic_scaling logger.go:42: 12:03:55 | 1-032_validate_dynamic_scaling/1-install | ArgoCD:kuttl-test-trusty-whippet/argocd created === CONT kuttl/harness/1-049_validate_parallelism_limit logger.go:42: 12:03:55 | 1-049_validate_parallelism_limit/3-change-limit | ArgoCD:kuttl-test-one-raptor/argocd updated logger.go:42: 12:03:55 | 1-049_validate_parallelism_limit/3-change-limit | test step completed 3-change-limit logger.go:42: 12:03:55 | 1-049_validate_parallelism_limit/4-check-deployment | starting test step 4-check-deployment logger.go:42: 12:03:55 | 1-049_validate_parallelism_limit/4-check-deployment | running command: [sh -c sleep 5] logger.go:42: 12:04:00 | 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 ] I1119 12:04:02.299619 115 request.go:682] Waited for 1.02899381s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/console.openshift.io/v1?timeout=32s logger.go:42: 12:04:04 | 1-049_validate_parallelism_limit/4-check-deployment | test step completed 4-check-deployment logger.go:42: 12:04:04 | 1-049_validate_parallelism_limit/5-change-back-to-default | starting test step 5-change-back-to-default logger.go:42: 12:04:07 | 1-049_validate_parallelism_limit/5-change-back-to-default | ArgoCD:kuttl-test-one-raptor/argocd updated logger.go:42: 12:04:07 | 1-049_validate_parallelism_limit/5-change-back-to-default | test step completed 5-change-back-to-default logger.go:42: 12:04:07 | 1-049_validate_parallelism_limit/6-check-deployment | starting test step 6-check-deployment logger.go:42: 12:04:07 | 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: 12:04:07 | 1-049_validate_parallelism_limit/6-check-deployment | argocd.argoproj.io/argocd patched logger.go:42: 12:04:07 | 1-049_validate_parallelism_limit/6-check-deployment | running command: [sh -c sleep 5] logger.go:42: 12:04:12 | 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 ] I1119 12:04:14.175632 115 request.go:682] Waited for 1.029296929s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/console.openshift.io/v1?timeout=32s logger.go:42: 12:04:16 | 1-049_validate_parallelism_limit/6-check-deployment | test step completed 6-check-deployment logger.go:42: 12:04:16 | 1-049_validate_parallelism_limit | skipping kubernetes event logging logger.go:42: 12:04:16 | 1-049_validate_parallelism_limit | Deleting namespace: kuttl-test-one-raptor === CONT kuttl/harness/1-032_validate_dynamic_scaling logger.go:42: 12:04:17 | 1-032_validate_dynamic_scaling/1-install | test step completed 1-install logger.go:42: 12:04:17 | 1-032_validate_dynamic_scaling/2-add-cluster-secrets | starting test step 2-add-cluster-secrets logger.go:42: 12:04:17 | 1-032_validate_dynamic_scaling/2-add-cluster-secrets | running command: [sleep 30s] === CONT kuttl/harness/1-073_validate_rhsso logger.go:42: 12:04:22 | 1-073_validate_rhsso | Creating namespace: kuttl-test-special-lemming logger.go:42: 12:04:22 | 1-073_validate_rhsso/1-argocd-rhsso | starting test step 1-argocd-rhsso I1119 12:04:24.224473 115 request.go:682] Waited for 1.978861823s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/console.openshift.io/v1?timeout=32s logger.go:42: 12:04:25 | 1-073_validate_rhsso/1-argocd-rhsso | ArgoCD:kuttl-test-special-lemming/example-argocd-keycloak created === CONT kuttl/harness/1-111_validate_appcontroller_initcontainers logger.go:42: 12:04:41 | 1-111_validate_appcontroller_initcontainers/1-install | test step failed 1-install case.go:364: failed in step 1-install case.go:366: --- Pod:kuttl-test-peaceful-hookworm/argocd-application-controller-0 +++ Pod:kuttl-test-peaceful-hookworm/argocd-application-controller-0 @@ -1,20 +1,379 @@ apiVersion: v1 kind: Pod metadata: + annotations: + k8s.v1.cni.cncf.io/network-status: |- + [{ + "name": "openshift-sdn", + "interface": "eth0", + "ips": [ + "10.131.0.24" + ], + "default": true, + "dns": {} + }] + k8s.v1.cni.cncf.io/networks-status: |- + [{ + "name": "openshift-sdn", + "interface": "eth0", + "ips": [ + "10.131.0.24" + ], + "default": true, + "dns": {} + }] + openshift.io/scc: restricted-v2 + seccomp.security.alpha.kubernetes.io/pod: runtime/default + generateName: argocd-application-controller- + labels: + app.kubernetes.io/name: argocd-application-controller + controller-revision-hash: argocd-application-controller-76d54bf46 + statefulset.kubernetes.io/pod-name: argocd-application-controller-0 + managedFields: + - apiVersion: v1 + fieldsType: FieldsV1 + fieldsV1: + f:metadata: + f:generateName: {} + f:labels: + .: {} + f:app.kubernetes.io/name: {} + f:controller-revision-hash: {} + f:statefulset.kubernetes.io/pod-name: {} + f:ownerReferences: + .: {} + k:{"uid":"6a7bce77-5369-4f74-93fc-c4b74fd9f739"}: {} + f:spec: + f:affinity: + .: {} + f:podAntiAffinity: + .: {} + f:preferredDuringSchedulingIgnoredDuringExecution: {} + f:containers: + k:{"name":"argocd-application-controller"}: + .: {} + f:command: {} + f:env: + .: {} + k:{"name":"HOME"}: + .: {} + f:name: {} + f:value: {} + k:{"name":"REDIS_PASSWORD"}: + .: {} + f:name: {} + f:valueFrom: + .: {} + f:secretKeyRef: {} + f:image: {} + f:imagePullPolicy: {} + f:name: {} + f:ports: + .: {} + k:{"containerPort":8082,"protocol":"TCP"}: + .: {} + f:containerPort: {} + f:protocol: {} + f:readinessProbe: + .: {} + f:failureThreshold: {} + f:httpGet: + .: {} + f:path: {} + f:port: {} + f:scheme: {} + f:initialDelaySeconds: {} + f:periodSeconds: {} + f:successThreshold: {} + f:timeoutSeconds: {} + f:resources: {} + f:securityContext: + .: {} + f:allowPrivilegeEscalation: {} + f:capabilities: + .: {} + f:drop: {} + f:runAsNonRoot: {} + f:terminationMessagePath: {} + f:terminationMessagePolicy: {} + f:volumeMounts: + .: {} + k:{"mountPath":"/app/config/controller/tls"}: + .: {} + f:mountPath: {} + f:name: {} + k:{"mountPath":"/app/config/controller/tls/redis"}: + .: {} + f:mountPath: {} + f:name: {} + f:dnsPolicy: {} + f:enableServiceLinks: {} + f:hostname: {} + f:nodeSelector: {} + f:restartPolicy: {} + f:schedulerName: {} + f:securityContext: + .: {} + f:seccompProfile: + .: {} + f:type: {} + f:serviceAccount: {} + f:serviceAccountName: {} + f:subdomain: {} + f:terminationGracePeriodSeconds: {} + f:volumes: + .: {} + k:{"name":"argocd-operator-redis-tls"}: + .: {} + f:name: {} + f:secret: + .: {} + f:defaultMode: {} + f:optional: {} + f:secretName: {} + k:{"name":"argocd-repo-server-tls"}: + .: {} + f:name: {} + f:secret: + .: {} + f:defaultMode: {} + f:optional: {} + f:secretName: {} + manager: kube-controller-manager + operation: Update + time: "2024-11-19T11:52:42Z" + - apiVersion: v1 + fieldsType: FieldsV1 + fieldsV1: + f:metadata: + f:annotations: + f:k8s.v1.cni.cncf.io/network-status: {} + f:k8s.v1.cni.cncf.io/networks-status: {} + manager: multus + operation: Update + subresource: status + time: "2024-11-19T11:52:44Z" + - apiVersion: v1 + fieldsType: FieldsV1 + fieldsV1: + f:status: + f:conditions: + k:{"type":"ContainersReady"}: + .: {} + f:lastProbeTime: {} + f:lastTransitionTime: {} + f:status: {} + f:type: {} + k:{"type":"Initialized"}: + .: {} + f:lastProbeTime: {} + f:lastTransitionTime: {} + f:status: {} + f:type: {} + k:{"type":"Ready"}: + .: {} + f:lastProbeTime: {} + f:lastTransitionTime: {} + f:status: {} + f:type: {} + f:containerStatuses: {} + f:hostIP: {} + f:phase: {} + f:podIP: {} + f:podIPs: + .: {} + k:{"ip":"10.131.0.24"}: + .: {} + f:ip: {} + f:startTime: {} + manager: kubelet + operation: Update + subresource: status + time: "2024-11-19T11:52:52Z" name: argocd-application-controller-0 namespace: kuttl-test-peaceful-hookworm + ownerReferences: + - apiVersion: apps/v1 + blockOwnerDeletion: true + controller: true + kind: StatefulSet + name: argocd-application-controller + uid: 6a7bce77-5369-4f74-93fc-c4b74fd9f739 spec: + affinity: + podAntiAffinity: + preferredDuringSchedulingIgnoredDuringExecution: + - podAffinityTerm: + labelSelector: + matchLabels: + app.kubernetes.io/name: argocd-argocd-application-controller + topologyKey: kubernetes.io/hostname + weight: 100 + - podAffinityTerm: + labelSelector: + matchLabels: + app.kubernetes.io/part-of: argocd + topologyKey: kubernetes.io/hostname + weight: 5 containers: - - name: argocd-application-controller - initContainers: - - image: nginx:latest + - command: + - argocd-application-controller + - --operation-processors + - "10" + - --redis + - argocd-redis.kuttl-test-peaceful-hookworm.svc.cluster.local:6379 + - --repo-server + - argocd-repo-server.kuttl-test-peaceful-hookworm.svc.cluster.local:8081 + - --status-processors + - "20" + - --kubectl-parallelism-limit + - "10" + - --loglevel + - info + - --logformat + - text + env: + - name: HOME + value: /home/argocd + - name: REDIS_PASSWORD + valueFrom: + secretKeyRef: + key: admin.password + name: argocd-redis-initial-password + image: registry.redhat.io/openshift-gitops-1/argocd-rhel8@sha256:066eae4a541079fbba91dea0652bdb12d3e981d5a225d0827e61f49faff067d3 imagePullPolicy: Always - name: argocd-init - resources: - limits: - cpu: 50m - memory: 64Mi - requests: - cpu: 10m - memory: 32Mi + name: argocd-application-controller + ports: + - containerPort: 8082 + protocol: TCP + readinessProbe: + failureThreshold: 3 + httpGet: + path: /healthz + port: 8082 + scheme: HTTP + initialDelaySeconds: 5 + periodSeconds: 10 + successThreshold: 1 + timeoutSeconds: 1 + resources: {} + securityContext: + allowPrivilegeEscalation: false + capabilities: + drop: + - ALL + runAsNonRoot: true + runAsUser: 1001210000 + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /app/config/controller/tls + name: argocd-repo-server-tls + - mountPath: /app/config/controller/tls/redis + name: argocd-operator-redis-tls + - mountPath: /var/run/secrets/kubernetes.io/serviceaccount + name: kube-api-access-f9b5c + readOnly: true + dnsPolicy: ClusterFirst + enableServiceLinks: true + hostname: argocd-application-controller-0 + imagePullSecrets: + - name: argocd-argocd-application-controller-dockercfg-pg7qd + nodeName: 412-psi-67ql5-worker-0-ttblx + nodeSelector: + kubernetes.io/os: linux + preemptionPolicy: PreemptLowerPriority + priority: 0 + restartPolicy: Always + schedulerName: default-scheduler + securityContext: + fsGroup: 1001210000 + seLinuxOptions: + level: s0:c35,c10 + seccompProfile: + type: RuntimeDefault + serviceAccount: argocd-argocd-application-controller + serviceAccountName: argocd-argocd-application-controller + subdomain: argocd-application-controller + terminationGracePeriodSeconds: 30 + tolerations: + - effect: NoExecute + key: node.kubernetes.io/not-ready + operator: Exists + tolerationSeconds: 300 + - effect: NoExecute + key: node.kubernetes.io/unreachable + operator: Exists + tolerationSeconds: 300 + volumes: + - name: argocd-repo-server-tls + secret: + defaultMode: 420 + optional: true + secretName: argocd-repo-server-tls + - name: argocd-operator-redis-tls + secret: + defaultMode: 420 + optional: true + secretName: argocd-operator-redis-tls + - name: kube-api-access-f9b5c + projected: + defaultMode: 420 + sources: + - serviceAccountToken: + expirationSeconds: 3607 + path: token + - configMap: + items: + - key: ca.crt + path: ca.crt + name: kube-root-ca.crt + - downwardAPI: + items: + - fieldRef: + apiVersion: v1 + fieldPath: metadata.namespace + path: namespace + - configMap: + items: + - key: service-ca.crt + path: service-ca.crt + name: openshift-service-ca.crt +status: + conditions: + - lastProbeTime: null + lastTransitionTime: "2024-11-19T11:52:42Z" + status: "True" + type: Initialized + - lastProbeTime: null + lastTransitionTime: "2024-11-19T11:52:52Z" + status: "True" + type: Ready + - lastProbeTime: null + lastTransitionTime: "2024-11-19T11:52:52Z" + status: "True" + type: ContainersReady + - lastProbeTime: null + lastTransitionTime: "2024-11-19T11:52:42Z" + status: "True" + type: PodScheduled + containerStatuses: + - containerID: cri-o://5ebd1bd5e25c0a99d084ea429a47b8b6cdb4098e47ef31687eacc75166702dfc + image: registry.redhat.io/openshift-gitops-1/argocd-rhel8@sha256:066eae4a541079fbba91dea0652bdb12d3e981d5a225d0827e61f49faff067d3 + imageID: registry.redhat.io/openshift-gitops-1/argocd-rhel8@sha256:066eae4a541079fbba91dea0652bdb12d3e981d5a225d0827e61f49faff067d3 + lastState: {} + name: argocd-application-controller + ready: true + restartCount: 0 + started: true + state: + running: + startedAt: "2024-11-19T11:52:45Z" + hostIP: 192.168.1.78 + phase: Running + podIP: 10.131.0.24 + podIPs: + - ip: 10.131.0.24 + qosClass: BestEffort + startTime: "2024-11-19T11:52:42Z" case.go:366: resource Pod:kuttl-test-peaceful-hookworm/argocd-application-controller-0: .spec.initContainers: key is missing from map logger.go:42: 12:04:41 | 1-111_validate_appcontroller_initcontainers | skipping kubernetes event logging logger.go:42: 12:04:41 | 1-111_validate_appcontroller_initcontainers | Deleting namespace: kuttl-test-peaceful-hookworm === CONT kuttl/harness/1-012_validate-managed-by-chain logger.go:42: 12:04:47 | 1-012_validate-managed-by-chain | Ignoring README.md as it does not match file name regexp: ^(\d+)-(?:[^\.]+)(?:\.yaml)?$ I1119 12:04:48.221954 115 request.go:682] Waited for 1.030473337s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/operator.openshift.io/v1alpha1?timeout=32s logger.go:42: 12:04:50 | 1-012_validate-managed-by-chain | Creating namespace: kuttl-test-subtle-termite logger.go:42: 12:04:50 | 1-012_validate-managed-by-chain/1-install | starting test step 1-install === CONT kuttl/harness/1-032_validate_dynamic_scaling logger.go:42: 12:04:50 | 1-032_validate_dynamic_scaling/2-add-cluster-secrets | Secret:kuttl-test-trusty-whippet/cluster-1 created logger.go:42: 12:04:50 | 1-032_validate_dynamic_scaling/2-add-cluster-secrets | Secret:kuttl-test-trusty-whippet/cluster-2 created === CONT kuttl/harness/1-012_validate-managed-by-chain logger.go:42: 12:04:53 | 1-012_validate-managed-by-chain/1-install | Namespace:/test-1-12-custom created logger.go:42: 12:04:53 | 1-012_validate-managed-by-chain/1-install | Namespace:/test-1-12-custom2 created logger.go:42: 12:04:53 | 1-012_validate-managed-by-chain/1-install | ArgoCD:kuttl-test-subtle-termite/argocd created === CONT kuttl/harness/1-032_validate_dynamic_scaling logger.go:42: 12:05:23 | 1-032_validate_dynamic_scaling/2-add-cluster-secrets | test step completed 2-add-cluster-secrets logger.go:42: 12:05:23 | 1-032_validate_dynamic_scaling/3-cluster-secrets-exceed-maxShards | starting test step 3-cluster-secrets-exceed-maxShards logger.go:42: 12:05:23 | 1-032_validate_dynamic_scaling/3-cluster-secrets-exceed-maxShards | running command: [sleep 60s] === CONT kuttl/harness/1-012_validate-managed-by-chain logger.go:42: 12:05:24 | 1-012_validate-managed-by-chain/1-install | test step completed 1-install logger.go:42: 12:05:24 | 1-012_validate-managed-by-chain/2-label-namespace | starting test step 2-label-namespace logger.go:42: 12:05:24 | 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] logger.go:42: 12:05:25 | 1-012_validate-managed-by-chain/2-label-namespace | namespace/test-1-12-custom labeled I1119 12:05:26.382551 115 request.go:682] Waited for 1.031301182s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/storage.k8s.io/v1beta1?timeout=32s logger.go:42: 12:05:28 | 1-012_validate-managed-by-chain/2-label-namespace | test step completed 2-label-namespace logger.go:42: 12:05:28 | 1-012_validate-managed-by-chain/3-check-secret | starting test step 3-check-secret logger.go:42: 12:05:28 | 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: 12:05:31 | 1-012_validate-managed-by-chain/3-check-secret | test step completed 3-check-secret logger.go:42: 12:05:31 | 1-012_validate-managed-by-chain/4-create-application | starting test step 4-create-application logger.go:42: 12:05:34 | 1-012_validate-managed-by-chain/4-create-application | Application:kuttl-test-subtle-termite/test-1-12-custom created logger.go:42: 12:05:45 | 1-012_validate-managed-by-chain/4-create-application | test step completed 4-create-application logger.go:42: 12:05:45 | 1-012_validate-managed-by-chain/7-label-namespace | starting test step 7-label-namespace logger.go:42: 12:05:45 | 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] logger.go:42: 12:05:45 | 1-012_validate-managed-by-chain/7-label-namespace | namespace/test-1-12-custom2 labeled I1119 12:05:46.492320 115 request.go:682] Waited for 1.030025489s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/networking.istio.io/v1beta1?timeout=32s logger.go:42: 12:05:48 | 1-012_validate-managed-by-chain/7-label-namespace | test step completed 7-label-namespace logger.go:42: 12:05:48 | 1-012_validate-managed-by-chain/8-create-application | starting test step 8-create-application logger.go:42: 12:05:51 | 1-012_validate-managed-by-chain/8-create-application | Application:kuttl-test-subtle-termite/test-1-12-custom2 created logger.go:42: 12:05:56 | 1-012_validate-managed-by-chain/8-create-application | test step completed 8-create-application logger.go:42: 12:05:56 | 1-012_validate-managed-by-chain/9-delete-app-and-namespace | starting test step 9-delete-app-and-namespace I1119 12:06:09.158823 115 request.go:682] Waited for 1.031622446s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/operator.openshift.io/v1?timeout=32s logger.go:42: 12:06:11 | 1-012_validate-managed-by-chain/9-delete-app-and-namespace | test step completed 9-delete-app-and-namespace logger.go:42: 12:06:11 | 1-012_validate-managed-by-chain/10-check-secret | starting test step 10-check-secret logger.go:42: 12:06:11 | 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: 12:06:14 | 1-012_validate-managed-by-chain/10-check-secret | test step completed 10-check-secret logger.go:42: 12:06:14 | 1-012_validate-managed-by-chain/11-recreate-applications | starting test step 11-recreate-applications logger.go:42: 12:06:17 | 1-012_validate-managed-by-chain/11-recreate-applications | Namespace:/test-1-12-custom created logger.go:42: 12:06:17 | 1-012_validate-managed-by-chain/11-recreate-applications | Application:kuttl-test-subtle-termite/test-1-12-custom created logger.go:42: 12:06:17 | 1-012_validate-managed-by-chain/11-recreate-applications | Application:kuttl-test-subtle-termite/test-1-12-custom2 created logger.go:42: 12:06:18 | 1-012_validate-managed-by-chain/11-recreate-applications | test step completed 11-recreate-applications logger.go:42: 12:06:18 | 1-012_validate-managed-by-chain/99-delete | starting test step 99-delete I1119 12:06:24.136515 115 request.go:682] Waited for 1.030859884s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/snapshot.storage.k8s.io/v1?timeout=32s === CONT kuttl/harness/1-032_validate_dynamic_scaling logger.go:42: 12:06:26 | 1-032_validate_dynamic_scaling/3-cluster-secrets-exceed-maxShards | Secret:kuttl-test-trusty-whippet/cluster-3 created logger.go:42: 12:06:26 | 1-032_validate_dynamic_scaling/3-cluster-secrets-exceed-maxShards | Secret:kuttl-test-trusty-whippet/cluster-4 created logger.go:42: 12:06:26 | 1-032_validate_dynamic_scaling/3-cluster-secrets-exceed-maxShards | Secret:kuttl-test-trusty-whippet/cluster-5 created logger.go:42: 12:06:26 | 1-032_validate_dynamic_scaling/3-cluster-secrets-exceed-maxShards | Secret:kuttl-test-trusty-whippet/cluster-6 created logger.go:42: 12:06:26 | 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: 12:06:26 | 1-032_validate_dynamic_scaling/3-cluster-secrets-exceed-maxShards | 4 logger.go:42: 12:06:27 | 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: 12:06:28 | 1-032_validate_dynamic_scaling/3-cluster-secrets-exceed-maxShards | 4 logger.go:42: 12:06:29 | 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: 12:06:29 | 1-032_validate_dynamic_scaling/3-cluster-secrets-exceed-maxShards | 4 === CONT kuttl/harness/1-012_validate-managed-by-chain logger.go:42: 12:06:33 | 1-012_validate-managed-by-chain/99-delete | test step completed 99-delete logger.go:42: 12:06:33 | 1-012_validate-managed-by-chain | skipping kubernetes event logging === CONT kuttl/harness/1-032_validate_dynamic_scaling logger.go:42: 12:06:33 | 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-012_validate-managed-by-chain logger.go:42: 12:06:33 | 1-012_validate-managed-by-chain | Deleting namespace: kuttl-test-subtle-termite === CONT kuttl/harness/1-032_validate_dynamic_scaling logger.go:42: 12:06:33 | 1-032_validate_dynamic_scaling/3-cluster-secrets-exceed-maxShards | 4 logger.go:42: 12:06:34 | 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: 12:06:35 | 1-032_validate_dynamic_scaling/3-cluster-secrets-exceed-maxShards | 4 logger.go:42: 12:06:36 | 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: 12:06:36 | 1-032_validate_dynamic_scaling/3-cluster-secrets-exceed-maxShards | 4 logger.go:42: 12:06:37 | 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: 12:06:38 | 1-032_validate_dynamic_scaling/3-cluster-secrets-exceed-maxShards | 4 logger.go:42: 12:06: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 ] === CONT kuttl/harness/1-030_validate_reencrypt === CONT kuttl/harness/1-032_validate_dynamic_scaling logger.go:42: 12:06:39 | 1-032_validate_dynamic_scaling/3-cluster-secrets-exceed-maxShards | 4 === CONT kuttl/harness/1-030_validate_reencrypt logger.go:42: 12:06:39 | 1-030_validate_reencrypt | Creating namespace: kuttl-test-thorough-stallion logger.go:42: 12:06:39 | 1-030_validate_reencrypt/1-install | starting test step 1-install I1119 12:06:40.684951 115 request.go:682] Waited for 1.026757652s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/console.openshift.io/v1alpha1?timeout=32s === CONT kuttl/harness/1-032_validate_dynamic_scaling logger.go:42: 12:06: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 ] === CONT kuttl/harness/1-030_validate_reencrypt logger.go:42: 12:06:42 | 1-030_validate_reencrypt/1-install | Namespace:/test-1-30-argo1 created === CONT kuttl/harness/1-073_validate_rhsso logger.go:42: 12:06:42 | 1-073_validate_rhsso/1-argocd-rhsso | test step completed 1-argocd-rhsso logger.go:42: 12:06:42 | 1-073_validate_rhsso/2-sleep | starting test step 2-sleep logger.go:42: 12:06:42 | 1-073_validate_rhsso/2-sleep | running command: [sh -c sleep 60] === CONT kuttl/harness/1-030_validate_reencrypt logger.go:42: 12:06:42 | 1-030_validate_reencrypt/1-install | ArgoCD:test-1-30-argo1/argocd created === CONT kuttl/harness/1-032_validate_dynamic_scaling logger.go:42: 12:06:43 | 1-032_validate_dynamic_scaling/3-cluster-secrets-exceed-maxShards | 4 logger.go:42: 12:06: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: 12:06:44 | 1-032_validate_dynamic_scaling/3-cluster-secrets-exceed-maxShards | 4 logger.go:42: 12:06:45 | 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: 12:06:45 | 1-032_validate_dynamic_scaling/3-cluster-secrets-exceed-maxShards | 4 logger.go:42: 12:06: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: 12:06:47 | 1-032_validate_dynamic_scaling/3-cluster-secrets-exceed-maxShards | 4 logger.go:42: 12:06: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: 12:06:48 | 1-032_validate_dynamic_scaling/3-cluster-secrets-exceed-maxShards | 4 logger.go:42: 12:06:49 | 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: 12:06:50 | 1-032_validate_dynamic_scaling/3-cluster-secrets-exceed-maxShards | 4 logger.go:42: 12:06: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: 12:06:51 | 1-032_validate_dynamic_scaling/3-cluster-secrets-exceed-maxShards | 4 logger.go:42: 12:06:52 | 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: 12:06:53 | 1-032_validate_dynamic_scaling/3-cluster-secrets-exceed-maxShards | 4 logger.go:42: 12:06: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: 12:06:54 | 1-032_validate_dynamic_scaling/3-cluster-secrets-exceed-maxShards | 4 logger.go:42: 12:06:55 | 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: 12:06:56 | 1-032_validate_dynamic_scaling/3-cluster-secrets-exceed-maxShards | 4 logger.go:42: 12:06: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: 12:06:57 | 1-032_validate_dynamic_scaling/3-cluster-secrets-exceed-maxShards | 4 logger.go:42: 12:06: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: 12:06:59 | 1-032_validate_dynamic_scaling/3-cluster-secrets-exceed-maxShards | 4 logger.go:42: 12:06:59 | 1-032_validate_dynamic_scaling/3-cluster-secrets-exceed-maxShards | test step completed 3-cluster-secrets-exceed-maxShards logger.go:42: 12:06:59 | 1-032_validate_dynamic_scaling/4-delete-cluster-secret | starting test step 4-delete-cluster-secret logger.go:42: 12:06:59 | 1-032_validate_dynamic_scaling/4-delete-cluster-secret | running command: [sleep 60s] === CONT kuttl/harness/1-030_validate_reencrypt logger.go:42: 12:07:15 | 1-030_validate_reencrypt/1-install | test step completed 1-install logger.go:42: 12:07:15 | 1-030_validate_reencrypt/2-wait | starting test step 2-wait logger.go:42: 12:07:15 | 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: 12:07:15 | 1-030_validate_reencrypt/2-wait | Waiting until all pods in namespace test-1-30-argo1 are up logger.go:42: 12:07:15 | 1-030_validate_reencrypt/2-wait | All pods are up: logger.go:42: 12:07:15 | 1-030_validate_reencrypt/2-wait | argocd-application-controller-0 1/1 Running 0 31s logger.go:42: 12:07:15 | 1-030_validate_reencrypt/2-wait | argocd-redis-74f97fbcbc-74mwx 1/1 Running 0 31s logger.go:42: 12:07:15 | 1-030_validate_reencrypt/2-wait | argocd-repo-server-59dbf8ddc8-sz98q 1/1 Running 0 31s logger.go:42: 12:07:15 | 1-030_validate_reencrypt/2-wait | argocd-server-787d66cf6c-9ktmp 1/1 Running 0 31s I1119 12:07:16.741062 115 request.go:682] Waited for 1.030124157s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/monitoring.coreos.com/v1beta1?timeout=32s logger.go:42: 12:07:18 | 1-030_validate_reencrypt/2-wait | test step completed 2-wait logger.go:42: 12:07:18 | 1-030_validate_reencrypt/3-check-route | starting test step 3-check-route logger.go:42: 12:07:18 | 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: 12:07:22 | 1-030_validate_reencrypt/3-check-route | test step completed 3-check-route logger.go:42: 12:07:22 | 1-030_validate_reencrypt | skipping kubernetes event logging logger.go:42: 12:07:22 | 1-030_validate_reencrypt | Deleting namespace: kuttl-test-thorough-stallion === CONT kuttl/harness/1-048_validate_controller_sharding logger.go:42: 12:07:27 | 1-048_validate_controller_sharding | Creating namespace: kuttl-test-arriving-titmouse logger.go:42: 12:07:27 | 1-048_validate_controller_sharding/1-install | starting test step 1-install I1119 12:07:28.968905 115 request.go:682] Waited for 1.02972399s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/autoscaling.openshift.io/v1?timeout=32s logger.go:42: 12:07:30 | 1-048_validate_controller_sharding/1-install | ArgoCD:kuttl-test-arriving-titmouse/argocd created I1119 12:07:43.820980 115 request.go:682] Waited for 1.030870932s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/storage.k8s.io/v1?timeout=32s === CONT kuttl/harness/1-073_validate_rhsso logger.go:42: 12:07:45 | 1-073_validate_rhsso/2-sleep | test step completed 2-sleep logger.go:42: 12:07:45 | 1-073_validate_rhsso/3-verify-oidc | starting test step 3-verify-oidc logger.go:42: 12:07:45 | 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: 12:07:46 | 1-073_validate_rhsso/3-verify-oidc | issuer matched logger.go:42: 12:07:46 | 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: 12:07:47 | 1-073_validate_rhsso/3-verify-oidc | oidc name, clientid and rootCA matched logger.go:42: 12:07:50 | 1-073_validate_rhsso/3-verify-oidc | test step completed 3-verify-oidc logger.go:42: 12:07:50 | 1-073_validate_rhsso/4-verifyRealmCreation | starting test step 4-verifyRealmCreation logger.go:42: 12:07:50 | 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: 12:07:52 | 1-073_validate_rhsso/4-verifyRealmCreation | % Total % Received % Xferd Average Speed Time Time Time Current logger.go:42: 12:07:52 | 1-073_validate_rhsso/4-verifyRealmCreation | Dload Upload Total Spent Left Speed logger.go:42: 12:07:52 | 1-073_validate_rhsso/4-verifyRealmCreation | 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0100 2129 100 2054 100 75 12011 438 --:--:-- --:--:-- --:--:-- 12523 logger.go:42: 12:07:52 | 1-073_validate_rhsso/4-verifyRealmCreation | % Total % Received % Xferd Average Speed Time Time Time Current logger.go:42: 12:07:52 | 1-073_validate_rhsso/4-verifyRealmCreation | Dload Upload Total Spent Left Speed logger.go:42: 12:07:52 | 1-073_validate_rhsso/4-verifyRealmCreation | 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0100 6428 100 6428 0 0 16609 0 --:--:-- --:--:-- --:--:-- 16609 logger.go:42: 12:07:52 | 1-073_validate_rhsso/4-verifyRealmCreation | argocd realm and client creation verified logger.go:42: 12:07:52 | 1-073_validate_rhsso/4-verifyRealmCreation | % Total % Received % Xferd Average Speed Time Time Time Current logger.go:42: 12:07:52 | 1-073_validate_rhsso/4-verifyRealmCreation | Dload Upload Total Spent Left Speed logger.go:42: 12:07:53 | 1-073_validate_rhsso/4-verifyRealmCreation | 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0100 558 100 558 0 0 5580 0 --:--:-- --:--:-- --:--:-- 5580 logger.go:42: 12:07:53 | 1-073_validate_rhsso/4-verifyRealmCreation | OpenShift-v4 IdP creation verified logger.go:42: 12:07:53 | 1-073_validate_rhsso/4-verifyRealmCreation | % Total % Received % Xferd Average Speed Time Time Time Current logger.go:42: 12:07:53 | 1-073_validate_rhsso/4-verifyRealmCreation | Dload Upload Total Spent Left Speed logger.go:42: 12:07:53 | 1-073_validate_rhsso/4-verifyRealmCreation | 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0100 558 100 558 0 0 6804 0 --:--:-- --:--:-- --:--:-- 6804 logger.go:42: 12:07:53 | 1-073_validate_rhsso/4-verifyRealmCreation | syncMode set to Force, verified I1119 12:07:54.206639 115 request.go:682] Waited for 1.029642217s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/controlplane.operator.openshift.io/v1alpha1?timeout=32s logger.go:42: 12:07:56 | 1-073_validate_rhsso/4-verifyRealmCreation | test step completed 4-verifyRealmCreation logger.go:42: 12:07:56 | 1-073_validate_rhsso/99-delete | starting test step 99-delete logger.go:42: 12:07:56 | 1-073_validate_rhsso/99-delete | running command: [oc delete argocd example-argocd-keycloak -n kuttl-test-special-lemming] logger.go:42: 12:07:56 | 1-073_validate_rhsso/99-delete | argocd.argoproj.io "example-argocd-keycloak" deleted === CONT kuttl/harness/1-032_validate_dynamic_scaling logger.go:42: 12:07:59 | 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-trusty-whippet] logger.go:42: 12:07:59 | 1-032_validate_dynamic_scaling/4-delete-cluster-secret | secret "cluster-2" deleted logger.go:42: 12:07:59 | 1-032_validate_dynamic_scaling/4-delete-cluster-secret | secret "cluster-3" deleted logger.go:42: 12:07:59 | 1-032_validate_dynamic_scaling/4-delete-cluster-secret | secret "cluster-4" deleted logger.go:42: 12:07:59 | 1-032_validate_dynamic_scaling/4-delete-cluster-secret | secret "cluster-5" deleted logger.go:42: 12:07:59 | 1-032_validate_dynamic_scaling/4-delete-cluster-secret | secret "cluster-6" deleted logger.go:42: 12:07:59 | 1-032_validate_dynamic_scaling/4-delete-cluster-secret | running command: [sleep 30s] === CONT kuttl/harness/1-073_validate_rhsso logger.go:42: 12:07:59 | 1-073_validate_rhsso/99-delete | test step completed 99-delete logger.go:42: 12:07:59 | 1-073_validate_rhsso | skipping kubernetes event logging logger.go:42: 12:07:59 | 1-073_validate_rhsso | Deleting namespace: kuttl-test-special-lemming === CONT kuttl/harness/1-048_validate_controller_sharding logger.go:42: 12:08:02 | 1-048_validate_controller_sharding/1-install | test step completed 1-install logger.go:42: 12:08:02 | 1-048_validate_controller_sharding/2-change-sharding | starting test step 2-change-sharding I1119 12:08:04.255345 115 request.go:682] Waited for 1.42896808s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/security.istio.io/v1?timeout=32s === CONT kuttl/harness/1-029_validate_tls_secret_no_scale logger.go:42: 12:08:05 | 1-029_validate_tls_secret_no_scale | Creating namespace: kuttl-test-positive-slug logger.go:42: 12:08:05 | 1-029_validate_tls_secret_no_scale/1-install | starting test step 1-install === CONT kuttl/harness/1-048_validate_controller_sharding logger.go:42: 12:08:05 | 1-048_validate_controller_sharding/2-change-sharding | ArgoCD:kuttl-test-arriving-titmouse/argocd updated === CONT kuttl/harness/1-029_validate_tls_secret_no_scale logger.go:42: 12:08:08 | 1-029_validate_tls_secret_no_scale/1-install | ArgoCD:kuttl-test-positive-slug/argocd created === CONT kuttl/harness/1-048_validate_controller_sharding logger.go:42: 12:08:26 | 1-048_validate_controller_sharding/2-change-sharding | test step completed 2-change-sharding logger.go:42: 12:08:26 | 1-048_validate_controller_sharding/3-check-env | starting test step 3-check-env logger.go:42: 12:08:26 | 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 ] I1119 12:08:28.289369 115 request.go:682] Waited for 1.011359172s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/flowcontrol.apiserver.k8s.io/v1beta2?timeout=32s logger.go:42: 12:08:30 | 1-048_validate_controller_sharding/3-check-env | test step completed 3-check-env logger.go:42: 12:08:30 | 1-048_validate_controller_sharding/4-change-sharding | starting test step 4-change-sharding === CONT kuttl/harness/1-092_validate_workload_status_monitoring_alert logger.go:42: 12:08:33 | 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: 12:08:33 | 1-092_validate_workload_status_monitoring_alert/2-verify-alert | kube:admin === CONT kuttl/harness/1-048_validate_controller_sharding logger.go:42: 12:08:36 | 1-048_validate_controller_sharding/4-change-sharding | ArgoCD:kuttl-test-arriving-titmouse/argocd updated I1119 12:08:38.330105 115 request.go:682] Waited for 2.031434542s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/project.openshift.io/v1?timeout=32s === CONT kuttl/harness/1-092_validate_workload_status_monitoring_alert logger.go:42: 12:08:39 | 1-092_validate_workload_status_monitoring_alert/2-verify-alert | test step completed 2-verify-alert logger.go:42: 12:08:39 | 1-092_validate_workload_status_monitoring_alert/3-disable-monitoring | starting test step 3-disable-monitoring === CONT kuttl/harness/1-032_validate_dynamic_scaling logger.go:42: 12:08:42 | 1-032_validate_dynamic_scaling/4-delete-cluster-secret | test step completed 4-delete-cluster-secret logger.go:42: 12:08:42 | 1-032_validate_dynamic_scaling | skipping kubernetes event logging === CONT kuttl/harness/1-048_validate_controller_sharding logger.go:42: 12:08:42 | 1-048_validate_controller_sharding/4-change-sharding | test step completed 4-change-sharding logger.go:42: 12:08:42 | 1-048_validate_controller_sharding/5-check-env | starting test step 5-check-env logger.go:42: 12:08:42 | 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 ] === CONT kuttl/harness/1-092_validate_workload_status_monitoring_alert logger.go:42: 12:08:42 | 1-092_validate_workload_status_monitoring_alert/3-disable-monitoring | ArgoCD:kuttl-test-eternal-shad/argocd updated === CONT kuttl/harness/1-032_validate_dynamic_scaling logger.go:42: 12:08:42 | 1-032_validate_dynamic_scaling | Deleting namespace: kuttl-test-trusty-whippet === CONT kuttl/harness/1-048_validate_controller_sharding logger.go:42: 12:08:45 | 1-048_validate_controller_sharding/5-check-env | test step completed 5-check-env logger.go:42: 12:08:45 | 1-048_validate_controller_sharding | skipping kubernetes event logging === CONT kuttl/harness/1-092_validate_workload_status_monitoring_alert logger.go:42: 12:08:45 | 1-092_validate_workload_status_monitoring_alert/3-disable-monitoring | test step completed 3-disable-monitoring logger.go:42: 12:08:45 | 1-092_validate_workload_status_monitoring_alert | skipping kubernetes event logging === CONT kuttl/harness/1-029_validate_tls_secret_no_scale logger.go:42: 12:08:45 | 1-029_validate_tls_secret_no_scale/1-install | test step completed 1-install logger.go:42: 12:08:45 | 1-029_validate_tls_secret_no_scale/2-create-tls-secret | starting test step 2-create-tls-secret logger.go:42: 12:08:45 | 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-048_validate_controller_sharding logger.go:42: 12:08:45 | 1-048_validate_controller_sharding | Deleting namespace: kuttl-test-arriving-titmouse === CONT kuttl/harness/1-092_validate_workload_status_monitoring_alert logger.go:42: 12:08:45 | 1-092_validate_workload_status_monitoring_alert | Deleting namespace: kuttl-test-eternal-shad === CONT kuttl/harness/1-029_validate_tls_secret_no_scale logger.go:42: 12:08:46 | 1-029_validate_tls_secret_no_scale/2-create-tls-secret | .....+....+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.+......+.........+.....+.+..+...+......+.+...+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*..........+.+..+......+..........+..............+......+......+...................+..+.......+......+......+.........+..+.........+.+.................+.......+...+...........+......+.+.................+.......+..............+....+.....+......+.+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ logger.go:42: 12:08:47 | 1-029_validate_tls_secret_no_scale/2-create-tls-secret | ..+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*..+.....+.+............+........+.+..................+..+.+..+..........+..+....+..+..........+...+......+...+............+.........+..+....+...+...+........+......+....+..+..........+.....+...+....+......+.....+....+..+...+...+....+.....+....+..+.............+.....+.+.....+...+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*..+.+.........+.....+..........+..+....+......+........+..........+...........+.+.............................................+...+............+..+.+..+...+......+.+.........+...+...............+..+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ logger.go:42: 12:08:47 | 1-029_validate_tls_secret_no_scale/2-create-tls-secret | ----- logger.go:42: 12:08:48 | 1-029_validate_tls_secret_no_scale/2-create-tls-secret | secret/argocd-tls replaced === CONT kuttl/harness/1-047_validate_custom_env I1119 12:08:49.173932 115 request.go:682] Waited for 1.027499771s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/tuned.openshift.io/v1?timeout=32s logger.go:42: 12:08:51 | 1-047_validate_custom_env | Creating namespace: kuttl-test-vocal-viper logger.go:42: 12:08:51 | 1-047_validate_custom_env/1-install | starting test step 1-install === CONT kuttl/harness/1-029_validate_tls_secret_no_scale logger.go:42: 12:08:51 | 1-029_validate_tls_secret_no_scale/2-create-tls-secret | test step completed 2-create-tls-secret logger.go:42: 12:08:51 | 1-029_validate_tls_secret_no_scale/3-sleep-and-recheck | starting test step 3-sleep-and-recheck === CONT kuttl/harness/1-025-validate-managed-by-change === CONT kuttl/harness/1-045_validate_repo_exec_timeout === CONT kuttl/harness/1-025-validate-managed-by-change logger.go:42: 12:08:54 | 1-025-validate-managed-by-change | Creating namespace: kuttl-test-quality-aardvark === CONT kuttl/harness/1-029_validate_tls_secret_no_scale logger.go:42: 12:08:54 | 1-029_validate_tls_secret_no_scale/3-sleep-and-recheck | running command: [sh -c sleep 10] === CONT kuttl/harness/1-045_validate_repo_exec_timeout logger.go:42: 12:08:54 | 1-045_validate_repo_exec_timeout | Creating namespace: kuttl-test-regular-maggot === CONT kuttl/harness/1-025-validate-managed-by-change logger.go:42: 12:08:54 | 1-025-validate-managed-by-change/1-install | starting test step 1-install === CONT kuttl/harness/1-045_validate_repo_exec_timeout logger.go:42: 12:08:54 | 1-045_validate_repo_exec_timeout/1-install | starting test step 1-install === CONT kuttl/harness/1-047_validate_custom_env logger.go:42: 12:08:54 | 1-047_validate_custom_env/1-install | ArgoCD:kuttl-test-vocal-viper/argocd created === CONT kuttl/harness/1-025-validate-managed-by-change logger.go:42: 12:08:57 | 1-025-validate-managed-by-change/1-install | Namespace:/test-1-25-target created logger.go:42: 12:08:57 | 1-025-validate-managed-by-change/1-install | Namespace:/test-1-25-argo1 created logger.go:42: 12:08:57 | 1-025-validate-managed-by-change/1-install | Namespace:/test-1-25-argo2 created logger.go:42: 12:08:57 | 1-025-validate-managed-by-change/1-install | ArgoCD:test-1-25-argo1/argocd created logger.go:42: 12:08:57 | 1-025-validate-managed-by-change/1-install | ArgoCD:test-1-25-argo2/argocd created I1119 12:08:59.189199 115 request.go:682] Waited for 1.981341996s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/quota.openshift.io/v1?timeout=32s === CONT kuttl/harness/1-045_validate_repo_exec_timeout logger.go:42: 12:09:00 | 1-045_validate_repo_exec_timeout/1-install | ArgoCD:kuttl-test-regular-maggot/argocd created === CONT kuttl/harness/1-029_validate_tls_secret_no_scale logger.go:42: 12:09:07 | 1-029_validate_tls_secret_no_scale/3-sleep-and-recheck | test step completed 3-sleep-and-recheck logger.go:42: 12:09:07 | 1-029_validate_tls_secret_no_scale | skipping kubernetes event logging logger.go:42: 12:09:07 | 1-029_validate_tls_secret_no_scale | Deleting namespace: kuttl-test-positive-slug === CONT kuttl/harness/1-045_validate_repo_exec_timeout logger.go:42: 12:09:12 | 1-045_validate_repo_exec_timeout/1-install | test step completed 1-install logger.go:42: 12:09:12 | 1-045_validate_repo_exec_timeout/2-change-exec-timeout | starting test step 2-change-exec-timeout I1119 12:09:13.317224 115 request.go:682] Waited for 1.028757601s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/apisix.apache.org/v2beta3?timeout=32s === CONT kuttl/harness/1-023_validate_repo_server_tls logger.go:42: 12:09:15 | 1-023_validate_repo_server_tls | Creating namespace: kuttl-test-pumped-mink logger.go:42: 12:09:15 | 1-023_validate_repo_server_tls/1-install | starting test step 1-install === CONT kuttl/harness/1-045_validate_repo_exec_timeout logger.go:42: 12:09:15 | 1-045_validate_repo_exec_timeout/2-change-exec-timeout | ArgoCD:kuttl-test-regular-maggot/argocd updated logger.go:42: 12:09:15 | 1-045_validate_repo_exec_timeout/2-change-exec-timeout | test step completed 2-change-exec-timeout logger.go:42: 12:09:15 | 1-045_validate_repo_exec_timeout/4-check-workload-env | starting test step 4-check-workload-env logger.go:42: 12:09:18 | 1-045_validate_repo_exec_timeout/4-check-workload-env | running command: [sh -c sleep 10] === CONT kuttl/harness/1-047_validate_custom_env logger.go:42: 12:09:18 | 1-047_validate_custom_env/1-install | test step completed 1-install logger.go:42: 12:09:18 | 1-047_validate_custom_env/2-change-env-vars | starting test step 2-change-env-vars === CONT kuttl/harness/1-023_validate_repo_server_tls logger.go:42: 12:09:18 | 1-023_validate_repo_server_tls/1-install | Namespace:/test-1-23-custom created logger.go:42: 12:09:18 | 1-023_validate_repo_server_tls/1-install | ArgoCD:test-1-23-custom/argocd created === CONT kuttl/harness/1-047_validate_custom_env logger.go:42: 12:09:21 | 1-047_validate_custom_env/2-change-env-vars | ArgoCD:kuttl-test-vocal-viper/argocd updated logger.go:42: 12:09:21 | 1-047_validate_custom_env/2-change-env-vars | test step completed 2-change-env-vars logger.go:42: 12:09:21 | 1-047_validate_custom_env/3-check-workloads | starting test step 3-check-workloads logger.go:42: 12:09:21 | 1-047_validate_custom_env/3-check-workloads | running command: [sh -c sleep 10] === CONT kuttl/harness/1-045_validate_repo_exec_timeout logger.go:42: 12:09:28 | 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 ] I1119 12:09:29.879126 115 request.go:682] Waited for 1.031037829s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/operator.openshift.io/v1?timeout=32s === CONT kuttl/harness/1-047_validate_custom_env logger.go:42: 12:09:31 | 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 ] === CONT kuttl/harness/1-045_validate_repo_exec_timeout logger.go:42: 12:09:31 | 1-045_validate_repo_exec_timeout/4-check-workload-env | test step completed 4-check-workload-env logger.go:42: 12:09:31 | 1-045_validate_repo_exec_timeout | skipping kubernetes event logging logger.go:42: 12:09:31 | 1-045_validate_repo_exec_timeout | Deleting namespace: kuttl-test-regular-maggot === CONT kuttl/harness/1-025-validate-managed-by-change logger.go:42: 12:09:31 | 1-025-validate-managed-by-change/1-install | test step completed 1-install logger.go:42: 12:09:31 | 1-025-validate-managed-by-change/2-install-app | starting test step 2-install-app logger.go:42: 12:09:31 | 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: 12:09:33 | 1-025-validate-managed-by-change/2-install-app | Waiting until all pods in namespace test-1-25-argo1 are up logger.go:42: 12:09:33 | 1-025-validate-managed-by-change/2-install-app | All pods are up: logger.go:42: 12:09:33 | 1-025-validate-managed-by-change/2-install-app | argocd-application-controller-0 1/1 Running 0 34s logger.go:42: 12:09:33 | 1-025-validate-managed-by-change/2-install-app | argocd-redis-74f97fbcbc-shv9g 1/1 Running 0 34s logger.go:42: 12:09:33 | 1-025-validate-managed-by-change/2-install-app | argocd-repo-server-57568cf4c6-p4wxh 1/1 Running 0 34s logger.go:42: 12:09:33 | 1-025-validate-managed-by-change/2-install-app | argocd-server-648489c685-88g42 1/1 Running 0 34s logger.go:42: 12:09:33 | 1-025-validate-managed-by-change/2-install-app | Waiting until all pods in namespace test-1-25-argo2 are up logger.go:42: 12:09:33 | 1-025-validate-managed-by-change/2-install-app | All pods are up: logger.go:42: 12:09:33 | 1-025-validate-managed-by-change/2-install-app | argocd-application-controller-0 1/1 Running 0 34s logger.go:42: 12:09:33 | 1-025-validate-managed-by-change/2-install-app | argocd-redis-74f97fbcbc-cfdhk 1/1 Running 0 34s logger.go:42: 12:09:33 | 1-025-validate-managed-by-change/2-install-app | argocd-repo-server-6c6d97958f-krqjs 1/1 Running 0 34s logger.go:42: 12:09:33 | 1-025-validate-managed-by-change/2-install-app | argocd-server-74dfd49fcd-bf7qt 1/1 Running 0 34s === CONT kuttl/harness/1-047_validate_custom_env logger.go:42: 12:09:36 | 1-047_validate_custom_env/3-check-workloads | test step completed 3-check-workloads logger.go:42: 12:09:36 | 1-047_validate_custom_env | skipping kubernetes event logging logger.go:42: 12:09:36 | 1-047_validate_custom_env | Deleting namespace: kuttl-test-vocal-viper === CONT kuttl/harness/1-044_validate_resource_limit_changes logger.go:42: 12:09:39 | 1-044_validate_resource_limit_changes | Creating namespace: kuttl-test-talented-joey logger.go:42: 12:09:39 | 1-044_validate_resource_limit_changes/1-install | starting test step 1-install === CONT kuttl/harness/1-025-validate-managed-by-change logger.go:42: 12:09:39 | 1-025-validate-managed-by-change/2-install-app | Application:test-1-25-argo1/guestbook created I1119 12:09:40.868788 115 request.go:682] Waited for 1.00044006s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/security.openshift.io/v1?timeout=32s === CONT kuttl/harness/1-021_validate_rolebindings logger.go:42: 12:09:42 | 1-021_validate_rolebindings | Creating namespace: kuttl-test-ideal-sunbird logger.go:42: 12:09:42 | 1-021_validate_rolebindings/1-install | starting test step 1-install === CONT kuttl/harness/1-044_validate_resource_limit_changes logger.go:42: 12:09:42 | 1-044_validate_resource_limit_changes/1-install | ArgoCD:kuttl-test-talented-joey/argocd created === CONT kuttl/harness/1-021_validate_rolebindings logger.go:42: 12:09:45 | 1-021_validate_rolebindings/1-install | ArgoCD:kuttl-test-ideal-sunbird/argocd created === CONT kuttl/harness/1-025-validate-managed-by-change logger.go:42: 12:09:49 | 1-025-validate-managed-by-change/2-install-app | test step completed 2-install-app logger.go:42: 12:09:49 | 1-025-validate-managed-by-change/3-update-namespace | starting test step 3-update-namespace I1119 12:09:51.002147 115 request.go:682] Waited for 1.03077505s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/oauth.openshift.io/v1?timeout=32s === CONT kuttl/harness/1-023_validate_repo_server_tls logger.go:42: 12:09:52 | 1-023_validate_repo_server_tls/1-install | test step completed 1-install logger.go:42: 12:09:52 | 1-023_validate_repo_server_tls/2-change-argocd | starting test step 2-change-argocd === CONT kuttl/harness/1-025-validate-managed-by-change logger.go:42: 12:09:52 | 1-025-validate-managed-by-change/3-update-namespace | Namespace:/test-1-25-target updated logger.go:42: 12:09:53 | 1-025-validate-managed-by-change/3-update-namespace | Application:test-1-25-argo1/guestbook updated logger.go:42: 12:09:53 | 1-025-validate-managed-by-change/3-update-namespace | Application:test-1-25-argo2/guestbook created === CONT kuttl/harness/1-044_validate_resource_limit_changes logger.go:42: 12:09:56 | 1-044_validate_resource_limit_changes/1-install | test step completed 1-install logger.go:42: 12:09:56 | 1-044_validate_resource_limit_changes/2-change-limits | starting test step 2-change-limits === CONT kuttl/harness/1-023_validate_repo_server_tls logger.go:42: 12:09:56 | 1-023_validate_repo_server_tls/2-change-argocd | ArgoCD:test-1-23-custom/argocd updated logger.go:42: 12:09:59 | 1-023_validate_repo_server_tls/2-change-argocd | test step completed 2-change-argocd logger.go:42: 12:09:59 | 1-023_validate_repo_server_tls/4-install-app | starting test step 4-install-app === CONT kuttl/harness/1-044_validate_resource_limit_changes logger.go:42: 12:09:59 | 1-044_validate_resource_limit_changes/2-change-limits | ArgoCD:kuttl-test-talented-joey/argocd updated logger.go:42: 12:09:59 | 1-044_validate_resource_limit_changes/2-change-limits | test step completed 2-change-limits logger.go:42: 12:09:59 | 1-044_validate_resource_limit_changes/4-check-workloads | starting test step 4-check-workloads I1119 12:10:01.040976 115 request.go:682] Waited for 1.981316891s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/operators.coreos.com/v1?timeout=32s logger.go:42: 12:10:02 | 1-044_validate_resource_limit_changes/4-check-workloads | running command: [sh -c sleep 10] === CONT kuttl/harness/1-025-validate-managed-by-change logger.go:42: 12:10:02 | 1-025-validate-managed-by-change/3-update-namespace | test step completed 3-update-namespace logger.go:42: 12:10:02 | 1-025-validate-managed-by-change/99-delete | starting test step 99-delete === CONT kuttl/harness/1-023_validate_repo_server_tls logger.go:42: 12:10:02 | 1-023_validate_repo_server_tls/4-install-app | Application:test-1-23-custom/guestbook created === CONT kuttl/harness/1-021_validate_rolebindings logger.go:42: 12:10:02 | 1-021_validate_rolebindings/1-install | test step completed 1-install logger.go:42: 12:10:02 | 1-021_validate_rolebindings | skipping kubernetes event logging logger.go:42: 12:10:02 | 1-021_validate_rolebindings | Deleting namespace: kuttl-test-ideal-sunbird === CONT kuttl/harness/1-023_validate_repo_server_tls logger.go:42: 12:10:10 | 1-023_validate_repo_server_tls/4-install-app | test step completed 4-install-app logger.go:42: 12:10:10 | 1-023_validate_repo_server_tls/99-delete | starting test step 99-delete === CONT kuttl/harness/1-044_validate_resource_limit_changes logger.go:42: 12:10:12 | 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 I1119 12:10:14.376273 115 request.go:682] Waited for 1.031663659s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/machine.openshift.io/v1beta1?timeout=32s === CONT kuttl/harness/1-044_validate_resource_limit_changes logger.go:42: 12:10:16 | 1-044_validate_resource_limit_changes/4-check-workloads | test step completed 4-check-workloads logger.go:42: 12:10:16 | 1-044_validate_resource_limit_changes | skipping kubernetes event logging === CONT kuttl/harness/1-043_validate_log_level_format logger.go:42: 12:10:16 | 1-043_validate_log_level_format | Creating namespace: kuttl-test-liberal-hare logger.go:42: 12:10:16 | 1-043_validate_log_level_format/1-install | starting test step 1-install === CONT kuttl/harness/1-044_validate_resource_limit_changes logger.go:42: 12:10:16 | 1-044_validate_resource_limit_changes | Deleting namespace: kuttl-test-talented-joey === CONT kuttl/harness/1-043_validate_log_level_format logger.go:42: 12:10:19 | 1-043_validate_log_level_format/1-install | ArgoCD:kuttl-test-liberal-hare/argocd created === CONT kuttl/harness/1-019_validate_volume_mounts === CONT kuttl/harness/1-025-validate-managed-by-change logger.go:42: 12:10:23 | 1-025-validate-managed-by-change/99-delete | test step completed 99-delete logger.go:42: 12:10:23 | 1-025-validate-managed-by-change | skipping kubernetes event logging === CONT kuttl/harness/1-019_validate_volume_mounts logger.go:42: 12:10:23 | 1-019_validate_volume_mounts | Creating namespace: kuttl-test-coherent-penguin logger.go:42: 12:10:23 | 1-019_validate_volume_mounts/1-install | starting test step 1-install === CONT kuttl/harness/1-025-validate-managed-by-change logger.go:42: 12:10:23 | 1-025-validate-managed-by-change | Deleting namespace: kuttl-test-quality-aardvark I1119 12:10:24.793405 115 request.go:682] Waited for 1.030210492s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/performance.openshift.io/v1?timeout=32s === CONT kuttl/harness/1-023_validate_repo_server_tls logger.go:42: 12:10:26 | 1-023_validate_repo_server_tls/99-delete | test step completed 99-delete logger.go:42: 12:10:26 | 1-023_validate_repo_server_tls | skipping kubernetes event logging logger.go:42: 12:10:26 | 1-023_validate_repo_server_tls | Deleting namespace: kuttl-test-pumped-mink === CONT kuttl/harness/1-039_validate_fix_argocd-tls-certs-cm logger.go:42: 12:10:29 | 1-039_validate_fix_argocd-tls-certs-cm | Creating namespace: kuttl-test-large-caribou logger.go:42: 12:10:29 | 1-039_validate_fix_argocd-tls-certs-cm/1-install | starting test step 1-install === CONT kuttl/harness/1-019_validate_volume_mounts logger.go:42: 12:10:29 | 1-019_validate_volume_mounts/1-install | ArgoCD:kuttl-test-coherent-penguin/argocd created === CONT kuttl/harness/1-038_validate_productized_images logger.go:42: 12:10:32 | 1-038_validate_productized_images | Creating namespace: kuttl-test-flowing-guppy logger.go:42: 12:10:32 | 1-038_validate_productized_images/1-install | starting test step 1-install === CONT kuttl/harness/1-039_validate_fix_argocd-tls-certs-cm logger.go:42: 12:10:32 | 1-039_validate_fix_argocd-tls-certs-cm/1-install | ArgoCD:kuttl-test-large-caribou/example-argocd created I1119 12:10:34.806226 115 request.go:682] Waited for 1.978910845s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/operator.openshift.io/v1?timeout=32s === CONT kuttl/harness/1-038_validate_productized_images logger.go:42: 12:10:35 | 1-038_validate_productized_images/1-install | ArgoCD:kuttl-test-flowing-guppy/argocd created === CONT kuttl/harness/1-043_validate_log_level_format logger.go:42: 12:10:51 | 1-043_validate_log_level_format/1-install | test step completed 1-install logger.go:42: 12:10:51 | 1-043_validate_log_level_format/2-change-loglevel | starting test step 2-change-loglevel I1119 12:10:52.313405 115 request.go:682] Waited for 1.02029218s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/cluster.open-cluster-management.io/v1alpha1?timeout=32s logger.go:42: 12:10:54 | 1-043_validate_log_level_format/2-change-loglevel | ArgoCD:kuttl-test-liberal-hare/argocd updated logger.go:42: 12:10:54 | 1-043_validate_log_level_format/2-change-loglevel | test step completed 2-change-loglevel logger.go:42: 12:10:54 | 1-043_validate_log_level_format/3-check-loglevel | starting test step 3-check-loglevel logger.go:42: 12:10:54 | 1-043_validate_log_level_format/3-check-loglevel | running command: [sh -c sleep 15] === CONT kuttl/harness/1-039_validate_fix_argocd-tls-certs-cm logger.go:42: 12:11:04 | 1-039_validate_fix_argocd-tls-certs-cm/1-install | test step completed 1-install logger.go:42: 12:11:04 | 1-039_validate_fix_argocd-tls-certs-cm/2-modify_configmap | starting test step 2-modify_configmap I1119 12:11:05.484626 115 request.go:682] Waited for 1.03158678s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/imageregistry.operator.openshift.io/v1?timeout=32s === CONT kuttl/harness/1-038_validate_productized_images logger.go:42: 12:11:07 | 1-038_validate_productized_images/1-install | test step completed 1-install logger.go:42: 12:11:07 | 1-038_validate_productized_images/2-check-images | starting test step 2-check-images logger.go:42: 12:11:07 | 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 ] === CONT kuttl/harness/1-039_validate_fix_argocd-tls-certs-cm logger.go:42: 12:11:07 | 1-039_validate_fix_argocd-tls-certs-cm/2-modify_configmap | ConfigMap:kuttl-test-large-caribou/argocd-tls-certs-cm updated logger.go:42: 12:11:07 | 1-039_validate_fix_argocd-tls-certs-cm/2-modify_configmap | test step completed 2-modify_configmap logger.go:42: 12:11:07 | 1-039_validate_fix_argocd-tls-certs-cm/3-modify_argocd_cr | starting test step 3-modify_argocd_cr === CONT kuttl/harness/1-043_validate_log_level_format logger.go:42: 12:11: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-039_validate_fix_argocd-tls-certs-cm logger.go:42: 12:11:10 | 1-039_validate_fix_argocd-tls-certs-cm/3-modify_argocd_cr | ArgoCD:kuttl-test-large-caribou/example-argocd updated logger.go:42: 12:11:10 | 1-039_validate_fix_argocd-tls-certs-cm/3-modify_argocd_cr | test step completed 3-modify_argocd_cr logger.go:42: 12:11:10 | 1-039_validate_fix_argocd-tls-certs-cm/4- | starting test step 4- === CONT kuttl/harness/1-038_validate_productized_images logger.go:42: 12:11:13 | 1-038_validate_productized_images/2-check-images | test step completed 2-check-images logger.go:42: 12:11:13 | 1-038_validate_productized_images | skipping kubernetes event logging logger.go:42: 12:11:13 | 1-038_validate_productized_images | Deleting namespace: kuttl-test-flowing-guppy I1119 12:11:15.532832 115 request.go:682] Waited for 1.9812155s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/operator.openshift.io/v1alpha1?timeout=32s === CONT kuttl/harness/1-037_validate_argocd_setting_replicas logger.go:42: 12:11:19 | 1-037_validate_argocd_setting_replicas | Creating namespace: kuttl-test-well-rooster === CONT kuttl/harness/1-043_validate_log_level_format logger.go:42: 12:11:19 | 1-043_validate_log_level_format/3-check-loglevel | test step completed 3-check-loglevel logger.go:42: 12:11:19 | 1-043_validate_log_level_format | skipping kubernetes event logging === CONT kuttl/harness/1-037_validate_argocd_setting_replicas logger.go:42: 12:11:19 | 1-037_validate_argocd_setting_replicas/1-install | starting test step 1-install === CONT kuttl/harness/1-043_validate_log_level_format logger.go:42: 12:11:19 | 1-043_validate_log_level_format | Deleting namespace: kuttl-test-liberal-hare === CONT kuttl/harness/1-039_validate_fix_argocd-tls-certs-cm logger.go:42: 12:11:19 | 1-039_validate_fix_argocd-tls-certs-cm/4- | test step completed 4- logger.go:42: 12:11:19 | 1-039_validate_fix_argocd-tls-certs-cm | skipping kubernetes event logging logger.go:42: 12:11:19 | 1-039_validate_fix_argocd-tls-certs-cm | Deleting namespace: kuttl-test-large-caribou === CONT kuttl/harness/1-037_validate_argocd_setting_replicas logger.go:42: 12:11:22 | 1-037_validate_argocd_setting_replicas/1-install | ArgoCD:kuttl-test-well-rooster/argocd created === CONT kuttl/harness/1-086_validate_applicationset_extra_command_args logger.go:42: 12:11:25 | 1-086_validate_applicationset_extra_command_args | Creating namespace: kuttl-test-rested-bunny logger.go:42: 12:11:25 | 1-086_validate_applicationset_extra_command_args/1-basic-argocd-install | starting test step 1-basic-argocd-install === CONT kuttl/harness/1-088_validate_applicationset_add_env_vars I1119 12:11:26.621033 115 request.go:682] Waited for 1.028749095s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/coordination.k8s.io/v1?timeout=32s logger.go:42: 12:11:28 | 1-088_validate_applicationset_add_env_vars | Creating namespace: kuttl-test-willing-labrador logger.go:42: 12:11:28 | 1-088_validate_applicationset_add_env_vars/1-basic-argocd-install | starting test step 1-basic-argocd-install === CONT kuttl/harness/1-086_validate_applicationset_extra_command_args logger.go:42: 12:11:28 | 1-086_validate_applicationset_extra_command_args/1-basic-argocd-install | Namespace:/test-1-86-appsets-extra-command created logger.go:42: 12:11:28 | 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-088_validate_applicationset_add_env_vars logger.go:42: 12:11:31 | 1-088_validate_applicationset_add_env_vars/1-basic-argocd-install | ArgoCD:kuttl-test-willing-labrador/example-argocd created === CONT kuttl/harness/1-037_validate_argocd_setting_replicas logger.go:42: 12:11:54 | 1-037_validate_argocd_setting_replicas/1-install | test step completed 1-install logger.go:42: 12:11:54 | 1-037_validate_argocd_setting_replicas/2-scale_out_server | starting test step 2-scale_out_server logger.go:42: 12:11:54 | 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: 12:11:55 | 1-037_validate_argocd_setting_replicas/2-scale_out_server | argocd.argoproj.io/argocd patched I1119 12:11:56.491420 115 request.go:682] Waited for 1.031220845s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/security.istio.io/v1?timeout=32s logger.go:42: 12:11:58 | 1-037_validate_argocd_setting_replicas/2-scale_out_server | test step completed 2-scale_out_server logger.go:42: 12:11:58 | 1-037_validate_argocd_setting_replicas/3-scale_out_repo | starting test step 3-scale_out_repo logger.go:42: 12:11:58 | 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: 12:11:58 | 1-037_validate_argocd_setting_replicas/3-scale_out_repo | argocd.argoproj.io/argocd patched logger.go:42: 12:12:01 | 1-037_validate_argocd_setting_replicas/3-scale_out_repo | test step completed 3-scale_out_repo logger.go:42: 12:12:01 | 1-037_validate_argocd_setting_replicas/4- | starting test step 4- === CONT kuttl/harness/1-088_validate_applicationset_add_env_vars logger.go:42: 12:12:05 | 1-088_validate_applicationset_add_env_vars/1-basic-argocd-install | test step completed 1-basic-argocd-install logger.go:42: 12:12:05 | 1-088_validate_applicationset_add_env_vars/2-add-env-vars | starting test step 2-add-env-vars I1119 12:12:06.508812 115 request.go:682] Waited for 1.481802816s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/cloud.network.openshift.io/v1?timeout=32s === CONT kuttl/harness/1-086_validate_applicationset_extra_command_args logger.go:42: 12:12:08 | 1-086_validate_applicationset_extra_command_args/1-basic-argocd-install | test step completed 1-basic-argocd-install logger.go:42: 12:12:08 | 1-086_validate_applicationset_extra_command_args/2-add-extraCommandArgs | starting test step 2-add-extraCommandArgs === CONT kuttl/harness/1-088_validate_applicationset_add_env_vars logger.go:42: 12:12:08 | 1-088_validate_applicationset_add_env_vars/2-add-env-vars | ArgoCD:kuttl-test-willing-labrador/example-argocd updated logger.go:42: 12:12:11 | 1-088_validate_applicationset_add_env_vars/2-add-env-vars | test step completed 2-add-env-vars logger.go:42: 12:12:11 | 1-088_validate_applicationset_add_env_vars | skipping kubernetes event logging === CONT kuttl/harness/1-086_validate_applicationset_extra_command_args logger.go:42: 12:12:11 | 1-086_validate_applicationset_extra_command_args/2-add-extraCommandArgs | ArgoCD:test-1-86-appsets-extra-command/example-argocd updated === CONT kuttl/harness/1-088_validate_applicationset_add_env_vars logger.go:42: 12:12:11 | 1-088_validate_applicationset_add_env_vars | Deleting namespace: kuttl-test-willing-labrador === CONT kuttl/harness/1-086_validate_applicationset_extra_command_args logger.go:42: 12:12:12 | 1-086_validate_applicationset_extra_command_args/2-add-extraCommandArgs | test step completed 2-add-extraCommandArgs logger.go:42: 12:12:12 | 1-086_validate_applicationset_extra_command_args/99-delete | starting test step 99-delete === CONT kuttl/harness/1-087_validate_repo_server_settings logger.go:42: 12:12:17 | 1-087_validate_repo_server_settings | Creating namespace: kuttl-test-workable-quetzal logger.go:42: 12:12:17 | 1-087_validate_repo_server_settings/1-install | starting test step 1-install I1119 12:12:18.094064 115 request.go:682] Waited for 1.029002752s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/argoproj.io/v1beta1?timeout=32s logger.go:42: 12:12:20 | 1-087_validate_repo_server_settings/1-install | ArgoCD:kuttl-test-workable-quetzal/example-argocd created === CONT kuttl/harness/1-086_validate_applicationset_extra_command_args logger.go:42: 12:12:27 | 1-086_validate_applicationset_extra_command_args/99-delete | test step completed 99-delete logger.go:42: 12:12:27 | 1-086_validate_applicationset_extra_command_args | skipping kubernetes event logging logger.go:42: 12:12:27 | 1-086_validate_applicationset_extra_command_args | Deleting namespace: kuttl-test-rested-bunny === CONT kuttl/harness/1-037_validate_argocd_setting_replicas logger.go:42: 12:12:27 | 1-037_validate_argocd_setting_replicas/4- | test step completed 4- logger.go:42: 12:12:27 | 1-037_validate_argocd_setting_replicas/5-scale_in_server | starting test step 5-scale_in_server logger.go:42: 12:12:27 | 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: 12:12:27 | 1-037_validate_argocd_setting_replicas/5-scale_in_server | argocd.argoproj.io/argocd patched I1119 12:12:28.926090 115 request.go:682] Waited for 1.031439511s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/argoproj.io/v1beta1?timeout=32s logger.go:42: 12:12:30 | 1-037_validate_argocd_setting_replicas/5-scale_in_server | test step completed 5-scale_in_server logger.go:42: 12:12:30 | 1-037_validate_argocd_setting_replicas/6-scale_in_repo | starting test step 6-scale_in_repo logger.go:42: 12:12:30 | 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: 12:12:31 | 1-037_validate_argocd_setting_replicas/6-scale_in_repo | argocd.argoproj.io/argocd patched === CONT kuttl/harness/1-036_validate_keycloak_resource_reqs === CONT kuttl/harness/1-037_validate_argocd_setting_replicas logger.go:42: 12:12:34 | 1-037_validate_argocd_setting_replicas/6-scale_in_repo | test step completed 6-scale_in_repo logger.go:42: 12:12:34 | 1-037_validate_argocd_setting_replicas/7- | starting test step 7- === CONT kuttl/harness/1-036_validate_keycloak_resource_reqs logger.go:42: 12:12:37 | 1-036_validate_keycloak_resource_reqs | Creating namespace: kuttl-test-open-piranha === CONT kuttl/harness/1-087_validate_repo_server_settings logger.go:42: 12:12:37 | 1-087_validate_repo_server_settings/1-install | test step completed 1-install logger.go:42: 12:12:37 | 1-087_validate_repo_server_settings/2-modify-argocd | starting test step 2-modify-argocd === CONT kuttl/harness/1-036_validate_keycloak_resource_reqs logger.go:42: 12:12:37 | 1-036_validate_keycloak_resource_reqs/1-install | starting test step 1-install I1119 12:12:38.967394 115 request.go:682] Waited for 1.579710983s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/security.internal.openshift.io/v1?timeout=32s === CONT kuttl/harness/1-087_validate_repo_server_settings logger.go:42: 12:12:40 | 1-087_validate_repo_server_settings/2-modify-argocd | ArgoCD:kuttl-test-workable-quetzal/example-argocd updated === CONT kuttl/harness/1-037_validate_argocd_setting_replicas logger.go:42: 12:12:43 | 1-037_validate_argocd_setting_replicas/7- | test step completed 7- logger.go:42: 12:12:43 | 1-037_validate_argocd_setting_replicas | skipping kubernetes event logging === CONT kuttl/harness/1-087_validate_repo_server_settings logger.go:42: 12:12:43 | 1-087_validate_repo_server_settings/2-modify-argocd | test step completed 2-modify-argocd logger.go:42: 12:12:43 | 1-087_validate_repo_server_settings/4-modify-serviceaccount | starting test step 4-modify-serviceaccount === CONT kuttl/harness/1-036_validate_keycloak_resource_reqs logger.go:42: 12:12:43 | 1-036_validate_keycloak_resource_reqs/1-install | ArgoCD:kuttl-test-open-piranha/argocd created === CONT kuttl/harness/1-037_validate_argocd_setting_replicas logger.go:42: 12:12:43 | 1-037_validate_argocd_setting_replicas | Deleting namespace: kuttl-test-well-rooster === CONT kuttl/harness/1-087_validate_repo_server_settings logger.go:42: 12:12:46 | 1-087_validate_repo_server_settings/4-modify-serviceaccount | ServiceAccount:kuttl-test-workable-quetzal/modified-default created logger.go:42: 12:12:46 | 1-087_validate_repo_server_settings/4-modify-serviceaccount | ArgoCD:kuttl-test-workable-quetzal/example-argocd updated logger.go:42: 12:12:47 | 1-087_validate_repo_server_settings/4-modify-serviceaccount | test step completed 4-modify-serviceaccount logger.go:42: 12:12:47 | 1-087_validate_repo_server_settings/5-reset-repo-settings | starting test step 5-reset-repo-settings I1119 12:12:48.974793 115 request.go:682] Waited for 1.38117654s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/route.openshift.io/v1?timeout=32s === CONT kuttl/harness/1-034_validate_webhook_notifications logger.go:42: 12:12:50 | 1-034_validate_webhook_notifications | Creating namespace: kuttl-test-sharing-mantis logger.go:42: 12:12:50 | 1-034_validate_webhook_notifications/0-setup-webhook-server | starting test step 0-setup-webhook-server === CONT kuttl/harness/1-087_validate_repo_server_settings logger.go:42: 12:12:50 | 1-087_validate_repo_server_settings/5-reset-repo-settings | ArgoCD:kuttl-test-workable-quetzal/example-argocd updated logger.go:42: 12:12:53 | 1-087_validate_repo_server_settings/5-reset-repo-settings | test step completed 5-reset-repo-settings logger.go:42: 12:12:53 | 1-087_validate_repo_server_settings | skipping kubernetes event logging === CONT kuttl/harness/1-034_validate_webhook_notifications logger.go:42: 12:12:53 | 1-034_validate_webhook_notifications/0-setup-webhook-server | Service:kuttl-test-sharing-mantis/webhook created === CONT kuttl/harness/1-087_validate_repo_server_settings logger.go:42: 12:12:53 | 1-087_validate_repo_server_settings | Deleting namespace: kuttl-test-workable-quetzal === CONT kuttl/harness/1-034_validate_webhook_notifications logger.go:42: 12:12:53 | 1-034_validate_webhook_notifications/0-setup-webhook-server | Deployment:kuttl-test-sharing-mantis/webhook created logger.go:42: 12:12:53 | 1-034_validate_webhook_notifications/0-setup-webhook-server | ConfigMap:kuttl-test-sharing-mantis/webhook-config created logger.go:42: 12:12:53 | 1-034_validate_webhook_notifications/0-setup-webhook-server | Secret:kuttl-test-sharing-mantis/webhook-tls created === CONT kuttl/harness/1-036_validate_keycloak_resource_reqs logger.go:42: 12:12:54 | 1-036_validate_keycloak_resource_reqs/1-install | test step completed 1-install logger.go:42: 12:12:54 | 1-036_validate_keycloak_resource_reqs/2-update-sso-keycloak-provider | starting test step 2-update-sso-keycloak-provider logger.go:42: 12:12:54 | 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: 12:12:55 | 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: 12:12:58 | 1-034_validate_webhook_notifications/0-setup-webhook-server | test step completed 0-setup-webhook-server logger.go:42: 12:12:58 | 1-034_validate_webhook_notifications/1-install-argocd | starting test step 1-install-argocd I1119 12:12:59.406110 115 request.go:682] Waited for 1.031877008s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/scheduling.k8s.io/v1?timeout=32s === CONT kuttl/harness/1-004_beta_to_alpha_conversion logger.go:42: 12:13:01 | 1-004_beta_to_alpha_conversion | Creating namespace: kuttl-test-harmless-lemming logger.go:42: 12:13:01 | 1-004_beta_to_alpha_conversion/1-argocd-dex | starting test step 1-argocd-dex === CONT kuttl/harness/1-034_validate_webhook_notifications logger.go:42: 12:13:01 | 1-034_validate_webhook_notifications/1-install-argocd | ArgoCD:kuttl-test-sharing-mantis/argocd created === CONT kuttl/harness/1-004_beta_to_alpha_conversion logger.go:42: 12:13:04 | 1-004_beta_to_alpha_conversion/1-argocd-dex | ArgoCD:kuttl-test-harmless-lemming/argocd created === CONT kuttl/harness/1-034_validate_webhook_notifications logger.go:42: 12:13:22 | 1-034_validate_webhook_notifications/1-install-argocd | test step completed 1-install-argocd logger.go:42: 12:13:22 | 1-034_validate_webhook_notifications/2-add-notification-confs | starting test step 2-add-notification-confs I1119 12:13:23.828253 115 request.go:682] Waited for 1.030956742s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/flowcontrol.apiserver.k8s.io/v1beta2?timeout=32s logger.go:42: 12:13:25 | 1-034_validate_webhook_notifications/2-add-notification-confs | NotificationsConfiguration:kuttl-test-sharing-mantis/default-notifications-configuration updated logger.go:42: 12:13:25 | 1-034_validate_webhook_notifications/2-add-notification-confs | test step completed 2-add-notification-confs logger.go:42: 12:13:25 | 1-034_validate_webhook_notifications/3-sleep | starting test step 3-sleep logger.go:42: 12:13:25 | 1-034_validate_webhook_notifications/3-sleep | running command: [sh -c sleep 20] === CONT kuttl/harness/1-090_validate_permissions logger.go:42: 12:13:30 | 1-090_validate_permissions/1- | test step failed 1- case.go:364: failed in step 1- case.go:366: clusterserviceversions.operators.coreos.com "openshift-gitops-operator.v1.14.2" not found logger.go:42: 12:13:30 | 1-090_validate_permissions | skipping kubernetes event logging logger.go:42: 12:13:30 | 1-090_validate_permissions | Deleting namespace: kuttl-test-worthy-possum === CONT kuttl/harness/1-004_beta_to_alpha_conversion logger.go:42: 12:13:36 | 1-004_beta_to_alpha_conversion/1-argocd-dex | test step completed 1-argocd-dex logger.go:42: 12:13:36 | 1-004_beta_to_alpha_conversion/2-delete | starting test step 2-delete === CONT kuttl/harness/1-033_validate_resource_exclusions I1119 12:13:37.342766 115 request.go:682] Waited for 1.031024069s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/flowcontrol.apiserver.k8s.io/v1beta1?timeout=32s logger.go:42: 12:13:39 | 1-033_validate_resource_exclusions | Creating namespace: kuttl-test-hot-monarch logger.go:42: 12:13:39 | 1-033_validate_resource_exclusions/1-install | starting test step 1-install logger.go:42: 12:13:42 | 1-033_validate_resource_exclusions/1-install | ArgoCD:kuttl-test-hot-monarch/argocd created === CONT kuttl/harness/1-004_beta_to_alpha_conversion logger.go:42: 12:13:42 | 1-004_beta_to_alpha_conversion/2-delete | test step completed 2-delete logger.go:42: 12:13:42 | 1-004_beta_to_alpha_conversion | skipping kubernetes event logging logger.go:42: 12:13:42 | 1-004_beta_to_alpha_conversion | Deleting namespace: kuttl-test-harmless-lemming I1119 12:13:47.383220 115 request.go:682] Waited for 1.517817927s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/cluster.open-cluster-management.io/v1alpha1?timeout=32s === CONT kuttl/harness/1-009_validate-manage-other-namespace logger.go:42: 12:13:48 | 1-009_validate-manage-other-namespace | Ignoring README.md as it does not match file name regexp: ^(\d+)-(?:[^\.]+)(?:\.yaml)?$ logger.go:42: 12:13:48 | 1-009_validate-manage-other-namespace | Ignoring errors.yaml as it does not match file name regexp: ^(\d+)-(?:[^\.]+)(?:\.yaml)?$ === CONT kuttl/harness/1-034_validate_webhook_notifications logger.go:42: 12:13:48 | 1-034_validate_webhook_notifications/3-sleep | test step completed 3-sleep logger.go:42: 12:13:48 | 1-034_validate_webhook_notifications/4-create-app | starting test step 4-create-app logger.go:42: 12:13:48 | 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 ] === CONT kuttl/harness/1-009_validate-manage-other-namespace logger.go:42: 12:13:48 | 1-009_validate-manage-other-namespace | Creating namespace: kuttl-test-relieved-coyote logger.go:42: 12:13:48 | 1-009_validate-manage-other-namespace/1-install | starting test step 1-install === CONT kuttl/harness/1-034_validate_webhook_notifications logger.go:42: 12:13:49 | 1-034_validate_webhook_notifications/4-create-app | application.argoproj.io/my-app-3 created logger.go:42: 12:13:49 | 1-034_validate_webhook_notifications/4-create-app | running command: [sh -c sleep 10] === CONT kuttl/harness/1-009_validate-manage-other-namespace logger.go:42: 12:13:51 | 1-009_validate-manage-other-namespace/1-install | Namespace:/test-1-9-custom created logger.go:42: 12:13:51 | 1-009_validate-manage-other-namespace/1-install | ArgoCD:kuttl-test-relieved-coyote/argocd created I1119 12:14:00.627960 115 request.go:682] Waited for 1.024877154s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/split.smi-spec.io/v1alpha4?timeout=32s === CONT kuttl/harness/1-034_validate_webhook_notifications logger.go:42: 12:14:02 | 1-034_validate_webhook_notifications/4-create-app | test step completed 4-create-app logger.go:42: 12:14:02 | 1-034_validate_webhook_notifications/5-verify-webhook-notification | starting test step 5-verify-webhook-notification logger.go:42: 12:14:02 | 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: 12:14:03 | 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-sharing-mantis" logger.go:42: 12:14:03 | 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-033_validate_resource_exclusions logger.go:42: 12:14:04 | 1-033_validate_resource_exclusions/1-install | test step completed 1-install logger.go:42: 12:14:04 | 1-033_validate_resource_exclusions/2-add_resource_exclusions | starting test step 2-add_resource_exclusions logger.go:42: 12:14:07 | 1-033_validate_resource_exclusions/2-add_resource_exclusions | ArgoCD:kuttl-test-hot-monarch/argocd updated logger.go:42: 12:14:08 | 1-033_validate_resource_exclusions/2-add_resource_exclusions | test step completed 2-add_resource_exclusions logger.go:42: 12:14:08 | 1-033_validate_resource_exclusions | skipping kubernetes event logging logger.go:42: 12:14:08 | 1-033_validate_resource_exclusions | Deleting namespace: kuttl-test-hot-monarch === CONT kuttl/harness/1-034_validate_webhook_notifications logger.go:42: 12:14:13 | 1-034_validate_webhook_notifications/5-verify-webhook-notification | [webhook] 2024/11/19 12:13:52 [a18b2e] 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 I1119 12:14:15.028852 115 request.go:682] Waited for 1.032312401s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/node.k8s.io/v1?timeout=32s === CONT kuttl/harness/1-008_validate-custom-argocd-namespace === CONT kuttl/harness/1-034_validate_webhook_notifications logger.go:42: 12:14:16 | 1-034_validate_webhook_notifications/5-verify-webhook-notification | test step completed 5-verify-webhook-notification logger.go:42: 12:14:16 | 1-034_validate_webhook_notifications | skipping kubernetes event logging === CONT kuttl/harness/1-008_validate-custom-argocd-namespace logger.go:42: 12:14:16 | 1-008_validate-custom-argocd-namespace | Creating namespace: kuttl-test-obliging-tortoise logger.go:42: 12:14:17 | 1-008_validate-custom-argocd-namespace/1-install | starting test step 1-install === CONT kuttl/harness/1-034_validate_webhook_notifications logger.go:42: 12:14:17 | 1-034_validate_webhook_notifications | Deleting namespace: kuttl-test-sharing-mantis === CONT kuttl/harness/1-008_validate-custom-argocd-namespace logger.go:42: 12:14:20 | 1-008_validate-custom-argocd-namespace/1-install | Namespace:/test-1-8-custom created logger.go:42: 12:14:20 | 1-008_validate-custom-argocd-namespace/1-install | ArgoCD:test-1-8-custom/argocd created === CONT kuttl/harness/1-033_validate_applicationset_tls_scm_volume_mount logger.go:42: 12:14:23 | 1-033_validate_applicationset_tls_scm_volume_mount | Creating namespace: kuttl-test-neat-blowfish logger.go:42: 12:14:23 | 1-033_validate_applicationset_tls_scm_volume_mount/1-install | starting test step 1-install I1119 12:14:25.042535 115 request.go:682] Waited for 1.079386914s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/policy/v1?timeout=32s logger.go:42: 12:14:26 | 1-033_validate_applicationset_tls_scm_volume_mount/1-install | Namespace:/test-1-32-appsets-scm-tls-mount created === CONT kuttl/harness/1-009_validate-manage-other-namespace logger.go:42: 12:14:26 | 1-009_validate-manage-other-namespace/1-install | test step completed 1-install logger.go:42: 12:14:26 | 1-009_validate-manage-other-namespace/2-label-namespace | starting test step 2-label-namespace logger.go:42: 12:14:26 | 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] === CONT kuttl/harness/1-033_validate_applicationset_tls_scm_volume_mount logger.go:42: 12:14:27 | 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: 12:14:27 | 1-033_validate_applicationset_tls_scm_volume_mount/1-install | ArgoCD:test-1-32-appsets-scm-tls-mount/argocd created === CONT kuttl/harness/1-009_validate-manage-other-namespace logger.go:42: 12:14:27 | 1-009_validate-manage-other-namespace/2-label-namespace | namespace/test-1-9-custom labeled logger.go:42: 12:14:30 | 1-009_validate-manage-other-namespace/2-label-namespace | test step completed 2-label-namespace logger.go:42: 12:14:30 | 1-009_validate-manage-other-namespace/3-check-secret | starting test step 3-check-secret logger.go:42: 12:14:30 | 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: 12:14:33 | 1-009_validate-manage-other-namespace/3-check-secret | test step completed 3-check-secret logger.go:42: 12:14:33 | 1-009_validate-manage-other-namespace/4-create-application | starting test step 4-create-application I1119 12:14:35.089068 115 request.go:682] Waited for 1.130866623s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/argoproj.io/v1alpha1?timeout=32s logger.go:42: 12:14:37 | 1-009_validate-manage-other-namespace/4-create-application | Application:kuttl-test-relieved-coyote/test-1-9-custom created === CONT kuttl/harness/1-008_validate-custom-argocd-namespace logger.go:42: 12:14:42 | 1-008_validate-custom-argocd-namespace/1-install | test step completed 1-install logger.go:42: 12:14:42 | 1-008_validate-custom-argocd-namespace/2-wait | starting test step 2-wait logger.go:42: 12:14:42 | 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: 12:14:42 | 1-008_validate-custom-argocd-namespace/2-wait | Waiting until all pods in namespace test-1-8-custom are up logger.go:42: 12:14:42 | 1-008_validate-custom-argocd-namespace/2-wait | All pods are up: logger.go:42: 12:14:42 | 1-008_validate-custom-argocd-namespace/2-wait | argocd-application-controller-0 1/1 Running 0 21s logger.go:42: 12:14:42 | 1-008_validate-custom-argocd-namespace/2-wait | argocd-redis-74f97fbcbc-crhm2 1/1 Running 0 21s logger.go:42: 12:14:42 | 1-008_validate-custom-argocd-namespace/2-wait | argocd-repo-server-7ff7555b7b-wvnmj 1/1 Running 0 21s logger.go:42: 12:14:42 | 1-008_validate-custom-argocd-namespace/2-wait | argocd-server-749cd5869-mlq56 1/1 Running 0 21s I1119 12:14:45.128014 115 request.go:682] Waited for 2.431565262s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/policy/v1?timeout=32s logger.go:42: 12:14:45 | 1-008_validate-custom-argocd-namespace/2-wait | test step completed 2-wait logger.go:42: 12:14:45 | 1-008_validate-custom-argocd-namespace/3-create-app | starting test step 3-create-app === CONT kuttl/harness/1-009_validate-manage-other-namespace logger.go:42: 12:14:48 | 1-009_validate-manage-other-namespace/4-create-application | test step completed 4-create-application logger.go:42: 12:14:48 | 1-009_validate-manage-other-namespace/5-unlabel-namespace | starting test step 5-unlabel-namespace logger.go:42: 12:14:48 | 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-] === CONT kuttl/harness/1-008_validate-custom-argocd-namespace logger.go:42: 12:14:48 | 1-008_validate-custom-argocd-namespace/3-create-app | Application:test-1-8-custom/validate-custom-argocd created === CONT kuttl/harness/1-009_validate-manage-other-namespace logger.go:42: 12:14:49 | 1-009_validate-manage-other-namespace/5-unlabel-namespace | namespace/test-1-9-custom unlabeled logger.go:42: 12:14:49 | 1-009_validate-manage-other-namespace/5-unlabel-namespace | running command: [sh -c sleep 5] I1119 12:14:55.187674 115 request.go:682] Waited for 1.031299267s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/operators.coreos.com/v1alpha1?timeout=32s logger.go:42: 12:14:57 | 1-009_validate-manage-other-namespace/5-unlabel-namespace | test step completed 5-unlabel-namespace logger.go:42: 12:14:57 | 1-009_validate-manage-other-namespace/6-check-secret | starting test step 6-check-secret logger.go:42: 12:14:57 | 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 ] === CONT kuttl/harness/1-008_validate-custom-argocd-namespace logger.go:42: 12:14:57 | 1-008_validate-custom-argocd-namespace/3-create-app | test step completed 3-create-app logger.go:42: 12:14:57 | 1-008_validate-custom-argocd-namespace/99-delete | starting test step 99-delete === CONT kuttl/harness/1-009_validate-manage-other-namespace logger.go:42: 12:15:00 | 1-009_validate-manage-other-namespace/6-check-secret | test step completed 6-check-secret logger.go:42: 12:15:00 | 1-009_validate-manage-other-namespace/7-check | starting test step 7-check logger.go:42: 12:15:03 | 1-009_validate-manage-other-namespace/7-check | test step completed 7-check logger.go:42: 12:15:03 | 1-009_validate-manage-other-namespace/99-delete | starting test step 99-delete I1119 12:15:10.259809 115 request.go:682] Waited for 1.032347784s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/security.openshift.io/v1?timeout=32s === CONT kuttl/harness/1-008_validate-custom-argocd-namespace logger.go:42: 12:15:12 | 1-008_validate-custom-argocd-namespace/99-delete | test step completed 99-delete logger.go:42: 12:15:12 | 1-008_validate-custom-argocd-namespace | skipping kubernetes event logging logger.go:42: 12:15:12 | 1-008_validate-custom-argocd-namespace | Deleting namespace: kuttl-test-obliging-tortoise === CONT kuttl/harness/1-036_validate_keycloak_resource_reqs logger.go:42: 12:15:12 | 1-036_validate_keycloak_resource_reqs/2-update-sso-keycloak-provider | test step completed 2-update-sso-keycloak-provider logger.go:42: 12:15:12 | 1-036_validate_keycloak_resource_reqs/3-check-resources | starting test step 3-check-resources logger.go:42: 12:15:12 | 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: 12:15:15 | 1-036_validate_keycloak_resource_reqs/3-check-resources | test step completed 3-check-resources logger.go:42: 12:15:15 | 1-036_validate_keycloak_resource_reqs | skipping kubernetes event logging logger.go:42: 12:15:15 | 1-036_validate_keycloak_resource_reqs | Deleting namespace: kuttl-test-open-piranha === CONT kuttl/harness/1-007_validate_namespace_scoped_install === CONT kuttl/harness/1-009_validate-manage-other-namespace logger.go:42: 12:15:18 | 1-009_validate-manage-other-namespace/99-delete | test step completed 99-delete logger.go:42: 12:15:18 | 1-009_validate-manage-other-namespace | skipping kubernetes event logging === CONT kuttl/harness/1-007_validate_namespace_scoped_install logger.go:42: 12:15:18 | 1-007_validate_namespace_scoped_install | Creating namespace: kuttl-test-concrete-cheetah logger.go:42: 12:15:18 | 1-007_validate_namespace_scoped_install/1-install | starting test step 1-install === CONT kuttl/harness/1-009_validate-manage-other-namespace logger.go:42: 12:15:18 | 1-009_validate-manage-other-namespace | Deleting namespace: kuttl-test-relieved-coyote I1119 12:15:20.260789 115 request.go:682] Waited for 1.531496341s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/operator.openshift.io/v1alpha1?timeout=32s === CONT kuttl/harness/1-007_validate_namespace_scoped_install logger.go:42: 12:15:21 | 1-007_validate_namespace_scoped_install/1-install | ArgoCD:kuttl-test-concrete-cheetah/argocd created === CONT kuttl/harness/1-032_validate_resource_inclusions logger.go:42: 12:15:24 | 1-032_validate_resource_inclusions | Creating namespace: kuttl-test-guided-porpoise logger.go:42: 12:15:24 | 1-032_validate_resource_inclusions/1-install | starting test step 1-install === CONT kuttl/harness/1-003_alpha_to_beta_sso_conflict_conversion logger.go:42: 12:15:27 | 1-003_alpha_to_beta_sso_conflict_conversion | Creating namespace: kuttl-test-bold-parrot logger.go:42: 12:15:27 | 1-003_alpha_to_beta_sso_conflict_conversion/1-argocd-dex-keycloak-conflict | starting test step 1-argocd-dex-keycloak-conflict === CONT kuttl/harness/1-032_validate_resource_inclusions logger.go:42: 12:15:27 | 1-032_validate_resource_inclusions/1-install | ArgoCD:kuttl-test-guided-porpoise/argocd created I1119 12:15:30.262175 115 request.go:682] Waited for 2.581274804s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/performance.openshift.io/v2?timeout=32s === CONT kuttl/harness/1-003_alpha_to_beta_sso_conflict_conversion logger.go:42: 12:15:30 | 1-003_alpha_to_beta_sso_conflict_conversion/1-argocd-dex-keycloak-conflict | ArgoCD:kuttl-test-bold-parrot/argocd created === CONT kuttl/harness/1-032_validate_resource_inclusions logger.go:42: 12:15:39 | 1-032_validate_resource_inclusions/1-install | test step completed 1-install logger.go:42: 12:15:39 | 1-032_validate_resource_inclusions/2-add_resource_inclusions | starting test step 2-add_resource_inclusions I1119 12:15:40.876367 115 request.go:682] Waited for 1.030837632s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/autoscaling/v1?timeout=32s === CONT kuttl/harness/1-003_alpha_to_beta_sso_conflict_conversion logger.go:42: 12:15:42 | 1-003_alpha_to_beta_sso_conflict_conversion/1-argocd-dex-keycloak-conflict | test step completed 1-argocd-dex-keycloak-conflict logger.go:42: 12:15:42 | 1-003_alpha_to_beta_sso_conflict_conversion/2-delete | starting test step 2-delete === CONT kuttl/harness/1-032_validate_resource_inclusions logger.go:42: 12:15:42 | 1-032_validate_resource_inclusions/2-add_resource_inclusions | ArgoCD:kuttl-test-guided-porpoise/argocd updated logger.go:42: 12:15:46 | 1-032_validate_resource_inclusions/2-add_resource_inclusions | test step completed 2-add_resource_inclusions logger.go:42: 12:15:46 | 1-032_validate_resource_inclusions | skipping kubernetes event logging === CONT kuttl/harness/1-003_alpha_to_beta_sso_conflict_conversion logger.go:42: 12:15:46 | 1-003_alpha_to_beta_sso_conflict_conversion/2-delete | test step completed 2-delete logger.go:42: 12:15:46 | 1-003_alpha_to_beta_sso_conflict_conversion | skipping kubernetes event logging === CONT kuttl/harness/1-032_validate_resource_inclusions logger.go:42: 12:15:46 | 1-032_validate_resource_inclusions | Deleting namespace: kuttl-test-guided-porpoise === CONT kuttl/harness/1-003_alpha_to_beta_sso_conflict_conversion logger.go:42: 12:15:46 | 1-003_alpha_to_beta_sso_conflict_conversion | Deleting namespace: kuttl-test-bold-parrot === CONT kuttl/harness/1-003_validate_console_link logger.go:42: 12:15:52 | 1-003_validate_console_link | Creating namespace: kuttl-test-skilled-cod logger.go:42: 12:15:52 | 1-003_validate_console_link/1-check-console-link | starting test step 1-check-console-link === CONT kuttl/harness/1-083_validate_resource_customization_subkeys I1119 12:15:53.177800 115 request.go:682] Waited for 1.026149005s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/pipelines.openshift.io/v1alpha1?timeout=32s logger.go:42: 12:15:55 | 1-083_validate_resource_customization_subkeys | Creating namespace: kuttl-test-allowed-skink logger.go:42: 12:15:55 | 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-003_validate_console_link logger.go:42: 12:15:55 | 1-003_validate_console_link/1-check-console-link | test step completed 1-check-console-link logger.go:42: 12:15:55 | 1-003_validate_console_link | skipping kubernetes event logging logger.go:42: 12:15:55 | 1-003_validate_console_link | Deleting namespace: kuttl-test-skilled-cod === CONT kuttl/harness/1-083_validate_resource_customization_subkeys logger.go:42: 12:15:58 | 1-083_validate_resource_customization_subkeys/1-argocd-with-resource-customization-subkeys | ArgoCD:kuttl-test-allowed-skink/example-argocd created === CONT kuttl/harness/1-007_validate_namespace_scoped_install logger.go:42: 12:15:58 | 1-007_validate_namespace_scoped_install/1-install | test step completed 1-install logger.go:42: 12:15:58 | 1-007_validate_namespace_scoped_install/2-check-cluster-secret | starting test step 2-check-cluster-secret logger.go:42: 12:15:58 | 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-052_validate_rolebinding_number === CONT kuttl/harness/1-007_validate_namespace_scoped_install logger.go:42: 12:16:01 | 1-007_validate_namespace_scoped_install/2-check-cluster-secret | test step completed 2-check-cluster-secret logger.go:42: 12:16:01 | 1-007_validate_namespace_scoped_install | skipping kubernetes event logging === CONT kuttl/harness/1-052_validate_rolebinding_number logger.go:42: 12:16:01 | 1-052_validate_rolebinding_number | Creating namespace: kuttl-test-included-ostrich logger.go:42: 12:16:01 | 1-052_validate_rolebinding_number/1-label_namespace | starting test step 1-label_namespace logger.go:42: 12:16:01 | 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-007_validate_namespace_scoped_install logger.go:42: 12:16:01 | 1-007_validate_namespace_scoped_install | Deleting namespace: kuttl-test-concrete-cheetah === CONT kuttl/harness/1-052_validate_rolebinding_number logger.go:42: 12:16:02 | 1-052_validate_rolebinding_number/1-label_namespace | namespace/kuttl-test-included-ostrich labeled I1119 12:16:03.439862 115 request.go:682] Waited for 1.031311283s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/migration.k8s.io/v1alpha1?timeout=32s logger.go:42: 12:16:05 | 1-052_validate_rolebinding_number/1-label_namespace | test step completed 1-label_namespace logger.go:42: 12:16:05 | 1-052_validate_rolebinding_number/2-check_rolebindings | starting test step 2-check_rolebindings logger.go:42: 12:16:05 | 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" ) current_rb=( $(oc get rolebindings -n "${NAMESPACE}" | awk '/gitops/ {print $1}') ) # Check that the required RoleBindings exist: for rb in "${expected_rb[@]}" do oc get rolebinding "${rb}" -n "${NAMESPACE}" > /dev/null done # Check that there are only two RoleBindings echo "Current RoleBindings: ${current_rb[*]}" [[ "${#current_rb[@]}" == "2" ]] ] logger.go:42: 12:16:06 | 1-052_validate_rolebinding_number/2-check_rolebindings | Current RoleBindings: openshift-gitops-argocd-application-controller openshift-gitops-argocd-server === CONT kuttl/harness/1-053_validate_cluster_admin_rbac === CONT kuttl/harness/1-052_validate_rolebinding_number logger.go:42: 12:16:09 | 1-052_validate_rolebinding_number/2-check_rolebindings | test step completed 2-check_rolebindings logger.go:42: 12:16:09 | 1-052_validate_rolebinding_number | skipping kubernetes event logging logger.go:42: 12:16:09 | 1-052_validate_rolebinding_number | Deleting namespace: kuttl-test-included-ostrich === CONT kuttl/harness/1-053_validate_cluster_admin_rbac logger.go:42: 12:16:09 | 1-053_validate_cluster_admin_rbac | Creating namespace: kuttl-test-square-toad logger.go:42: 12:16:09 | 1-053_validate_cluster_admin_rbac/1- | starting test step 1- logger.go:42: 12:16:12 | 1-053_validate_cluster_admin_rbac/1- | test step completed 1- logger.go:42: 12:16:12 | 1-053_validate_cluster_admin_rbac/2- | starting test step 2- I1119 12:16:13.928666 115 request.go:682] Waited for 1.031815359s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/packages.operators.coreos.com/v1?timeout=32s === CONT kuttl/harness/1-002_alpha_to_beta_keycloak_conversion logger.go:42: 12:16:15 | 1-002_alpha_to_beta_keycloak_conversion | Creating namespace: kuttl-test-great-duckling logger.go:42: 12:16:15 | 1-002_alpha_to_beta_keycloak_conversion/1-argocd-keycloak | starting test step 1-argocd-keycloak === CONT kuttl/harness/1-053_validate_cluster_admin_rbac logger.go:42: 12:16:15 | 1-053_validate_cluster_admin_rbac/2- | test step completed 2- logger.go:42: 12:16:15 | 1-053_validate_cluster_admin_rbac | skipping kubernetes event logging logger.go:42: 12:16:15 | 1-053_validate_cluster_admin_rbac | Deleting namespace: kuttl-test-square-toad === CONT kuttl/harness/1-002_alpha_to_beta_keycloak_conversion logger.go:42: 12:16:18 | 1-002_alpha_to_beta_keycloak_conversion/1-argocd-keycloak | ArgoCD:kuttl-test-great-duckling/argocd created === CONT kuttl/harness/1-054_validate_deploymentconfig logger.go:42: 12:16:21 | 1-054_validate_deploymentconfig | Creating namespace: kuttl-test-willing-bear logger.go:42: 12:16:21 | 1-054_validate_deploymentconfig/1-install | starting test step 1-install I1119 12:16:23.931314 115 request.go:682] Waited for 2.230015596s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/autoscaling/v1?timeout=32s logger.go:42: 12:16:24 | 1-054_validate_deploymentconfig/1-install | ArgoCD:kuttl-test-willing-bear/argocd created === CONT kuttl/harness/1-033_validate_applicationset_tls_scm_volume_mount logger.go:42: 12:16:27 | 1-033_validate_applicationset_tls_scm_volume_mount/1-install | test step failed 1-install case.go:364: failed in step 1-install case.go:366: --- Deployment:test-1-32-appsets-scm-tls-mount/argocd-applicationset-controller +++ Deployment:test-1-32-appsets-scm-tls-mount/argocd-applicationset-controller @@ -6,13 +6,215 @@ app.kubernetes.io/managed-by: argocd app.kubernetes.io/name: argocd-applicationset-controller app.kubernetes.io/part-of: argocd-applicationset + managedFields: + - apiVersion: apps/v1 + fieldsType: FieldsV1 + fieldsV1: + f:metadata: + f:labels: + .: {} + f:app.kubernetes.io/component: {} + f:app.kubernetes.io/managed-by: {} + f:app.kubernetes.io/name: {} + f:app.kubernetes.io/part-of: {} + f:ownerReferences: + .: {} + k:{"uid":"4157aa1c-a4dc-4e24-936a-723f3c381c9a"}: {} + f:spec: + f:progressDeadlineSeconds: {} + f:replicas: {} + f:revisionHistoryLimit: {} + f:selector: {} + f:strategy: + f:rollingUpdate: + .: {} + f:maxSurge: {} + f:maxUnavailable: {} + f:type: {} + f:template: + f:metadata: + f:labels: + .: {} + f:app.kubernetes.io/name: {} + f:spec: + f:containers: + k:{"name":"argocd-applicationset-controller"}: + .: {} + f:command: {} + f:env: + .: {} + k:{"name":"NAMESPACE"}: + .: {} + f:name: {} + f:valueFrom: + .: {} + f:fieldRef: {} + f:image: {} + f:imagePullPolicy: {} + f:name: {} + f:ports: + .: {} + k:{"containerPort":7000,"protocol":"TCP"}: + .: {} + f:containerPort: {} + f:name: {} + f:protocol: {} + k:{"containerPort":8080,"protocol":"TCP"}: + .: {} + f:containerPort: {} + f:name: {} + f:protocol: {} + f:resources: {} + f:securityContext: + .: {} + f:allowPrivilegeEscalation: {} + f:capabilities: + .: {} + f:drop: {} + f:readOnlyRootFilesystem: {} + f:runAsNonRoot: {} + f:terminationMessagePath: {} + f:terminationMessagePolicy: {} + f:volumeMounts: + .: {} + k:{"mountPath":"/app/config/gpg/keys"}: + .: {} + f:mountPath: {} + f:name: {} + k:{"mountPath":"/app/config/gpg/source"}: + .: {} + f:mountPath: {} + f:name: {} + k:{"mountPath":"/app/config/ssh"}: + .: {} + f:mountPath: {} + f:name: {} + k:{"mountPath":"/app/config/tls"}: + .: {} + f:mountPath: {} + f:name: {} + k:{"mountPath":"/app/tls/scm/cert"}: + .: {} + f:mountPath: {} + f:name: {} + k:{"mountPath":"/tmp"}: + .: {} + f:mountPath: {} + f:name: {} + f:dnsPolicy: {} + f:nodeSelector: {} + f:restartPolicy: {} + f:schedulerName: {} + f:securityContext: + .: {} + f:seccompProfile: + .: {} + f:type: {} + f:serviceAccount: {} + f:serviceAccountName: {} + f:terminationGracePeriodSeconds: {} + f:volumes: + .: {} + k:{"name":"appset-gitlab-scm-tls-cert"}: + .: {} + f:configMap: + .: {} + f:defaultMode: {} + f:name: {} + f:name: {} + k:{"name":"gpg-keyring"}: + .: {} + f:emptyDir: {} + f:name: {} + k:{"name":"gpg-keys"}: + .: {} + f:configMap: + .: {} + f:defaultMode: {} + f:name: {} + f:name: {} + k:{"name":"ssh-known-hosts"}: + .: {} + f:configMap: + .: {} + f:defaultMode: {} + f:name: {} + f:name: {} + k:{"name":"tls-certs"}: + .: {} + f:configMap: + .: {} + f:defaultMode: {} + f:name: {} + f:name: {} + k:{"name":"tmp"}: + .: {} + f:emptyDir: {} + f:name: {} + manager: manager + operation: Update + time: "2024-11-19T12:14:28Z" + - apiVersion: apps/v1 + fieldsType: FieldsV1 + fieldsV1: + f:metadata: + f:annotations: + .: {} + f:deployment.kubernetes.io/revision: {} + f:status: + f:availableReplicas: {} + f:conditions: + .: {} + k:{"type":"Available"}: + .: {} + f:lastTransitionTime: {} + f:lastUpdateTime: {} + f:message: {} + f:reason: {} + f:status: {} + f:type: {} + k:{"type":"Progressing"}: + .: {} + f:lastTransitionTime: {} + f:lastUpdateTime: {} + f:message: {} + f:reason: {} + f:status: {} + f:type: {} + f:observedGeneration: {} + f:readyReplicas: {} + f:replicas: {} + f:updatedReplicas: {} + manager: kube-controller-manager + operation: Update + subresource: status + time: "2024-11-19T12:14:31Z" name: argocd-applicationset-controller namespace: test-1-32-appsets-scm-tls-mount + ownerReferences: + - apiVersion: argoproj.io/v1beta1 + blockOwnerDeletion: true + controller: true + kind: ArgoCD + name: argocd + uid: 4157aa1c-a4dc-4e24-936a-723f3c381c9a spec: + progressDeadlineSeconds: 600 + replicas: 1 + revisionHistoryLimit: 10 selector: matchLabels: app.kubernetes.io/name: argocd-applicationset-controller + strategy: + rollingUpdate: + maxSurge: 25%! (MISSING)+ maxUnavailable: 25%! (MISSING)+ type: RollingUpdate template: + metadata: + creationTimestamp: null + labels: + app.kubernetes.io/name: argocd-applicationset-controller spec: containers: - command: @@ -24,6 +226,32 @@ - info - --scm-root-ca-path - /app/tls/scm/cert + env: + - name: NAMESPACE + valueFrom: + fieldRef: + apiVersion: v1 + fieldPath: metadata.namespace + image: registry.redhat.io/openshift-gitops-1/argocd-rhel8@sha256:066eae4a541079fbba91dea0652bdb12d3e981d5a225d0827e61f49faff067d3 + imagePullPolicy: Always + name: argocd-applicationset-controller + ports: + - containerPort: 7000 + name: webhook + protocol: TCP + - containerPort: 8080 + name: metrics + protocol: TCP + resources: {} + securityContext: + allowPrivilegeEscalation: false + capabilities: + drop: + - ALL + readOnlyRootFilesystem: true + runAsNonRoot: true + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File volumeMounts: - mountPath: /app/config/ssh name: ssh-known-hosts @@ -35,8 +263,19 @@ name: gpg-keyring - mountPath: /tmp name: tmp - - mountPath: /app/tls/scm/ + - mountPath: /app/tls/scm/cert name: appset-gitlab-scm-tls-cert + dnsPolicy: ClusterFirst + nodeSelector: + kubernetes.io/os: linux + restartPolicy: Always + schedulerName: default-scheduler + securityContext: + seccompProfile: + type: RuntimeDefault + serviceAccount: argocd-applicationset-controller + serviceAccountName: argocd-applicationset-controller + terminationGracePeriodSeconds: 30 volumes: - configMap: defaultMode: 420 @@ -58,4 +297,24 @@ defaultMode: 420 name: argocd-appset-gitlab-scm-tls-certs-cm name: appset-gitlab-scm-tls-cert +status: + availableReplicas: 1 + conditions: + - lastTransitionTime: "2024-11-19T12:14:31Z" + lastUpdateTime: "2024-11-19T12:14:31Z" + message: Deployment has minimum availability. + reason: MinimumReplicasAvailable + status: "True" + type: Available + - lastTransitionTime: "2024-11-19T12:14:28Z" + lastUpdateTime: "2024-11-19T12:14:31Z" + message: ReplicaSet "argocd-applicationset-controller-956cbb587" has successfully + progressed. + reason: NewReplicaSetAvailable + status: "True" + type: Progressing + observedGeneration: 1 + readyReplicas: 1 + replicas: 1 + updatedReplicas: 1 case.go:366: resource Deployment:test-1-32-appsets-scm-tls-mount/argocd-applicationset-controller: .spec.template.spec.containers.volumeMounts.mountPath: value mismatch, expected: /app/tls/scm/ != actual: /app/tls/scm/cert logger.go:42: 12:16:27 | 1-033_validate_applicationset_tls_scm_volume_mount | skipping kubernetes event logging logger.go:42: 12:16:27 | 1-033_validate_applicationset_tls_scm_volume_mount | Deleting namespace: kuttl-test-neat-blowfish === CONT kuttl/harness/1-083_validate_resource_customization_subkeys logger.go:42: 12:16:29 | 1-083_validate_resource_customization_subkeys/1-argocd-with-resource-customization-subkeys | test step completed 1-argocd-with-resource-customization-subkeys logger.go:42: 12:16:29 | 1-083_validate_resource_customization_subkeys | skipping kubernetes event logging logger.go:42: 12:16:29 | 1-083_validate_resource_customization_subkeys | Deleting namespace: kuttl-test-allowed-skink === CONT kuttl/harness/1-055_validate_notification_controller logger.go:42: 12:16:33 | 1-055_validate_notification_controller | Creating namespace: kuttl-test-game-katydid logger.go:42: 12:16:33 | 1-055_validate_notification_controller/1-install | starting test step 1-install I1119 12:16:34.643413 115 request.go:682] Waited for 1.03104245s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/monitoring.coreos.com/v1beta1?timeout=32s === CONT kuttl/harness/1-084_validate_status_host_ingress logger.go:42: 12:16:36 | 1-084_validate_status_host_ingress | Creating namespace: kuttl-test-dear-swine logger.go:42: 12:16:36 | 1-084_validate_status_host_ingress/1-argocd-ingress | starting test step 1-argocd-ingress === CONT kuttl/harness/1-055_validate_notification_controller logger.go:42: 12:16:36 | 1-055_validate_notification_controller/1-install | ArgoCD:kuttl-test-game-katydid/example-argocd created === CONT kuttl/harness/1-084_validate_status_host_ingress logger.go:42: 12:16:39 | 1-084_validate_status_host_ingress/1-argocd-ingress | ArgoCD:kuttl-test-dear-swine/example-argocd created === CONT kuttl/harness/1-002_alpha_to_beta_keycloak_conversion logger.go:42: 12:16:50 | 1-002_alpha_to_beta_keycloak_conversion/1-argocd-keycloak | test step completed 1-argocd-keycloak logger.go:42: 12:16:50 | 1-002_alpha_to_beta_keycloak_conversion/2-delete | starting test step 2-delete I1119 12:16:52.067632 115 request.go:682] Waited for 1.031662373s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/split.smi-spec.io/v1alpha4?timeout=32s logger.go:42: 12:16:54 | 1-002_alpha_to_beta_keycloak_conversion/2-delete | test step completed 2-delete logger.go:42: 12:16:54 | 1-002_alpha_to_beta_keycloak_conversion | skipping kubernetes event logging logger.go:42: 12:16:54 | 1-002_alpha_to_beta_keycloak_conversion | Deleting namespace: kuttl-test-great-duckling === CONT kuttl/harness/1-054_validate_deploymentconfig logger.go:42: 12:16:57 | 1-054_validate_deploymentconfig/1-install | test step completed 1-install logger.go:42: 12:16:57 | 1-054_validate_deploymentconfig/2-install-deploymentconfig | starting test step 2-install-deploymentconfig logger.go:42: 12:16:57 | 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: 12:16:57 | 1-054_validate_deploymentconfig/2-install-deploymentconfig | application.argoproj.io/app-deploymentconfig created === CONT kuttl/harness/1-069_validate_redis_secure_comm_autotls_ha logger.go:42: 12:17:00 | 1-069_validate_redis_secure_comm_autotls_ha | Creating namespace: kuttl-test-pleasant-mayfly logger.go:42: 12:17:00 | 1-069_validate_redis_secure_comm_autotls_ha/1-install | starting test step 1-install I1119 12:17:02.074416 115 request.go:682] Waited for 1.925213704s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/machine.openshift.io/v1?timeout=32s logger.go:42: 12:17:03 | 1-069_validate_redis_secure_comm_autotls_ha/1-install | ArgoCD:kuttl-test-pleasant-mayfly/argocd created === CONT kuttl/harness/1-054_validate_deploymentconfig logger.go:42: 12:17:10 | 1-054_validate_deploymentconfig/2-install-deploymentconfig | test step completed 2-install-deploymentconfig logger.go:42: 12:17:10 | 1-054_validate_deploymentconfig/3- | starting test step 3- I1119 12:17:12.115706 115 request.go:682] Waited for 1.531460434s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/apiextensions.k8s.io/v1?timeout=32s === CONT kuttl/harness/1-084_validate_status_host_ingress logger.go:42: 12:17:13 | 1-084_validate_status_host_ingress/1-argocd-ingress | test step completed 1-argocd-ingress logger.go:42: 12:17:13 | 1-084_validate_status_host_ingress/2- | starting test step 2- === CONT kuttl/harness/1-055_validate_notification_controller logger.go:42: 12:17:13 | 1-055_validate_notification_controller/1-install | test step completed 1-install logger.go:42: 12:17:13 | 1-055_validate_notification_controller/2-enable_notification | starting test step 2-enable_notification === CONT kuttl/harness/1-084_validate_status_host_ingress logger.go:42: 12:17:16 | 1-084_validate_status_host_ingress/2- | test step completed 2- logger.go:42: 12:17:16 | 1-084_validate_status_host_ingress | skipping kubernetes event logging logger.go:42: 12:17:16 | 1-084_validate_status_host_ingress | Deleting namespace: kuttl-test-dear-swine === CONT kuttl/harness/1-054_validate_deploymentconfig logger.go:42: 12:17:19 | 1-054_validate_deploymentconfig/3- | test step completed 3- logger.go:42: 12:17:19 | 1-054_validate_deploymentconfig/4-scaledown-deploymentconfig | starting test step 4-scaledown-deploymentconfig === CONT kuttl/harness/1-055_validate_notification_controller logger.go:42: 12:17:19 | 1-055_validate_notification_controller/2-enable_notification | ArgoCD:kuttl-test-game-katydid/example-argocd updated I1119 12:17:22.163938 115 request.go:682] Waited for 2.481200675s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/apisix.apache.org/v2beta3?timeout=32s === CONT kuttl/harness/1-070_validate_config_management_plugin logger.go:42: 12:17:22 | 1-070_validate_config_management_plugin | Creating namespace: kuttl-test-welcome-tick logger.go:42: 12:17:22 | 1-070_validate_config_management_plugin/1-install | starting test step 1-install === CONT kuttl/harness/1-054_validate_deploymentconfig logger.go:42: 12:17:22 | 1-054_validate_deploymentconfig/4-scaledown-deploymentconfig | Application:kuttl-test-willing-bear/app-deploymentconfig updated === CONT kuttl/harness/1-070_validate_config_management_plugin logger.go:42: 12:17:25 | 1-070_validate_config_management_plugin/1-install | Namespace:/argocd created === CONT kuttl/harness/1-054_validate_deploymentconfig logger.go:42: 12:17:25 | 1-054_validate_deploymentconfig/4-scaledown-deploymentconfig | test step completed 4-scaledown-deploymentconfig logger.go:42: 12:17:25 | 1-054_validate_deploymentconfig | skipping kubernetes event logging logger.go:42: 12:17:25 | 1-054_validate_deploymentconfig | Deleting namespace: kuttl-test-willing-bear === CONT kuttl/harness/1-070_validate_config_management_plugin logger.go:42: 12:17:25 | 1-070_validate_config_management_plugin/1-install | ConfigMap:argocd/cmp-plugin created logger.go:42: 12:17:26 | 1-070_validate_config_management_plugin/1-install | ArgoCD:argocd/argocd created === CONT kuttl/harness/1-055_validate_notification_controller logger.go:42: 12:17:27 | 1-055_validate_notification_controller/2-enable_notification | test step completed 2-enable_notification logger.go:42: 12:17:27 | 1-055_validate_notification_controller/3-add-sleep | starting test step 3-add-sleep logger.go:42: 12:17:27 | 1-055_validate_notification_controller/3-add-sleep | running command: [sh -c sleep 20] I1119 12:17:48.263137 115 request.go:682] Waited for 1.031057919s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/tuned.openshift.io/v1?timeout=32s logger.go:42: 12:17:50 | 1-055_validate_notification_controller/3-add-sleep | ArgoCD:kuttl-test-game-katydid/example-argocd updated logger.go:42: 12:17:50 | 1-055_validate_notification_controller/3-add-sleep | test step completed 3-add-sleep logger.go:42: 12:17:50 | 1-055_validate_notification_controller | skipping kubernetes event logging logger.go:42: 12:17:50 | 1-055_validate_notification_controller | Deleting namespace: kuttl-test-game-katydid === CONT kuttl/harness/1-071_validate_SCC_HA logger.go:42: 12:17:56 | 1-071_validate_SCC_HA | Creating namespace: kuttl-test-clean-rooster logger.go:42: 12:17:56 | 1-071_validate_SCC_HA/1-create-scc | starting test step 1-create-scc I1119 12:17:58.299627 115 request.go:682] Waited for 1.781787349s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/cloud.network.openshift.io/v1?timeout=32s === CONT kuttl/harness/1-070_validate_config_management_plugin logger.go:42: 12:17:59 | 1-070_validate_config_management_plugin/1-install | test step completed 1-install logger.go:42: 12:17:59 | 1-070_validate_config_management_plugin/2-create-app | starting test step 2-create-app === CONT kuttl/harness/1-071_validate_SCC_HA logger.go:42: 12:17:59 | 1-071_validate_SCC_HA/1-create-scc | SecurityContextConstraints:/restricted-dropcaps created logger.go:42: 12:18:02 | 1-071_validate_SCC_HA/1-create-scc | test step completed 1-create-scc logger.go:42: 12:18:02 | 1-071_validate_SCC_HA/2-create-argocd | starting test step 2-create-argocd === CONT kuttl/harness/1-070_validate_config_management_plugin logger.go:42: 12:18:02 | 1-070_validate_config_management_plugin/2-create-app | Application:argocd/guestbook created logger.go:42: 12:18:05 | 1-070_validate_config_management_plugin/2-create-app | test step completed 2-create-app logger.go:42: 12:18:05 | 1-070_validate_config_management_plugin/99-delete | starting test step 99-delete === CONT kuttl/harness/1-071_validate_SCC_HA logger.go:42: 12:18:05 | 1-071_validate_SCC_HA/2-create-argocd | ArgoCD:kuttl-test-clean-rooster/argocd created === CONT kuttl/harness/1-051-validate_csv_permissions logger.go:42: 12:18:11 | 1-051-validate_csv_permissions | Creating namespace: kuttl-test-just-warthog logger.go:42: 12:18:11 | 1-051-validate_csv_permissions/1-validate | starting test step 1-validate logger.go:42: 12:18:11 | 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 ] I1119 12:18:12.788764 115 request.go:682] Waited for 1.030313228s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/apps.openshift.io/v1?timeout=32s logger.go:42: 12:18:14 | 1-051-validate_csv_permissions/1-validate | test step completed 1-validate logger.go:42: 12:18:14 | 1-051-validate_csv_permissions | skipping kubernetes event logging logger.go:42: 12:18:14 | 1-051-validate_csv_permissions | Deleting namespace: kuttl-test-just-warthog === CONT kuttl/harness/1-083_validate_kustomize_namereference logger.go:42: 12:18:20 | 1-083_validate_kustomize_namereference | Creating namespace: kuttl-test-keen-martin logger.go:42: 12:18:20 | 1-083_validate_kustomize_namereference/1-install | starting test step 1-install I1119 12:18:22.807508 115 request.go:682] Waited for 2.370126164s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/scheduling.k8s.io/v1?timeout=32s logger.go:42: 12:18:23 | 1-083_validate_kustomize_namereference/1-install | Namespace:/namespace-gitops-2038 created logger.go:42: 12:18:23 | 1-083_validate_kustomize_namereference/1-install | ArgoCD:namespace-gitops-2038/argocd created === CONT kuttl/harness/1-071_validate_SCC_HA logger.go:42: 12:18:37 | 1-071_validate_SCC_HA/2-create-argocd | test step completed 2-create-argocd logger.go:42: 12:18:37 | 1-071_validate_SCC_HA/3-modify-argocd | starting test step 3-modify-argocd I1119 12:18:39.024795 115 request.go:682] Waited for 1.030619117s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/argoproj.io/v1beta1?timeout=32s logger.go:42: 12:18:41 | 1-071_validate_SCC_HA/3-modify-argocd | ArgoCD:kuttl-test-clean-rooster/argocd updated === CONT kuttl/harness/1-070_validate_config_management_plugin logger.go:42: 12:18:45 | 1-070_validate_config_management_plugin/99-delete | test step completed 99-delete logger.go:42: 12:18:45 | 1-070_validate_config_management_plugin | skipping kubernetes event logging logger.go:42: 12:18:45 | 1-070_validate_config_management_plugin | Deleting namespace: kuttl-test-welcome-tick === CONT kuttl/harness/1-067_validate_redis_secure_comm_no_autotls_ha logger.go:42: 12:18:51 | 1-067_validate_redis_secure_comm_no_autotls_ha | Creating namespace: kuttl-test-famous-eft logger.go:42: 12:18:51 | 1-067_validate_redis_secure_comm_no_autotls_ha/1-install | starting test step 1-install I1119 12:18:52.637525 115 request.go:682] Waited for 1.01926705s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/k8s.cni.cncf.io/v1?timeout=32s logger.go:42: 12:18:54 | 1-067_validate_redis_secure_comm_no_autotls_ha/1-install | ArgoCD:kuttl-test-famous-eft/argocd created === CONT kuttl/harness/1-083_validate_kustomize_namereference logger.go:42: 12:18:56 | 1-083_validate_kustomize_namereference/1-install | test step completed 1-install logger.go:42: 12:18:56 | 1-083_validate_kustomize_namereference/2-install-kustomize-app | starting test step 2-install-kustomize-app logger.go:42: 12:18:59 | 1-083_validate_kustomize_namereference/2-install-kustomize-app | Application:namespace-gitops-2038/app-kustomize created logger.go:42: 12:19:01 | 1-083_validate_kustomize_namereference/2-install-kustomize-app | test step completed 2-install-kustomize-app logger.go:42: 12:19:01 | 1-083_validate_kustomize_namereference/99-delete | starting test step 99-delete I1119 12:19:15.113608 115 request.go:682] Waited for 1.031289994s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/network.openshift.io/v1?timeout=32s logger.go:42: 12:19:17 | 1-083_validate_kustomize_namereference/99-delete | test step completed 99-delete logger.go:42: 12:19:17 | 1-083_validate_kustomize_namereference | skipping kubernetes event logging logger.go:42: 12:19:17 | 1-083_validate_kustomize_namereference | Deleting namespace: kuttl-test-keen-martin === CONT kuttl/harness/1-066_validate_redis_secure_comm_no_autotls_no_ha logger.go:42: 12:19:22 | 1-066_validate_redis_secure_comm_no_autotls_no_ha | Creating namespace: kuttl-test-engaging-grub logger.go:42: 12:19:22 | 1-066_validate_redis_secure_comm_no_autotls_no_ha/1-install | starting test step 1-install I1119 12:19:25.161004 115 request.go:682] Waited for 2.180751733s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/console.openshift.io/v1?timeout=32s logger.go:42: 12:19:26 | 1-066_validate_redis_secure_comm_no_autotls_no_ha/1-install | ArgoCD:kuttl-test-engaging-grub/argocd created logger.go:42: 12:19:58 | 1-066_validate_redis_secure_comm_no_autotls_no_ha/1-install | test step completed 1-install logger.go:42: 12:19:58 | 1-066_validate_redis_secure_comm_no_autotls_no_ha/2-generate_cert | starting test step 2-generate_cert logger.go:42: 12:19:58 | 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 -sha256 \ -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: 12:19:59 | 1-066_validate_redis_secure_comm_no_autotls_no_ha/2-generate_cert | ..............+.+....................+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.+..+.......+...+...+..+....+...+..+......+...................+...+..+.........+.+.....+...+.+..+.......+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*...........+.....+.+.....+............+...+.............+..+...+.+...+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ logger.go:42: 12:20:01 | 1-066_validate_redis_secure_comm_no_autotls_no_ha/2-generate_cert | .+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*...+.+..............+......+...+.+.....+....+.....+.......+...+...+...+..+.......+..+...+...+....+.....+..........+..............+.......+..+.+......+.....+.+........+.......+..+.......+...+...........+....+.....+..........+.....+.+..+..........+..+......+.........+.+......+.....+.+..+...+....+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*......+.......+.........................................+.....................+.+..+...+.......+......+.....+.+...+............+...+..+...+.......+......+.....+............+......+...............+....+......+.................+.......+...+..+.+....................+.+.....+.+...+.........+..+...+...+.............+............+..+...+......................+...........+.+.........+......+....................+...+...+.......+..+.............+.....+.........................+...+...+..+................ logger.go:42: 12:20:01 | 1-066_validate_redis_secure_comm_no_autotls_no_ha/2-generate_cert | ----- I1119 12:20:02.216728 115 request.go:682] Waited for 1.047946736s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/storage.k8s.io/v1?timeout=32s logger.go:42: 12:20:04 | 1-066_validate_redis_secure_comm_no_autotls_no_ha/2-generate_cert | test step completed 2-generate_cert logger.go:42: 12:20:04 | 1-066_validate_redis_secure_comm_no_autotls_no_ha/3-create_secret | starting test step 3-create_secret logger.go:42: 12:20:04 | 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: 12:20:04 | 1-066_validate_redis_secure_comm_no_autotls_no_ha/3-create_secret | secret/argocd-operator-redis-tls created I1119 12:20:16.026690 115 request.go:682] Waited for 1.031486148s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/template.openshift.io/v1?timeout=32s logger.go:42: 12:20:18 | 1-066_validate_redis_secure_comm_no_autotls_no_ha/3-create_secret | test step completed 3-create_secret logger.go:42: 12:20:18 | 1-066_validate_redis_secure_comm_no_autotls_no_ha/4-create_annotation | starting test step 4-create_annotation logger.go:42: 12:20:18 | 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: 12:20:18 | 1-066_validate_redis_secure_comm_no_autotls_no_ha/4-create_annotation | secret/argocd-operator-redis-tls annotated I1119 12:20:49.999812 115 request.go:682] Waited for 1.030550648s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/stable.example.com/v1?timeout=32s logger.go:42: 12:20:52 | 1-066_validate_redis_secure_comm_no_autotls_no_ha/4-create_annotation | test step completed 4-create_annotation logger.go:42: 12:20:52 | 1-066_validate_redis_secure_comm_no_autotls_no_ha/5-check_deployments | starting test step 5-check_deployments logger.go:42: 12:20:52 | 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: 12:20:52 | 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: 12:20:52 | 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: 12:20:56 | 1-066_validate_redis_secure_comm_no_autotls_no_ha/5-check_deployments | test step completed 5-check_deployments logger.go:42: 12:20:56 | 1-066_validate_redis_secure_comm_no_autotls_no_ha/6-check_statefulset | starting test step 6-check_statefulset logger.go:42: 12:20:56 | 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 ] I1119 12:21:00.023814 115 request.go:682] Waited for 2.829834358s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/ingress.operator.openshift.io/v1?timeout=32s logger.go:42: 12:21:00 | 1-066_validate_redis_secure_comm_no_autotls_no_ha/6-check_statefulset | test step completed 6-check_statefulset logger.go:42: 12:21:00 | 1-066_validate_redis_secure_comm_no_autotls_no_ha | skipping kubernetes event logging logger.go:42: 12:21:00 | 1-066_validate_redis_secure_comm_no_autotls_no_ha | Deleting namespace: kuttl-test-engaging-grub === CONT kuttl/harness/1-068_validate_redis_secure_comm_autotls_no_ha logger.go:42: 12:21:06 | 1-068_validate_redis_secure_comm_autotls_no_ha | Creating namespace: kuttl-test-saving-aardvark logger.go:42: 12:21:06 | 1-068_validate_redis_secure_comm_autotls_no_ha/1-install | starting test step 1-install logger.go:42: 12:21:09 | 1-068_validate_redis_secure_comm_autotls_no_ha/1-install | ArgoCD:kuttl-test-saving-aardvark/argocd created logger.go:42: 12:21:21 | 1-068_validate_redis_secure_comm_autotls_no_ha/1-install | test step completed 1-install logger.go:42: 12:21:21 | 1-068_validate_redis_secure_comm_autotls_no_ha/2-enable_autotls | starting test step 2-enable_autotls logger.go:42: 12:21:21 | 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: 12:21:22 | 1-068_validate_redis_secure_comm_autotls_no_ha/2-enable_autotls | argocd.argoproj.io/argocd patched I1119 12:21:23.655558 115 request.go:682] Waited for 1.030459651s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/quota.openshift.io/v1?timeout=32s logger.go:42: 12:21:34 | 1-068_validate_redis_secure_comm_autotls_no_ha/2-enable_autotls | test step completed 2-enable_autotls logger.go:42: 12:21:34 | 1-068_validate_redis_secure_comm_autotls_no_ha/3-check_secret | starting test step 3-check_secret logger.go:42: 12:21:34 | 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 ] I1119 12:21:36.515555 115 request.go:682] Waited for 1.029838209s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/storage.k8s.io/v1?timeout=32s logger.go:42: 12:21:38 | 1-068_validate_redis_secure_comm_autotls_no_ha/3-check_secret | test step completed 3-check_secret logger.go:42: 12:21:38 | 1-068_validate_redis_secure_comm_autotls_no_ha/4- | starting test step 4- logger.go:42: 12:21:41 | 1-068_validate_redis_secure_comm_autotls_no_ha/4- | test step completed 4- logger.go:42: 12:21:41 | 1-068_validate_redis_secure_comm_autotls_no_ha/5-check_crt_files | starting test step 5-check_crt_files logger.go:42: 12:21:41 | 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: 12:21:42 | 1-068_validate_redis_secure_comm_autotls_no_ha/5-check_crt_files | /app/config/server/tls/redis/tls.crt logger.go:42: 12:21:43 | 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: 12:21:43 | 1-068_validate_redis_secure_comm_autotls_no_ha/5-check_crt_files | /app/config/reposerver/tls/redis/tls.crt logger.go:42: 12:21:45 | 1-068_validate_redis_secure_comm_autotls_no_ha/5-check_crt_files | /app/config/redis/tls/tls.crt logger.go:42: 12:21:46 | 1-068_validate_redis_secure_comm_autotls_no_ha/5-check_crt_files | /app/config/controller/tls/redis/tls.crt I1119 12:21:47.688687 115 request.go:682] Waited for 1.030599514s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/network.openshift.io/v1?timeout=32s logger.go:42: 12:21:49 | 1-068_validate_redis_secure_comm_autotls_no_ha/5-check_crt_files | test step completed 5-check_crt_files logger.go:42: 12:21:49 | 1-068_validate_redis_secure_comm_autotls_no_ha | skipping kubernetes event logging logger.go:42: 12:21:49 | 1-068_validate_redis_secure_comm_autotls_no_ha | Deleting namespace: kuttl-test-saving-aardvark === CONT kuttl/harness/1-055_drop_resource_customizations logger.go:42: 12:21:55 | 1-055_drop_resource_customizations | Creating namespace: kuttl-test-solid-mackerel logger.go:42: 12:21:55 | 1-055_drop_resource_customizations/1-alpha-argocd | starting test step 1-alpha-argocd I1119 12:21:57.705385 115 request.go:682] Waited for 1.932070956s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/security.istio.io/v1beta1?timeout=32s logger.go:42: 12:21:58 | 1-055_drop_resource_customizations/1-alpha-argocd | ArgoCD:kuttl-test-solid-mackerel/argocd created logger.go:42: 12:22:20 | 1-055_drop_resource_customizations/1-alpha-argocd | test step completed 1-alpha-argocd logger.go:42: 12:22:20 | 1-055_drop_resource_customizations/2- | starting test step 2- I1119 12:22:21.247811 115 request.go:682] Waited for 1.031444285s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/controlplane.operator.openshift.io/v1alpha1?timeout=32s logger.go:42: 12:22:23 | 1-055_drop_resource_customizations/2- | test step completed 2- logger.go:42: 12:22:23 | 1-055_drop_resource_customizations | skipping kubernetes event logging logger.go:42: 12:22:23 | 1-055_drop_resource_customizations | Deleting namespace: kuttl-test-solid-mackerel === CONT kuttl/harness/1-019_validate_volume_mounts logger.go:42: 12:22:30 | 1-019_validate_volume_mounts/1-install | test step failed 1-install case.go:364: failed in step 1-install case.go:366: --- Deployment:kuttl-test-coherent-penguin/argocd-repo-server +++ Deployment:kuttl-test-coherent-penguin/argocd-repo-server @@ -1,13 +1,349 @@ apiVersion: apps/v1 kind: Deployment metadata: + labels: + app.kubernetes.io/component: repo-server + app.kubernetes.io/managed-by: argocd + app.kubernetes.io/name: argocd-repo-server + app.kubernetes.io/part-of: argocd + managedFields: + - apiVersion: apps/v1 + fieldsType: FieldsV1 + fieldsV1: + f:metadata: + f:labels: + .: {} + f:app.kubernetes.io/component: {} + f:app.kubernetes.io/managed-by: {} + f:app.kubernetes.io/name: {} + f:app.kubernetes.io/part-of: {} + f:ownerReferences: + .: {} + k:{"uid":"ff63d652-7e62-4c5d-8ec6-dfdbb0420c5f"}: {} + f:spec: + f:progressDeadlineSeconds: {} + f:replicas: {} + f:revisionHistoryLimit: {} + f:selector: {} + f:strategy: + f:rollingUpdate: + .: {} + f:maxSurge: {} + f:maxUnavailable: {} + f:type: {} + f:template: + f:metadata: + f:labels: + .: {} + f:app.kubernetes.io/name: {} + f:spec: + f:automountServiceAccountToken: {} + f:containers: + k:{"name":"argocd-repo-server"}: + .: {} + f:command: {} + f:env: + .: {} + k:{"name":"REDIS_PASSWORD"}: + .: {} + f:name: {} + f:valueFrom: + .: {} + f:secretKeyRef: {} + f:image: {} + f:imagePullPolicy: {} + f:livenessProbe: + .: {} + f:failureThreshold: {} + f:initialDelaySeconds: {} + f:periodSeconds: {} + f:successThreshold: {} + f:tcpSocket: + .: {} + f:port: {} + f:timeoutSeconds: {} + f:name: {} + f:ports: + .: {} + k:{"containerPort":8081,"protocol":"TCP"}: + .: {} + f:containerPort: {} + f:name: {} + f:protocol: {} + k:{"containerPort":8084,"protocol":"TCP"}: + .: {} + f:containerPort: {} + f:name: {} + f:protocol: {} + f:readinessProbe: + .: {} + f:failureThreshold: {} + f:initialDelaySeconds: {} + f:periodSeconds: {} + f:successThreshold: {} + f:tcpSocket: + .: {} + f:port: {} + f:timeoutSeconds: {} + f:resources: {} + f:securityContext: + .: {} + f:allowPrivilegeEscalation: {} + f:capabilities: + .: {} + f:drop: {} + f:runAsNonRoot: {} + f:seccompProfile: + .: {} + f:type: {} + f:terminationMessagePath: {} + f:terminationMessagePolicy: {} + f:volumeMounts: + .: {} + k:{"mountPath":"/app/config/gpg/keys"}: + .: {} + f:mountPath: {} + f:name: {} + k:{"mountPath":"/app/config/gpg/source"}: + .: {} + f:mountPath: {} + f:name: {} + k:{"mountPath":"/app/config/reposerver/tls"}: + .: {} + f:mountPath: {} + f:name: {} + k:{"mountPath":"/app/config/reposerver/tls/redis"}: + .: {} + f:mountPath: {} + f:name: {} + k:{"mountPath":"/app/config/ssh"}: + .: {} + f:mountPath: {} + f:name: {} + k:{"mountPath":"/app/config/tls"}: + .: {} + f:mountPath: {} + f:name: {} + k:{"mountPath":"/home/argocd/cmp-server/plugins"}: + .: {} + f:mountPath: {} + f:name: {} + k:{"mountPath":"/tmp"}: + .: {} + f:mountPath: {} + f:name: {} + f:dnsPolicy: {} + f:initContainers: + .: {} + k:{"name":"copyutil"}: + .: {} + f:command: {} + f:image: {} + f:imagePullPolicy: {} + f:name: {} + f:resources: {} + f:securityContext: + .: {} + f:allowPrivilegeEscalation: {} + f:capabilities: + .: {} + f:drop: {} + f:runAsNonRoot: {} + f:seccompProfile: + .: {} + f:type: {} + f:terminationMessagePath: {} + f:terminationMessagePolicy: {} + f:volumeMounts: + .: {} + k:{"mountPath":"/var/run/argocd"}: + .: {} + f:mountPath: {} + f:name: {} + f:nodeSelector: {} + f:restartPolicy: {} + f:schedulerName: {} + f:securityContext: + .: {} + f:seccompProfile: + .: {} + f:type: {} + f:terminationGracePeriodSeconds: {} + f:volumes: + .: {} + k:{"name":"argocd-operator-redis-tls"}: + .: {} + f:name: {} + f:secret: + .: {} + f:defaultMode: {} + f:optional: {} + f:secretName: {} + k:{"name":"argocd-repo-server-tls"}: + .: {} + f:name: {} + f:secret: + .: {} + f:defaultMode: {} + f:optional: {} + f:secretName: {} + k:{"name":"gpg-keyring"}: + .: {} + f:emptyDir: {} + f:name: {} + k:{"name":"gpg-keys"}: + .: {} + f:configMap: + .: {} + f:defaultMode: {} + f:name: {} + f:name: {} + k:{"name":"plugins"}: + .: {} + f:emptyDir: {} + f:name: {} + k:{"name":"ssh-known-hosts"}: + .: {} + f:configMap: + .: {} + f:defaultMode: {} + f:name: {} + f:name: {} + k:{"name":"tls-certs"}: + .: {} + f:configMap: + .: {} + f:defaultMode: {} + f:name: {} + f:name: {} + k:{"name":"tmp"}: + .: {} + f:emptyDir: {} + f:name: {} + k:{"name":"var-files"}: + .: {} + f:emptyDir: {} + f:name: {} + manager: manager + operation: Update + time: "2024-11-19T12:10:30Z" + - apiVersion: apps/v1 + fieldsType: FieldsV1 + fieldsV1: + f:metadata: + f:annotations: + .: {} + f:deployment.kubernetes.io/revision: {} + f:status: + f:availableReplicas: {} + f:conditions: + .: {} + k:{"type":"Available"}: + .: {} + f:lastTransitionTime: {} + f:lastUpdateTime: {} + f:message: {} + f:reason: {} + f:status: {} + f:type: {} + k:{"type":"Progressing"}: + .: {} + f:lastTransitionTime: {} + f:lastUpdateTime: {} + f:message: {} + f:reason: {} + f:status: {} + f:type: {} + f:observedGeneration: {} + f:readyReplicas: {} + f:replicas: {} + f:updatedReplicas: {} + manager: kube-controller-manager + operation: Update + subresource: status + time: "2024-11-19T12:10:40Z" name: argocd-repo-server namespace: kuttl-test-coherent-penguin + ownerReferences: + - apiVersion: argoproj.io/v1beta1 + blockOwnerDeletion: true + controller: true + kind: ArgoCD + name: argocd + uid: ff63d652-7e62-4c5d-8ec6-dfdbb0420c5f spec: + progressDeadlineSeconds: 600 + replicas: 1 + revisionHistoryLimit: 10 + selector: + matchLabels: + app.kubernetes.io/name: argocd-repo-server + strategy: + rollingUpdate: + maxSurge: 25%! (MISSING)+ maxUnavailable: 25%! (MISSING)+ type: RollingUpdate template: + metadata: + creationTimestamp: null + labels: + app.kubernetes.io/name: argocd-repo-server spec: + automountServiceAccountToken: false containers: - - volumeMounts: + - command: + - uid_entrypoint.sh + - argocd-repo-server + - --redis + - argocd-redis.kuttl-test-coherent-penguin.svc.cluster.local:6379 + - --loglevel + - info + - --logformat + - text + env: + - name: REDIS_PASSWORD + valueFrom: + secretKeyRef: + key: admin.password + name: argocd-redis-initial-password + image: registry.redhat.io/openshift-gitops-1/argocd-rhel8@sha256:066eae4a541079fbba91dea0652bdb12d3e981d5a225d0827e61f49faff067d3 + imagePullPolicy: Always + livenessProbe: + failureThreshold: 3 + initialDelaySeconds: 5 + periodSeconds: 10 + successThreshold: 1 + tcpSocket: + port: 8081 + timeoutSeconds: 1 + name: argocd-repo-server + ports: + - containerPort: 8081 + name: server + protocol: TCP + - containerPort: 8084 + name: metrics + protocol: TCP + readinessProbe: + failureThreshold: 3 + initialDelaySeconds: 5 + periodSeconds: 10 + successThreshold: 1 + tcpSocket: + port: 8081 + timeoutSeconds: 1 + resources: {} + securityContext: + allowPrivilegeEscalation: false + capabilities: + drop: + - ALL + runAsNonRoot: true + seccompProfile: + type: RuntimeDefault + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: - mountPath: /app/config/ssh name: ssh-known-hosts - mountPath: /app/config/tls @@ -16,14 +352,46 @@ name: gpg-keys - mountPath: /app/config/gpg/keys name: gpg-keyring + - mountPath: /tmp + name: tmp - mountPath: /app/config/reposerver/tls name: argocd-repo-server-tls - mountPath: /app/config/reposerver/tls/redis name: argocd-operator-redis-tls - mountPath: /home/argocd/cmp-server/plugins name: plugins - - mountPath: /tmp - name: tmp + dnsPolicy: ClusterFirst + initContainers: + - command: + - cp + - -n + - /usr/local/bin/argocd + - /var/run/argocd/argocd-cmp-server + image: registry.redhat.io/openshift-gitops-1/argocd-rhel8@sha256:066eae4a541079fbba91dea0652bdb12d3e981d5a225d0827e61f49faff067d3 + imagePullPolicy: Always + name: copyutil + resources: {} + securityContext: + allowPrivilegeEscalation: false + capabilities: + drop: + - ALL + runAsNonRoot: true + seccompProfile: + type: RuntimeDefault + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /var/run/argocd + name: var-files + nodeSelector: + kubernetes.io/os: linux + restartPolicy: Always + schedulerName: default-scheduler + securityContext: + seccompProfile: + type: RuntimeDefault + terminationGracePeriodSeconds: 30 volumes: - configMap: defaultMode: 420 @@ -39,6 +407,8 @@ name: gpg-keys - emptyDir: {} name: gpg-keyring + - emptyDir: {} + name: tmp - name: argocd-repo-server-tls secret: defaultMode: 420 @@ -53,6 +423,23 @@ name: var-files - emptyDir: {} name: plugins - - emptyDir: {} - name: tmp +status: + availableReplicas: 1 + conditions: + - lastTransitionTime: "2024-11-19T12:10:40Z" + lastUpdateTime: "2024-11-19T12:10:40Z" + message: Deployment has minimum availability. + reason: MinimumReplicasAvailable + status: "True" + type: Available + - lastTransitionTime: "2024-11-19T12:10:30Z" + lastUpdateTime: "2024-11-19T12:10:40Z" + message: ReplicaSet "argocd-repo-server-6946567cc6" has successfully progressed. + reason: NewReplicaSetAvailable + status: "True" + type: Progressing + observedGeneration: 1 + readyReplicas: 1 + replicas: 1 + updatedReplicas: 1 case.go:366: resource Deployment:kuttl-test-coherent-penguin/argocd-repo-server: .spec.template.spec.containers.volumeMounts.mountPath: value mismatch, expected: /app/config/reposerver/tls != actual: /tmp logger.go:42: 12:22:30 | 1-019_validate_volume_mounts | skipping kubernetes event logging logger.go:42: 12:22:30 | 1-019_validate_volume_mounts | Deleting namespace: kuttl-test-coherent-penguin === CONT kuttl/harness/1-069_validate_redis_secure_comm_autotls_ha logger.go:42: 12:26:05 | 1-069_validate_redis_secure_comm_autotls_ha/1-install | test step completed 1-install logger.go:42: 12:26:05 | 1-069_validate_redis_secure_comm_autotls_ha/2-enable_autotls | starting test step 2-enable_autotls logger.go:42: 12:26:05 | 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: 12:26:06 | 1-069_validate_redis_secure_comm_autotls_ha/2-enable_autotls | argocd.argoproj.io/argocd patched I1119 12:26:07.554536 115 request.go:682] Waited for 1.030842798s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/route.openshift.io/v1?timeout=32s === CONT kuttl/harness/1-071_validate_SCC_HA logger.go:42: 12:27:43 | 1-071_validate_SCC_HA/3-modify-argocd | test step completed 3-modify-argocd logger.go:42: 12:27:43 | 1-071_validate_SCC_HA/99-delete | starting test step 99-delete I1119 12:27:45.417792 115 request.go:682] Waited for 1.031585174s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/certificates.k8s.io/v1?timeout=32s logger.go:42: 12:27:47 | 1-071_validate_SCC_HA/99-delete | test step completed 99-delete logger.go:42: 12:27:47 | 1-071_validate_SCC_HA | skipping kubernetes event logging logger.go:42: 12:27:47 | 1-071_validate_SCC_HA | Deleting namespace: kuttl-test-clean-rooster === CONT kuttl/harness/1-067_validate_redis_secure_comm_no_autotls_ha logger.go:42: 12:27:57 | 1-067_validate_redis_secure_comm_no_autotls_ha/1-install | test step completed 1-install logger.go:42: 12:27:57 | 1-067_validate_redis_secure_comm_no_autotls_ha/2-generate_cert | starting test step 2-generate_cert logger.go:42: 12:27:57 | 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: 12:27:57 | 1-067_validate_redis_secure_comm_no_autotls_ha/2-generate_cert | .....+......+..+...+...+.......+........+....+...........+....+...+............+.....+...+...+.+.........+..+.........+...+......+.+........+.+..+.......+..+.+..+..................+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*...+......+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.........................+......+..............+.+..+...............+..........+..+.......+.....+.........+......+.+..+.+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ logger.go:42: 12:27:59 | 1-067_validate_redis_secure_comm_no_autotls_ha/2-generate_cert | .....+.+..+....+........+.+...........+.........+.......+.........+........+.......+...+..+....+.....+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.............+......+.......+.....+.+..+...+.+.....+.........+.........+.............+.....+...+.+.....+.+............+...+.........+...+.....+..........+.....+......+.......+........+.+......+..+.+..+....+...+..+...+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.....+.+...+.....................+...+......+..+.......+...+.........+..............+.........+.+..+.......+..+...+..........+..+.+........+..............................+.+...............+........+......+......+...+......+.+......+..............+....+.....+....+...+...+..+.......+...........+....+......+...........+................+...+...........+.........+....+..+....+.........+.....+...+............+.......+......+...+..+.........+...+.+.....+.......+.........+...+........ logger.go:42: 12:27:59 | 1-067_validate_redis_secure_comm_no_autotls_ha/2-generate_cert | ----- I1119 12:28:00.633421 115 request.go:682] Waited for 1.031471828s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/stable.example.com/v1?timeout=32s logger.go:42: 12:28:02 | 1-067_validate_redis_secure_comm_no_autotls_ha/2-generate_cert | test step completed 2-generate_cert logger.go:42: 12:28:02 | 1-067_validate_redis_secure_comm_no_autotls_ha/3-create_secret | starting test step 3-create_secret logger.go:42: 12:28:02 | 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 ] logger.go:42: 12:28:02 | 1-067_validate_redis_secure_comm_no_autotls_ha/3-create_secret | secret/argocd-operator-redis-tls created logger.go:42: 12:28:05 | 1-067_validate_redis_secure_comm_no_autotls_ha/3-create_secret | test step completed 3-create_secret logger.go:42: 12:28:05 | 1-067_validate_redis_secure_comm_no_autotls_ha/4-create_annotation | starting test step 4-create_annotation logger.go:42: 12:28:05 | 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 ] logger.go:42: 12:28:06 | 1-067_validate_redis_secure_comm_no_autotls_ha/4-create_annotation | secret/argocd-operator-redis-tls annotated === CONT kuttl/harness/1-069_validate_redis_secure_comm_autotls_ha logger.go:42: 12:35:11 | 1-069_validate_redis_secure_comm_autotls_ha/2-enable_autotls | test step completed 2-enable_autotls logger.go:42: 12:35:11 | 1-069_validate_redis_secure_comm_autotls_ha/3-check_secret | starting test step 3-check_secret logger.go:42: 12:35:11 | 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 ] I1119 12:35:13.076387 115 request.go:682] Waited for 1.031084544s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/user.openshift.io/v1?timeout=32s logger.go:42: 12:35:15 | 1-069_validate_redis_secure_comm_autotls_ha/3-check_secret | test step completed 3-check_secret logger.go:42: 12:35:15 | 1-069_validate_redis_secure_comm_autotls_ha | skipping kubernetes event logging logger.go:42: 12:35:15 | 1-069_validate_redis_secure_comm_autotls_ha | Deleting namespace: kuttl-test-pleasant-mayfly === CONT kuttl/harness/1-067_validate_redis_secure_comm_no_autotls_ha logger.go:42: 12:39:26 | 1-067_validate_redis_secure_comm_no_autotls_ha/4-create_annotation | test step completed 4-create_annotation logger.go:42: 12:39:26 | 1-067_validate_redis_secure_comm_no_autotls_ha/5-check_redis_config | starting test step 5-check_redis_config logger.go:42: 12:39:26 | 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: 12:39:26 | 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: 12:39:27 | 1-067_validate_redis_secure_comm_no_autotls_ha/5-check_redis_config | Found expected config 'port 0' on attempt 1. logger.go:42: 12:39:27 | 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: 12:39:27 | 1-067_validate_redis_secure_comm_no_autotls_ha/5-check_redis_config | Found expected config 'tls-port 6379' on attempt 1. logger.go:42: 12:39:27 | 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: 12:39:28 | 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: 12:39:28 | 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: 12:39:28 | 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: 12:39:28 | 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: 12:39:29 | 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: 12:39:29 | 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: 12:39:30 | 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: 12:39:30 | 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: 12:39:30 | 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: 12:39:30 | 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: 12:39:31 | 1-067_validate_redis_secure_comm_no_autotls_ha/5-check_redis_config | Found expected config 'port 0' on attempt 1. logger.go:42: 12:39:31 | 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: 12:39:32 | 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: 12:39:32 | 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: 12:39:32 | 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: 12:39:32 | 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: 12:39:33 | 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: 12:39:33 | 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: 12:39:34 | 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: 12:39:34 | 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: 12:39:35 | 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: 12:39:35 | 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: 12:39:35 | 1-067_validate_redis_secure_comm_no_autotls_ha/5-check_redis_config | Found expected config 'tls-auth-clients no' on attempt 1. I1119 12:39:36.772331 115 request.go:682] Waited for 1.029107488s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/migration.k8s.io/v1alpha1?timeout=32s logger.go:42: 12:39:38 | 1-067_validate_redis_secure_comm_no_autotls_ha/5-check_redis_config | test step completed 5-check_redis_config logger.go:42: 12:39:38 | 1-067_validate_redis_secure_comm_no_autotls_ha/6-check_deployments | starting test step 6-check_deployments logger.go:42: 12:39:38 | 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: 12:39:39 | 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: 12:39:42 | 1-067_validate_redis_secure_comm_no_autotls_ha/6-check_deployments | test step completed 6-check_deployments logger.go:42: 12:39:42 | 1-067_validate_redis_secure_comm_no_autotls_ha/7-check_statefulset | starting test step 7-check_statefulset logger.go:42: 12:39:42 | 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: 12:39:45 | 1-067_validate_redis_secure_comm_no_autotls_ha/7-check_statefulset | test step completed 7-check_statefulset logger.go:42: 12:39:45 | 1-067_validate_redis_secure_comm_no_autotls_ha | skipping kubernetes event logging logger.go:42: 12:39:45 | 1-067_validate_redis_secure_comm_no_autotls_ha | Deleting namespace: kuttl-test-famous-eft === CONT kuttl harness.go:405: run tests finished harness.go:513: cleaning up harness.go:570: removing temp folder: "" --- FAIL: kuttl (3484.13s) --- FAIL: kuttl/harness (0.00s) --- PASS: kuttl/harness/1-081_validate_applicationset_deployment (21.06s) --- PASS: kuttl/harness/1-001_alpha_to_beta_dex_conversion (30.30s) --- PASS: kuttl/harness/1-082_validate_node_placement (39.62s) --- PASS: kuttl/harness/1-064_validate_security_contexts (14.82s) --- PASS: kuttl/harness/1-063_validate_dex_liveness_probe (8.84s) --- PASS: kuttl/harness/1-063_validate_statefulset_restart (61.14s) --- PASS: kuttl/harness/1-062_validate_extra_config (69.30s) --- PASS: kuttl/harness/1-057_validate_notifications (102.45s) --- PASS: kuttl/harness/1-058_validate_prometheus_rule (32.18s) --- PASS: kuttl/harness/1-061_validate_resource_tracking_method (58.99s) --- PASS: kuttl/harness/1-098_validate_dex_clientsecret_deprecated (49.96s) --- PASS: kuttl/harness/1-050_validate_sso (210.07s) --- PASS: kuttl/harness/1-065_validate_redis_ha_anti_affinity (601.85s) --- FAIL: kuttl/harness/1-114_validate_server_sidecar (729.54s) --- FAIL: kuttl/harness/1-115_validate_controller_extra_command_args (747.71s) --- FAIL: kuttl/harness/1-113_validate_appcontroller_sidecar (730.03s) --- FAIL: kuttl/harness/1-112_validate_server_initcontainers (730.89s) --- PASS: kuttl/harness/1-103_argocd_alpha_to_beta_conversion (24.57s) --- PASS: kuttl/harness/1-107_host_attribute_sso_provider (101.55s) --- FAIL: kuttl/harness/1-104_validate_applicationset_tls_scm_volume_mount (132.52s) --- PASS: kuttl/harness/1-102_validate_handle_terminating_namespaces (107.53s) --- PASS: kuttl/harness/1-096-validate_home_env_argocd_controller (8.78s) --- PASS: kuttl/harness/1-089_validate_extra_repo_commands_args (65.30s) --- PASS: kuttl/harness/1-099_validate_server_autoscale (106.40s) --- PASS: kuttl/harness/1-108_alternate_cluster_roles_cluster_scoped_instance (237.75s) --- PASS: kuttl/harness/1-095_validate_dex_clientsecret (54.99s) --- PASS: kuttl/harness/1-091_argocd_app_validate-applicationset-status (32.02s) --- PASS: kuttl/harness/1-072_validate_liveness_probe_removed (44.00s) --- PASS: kuttl/harness/1-080_validate_regex_support_argocd_rbac (55.36s) --- PASS: kuttl/harness/1-077_validate_disable_dex_removed (9.67s) --- PASS: kuttl/harness/1-079_validate_vars_for_notificaitons (49.05s) --- PASS: kuttl/harness/1-075_validate_dex_anyuid (31.79s) --- PASS: kuttl/harness/1-074_validate_terminating_namespace_block (25.35s) --- PASS: kuttl/harness/1-049_validate_parallelism_limit (50.30s) --- FAIL: kuttl/harness/1-111_validate_appcontroller_initcontainers (729.14s) --- PASS: kuttl/harness/1-012_validate-managed-by-chain (111.95s) --- PASS: kuttl/harness/1-030_validate_reencrypt (48.29s) --- PASS: kuttl/harness/1-073_validate_rhsso (223.49s) --- PASS: kuttl/harness/1-032_validate_dynamic_scaling (331.96s) --- PASS: kuttl/harness/1-092_validate_workload_status_monitoring_alert (473.95s) --- PASS: kuttl/harness/1-048_validate_controller_sharding (84.13s) --- PASS: kuttl/harness/1-029_validate_tls_secret_no_scale (68.08s) --- PASS: kuttl/harness/1-045_validate_repo_exec_timeout (45.90s) --- PASS: kuttl/harness/1-047_validate_custom_env (54.30s) --- PASS: kuttl/harness/1-021_validate_rolebindings (30.60s) --- PASS: kuttl/harness/1-044_validate_resource_limit_changes (44.48s) --- PASS: kuttl/harness/1-025-validate-managed-by-change (97.65s) --- PASS: kuttl/harness/1-023_validate_repo_server_tls (78.75s) --- PASS: kuttl/harness/1-038_validate_productized_images (46.96s) --- PASS: kuttl/harness/1-039_validate_fix_argocd-tls-certs-cm (55.97s) --- PASS: kuttl/harness/1-043_validate_log_level_format (72.27s) --- PASS: kuttl/harness/1-088_validate_applicationset_add_env_vars (51.30s) --- PASS: kuttl/harness/1-086_validate_applicationset_extra_command_args (67.58s) --- PASS: kuttl/harness/1-037_validate_argocd_setting_replicas (90.08s) --- PASS: kuttl/harness/1-087_validate_repo_server_settings (42.80s) --- FAIL: kuttl/harness/1-090_validate_permissions (733.27s) --- PASS: kuttl/harness/1-004_beta_to_alpha_conversion (48.89s) --- PASS: kuttl/harness/1-033_validate_resource_exclusions (38.30s) --- PASS: kuttl/harness/1-034_validate_webhook_notifications (94.36s) --- PASS: kuttl/harness/1-008_validate-custom-argocd-namespace (62.70s) --- PASS: kuttl/harness/1-009_validate-manage-other-namespace (95.89s) --- PASS: kuttl/harness/1-036_validate_keycloak_resource_reqs (174.21s) --- PASS: kuttl/harness/1-032_validate_resource_inclusions (27.50s) --- PASS: kuttl/harness/1-003_alpha_to_beta_sso_conflict_conversion (24.88s) --- PASS: kuttl/harness/1-003_validate_console_link (8.79s) --- PASS: kuttl/harness/1-007_validate_namespace_scoped_install (49.88s) --- PASS: kuttl/harness/1-052_validate_rolebinding_number (14.58s) --- PASS: kuttl/harness/1-053_validate_cluster_admin_rbac (13.78s) --- FAIL: kuttl/harness/1-033_validate_applicationset_tls_scm_volume_mount (129.65s) --- PASS: kuttl/harness/1-083_validate_resource_customization_subkeys (43.67s) --- PASS: kuttl/harness/1-002_alpha_to_beta_keycloak_conversion (44.63s) --- PASS: kuttl/harness/1-084_validate_status_host_ingress (46.71s) --- PASS: kuttl/harness/1-055_validate_notification_controller (82.91s) --- PASS: kuttl/harness/1-054_validate_deploymentconfig (109.58s) --- PASS: kuttl/harness/1-051-validate_csv_permissions (9.16s) --- PASS: kuttl/harness/1-070_validate_config_management_plugin (88.97s) --- PASS: kuttl/harness/1-083_validate_kustomize_namereference (62.56s) --- PASS: kuttl/harness/1-066_validate_redis_secure_comm_no_autotls_no_ha (103.63s) --- PASS: kuttl/harness/1-068_validate_redis_secure_comm_autotls_no_ha (49.17s) --- PASS: kuttl/harness/1-055_drop_resource_customizations (33.57s) --- FAIL: kuttl/harness/1-019_validate_volume_mounts (734.06s) --- PASS: kuttl/harness/1-071_validate_SCC_HA (636.47s) --- PASS: kuttl/harness/1-069_validate_redis_secure_comm_autotls_ha (1141.00s) --- PASS: kuttl/harness/1-067_validate_redis_secure_comm_no_autotls_ha (1300.17s) FAIL Running sequential test suite 2024/11/19 12:40:32 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. I1119 12:40:33.188156 3552 request.go:682] Waited for 1.044628166s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/networking.istio.io/v1alpha3?timeout=32s harness.go:275: Successful connection to cluster at: https://api.412-psi.ocp-gitops-qe.com:6443 harness.go:360: running tests harness.go:73: going to run test suite with timeout of 600 seconds for each step harness.go:372: testsuite: /kuttl-e2e/gitops-operator/tests/sequential has 37 tests === RUN kuttl/harness === RUN kuttl/harness/1-001_validate_kam_service === PAUSE kuttl/harness/1-001_validate_kam_service === RUN kuttl/harness/1-002_validate_backend_service === PAUSE kuttl/harness/1-002_validate_backend_service === RUN kuttl/harness/1-003_validate_cluster_config === PAUSE kuttl/harness/1-003_validate_cluster_config === RUN kuttl/harness/1-004_validate_argocd_installation === PAUSE kuttl/harness/1-004_validate_argocd_installation === RUN kuttl/harness/1-005_validate_metrics === PAUSE kuttl/harness/1-005_validate_metrics === RUN kuttl/harness/1-006_validate_machine_config === PAUSE kuttl/harness/1-006_validate_machine_config === RUN kuttl/harness/1-010_validate-ootb-manage-other-namespace === PAUSE kuttl/harness/1-010_validate-ootb-manage-other-namespace === RUN kuttl/harness/1-018_validate_disable_default_instance === PAUSE kuttl/harness/1-018_validate_disable_default_instance === RUN kuttl/harness/1-020_validate_redis_ha_nonha === PAUSE kuttl/harness/1-020_validate_redis_ha_nonha === RUN kuttl/harness/1-026-validate_backend_service_permissions === PAUSE kuttl/harness/1-026-validate_backend_service_permissions === RUN kuttl/harness/1-027_validate_operand_from_git === PAUSE kuttl/harness/1-027_validate_operand_from_git === RUN kuttl/harness/1-028_validate_run_on_infra === PAUSE kuttl/harness/1-028_validate_run_on_infra === RUN kuttl/harness/1-031_validate_toolchain === PAUSE kuttl/harness/1-031_validate_toolchain === RUN kuttl/harness/1-034_validate_custom_roles === PAUSE kuttl/harness/1-034_validate_custom_roles === RUN kuttl/harness/1-035_validate_argocd_secret_repopulate === PAUSE kuttl/harness/1-035_validate_argocd_secret_repopulate === RUN kuttl/harness/1-036_validate_role_rolebinding_for_source_namespace === PAUSE kuttl/harness/1-036_validate_role_rolebinding_for_source_namespace === RUN kuttl/harness/1-037_validate_applicationset_in_any_namespace === PAUSE kuttl/harness/1-037_validate_applicationset_in_any_namespace === RUN kuttl/harness/1-040_validate_quoted_RBAC_group_names === PAUSE kuttl/harness/1-040_validate_quoted_RBAC_group_names === RUN kuttl/harness/1-041_validate_argocd_sync_alert === PAUSE kuttl/harness/1-041_validate_argocd_sync_alert === RUN kuttl/harness/1-042_validate_status_host === PAUSE kuttl/harness/1-042_validate_status_host === RUN kuttl/harness/1-050_validate_sso === PAUSE kuttl/harness/1-050_validate_sso === RUN kuttl/harness/1-056_validate_managed-by === PAUSE kuttl/harness/1-056_validate_managed-by === RUN kuttl/harness/1-064_validate_tcp_reset_error === PAUSE kuttl/harness/1-064_validate_tcp_reset_error === RUN kuttl/harness/1-071_validate_node_selectors === PAUSE kuttl/harness/1-071_validate_node_selectors === RUN kuttl/harness/1-078_validate_default_argocd_consoleLink === PAUSE kuttl/harness/1-078_validate_default_argocd_consoleLink === RUN kuttl/harness/1-083_validate_apps_in_any_namespace === PAUSE kuttl/harness/1-083_validate_apps_in_any_namespace === RUN kuttl/harness/1-084_validate_prune_templates === PAUSE kuttl/harness/1-084_validate_prune_templates === RUN kuttl/harness/1-085_validate_dynamic_plugin_installation === PAUSE kuttl/harness/1-085_validate_dynamic_plugin_installation === RUN kuttl/harness/1-086_validate_default_argocd_role === PAUSE kuttl/harness/1-086_validate_default_argocd_role === RUN kuttl/harness/1-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 === CONT kuttl/harness/1-001_validate_kam_service logger.go:42: 12:40:41 | 1-001_validate_kam_service | Creating namespace: kuttl-test-wondrous-cat logger.go:42: 12:40:41 | 1-001_validate_kam_service/1-check-kam-service | starting test step 1-check-kam-service I1119 12:40:43.214382 3552 request.go:682] Waited for 2.028116435s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/network.openshift.io/v1?timeout=32s logger.go:42: 12:40:44 | 1-001_validate_kam_service/1-check-kam-service | test step completed 1-check-kam-service logger.go:42: 12:40:44 | 1-001_validate_kam_service/2-check-route | starting test step 2-check-route logger.go:42: 12:40:44 | 1-001_validate_kam_service/2-check-route | running command: [sh -c status=$(oc get -n openshift-gitops route kam -o json | jq -r .status) route_admitted=$(echo "$status" | jq -r '.ingress[0].conditions[0].type') route_status=$(echo "$status" | jq -r '.ingress[0].conditions[0].status') route_host=$(echo "$status" | jq -r '.ingress[0].host') router_name=$(echo "$status" | jq -r '.ingress[0].routerName') route_wildcard_policy=$(echo "$status" | jq -r '.ingress[0].wildcardPolicy') if test "$route_admitted" != "Admitted" -o "$route_status" != "True"; then echo "Route not ready" exit 1 fi if test "$route_host" = ""; then echo "Route has no host" exit 1 fi if test "$router_name" != "default"; then echo "Router is not default" exit 1 fi if test "$route_wildcard_policy" != "None"; then echo "Route wildcard policy is not None" exit 1 fi exit 0 ] logger.go:42: 12:40:53 | 1-001_validate_kam_service/2-check-route | test step completed 2-check-route logger.go:42: 12:40:53 | 1-001_validate_kam_service/3-check-download | starting test step 3-check-download logger.go:42: 12:40:53 | 1-001_validate_kam_service/3-check-download | running command: [sh -c set -e base_url=$(oc get -n openshift-gitops route kam -o json | jq -r '.status.ingress[0].host') curl -k --silent -o/dev/null "${base_url}/kam/kam_linux_amd64" curl -k --silent -o/dev/null "${base_url}/kam/kam_darwin_amd64" curl -k --silent -o/dev/null "${base_url}/kam/kam_windows_amd64.exe" ] I1119 12:40:54.742637 3552 request.go:682] Waited for 1.029831014s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/operators.coreos.com/v1alpha2?timeout=32s logger.go:42: 12:40:56 | 1-001_validate_kam_service/3-check-download | test step completed 3-check-download logger.go:42: 12:40:56 | 1-001_validate_kam_service | skipping kubernetes event logging logger.go:42: 12:40:56 | 1-001_validate_kam_service | Deleting namespace: kuttl-test-wondrous-cat === CONT kuttl/harness/1-042_validate_status_host logger.go:42: 12:41:02 | 1-042_validate_status_host | Creating namespace: kuttl-test-first-dingo logger.go:42: 12:41:02 | 1-042_validate_status_host/1-install | starting test step 1-install I1119 12:41:04.764351 3552 request.go:682] Waited for 2.080371158s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/route.openshift.io/v1?timeout=32s logger.go:42: 12:41:05 | 1-042_validate_status_host/1-install | ArgoCD:kuttl-test-first-dingo/example-argocd created logger.go:42: 12:41:37 | 1-042_validate_status_host/1-install | test step completed 1-install logger.go:42: 12:41:37 | 1-042_validate_status_host/2-check_URL | starting test step 2-check_URL logger.go:42: 12:41:37 | 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: 12:41:38 | 1-042_validate_status_host/2-check_URL | route_URL:example-argocd-server-kuttl-test-first-dingo.apps.412-psi.ocp-gitops-qe.com logger.go:42: 12:41:38 | 1-042_validate_status_host/2-check_URL | status_URL:example-argocd-server-kuttl-test-first-dingo.apps.412-psi.ocp-gitops-qe.com I1119 12:41:39.566784 3552 request.go:682] Waited for 1.030035691s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/security.istio.io/v1beta1?timeout=32s logger.go:42: 12:41:41 | 1-042_validate_status_host/2-check_URL | test step completed 2-check_URL logger.go:42: 12:41:41 | 1-042_validate_status_host/3-modify_route_URL | starting test step 3-modify_route_URL logger.go:42: 12:41:41 | 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: 12:41:41 | 1-042_validate_status_host/3-modify_route_URL | route.route.openshift.io/example-argocd-server patched logger.go:42: 12:41:45 | 1-042_validate_status_host/3-modify_route_URL | test step completed 3-modify_route_URL logger.go:42: 12:41:45 | 1-042_validate_status_host/4-disable_route | starting test step 4-disable_route logger.go:42: 12:41:48 | 1-042_validate_status_host/4-disable_route | ArgoCD:kuttl-test-first-dingo/example-argocd updated logger.go:42: 12:41:48 | 1-042_validate_status_host/4-disable_route | test step completed 4-disable_route logger.go:42: 12:41:48 | 1-042_validate_status_host/5-check_URL_gone | starting test step 5-check_URL_gone logger.go:42: 12:41:48 | 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: 12:41:53 | 1-042_validate_status_host/5-check_URL_gone | I1119 12:41:54.573453 3552 request.go:682] Waited for 1.030706287s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/storage.k8s.io/v1?timeout=32s logger.go:42: 12:41:56 | 1-042_validate_status_host/5-check_URL_gone | test step completed 5-check_URL_gone logger.go:42: 12:41:56 | 1-042_validate_status_host | skipping kubernetes event logging logger.go:42: 12:41:56 | 1-042_validate_status_host | Deleting namespace: kuttl-test-first-dingo === CONT kuttl/harness/1-111_validate_default_argocd_route logger.go:42: 12:42:02 | 1-111_validate_default_argocd_route | Creating namespace: kuttl-test-glorious-kodiak logger.go:42: 12:42:02 | 1-111_validate_default_argocd_route/1- | starting test step 1- I1119 12:42:04.611438 3552 request.go:682] Waited for 1.982397599s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/network.openshift.io/v1?timeout=32s logger.go:42: 12:42:05 | 1-111_validate_default_argocd_route/1- | test step completed 1- logger.go:42: 12:42:05 | 1-111_validate_default_argocd_route/2-update_tls | starting test step 2-update_tls logger.go:42: 12:42:08 | 1-111_validate_default_argocd_route/2-update_tls | ArgoCD:openshift-gitops/openshift-gitops updated logger.go:42: 12:42:09 | 1-111_validate_default_argocd_route/2-update_tls | test step completed 2-update_tls logger.go:42: 12:42:09 | 1-111_validate_default_argocd_route/3-cleanup | starting test step 3-cleanup logger.go:42: 12:42:09 | 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: 12:42:10 | 1-111_validate_default_argocd_route/3-cleanup | argocd.argoproj.io/openshift-gitops patched logger.go:42: 12:42:10 | 1-111_validate_default_argocd_route/3-cleanup | running command: [sh -c sleep 10] I1119 12:42:21.298074 3552 request.go:682] Waited for 1.031492338s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/network.operator.openshift.io/v1?timeout=32s logger.go:42: 12:42:23 | 1-111_validate_default_argocd_route/3-cleanup | test step completed 3-cleanup logger.go:42: 12:42:23 | 1-111_validate_default_argocd_route | skipping kubernetes event logging logger.go:42: 12:42:23 | 1-111_validate_default_argocd_route | Deleting namespace: kuttl-test-glorious-kodiak === CONT kuttl/harness/1-110_validate_podsecurity_alerts logger.go:42: 12:42:28 | 1-110_validate_podsecurity_alerts | Creating namespace: kuttl-test-mature-mammal logger.go:42: 12:42:29 | 1-110_validate_podsecurity_alerts/1- | starting test step 1- I1119 12:42:31.313941 3552 request.go:682] Waited for 2.279659091s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/network.operator.openshift.io/v1?timeout=32s logger.go:42: 12:42:32 | 1-110_validate_podsecurity_alerts/1- | test step completed 1- logger.go:42: 12:42:32 | 1-110_validate_podsecurity_alerts | skipping kubernetes event logging logger.go:42: 12:42:32 | 1-110_validate_podsecurity_alerts | Deleting namespace: kuttl-test-mature-mammal === CONT kuttl/harness/1-109_validate_reencrypt_termination_policy logger.go:42: 12:42:38 | 1-109_validate_reencrypt_termination_policy | Creating namespace: kuttl-test-ample-redfish logger.go:42: 12:42:38 | 1-109_validate_reencrypt_termination_policy/1- | starting test step 1- logger.go:42: 12:52:41 | 1-109_validate_reencrypt_termination_policy/1- | test step failed 1- case.go:364: failed in step 1- case.go:366: --- Route:openshift-gitops/openshift-gitops-server +++ Route:openshift-gitops/openshift-gitops-server @@ -1,15 +1,79 @@ apiVersion: route.openshift.io/v1 kind: Route metadata: + annotations: + openshift.io/host.generated: "true" + labels: + app.kubernetes.io/managed-by: openshift-gitops + app.kubernetes.io/name: openshift-gitops-server + app.kubernetes.io/part-of: argocd + managedFields: + - apiVersion: route.openshift.io/v1 + fieldsType: FieldsV1 + fieldsV1: + f:status: + f:ingress: {} + manager: openshift-router + operation: Update + subresource: status + time: "2024-11-19T11:30:51Z" + - apiVersion: route.openshift.io/v1 + fieldsType: FieldsV1 + fieldsV1: + f:metadata: + f:labels: + .: {} + f:app.kubernetes.io/managed-by: {} + f:app.kubernetes.io/name: {} + f:app.kubernetes.io/part-of: {} + f:ownerReferences: + .: {} + k:{"uid":"b0bf73c8-f843-4add-bf2d-07e40ee95337"}: {} + f:spec: + f:port: + .: {} + f:targetPort: {} + f:tls: + .: {} + f:insecureEdgeTerminationPolicy: {} + f:termination: {} + f:to: + f:kind: {} + f:name: {} + f:weight: {} + f:wildcardPolicy: {} + manager: manager + operation: Update + time: "2024-11-19T12:42:10Z" name: openshift-gitops-server namespace: openshift-gitops + ownerReferences: + - apiVersion: argoproj.io/v1beta1 + blockOwnerDeletion: true + controller: true + kind: ArgoCD + name: openshift-gitops + uid: b0bf73c8-f843-4add-bf2d-07e40ee95337 spec: + host: openshift-gitops-server-openshift-gitops.apps.412-psi.ocp-gitops-qe.com + port: + targetPort: https tls: insecureEdgeTerminationPolicy: Redirect - termination: reencrypt + termination: passthrough + to: + kind: Service + name: openshift-gitops-server + weight: 100 + wildcardPolicy: None status: ingress: - conditions: - - status: "True" + - lastTransitionTime: "2024-11-19T11:30:51Z" + status: "True" type: Admitted + host: openshift-gitops-server-openshift-gitops.apps.412-psi.ocp-gitops-qe.com + routerCanonicalHostname: router-default.apps.412-psi.ocp-gitops-qe.com + routerName: default + wildcardPolicy: None case.go:366: resource Route:openshift-gitops/openshift-gitops-server: .spec.tls.termination: value mismatch, expected: reencrypt != actual: passthrough logger.go:42: 12:52:41 | 1-109_validate_reencrypt_termination_policy | skipping kubernetes event logging logger.go:42: 12:52:41 | 1-109_validate_reencrypt_termination_policy | Deleting namespace: kuttl-test-ample-redfish === CONT kuttl/harness/1-106_validate_argocd_metrics_controller logger.go:42: 12:52:47 | 1-106_validate_argocd_metrics_controller | Creating namespace: kuttl-test-smashing-falcon logger.go:42: 12:52:47 | 1-106_validate_argocd_metrics_controller/1- | starting test step 1- I1119 12:52:48.618545 3552 request.go:682] Waited for 1.030233734s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/template.openshift.io/v1?timeout=32s logger.go:42: 12:52:50 | 1-106_validate_argocd_metrics_controller/1- | test step completed 1- logger.go:42: 12:52:50 | 1-106_validate_argocd_metrics_controller/2-disable-metrics | starting test step 2-disable-metrics logger.go:42: 12:52:50 | 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: 12:52:51 | 1-106_validate_argocd_metrics_controller/2-disable-metrics | argocd.argoproj.io/openshift-gitops patched logger.go:42: 12:52:54 | 1-106_validate_argocd_metrics_controller/2-disable-metrics | test step completed 2-disable-metrics logger.go:42: 12:52:54 | 1-106_validate_argocd_metrics_controller/3-enable-metrics | starting test step 3-enable-metrics logger.go:42: 12:52:54 | 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: 12:52:54 | 1-106_validate_argocd_metrics_controller/3-enable-metrics | argocd.argoproj.io/openshift-gitops patched logger.go:42: 12:52:57 | 1-106_validate_argocd_metrics_controller/3-enable-metrics | test step completed 3-enable-metrics logger.go:42: 12:52:57 | 1-106_validate_argocd_metrics_controller | skipping kubernetes event logging logger.go:42: 12:52:57 | 1-106_validate_argocd_metrics_controller | Deleting namespace: kuttl-test-smashing-falcon === CONT kuttl/harness/1-105_validate_label_selector logger.go:42: 12:53:03 | 1-105_validate_label_selector | Creating namespace: kuttl-test-healthy-katydid logger.go:42: 12:53:03 | 1-105_validate_label_selector/1-add-label-selector | starting test step 1-add-label-selector logger.go:42: 12:53:03 | 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: 12:53:04 | 1-105_validate_label_selector/1-add-label-selector | subscription.operators.coreos.com/openshift-gitops-operator patched logger.go:42: 12:53:04 | 1-105_validate_label_selector/1-add-label-selector | running command: [sh -c sleep 120] I1119 12:55:05.671058 3552 request.go:682] Waited for 1.041299502s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/autoscaling.openshift.io/v1beta1?timeout=32s logger.go:42: 12:55:07 | 1-105_validate_label_selector/1-add-label-selector | test step completed 1-add-label-selector logger.go:42: 12:55:07 | 1-105_validate_label_selector/2-create-ns | starting test step 2-create-ns logger.go:42: 12:55:10 | 1-105_validate_label_selector/2-create-ns | Namespace:/test-argocd created logger.go:42: 12:55:10 | 1-105_validate_label_selector/2-create-ns | ArgoCD:test-argocd/argocd created logger.go:42: 12:55:10 | 1-105_validate_label_selector/2-create-ns | ArgoCD:test-argocd/test1 created logger.go:42: 12:55:10 | 1-105_validate_label_selector/2-create-ns | test step completed 2-create-ns logger.go:42: 12:55:10 | 1-105_validate_label_selector/3-add-label | starting test step 3-add-label logger.go:42: 12:55:10 | 1-105_validate_label_selector/3-add-label | running command: [sh -c kubectl label argocd test1 foo=bar -n test-argocd ] logger.go:42: 12:55:11 | 1-105_validate_label_selector/3-add-label | argocd.argoproj.io/test1 labeled logger.go:42: 12:55:11 | 1-105_validate_label_selector/3-add-label | running command: [sh -c sleep 30] I1119 12:55:42.240266 3552 request.go:682] Waited for 1.032491957s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/security.istio.io/v1beta1?timeout=32s logger.go:42: 12:55:44 | 1-105_validate_label_selector/3-add-label | test step completed 3-add-label logger.go:42: 12:55:44 | 1-105_validate_label_selector/4-install | starting test step 4-install logger.go:42: 12:55:47 | 1-105_validate_label_selector/4-install | ArgoCD:test-argocd/test1 updated logger.go:42: 12:55:48 | 1-105_validate_label_selector/4-install | test step completed 4-install logger.go:42: 12:55:48 | 1-105_validate_label_selector/5-remove-label | starting test step 5-remove-label logger.go:42: 12:55:48 | 1-105_validate_label_selector/5-remove-label | running command: [sh -c kubectl label argocd test1 foo- -n test-argocd ] logger.go:42: 12:55:48 | 1-105_validate_label_selector/5-remove-label | argocd.argoproj.io/test1 unlabeled logger.go:42: 12:55:48 | 1-105_validate_label_selector/5-remove-label | running command: [sh -c sleep 30] I1119 12:56:19.819419 3552 request.go:682] Waited for 1.03351207s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/extensions.istio.io/v1alpha1?timeout=32s logger.go:42: 12:56:21 | 1-105_validate_label_selector/5-remove-label | test step completed 5-remove-label logger.go:42: 12:56:21 | 1-105_validate_label_selector/6-install | starting test step 6-install logger.go:42: 12:56:24 | 1-105_validate_label_selector/6-install | ArgoCD:test-argocd/test1 updated logger.go:42: 12:56:24 | 1-105_validate_label_selector/6-install | test step completed 6-install logger.go:42: 12:56:24 | 1-105_validate_label_selector/7-remove-label-selector | starting test step 7-remove-label-selector logger.go:42: 12:56:24 | 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: 12:56:25 | 1-105_validate_label_selector/7-remove-label-selector | subscription.operators.coreos.com/openshift-gitops-operator patched logger.go:42: 12:56:25 | 1-105_validate_label_selector/7-remove-label-selector | running command: [sh -c sleep 120] I1119 12:58:26.761510 3552 request.go:682] Waited for 1.039185169s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/console.openshift.io/v1alpha1?timeout=32s logger.go:42: 12:58:28 | 1-105_validate_label_selector/7-remove-label-selector | test step completed 7-remove-label-selector logger.go:42: 12:58:28 | 1-105_validate_label_selector/99-delete | starting test step 99-delete I1119 12:58:41.976671 3552 request.go:682] Waited for 1.030231063s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/network.openshift.io/v1?timeout=32s logger.go:42: 12:58:43 | 1-105_validate_label_selector/99-delete | test step completed 99-delete logger.go:42: 12:58:43 | 1-105_validate_label_selector | skipping kubernetes event logging logger.go:42: 12:58:43 | 1-105_validate_label_selector | Deleting namespace: kuttl-test-healthy-katydid === CONT kuttl/harness/1-104_validate_prometheus_alert logger.go:42: 12:58:49 | 1-104_validate_prometheus_alert | Creating namespace: kuttl-test-top-burro logger.go:42: 12:58:49 | 1-104_validate_prometheus_alert/1- | starting test step 1- I1119 12:58:51.994326 3552 request.go:682] Waited for 2.129118942s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/monitoring.coreos.com/v1beta1?timeout=32s logger.go:42: 12:58:52 | 1-104_validate_prometheus_alert/1- | test step completed 1- logger.go:42: 12:58:52 | 1-104_validate_prometheus_alert | skipping kubernetes event logging logger.go:42: 12:58:52 | 1-104_validate_prometheus_alert | Deleting namespace: kuttl-test-top-burro === CONT kuttl/harness/1-101_validate_rollout_policyrules logger.go:42: 12:58:58 | 1-101_validate_rollout_policyrules | Creating namespace: kuttl-test-social-stallion logger.go:42: 12:58:58 | 1-101_validate_rollout_policyrules/1-install-rollloutmanager | starting test step 1-install-rollloutmanager logger.go:42: 12:59:01 | 1-101_validate_rollout_policyrules/1-install-rollloutmanager | RolloutManager:openshift-gitops/example-rollout-manager created logger.go:42: 13:09:02 | 1-101_validate_rollout_policyrules/1-install-rollloutmanager | test step failed 1-install-rollloutmanager case.go:364: failed in step 1-install-rollloutmanager case.go:366: clusterroles.rbac.authorization.k8s.io "argo-rollouts" not found logger.go:42: 13:09:02 | 1-101_validate_rollout_policyrules | skipping kubernetes event logging logger.go:42: 13:09:02 | 1-101_validate_rollout_policyrules | Deleting namespace: kuttl-test-social-stallion === CONT kuttl/harness/1-100_validate_rollouts_resources_creation logger.go:42: 13:09:08 | 1-100_validate_rollouts_resources_creation | Creating namespace: kuttl-test-fluent-bulldog logger.go:42: 13:09:08 | 1-100_validate_rollouts_resources_creation/1-install-rolloutmanager | starting test step 1-install-rolloutmanager I1119 13:09:09.632228 3552 request.go:682] Waited for 1.029790226s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/cloudcredential.openshift.io/v1?timeout=32s logger.go:42: 13:09:11 | 1-100_validate_rollouts_resources_creation/1-install-rolloutmanager | RolloutManager:openshift-gitops/example-rollout-manager created logger.go:42: 13:19:12 | 1-100_validate_rollouts_resources_creation/1-install-rolloutmanager | test step failed 1-install-rolloutmanager case.go:364: failed in step 1-install-rolloutmanager case.go:366: serviceaccounts "argo-rollouts" not found case.go:366: clusterroles.rbac.authorization.k8s.io "argo-rollouts" not found case.go:366: clusterrolebindings.rbac.authorization.k8s.io "argo-rollouts" not found case.go:366: secrets "argo-rollouts-notification-secret" not found case.go:366: deployments.apps "argo-rollouts" not found case.go:366: services "argo-rollouts-metrics" not found logger.go:42: 13:19:12 | 1-100_validate_rollouts_resources_creation | skipping kubernetes event logging logger.go:42: 13:19:12 | 1-100_validate_rollouts_resources_creation | Deleting namespace: kuttl-test-fluent-bulldog === CONT kuttl/harness/1-086_validate_default_argocd_role logger.go:42: 13:19:18 | 1-086_validate_default_argocd_role | Creating namespace: kuttl-test-lucky-magpie logger.go:42: 13:19:18 | 1-086_validate_default_argocd_role/1- | starting test step 1- I1119 13:19:19.470479 3552 request.go:682] Waited for 1.028287142s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/apiextensions.k8s.io/v1?timeout=32s logger.go:42: 13:19:21 | 1-086_validate_default_argocd_role/1- | test step completed 1- logger.go:42: 13:19:21 | 1-086_validate_default_argocd_role/2-install | starting test step 2-install logger.go:42: 13:19:24 | 1-086_validate_default_argocd_role/2-install | Namespace:/test-1-086-custom created logger.go:42: 13:19:24 | 1-086_validate_default_argocd_role/2-install | Namespace:/test-1-086-custom2 created logger.go:42: 13:19:24 | 1-086_validate_default_argocd_role/2-install | Namespace:/test-1-086-custom3 created logger.go:42: 13:19:24 | 1-086_validate_default_argocd_role/2-install | ArgoCD:test-1-086-custom/argocd-default-policy created logger.go:42: 13:19:24 | 1-086_validate_default_argocd_role/2-install | ArgoCD:test-1-086-custom2/argocd-default-policy-empty created logger.go:42: 13:19:24 | 1-086_validate_default_argocd_role/2-install | ArgoCD:test-1-086-custom3/argocd-default-policy-admin created logger.go:42: 13:19:58 | 1-086_validate_default_argocd_role/2-install | test step completed 2-install logger.go:42: 13:19:58 | 1-086_validate_default_argocd_role | skipping kubernetes event logging logger.go:42: 13:19:58 | 1-086_validate_default_argocd_role | Deleting namespace: kuttl-test-lucky-magpie === CONT kuttl/harness/1-085_validate_dynamic_plugin_installation logger.go:42: 13:20:04 | 1-085_validate_dynamic_plugin_installation | Creating namespace: kuttl-test-electric-leech logger.go:42: 13:20:04 | 1-085_validate_dynamic_plugin_installation/1-install-dynamic-plugin | starting test step 1-install-dynamic-plugin logger.go:42: 13:20:04 | 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: 13:20:05 | 1-085_validate_dynamic_plugin_installation/1-install-dynamic-plugin | clusterserviceversion.operators.coreos.com/openshift-gitops-operator.v1.13.3 patched I1119 13:20:11.869617 3552 request.go:682] Waited for 1.0283731s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/user.openshift.io/v1?timeout=32s logger.go:42: 13:20:13 | 1-085_validate_dynamic_plugin_installation/1-install-dynamic-plugin | test step completed 1-install-dynamic-plugin logger.go:42: 13:20:13 | 1-085_validate_dynamic_plugin_installation/2- | starting test step 2- logger.go:42: 13:20:39 | 1-085_validate_dynamic_plugin_installation/2- | test step completed 2- logger.go:42: 13:20:39 | 1-085_validate_dynamic_plugin_installation | skipping kubernetes event logging logger.go:42: 13:20:39 | 1-085_validate_dynamic_plugin_installation | Deleting namespace: kuttl-test-electric-leech === CONT kuttl/harness/1-084_validate_prune_templates 2024/11/19 13:20:45 object detected with no GVK Kind for path /kuttl-e2e/gitops-operator/tests/sequential/1-084_validate_prune_templates/04-delete.yaml 2024/11/19 13:20:45 object detected with no GVK Kind for path /kuttl-e2e/gitops-operator/tests/sequential/1-084_validate_prune_templates/01-assert.yaml 2024/11/19 13:20:45 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 2024/11/19 13:20:45 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/11/19 13:20:45 object detected with no GVK Kind for path /kuttl-e2e/gitops-operator/tests/sequential/1-084_validate_prune_templates/03-errors.yaml logger.go:42: 13:20:45 | 1-084_validate_prune_templates | Creating namespace: kuttl-test-fitting-platypus logger.go:42: 13:20:45 | 1-084_validate_prune_templates/1-create-ns-managed-by | starting test step 1-create-ns-managed-by I1119 13:20:46.820891 3552 request.go:682] Waited for 1.029971663s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/metal3.io/v1alpha1?timeout=32s logger.go:42: 13:20:48 | 1-084_validate_prune_templates/1-create-ns-managed-by | test step completed 1-create-ns-managed-by logger.go:42: 13:20:48 | 1-084_validate_prune_templates/2-prune-duplicateGVK-resource | starting test step 2-prune-duplicateGVK-resource logger.go:42: 13:20:51 | 1-084_validate_prune_templates/2-prune-duplicateGVK-resource | test step completed 2-prune-duplicateGVK-resource logger.go:42: 13:20:51 | 1-084_validate_prune_templates/3- | starting test step 3- logger.go:42: 13:20:54 | 1-084_validate_prune_templates/3- | test step completed 3- logger.go:42: 13:20:54 | 1-084_validate_prune_templates/4-delete | starting test step 4-delete I1119 13:20:56.861922 3552 request.go:682] Waited for 2.030276026s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/machine.openshift.io/v1beta1?timeout=32s logger.go:42: 13:20:57 | 1-084_validate_prune_templates/4-delete | test step completed 4-delete logger.go:42: 13:20:57 | 1-084_validate_prune_templates | skipping kubernetes event logging logger.go:42: 13:20:57 | 1-084_validate_prune_templates | Deleting namespace: kuttl-test-fitting-platypus === CONT kuttl/harness/1-083_validate_apps_in_any_namespace logger.go:42: 13:21:03 | 1-083_validate_apps_in_any_namespace | Ignoring errors.yaml as it does not match file name regexp: ^(\d+)-(?:[^\.]+)(?:\.yaml)?$ logger.go:42: 13:21:03 | 1-083_validate_apps_in_any_namespace | Creating namespace: kuttl-test-set-worm logger.go:42: 13:21:03 | 1-083_validate_apps_in_any_namespace/1-create-ns-managed-by | starting test step 1-create-ns-managed-by logger.go:42: 13:21:06 | 1-083_validate_apps_in_any_namespace/1-create-ns-managed-by | Namespace:/test-1-24-custom created logger.go:42: 13:21:07 | 1-083_validate_apps_in_any_namespace/1-create-ns-managed-by | test step completed 1-create-ns-managed-by logger.go:42: 13:21:07 | 1-083_validate_apps_in_any_namespace/2-add-source-ns | starting test step 2-add-source-ns I1119 13:21:08.077609 3552 request.go:682] Waited for 1.027730345s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/discovery.k8s.io/v1?timeout=32s logger.go:42: 13:21:10 | 1-083_validate_apps_in_any_namespace/2-add-source-ns | ArgoCD:openshift-gitops/openshift-gitops updated logger.go:42: 13:21:10 | 1-083_validate_apps_in_any_namespace/2-add-source-ns | test step completed 2-add-source-ns logger.go:42: 13:21:10 | 1-083_validate_apps_in_any_namespace/3-delete | starting test step 3-delete I1119 13:21:18.088735 3552 request.go:682] Waited for 1.978887617s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/k8s.cni.cncf.io/v1?timeout=32s logger.go:42: 13:21:19 | 1-083_validate_apps_in_any_namespace/3-delete | test step completed 3-delete logger.go:42: 13:21:19 | 1-083_validate_apps_in_any_namespace/4-change-source-namespaces | starting test step 4-change-source-namespaces logger.go:42: 13:21:22 | 1-083_validate_apps_in_any_namespace/4-change-source-namespaces | ArgoCD:openshift-gitops/openshift-gitops updated logger.go:42: 13:21:23 | 1-083_validate_apps_in_any_namespace/4-change-source-namespaces | test step completed 4-change-source-namespaces logger.go:42: 13:21:23 | 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: 13:21:26 | 1-083_validate_apps_in_any_namespace/5-create-ns-and-add-source-ns | Namespace:/test-1-24-custom created logger.go:42: 13:21:26 | 1-083_validate_apps_in_any_namespace/5-create-ns-and-add-source-ns | ArgoCD:openshift-gitops/openshift-gitops updated logger.go:42: 13:21:35 | 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: 13:21:35 | 1-083_validate_apps_in_any_namespace/6-add-managed-by | starting test step 6-add-managed-by I1119 13:21:36.128214 3552 request.go:682] Waited for 1.030163259s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/project.openshift.io/v1?timeout=32s logger.go:42: 13:21:38 | 1-083_validate_apps_in_any_namespace/6-add-managed-by | Namespace:/test-1-24-custom updated logger.go:42: 13:21:39 | 1-083_validate_apps_in_any_namespace/6-add-managed-by | test step completed 6-add-managed-by logger.go:42: 13:21:39 | 1-083_validate_apps_in_any_namespace/7-remove-managed-by | starting test step 7-remove-managed-by logger.go:42: 13:21:39 | 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: 13:21:39 | 1-083_validate_apps_in_any_namespace/7-remove-managed-by | namespace/test-1-24-custom unlabeled logger.go:42: 13:21:39 | 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: 13:21:40 | 1-083_validate_apps_in_any_namespace/7-remove-managed-by | deployment.apps/openshift-gitops-server restarted logger.go:42: 13:21:40 | 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: 13:21:40 | 1-083_validate_apps_in_any_namespace/7-remove-managed-by | statefulset.apps/openshift-gitops-application-controller restarted logger.go:42: 13:21:40 | 1-083_validate_apps_in_any_namespace/7-remove-managed-by | running command: [sh -c sleep 5] I1119 13:21:46.661814 3552 request.go:682] Waited for 1.029425076s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/build.openshift.io/v1?timeout=32s logger.go:42: 13:22:11 | 1-083_validate_apps_in_any_namespace/7-remove-managed-by | test step completed 7-remove-managed-by logger.go:42: 13:22:11 | 1-083_validate_apps_in_any_namespace/8-change-source-namespaces | starting test step 8-change-source-namespaces I1119 13:22:12.585543 3552 request.go:682] Waited for 1.025601639s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/policy/v1?timeout=32s logger.go:42: 13:22:14 | 1-083_validate_apps_in_any_namespace/8-change-source-namespaces | ArgoCD:openshift-gitops/openshift-gitops updated logger.go:42: 13:22:15 | 1-083_validate_apps_in_any_namespace/8-change-source-namespaces | test step completed 8-change-source-namespaces logger.go:42: 13:22:15 | 1-083_validate_apps_in_any_namespace/99-delete | starting test step 99-delete I1119 13:22:22.760804 3552 request.go:682] Waited for 1.02973111s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/rbac.authorization.k8s.io/v1?timeout=32s logger.go:42: 13:22:24 | 1-083_validate_apps_in_any_namespace/99-delete | test step completed 99-delete logger.go:42: 13:22:24 | 1-083_validate_apps_in_any_namespace | skipping kubernetes event logging logger.go:42: 13:22:24 | 1-083_validate_apps_in_any_namespace | Deleting namespace: kuttl-test-set-worm === CONT kuttl/harness/1-078_validate_default_argocd_consoleLink logger.go:42: 13:22:30 | 1-078_validate_default_argocd_consoleLink | Creating namespace: kuttl-test-more-toucan logger.go:42: 13:22:30 | 1-078_validate_default_argocd_consoleLink/1- | starting test step 1- I1119 13:22:32.787339 3552 request.go:682] Waited for 2.123483177s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/snapshot.storage.k8s.io/v1?timeout=32s logger.go:42: 13:22:33 | 1-078_validate_default_argocd_consoleLink/1- | test step completed 1- logger.go:42: 13:22:33 | 1-078_validate_default_argocd_consoleLink/2-add_env | starting test step 2-add_env logger.go:42: 13:22:33 | 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: 13:22:34 | 1-078_validate_default_argocd_consoleLink/2-add_env | subscription.operators.coreos.com/openshift-gitops-operator patched logger.go:42: 13:23:04 | 1-078_validate_default_argocd_consoleLink/2-add_env | test step completed 2-add_env logger.go:42: 13:23:04 | 1-078_validate_default_argocd_consoleLink/3-disable-env | starting test step 3-disable-env logger.go:42: 13:23:04 | 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: 13:23:04 | 1-078_validate_default_argocd_consoleLink/3-disable-env | subscription.operators.coreos.com/openshift-gitops-operator patched I1119 13:23:05.732684 3552 request.go:682] Waited for 1.030051209s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/apps.openshift.io/v1?timeout=32s logger.go:42: 13:23:35 | 1-078_validate_default_argocd_consoleLink/3-disable-env | test step completed 3-disable-env logger.go:42: 13:23:35 | 1-078_validate_default_argocd_consoleLink/4-empty-valued-env | starting test step 4-empty-valued-env logger.go:42: 13:23:35 | 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: 13:23:36 | 1-078_validate_default_argocd_consoleLink/4-empty-valued-env | subscription.operators.coreos.com/openshift-gitops-operator patched I1119 13:23:37.118826 3552 request.go:682] Waited for 1.02982368s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/autoscaling/v2beta2?timeout=32s logger.go:42: 13:23:39 | 1-078_validate_default_argocd_consoleLink/4-empty-valued-env | test step completed 4-empty-valued-env logger.go:42: 13:23:39 | 1-078_validate_default_argocd_consoleLink/5-remove-env | starting test step 5-remove-env logger.go:42: 13:23:39 | 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: 13:23:39 | 1-078_validate_default_argocd_consoleLink/5-remove-env | subscription.operators.coreos.com/openshift-gitops-operator patched logger.go:42: 13:23:42 | 1-078_validate_default_argocd_consoleLink/5-remove-env | test step completed 5-remove-env logger.go:42: 13:23:42 | 1-078_validate_default_argocd_consoleLink | skipping kubernetes event logging logger.go:42: 13:23:42 | 1-078_validate_default_argocd_consoleLink | Deleting namespace: kuttl-test-more-toucan === CONT kuttl/harness/1-056_validate_managed-by logger.go:42: 13:23:48 | 1-056_validate_managed-by | Creating namespace: kuttl-test-evident-unicorn logger.go:42: 13:23:48 | 1-056_validate_managed-by/1-install | starting test step 1-install I1119 13:23:49.551194 3552 request.go:682] Waited for 1.027942969s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/argoproj.io/v1alpha1?timeout=32s logger.go:42: 13:23:51 | 1-056_validate_managed-by/1-install | Namespace:/test-1-56-target created logger.go:42: 13:23:51 | 1-056_validate_managed-by/1-install | Namespace:/test-1-56-custom created logger.go:42: 13:23:51 | 1-056_validate_managed-by/1-install | ArgoCD:test-1-56-target/example-argocd created logger.go:42: 13:24:38 | 1-056_validate_managed-by/1-install | test step completed 1-install logger.go:42: 13:24:38 | 1-056_validate_managed-by/2-delete | starting test step 2-delete I1119 13:24:39.945913 3552 request.go:682] Waited for 1.030497657s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/config.openshift.io/v1?timeout=32s logger.go:42: 13:24:41 | 1-056_validate_managed-by/2-delete | test step completed 2-delete logger.go:42: 13:24:41 | 1-056_validate_managed-by/3-check | starting test step 3-check logger.go:42: 13:24:41 | 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: 13:24:42 | 1-056_validate_managed-by/3-check | label value: test-1-56-target logger.go:42: 13:24:42 | 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: 13:24:45 | 1-056_validate_managed-by/3-check | test step completed 3-check logger.go:42: 13:24:45 | 1-056_validate_managed-by/4-add_env | starting test step 4-add_env logger.go:42: 13:24:45 | 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: 13:24:45 | 1-056_validate_managed-by/4-add_env | subscription.operators.coreos.com/openshift-gitops-operator patched logger.go:42: 13:24:48 | 1-056_validate_managed-by/4-add_env | test step completed 4-add_env logger.go:42: 13:24:48 | 1-056_validate_managed-by/5-check | starting test step 5-check logger.go:42: 13:24:48 | 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: 13:24:48 | 1-056_validate_managed-by/5-check | label value: test-1-56-target logger.go:42: 13:24:48 | 1-056_validate_managed-by/5-check | managed-by label exists, set REMOVE_MANAGED_BY_LABEL_ON_ARGOCD_DELETION variable to delete the label I1119 13:24:49.974316 3552 request.go:682] Waited for 1.029493362s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/coordination.k8s.io/v1?timeout=32s logger.go:42: 13:24:51 | 1-056_validate_managed-by/5-check | test step completed 5-check logger.go:42: 13:24:51 | 1-056_validate_managed-by/6-install | starting test step 6-install logger.go:42: 13:24:54 | 1-056_validate_managed-by/6-install | Namespace:/test-1-56-target-2 created logger.go:42: 13:24:55 | 1-056_validate_managed-by/6-install | Namespace:/test-1-56-custom-2 created logger.go:42: 13:24:55 | 1-056_validate_managed-by/6-install | ArgoCD:test-1-56-target-2/example-argocd-2 created logger.go:42: 13:25:27 | 1-056_validate_managed-by/6-install | test step completed 6-install logger.go:42: 13:25:27 | 1-056_validate_managed-by/7-delete | starting test step 7-delete I1119 13:25:28.917051 3552 request.go:682] Waited for 1.030069099s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/imageregistry.operator.openshift.io/v1?timeout=32s logger.go:42: 13:25:30 | 1-056_validate_managed-by/7-delete | test step completed 7-delete logger.go:42: 13:25:30 | 1-056_validate_managed-by/8-remove_env | starting test step 8-remove_env logger.go:42: 13:25:30 | 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: 13:25:31 | 1-056_validate_managed-by/8-remove_env | subscription.operators.coreos.com/openshift-gitops-operator patched logger.go:42: 13:25:34 | 1-056_validate_managed-by/8-remove_env | test step completed 8-remove_env logger.go:42: 13:25:34 | 1-056_validate_managed-by/99-delete | starting test step 99-delete I1119 13:25:42.400378 3552 request.go:682] Waited for 1.029147453s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/migration.k8s.io/v1alpha1?timeout=32s logger.go:42: 13:25:44 | 1-056_validate_managed-by/99-delete | test step completed 99-delete logger.go:42: 13:25:44 | 1-056_validate_managed-by | skipping kubernetes event logging logger.go:42: 13:25:44 | 1-056_validate_managed-by | Deleting namespace: kuttl-test-evident-unicorn === CONT kuttl/harness/1-050_validate_sso logger.go:42: 13:25:50 | 1-050_validate_sso | Creating namespace: kuttl-test-crucial-mudfish logger.go:42: 13:25:50 | 1-050_validate_sso/1-install | starting test step 1-install I1119 13:25:52.407744 3552 request.go:682] Waited for 2.078142051s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/operators.coreos.com/v2?timeout=32s logger.go:42: 13:25:53 | 1-050_validate_sso/1-install | ArgoCD:kuttl-test-crucial-mudfish/argocd created logger.go:42: 13:26:31 | 1-050_validate_sso/1-install | test step completed 1-install logger.go:42: 13:26:31 | 1-050_validate_sso/2-remove-spec-sso | starting test step 2-remove-spec-sso logger.go:42: 13:26:31 | 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: 13:26:31 | 1-050_validate_sso/2-remove-spec-sso | argocd.argoproj.io/argocd patched logger.go:42: 13:26:31 | 1-050_validate_sso/2-remove-spec-sso | running command: [sh -c sleep 10] I1119 13:26:42.597923 3552 request.go:682] Waited for 1.026457698s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/whereabouts.cni.cncf.io/v1alpha1?timeout=32s logger.go:42: 13:26:44 | 1-050_validate_sso/2-remove-spec-sso | test step completed 2-remove-spec-sso logger.go:42: 13:26:44 | 1-050_validate_sso/7-provider-keycloak-dex-spec | starting test step 7-provider-keycloak-dex-spec logger.go:42: 13:26:47 | 1-050_validate_sso/7-provider-keycloak-dex-spec | ArgoCD:kuttl-test-crucial-mudfish/argocd updated logger.go:42: 13:26:47 | 1-050_validate_sso/7-provider-keycloak-dex-spec | test step completed 7-provider-keycloak-dex-spec logger.go:42: 13:26:47 | 1-050_validate_sso/8-remove-spec-dex | starting test step 8-remove-spec-dex logger.go:42: 13:26:47 | 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: 13:26:48 | 1-050_validate_sso/8-remove-spec-dex | argocd.argoproj.io/argocd patched logger.go:42: 13:29:02 | 1-050_validate_sso/8-remove-spec-dex | test step completed 8-remove-spec-dex logger.go:42: 13:29:02 | 1-050_validate_sso | skipping kubernetes event logging logger.go:42: 13:29:02 | 1-050_validate_sso | Deleting namespace: kuttl-test-crucial-mudfish === CONT kuttl/harness/1-071_validate_node_selectors logger.go:42: 13:29:08 | 1-071_validate_node_selectors | Creating namespace: kuttl-test-neutral-vulture logger.go:42: 13:29:08 | 1-071_validate_node_selectors/1- | starting test step 1- I1119 13:29:09.288103 3552 request.go:682] Waited for 1.026494416s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/console.openshift.io/v1alpha1?timeout=32s logger.go:42: 13:29:11 | 1-071_validate_node_selectors/1- | test step completed 1- logger.go:42: 13:29:11 | 1-071_validate_node_selectors/2-custom-node-selector | starting test step 2-custom-node-selector logger.go:42: 13:29:11 | 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: 13:29:11 | 1-071_validate_node_selectors/2-custom-node-selector | gitopsservice.pipelines.openshift.io/cluster patched logger.go:42: 13:29:14 | 1-071_validate_node_selectors/2-custom-node-selector | test step completed 2-custom-node-selector logger.go:42: 13:29:14 | 1-071_validate_node_selectors/3-patch-run-on-infra | starting test step 3-patch-run-on-infra logger.go:42: 13:29:14 | 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: 13:29:15 | 1-071_validate_node_selectors/3-patch-run-on-infra | gitopsservice.pipelines.openshift.io/cluster patched logger.go:42: 13:29:18 | 1-071_validate_node_selectors/3-patch-run-on-infra | test step completed 3-patch-run-on-infra logger.go:42: 13:29:18 | 1-071_validate_node_selectors/4-change-back | starting test step 4-change-back logger.go:42: 13:29:18 | 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: 13:29:18 | 1-071_validate_node_selectors/4-change-back | gitopsservice.pipelines.openshift.io/cluster patched logger.go:42: 13:29:19 | 1-071_validate_node_selectors/4-change-back | statefulset.apps/openshift-gitops-application-controller patched I1119 13:29:20.352135 3552 request.go:682] Waited for 1.029893665s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/authorization.openshift.io/v1?timeout=32s logger.go:42: 13:29:22 | 1-071_validate_node_selectors/4-change-back | test step completed 4-change-back logger.go:42: 13:29:22 | 1-071_validate_node_selectors | skipping kubernetes event logging logger.go:42: 13:29:22 | 1-071_validate_node_selectors | Deleting namespace: kuttl-test-neutral-vulture === CONT kuttl/harness/1-027_validate_operand_from_git logger.go:42: 13:29:28 | 1-027_validate_operand_from_git | Creating namespace: kuttl-test-clear-starfish logger.go:42: 13:29:28 | 1-027_validate_operand_from_git/1- | starting test step 1- I1119 13:29:30.396469 3552 request.go:682] Waited for 2.229153543s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/apiextensions.k8s.io/v1?timeout=32s logger.go:42: 13:29:31 | 1-027_validate_operand_from_git/1- | test step completed 1- logger.go:42: 13:29:31 | 1-027_validate_operand_from_git/2-install | starting test step 2-install logger.go:42: 13:29:34 | 1-027_validate_operand_from_git/2-install | Application:openshift-gitops/1-27-argocd created logger.go:42: 13:30:06 | 1-027_validate_operand_from_git/2-install | test step completed 2-install logger.go:42: 13:30:06 | 1-027_validate_operand_from_git/3-create-app | starting test step 3-create-app I1119 13:30:07.968047 3552 request.go:682] Waited for 1.02410693s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/project.openshift.io/v1?timeout=32s logger.go:42: 13:30:09 | 1-027_validate_operand_from_git/3-create-app | Application:test-1-27-custom/guestbook created logger.go:42: 13:30:17 | 1-027_validate_operand_from_git/3-create-app | test step completed 3-create-app logger.go:42: 13:30:17 | 1-027_validate_operand_from_git/99-delete | starting test step 99-delete I1119 13:30:31.234074 3552 request.go:682] Waited for 1.02850669s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/operators.coreos.com/v2?timeout=32s logger.go:42: 13:30:33 | 1-027_validate_operand_from_git/99-delete | test step completed 99-delete logger.go:42: 13:30:33 | 1-027_validate_operand_from_git | skipping kubernetes event logging logger.go:42: 13:30:33 | 1-027_validate_operand_from_git | Deleting namespace: kuttl-test-clear-starfish === CONT kuttl/harness/1-041_validate_argocd_sync_alert logger.go:42: 13:30:39 | 1-041_validate_argocd_sync_alert | Creating namespace: kuttl-test-devoted-toucan logger.go:42: 13:30:39 | 1-041_validate_argocd_sync_alert/1- | starting test step 1- I1119 13:30:41.238472 3552 request.go:682] Waited for 2.129267531s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/performance.openshift.io/v2?timeout=32s logger.go:42: 13:30:42 | 1-041_validate_argocd_sync_alert/1- | test step completed 1- logger.go:42: 13:30:42 | 1-041_validate_argocd_sync_alert | skipping kubernetes event logging logger.go:42: 13:30:42 | 1-041_validate_argocd_sync_alert | Deleting namespace: kuttl-test-devoted-toucan === CONT kuttl/harness/1-040_validate_quoted_RBAC_group_names logger.go:42: 13:30:47 | 1-040_validate_quoted_RBAC_group_names | Creating namespace: kuttl-test-sensible-anchovy logger.go:42: 13:30:48 | 1-040_validate_quoted_RBAC_group_names/1-login_argocd_api_server | starting test step 1-login_argocd_api_server logger.go:42: 13:30:48 | 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 ] I1119 13:30:51.241524 3552 request.go:682] Waited for 1.22779674s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/monitoring.coreos.com/v1alpha1?timeout=32s logger.go:42: 13:30:53 | 1-040_validate_quoted_RBAC_group_names/1-login_argocd_api_server | test step completed 1-login_argocd_api_server logger.go:42: 13:30:53 | 1-040_validate_quoted_RBAC_group_names/2-create_role | starting test step 2-create_role logger.go:42: 13:30:53 | 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: 13:30:56 | 1-040_validate_quoted_RBAC_group_names/2-create_role | test step completed 2-create_role logger.go:42: 13:30:56 | 1-040_validate_quoted_RBAC_group_names/3-specify_group_names | starting test step 3-specify_group_names logger.go:42: 13:30:56 | 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: 13:30:56 | 1-040_validate_quoted_RBAC_group_names/3-specify_group_names | Role 'somerole' deleted logger.go:42: 13:30:59 | 1-040_validate_quoted_RBAC_group_names/3-specify_group_names | test step completed 3-specify_group_names logger.go:42: 13:30:59 | 1-040_validate_quoted_RBAC_group_names | skipping kubernetes event logging logger.go:42: 13:30:59 | 1-040_validate_quoted_RBAC_group_names | Deleting namespace: kuttl-test-sensible-anchovy === CONT kuttl/harness/1-037_validate_applicationset_in_any_namespace logger.go:42: 13:31:05 | 1-037_validate_applicationset_in_any_namespace | Creating namespace: kuttl-test-prime-bluebird logger.go:42: 13:31:05 | 1-037_validate_applicationset_in_any_namespace/0-prepare | starting test step 0-prepare I1119 13:31:06.903787 3552 request.go:682] Waited for 1.028108264s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/operators.coreos.com/v1?timeout=32s logger.go:42: 13:31:08 | 1-037_validate_applicationset_in_any_namespace/0-prepare | Namespace:/appset-argocd created logger.go:42: 13:31:08 | 1-037_validate_applicationset_in_any_namespace/0-prepare | Namespace:/appset-old-ns created logger.go:42: 13:31:09 | 1-037_validate_applicationset_in_any_namespace/0-prepare | Namespace:/appset-new-ns created logger.go:42: 13:31:09 | 1-037_validate_applicationset_in_any_namespace/0-prepare | test step completed 0-prepare logger.go:42: 13:31:09 | 1-037_validate_applicationset_in_any_namespace/1-argocd | starting test step 1-argocd logger.go:42: 13:31:12 | 1-037_validate_applicationset_in_any_namespace/1-argocd | ArgoCD:appset-argocd/example created logger.go:42: 13:32:14 | 1-037_validate_applicationset_in_any_namespace/1-argocd | test step completed 1-argocd logger.go:42: 13:32:14 | 1-037_validate_applicationset_in_any_namespace/2-enable-appset-in-any-ns | starting test step 2-enable-appset-in-any-ns I1119 13:32:15.250530 3552 request.go:682] Waited for 1.030384424s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/security.istio.io/v1?timeout=32s logger.go:42: 13:32:17 | 1-037_validate_applicationset_in_any_namespace/2-enable-appset-in-any-ns | ArgoCD:appset-argocd/example updated logger.go:42: 13:32:17 | 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: 13:32:17 | 1-037_validate_applicationset_in_any_namespace/3-add-new-appset-ns | starting test step 3-add-new-appset-ns logger.go:42: 13:32:20 | 1-037_validate_applicationset_in_any_namespace/3-add-new-appset-ns | ArgoCD:appset-argocd/example updated logger.go:42: 13:32:20 | 1-037_validate_applicationset_in_any_namespace/3-add-new-appset-ns | test step completed 3-add-new-appset-ns logger.go:42: 13:32:20 | 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: 13:32:23 | 1-037_validate_applicationset_in_any_namespace/4-enable-apps-in-new-ns | ArgoCD:appset-argocd/example updated logger.go:42: 13:32:24 | 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: 13:32:24 | 1-037_validate_applicationset_in_any_namespace/5-enable-apps-in-old-ns | starting test step 5-enable-apps-in-old-ns I1119 13:32:25.895014 3552 request.go:682] Waited for 1.029806264s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/stable.example.com/v1?timeout=32s logger.go:42: 13:32:27 | 1-037_validate_applicationset_in_any_namespace/5-enable-apps-in-old-ns | ArgoCD:appset-argocd/example updated logger.go:42: 13:32:29 | 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: 13:32:29 | 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: 13:32:32 | 1-037_validate_applicationset_in_any_namespace/6-disable-appset-in-new-ns | ArgoCD:appset-argocd/example updated logger.go:42: 13:32:33 | 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: 13:32:33 | 1-037_validate_applicationset_in_any_namespace/7-disable-apps-in-all-ns | starting test step 7-disable-apps-in-all-ns I1119 13:32:35.925631 3552 request.go:682] Waited for 2.478712817s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/operator.openshift.io/v1alpha1?timeout=32s logger.go:42: 13:32:36 | 1-037_validate_applicationset_in_any_namespace/7-disable-apps-in-all-ns | ArgoCD:appset-argocd/example updated logger.go:42: 13:32:37 | 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: 13:32:37 | 1-037_validate_applicationset_in_any_namespace/99-cleanup | starting test step 99-cleanup I1119 13:33:14.216910 3552 request.go:682] Waited for 1.026939741s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/cloud.network.openshift.io/v1?timeout=32s logger.go:42: 13:33:16 | 1-037_validate_applicationset_in_any_namespace/99-cleanup | test step completed 99-cleanup logger.go:42: 13:33:16 | 1-037_validate_applicationset_in_any_namespace | skipping kubernetes event logging logger.go:42: 13:33:16 | 1-037_validate_applicationset_in_any_namespace | Deleting namespace: kuttl-test-prime-bluebird === CONT kuttl/harness/1-036_validate_role_rolebinding_for_source_namespace logger.go:42: 13:33:22 | 1-036_validate_role_rolebinding_for_source_namespace | Creating namespace: kuttl-test-relaxed-bass logger.go:42: 13:33:22 | 1-036_validate_role_rolebinding_for_source_namespace/1-sourcenamespace_without_wildcard | starting test step 1-sourcenamespace_without_wildcard I1119 13:33:24.256805 3552 request.go:682] Waited for 2.129988922s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/performance.openshift.io/v2?timeout=32s logger.go:42: 13:33:25 | 1-036_validate_role_rolebinding_for_source_namespace/1-sourcenamespace_without_wildcard | Namespace:/test created logger.go:42: 13:33:25 | 1-036_validate_role_rolebinding_for_source_namespace/1-sourcenamespace_without_wildcard | ArgoCD:default/example-argocd created logger.go:42: 13:33:26 | 1-036_validate_role_rolebinding_for_source_namespace/1-sourcenamespace_without_wildcard | test step completed 1-sourcenamespace_without_wildcard logger.go:42: 13:33:26 | 1-036_validate_role_rolebinding_for_source_namespace/2-sourceNamespace_with_wildcard_pattern | starting test step 2-sourceNamespace_with_wildcard_pattern logger.go:42: 13:33:29 | 1-036_validate_role_rolebinding_for_source_namespace/2-sourceNamespace_with_wildcard_pattern | Namespace:/test-1 created logger.go:42: 13:33:29 | 1-036_validate_role_rolebinding_for_source_namespace/2-sourceNamespace_with_wildcard_pattern | Namespace:/dev created logger.go:42: 13:33:29 | 1-036_validate_role_rolebinding_for_source_namespace/2-sourceNamespace_with_wildcard_pattern | ArgoCD:default/example-argocd updated logger.go:42: 13:33:30 | 1-036_validate_role_rolebinding_for_source_namespace/2-sourceNamespace_with_wildcard_pattern | test step completed 2-sourceNamespace_with_wildcard_pattern logger.go:42: 13:33:30 | 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: 13:33:33 | 1-036_validate_role_rolebinding_for_source_namespace/3-new_namespace_with_match_pattern | Namespace:/test-2 created logger.go:42: 13:33:34 | 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: 13:33:34 | 1-036_validate_role_rolebinding_for_source_namespace/4-sourceNamespace_with_wildcard | starting test step 4-sourceNamespace_with_wildcard I1119 13:33:35.931771 3552 request.go:682] Waited for 1.029849114s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/rbac.authorization.k8s.io/v1?timeout=32s logger.go:42: 13:33:37 | 1-036_validate_role_rolebinding_for_source_namespace/4-sourceNamespace_with_wildcard | Namespace:/test-3 created logger.go:42: 13:33:37 | 1-036_validate_role_rolebinding_for_source_namespace/4-sourceNamespace_with_wildcard | ArgoCD:default/example-argocd updated logger.go:42: 13:33:42 | 1-036_validate_role_rolebinding_for_source_namespace/4-sourceNamespace_with_wildcard | test step completed 4-sourceNamespace_with_wildcard logger.go:42: 13:33:42 | 1-036_validate_role_rolebinding_for_source_namespace/5-multiple_sourcenamespace | starting test step 5-multiple_sourcenamespace logger.go:42: 13:33:45 | 1-036_validate_role_rolebinding_for_source_namespace/5-multiple_sourcenamespace | Namespace:/test-ns-1 created logger.go:42: 13:33:46 | 1-036_validate_role_rolebinding_for_source_namespace/5-multiple_sourcenamespace | Namespace:/dev-ns-1 created logger.go:42: 13:33:46 | 1-036_validate_role_rolebinding_for_source_namespace/5-multiple_sourcenamespace | Namespace:/other-ns created logger.go:42: 13:33:46 | 1-036_validate_role_rolebinding_for_source_namespace/5-multiple_sourcenamespace | ArgoCD:default/example-argocd updated logger.go:42: 13:33:47 | 1-036_validate_role_rolebinding_for_source_namespace/5-multiple_sourcenamespace | test step completed 5-multiple_sourcenamespace logger.go:42: 13:33:47 | 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 I1119 13:33:48.435869 3552 request.go:682] Waited for 1.029993694s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/tuned.openshift.io/v1?timeout=32s logger.go:42: 13:33:50 | 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: 13:33:51 | 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: 13:33:51 | 1-036_validate_role_rolebinding_for_source_namespace | skipping kubernetes event logging logger.go:42: 13:33:51 | 1-036_validate_role_rolebinding_for_source_namespace | Deleting namespace: kuttl-test-relaxed-bass === CONT kuttl/harness/1-035_validate_argocd_secret_repopulate logger.go:42: 13:33:57 | 1-035_validate_argocd_secret_repopulate | Creating namespace: kuttl-test-rich-bird logger.go:42: 13:33:57 | 1-035_validate_argocd_secret_repopulate/1- | starting test step 1- I1119 13:33:58.878078 3552 request.go:682] Waited for 1.027337239s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/metal3.io/v1alpha1?timeout=32s logger.go:42: 13:34:00 | 1-035_validate_argocd_secret_repopulate/1- | test step completed 1- logger.go:42: 13:34:00 | 1-035_validate_argocd_secret_repopulate/2-remove_secret_data | starting test step 2-remove_secret_data logger.go:42: 13:34: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: 13:34:01 | 1-035_validate_argocd_secret_repopulate/2-remove_secret_data | secret/argocd-secret patched logger.go:42: 13:34:04 | 1-035_validate_argocd_secret_repopulate/2-remove_secret_data | test step completed 2-remove_secret_data logger.go:42: 13:34:04 | 1-035_validate_argocd_secret_repopulate/3-check_secret_repopulate | starting test step 3-check_secret_repopulate logger.go:42: 13:34:04 | 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: 13:34:04 | 1-035_validate_argocd_secret_repopulate/3-check_secret_repopulate | argocd-secret was repopulated logger.go:42: 13:34:07 | 1-035_validate_argocd_secret_repopulate/3-check_secret_repopulate | test step completed 3-check_secret_repopulate logger.go:42: 13:34:07 | 1-035_validate_argocd_secret_repopulate/4-check_controller_pod_status | starting test step 4-check_controller_pod_status logger.go:42: 13:34:07 | 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: 13:34:08 | 1-035_validate_argocd_secret_repopulate/4-check_controller_pod_status | deployment "openshift-gitops-operator-controller-manager" successfully rolled out I1119 13:34:09.124265 3552 request.go:682] Waited for 1.029045236s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/ingress.operator.openshift.io/v1?timeout=32s logger.go:42: 13:34:11 | 1-035_validate_argocd_secret_repopulate/4-check_controller_pod_status | test step completed 4-check_controller_pod_status logger.go:42: 13:34:11 | 1-035_validate_argocd_secret_repopulate/5-argocd_login | starting test step 5-argocd_login logger.go:42: 13:34:11 | 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: 13:34:15 | 1-035_validate_argocd_secret_repopulate/5-argocd_login | test step completed 5-argocd_login logger.go:42: 13:34:15 | 1-035_validate_argocd_secret_repopulate | skipping kubernetes event logging logger.go:42: 13:34:15 | 1-035_validate_argocd_secret_repopulate | Deleting namespace: kuttl-test-rich-bird === CONT kuttl/harness/1-034_validate_custom_roles logger.go:42: 13:34:21 | 1-034_validate_custom_roles | Creating namespace: kuttl-test-innocent-bird logger.go:42: 13:34:21 | 1-034_validate_custom_roles/1-install | starting test step 1-install I1119 13:34:22.912451 3552 request.go:682] Waited for 1.029128687s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/autoscaling.openshift.io/v1?timeout=32s logger.go:42: 13:34:24 | 1-034_validate_custom_roles/1-install | Namespace:/test-1-034-custom created logger.go:42: 13:34:24 | 1-034_validate_custom_roles/1-install | ArgoCD:test-1-034-custom/argocd created logger.go:42: 13:34:25 | 1-034_validate_custom_roles/1-install | Namespace:/custom-role-namespace created logger.go:42: 13:34:25 | 1-034_validate_custom_roles/1-install | ClusterRole:/custom-argocd-role created logger.go:42: 13:34:57 | 1-034_validate_custom_roles/1-install | test step completed 1-install logger.go:42: 13:34:57 | 1-034_validate_custom_roles/2-patch-subscription | starting test step 2-patch-subscription logger.go:42: 13:34:57 | 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: 13:34:57 | 1-034_validate_custom_roles/2-patch-subscription | subscription.operators.coreos.com/openshift-gitops-operator patched logger.go:42: 13:34:57 | 1-034_validate_custom_roles/2-patch-subscription | running command: [sh -c sleep 10] I1119 13:35:08.824616 3552 request.go:682] Waited for 1.02900567s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/telemetry.istio.io/v1alpha1?timeout=32s logger.go:42: 13:35:10 | 1-034_validate_custom_roles/2-patch-subscription | test step completed 2-patch-subscription logger.go:42: 13:35:10 | 1-034_validate_custom_roles/3- | starting test step 3- logger.go:42: 13:35:24 | 1-034_validate_custom_roles/3- | test step completed 3- logger.go:42: 13:35:24 | 1-034_validate_custom_roles/4- | starting test step 4- I1119 13:35:25.538531 3552 request.go:682] Waited for 1.030066294s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/security.internal.openshift.io/v1?timeout=32s logger.go:42: 13:35:27 | 1-034_validate_custom_roles/4- | test step completed 4- logger.go:42: 13:35:27 | 1-034_validate_custom_roles/5-delete | starting test step 5-delete I1119 13:35:35.561375 3552 request.go:682] Waited for 1.980141061s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/quota.openshift.io/v1?timeout=32s logger.go:42: 13:35:36 | 1-034_validate_custom_roles/5-delete | test step completed 5-delete logger.go:42: 13:35:36 | 1-034_validate_custom_roles/6-revert-patch | starting test step 6-revert-patch logger.go:42: 13:35:36 | 1-034_validate_custom_roles/6-revert-patch | running command: [sh -c if ! [ -z $NON_OLM ]; then oc set env deployment openshift-gitops-operator-controller-manager -n openshift-gitops-operator SERVER_CLUSTER_ROLE=null elif ! [ -z $CI ]; then oc patch -n openshift-gitops-operator subscription `subscription=gitops-operator- && oc get subscription --all-namespaces | grep $subscription | head -1 | awk '{print $2}'` --type json --patch='[ { "op": "remove", "path": "/spec/config" } ]' else oc patch subscription/openshift-gitops-operator -n openshift-operators --type json --patch='[ { "op": "remove", "path": "/spec/config" } ]' fi ] logger.go:42: 13:35:36 | 1-034_validate_custom_roles/6-revert-patch | subscription.operators.coreos.com/openshift-gitops-operator patched logger.go:42: 13:35:36 | 1-034_validate_custom_roles/6-revert-patch | running command: [sh -c sleep 10] I1119 13:35:47.995764 3552 request.go:682] Waited for 1.007535635s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/snapshot.storage.k8s.io/v1?timeout=32s logger.go:42: 13:35:49 | 1-034_validate_custom_roles/6-revert-patch | test step completed 6-revert-patch logger.go:42: 13:35:49 | 1-034_validate_custom_roles | skipping kubernetes event logging logger.go:42: 13:35:50 | 1-034_validate_custom_roles | Deleting namespace: kuttl-test-innocent-bird === CONT kuttl/harness/1-031_validate_toolchain logger.go:42: 13:35:55 | 1-031_validate_toolchain | Creating namespace: kuttl-test-assuring-eagle logger.go:42: 13:35:55 | 1-031_validate_toolchain/1-check | starting test step 1-check logger.go:42: 13:35:55 | 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.2' expected_helmVersion='v3.15.2' expected_argocdVersion='v2.12.7' expected_dexVersion='v2.39.1-167-gde7eb6d0' 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: 13:36:01 | 1-031_validate_toolchain/1-check | Kustomize version mismatch. Should be v5.4.2, is v5.2.1 I1119 13:36:02.076276 3552 request.go:682] Waited for 1.029275626s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/coordination.k8s.io/v1?timeout=32s case.go:364: failed in step 1-check case.go:366: exit status 1 logger.go:42: 13:36:04 | 1-031_validate_toolchain | skipping kubernetes event logging logger.go:42: 13:36:04 | 1-031_validate_toolchain | Deleting namespace: kuttl-test-assuring-eagle === CONT kuttl/harness/1-028_validate_run_on_infra logger.go:42: 13:36:09 | 1-028_validate_run_on_infra | Ignoring errors.yaml as it does not match file name regexp: ^(\d+)-(?:[^\.]+)(?:\.yaml)?$ logger.go:42: 13:36:09 | 1-028_validate_run_on_infra | Creating namespace: kuttl-test-absolute-amoeba logger.go:42: 13:36:09 | 1-028_validate_run_on_infra/1-install | starting test step 1-install logger.go:42: 13:36:09 | 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: 13:36:10 | 1-028_validate_run_on_infra/1-install | gitopsservice.pipelines.openshift.io/cluster patched I1119 13:36:12.104963 3552 request.go:682] Waited for 1.929971367s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/operator.openshift.io/v1alpha1?timeout=32s logger.go:42: 13:36:13 | 1-028_validate_run_on_infra/1-install | test step completed 1-install logger.go:42: 13:36:13 | 1-028_validate_run_on_infra/2-custom-argocd | starting test step 2-custom-argocd logger.go:42: 13:36:16 | 1-028_validate_run_on_infra/2-custom-argocd | ArgoCD:kuttl-test-absolute-amoeba/argocd created logger.go:42: 13:36:47 | 1-028_validate_run_on_infra/2-custom-argocd | test step completed 2-custom-argocd logger.go:42: 13:36:47 | 1-028_validate_run_on_infra/3-change-back | starting test step 3-change-back logger.go:42: 13:36:47 | 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: 13:36:48 | 1-028_validate_run_on_infra/3-change-back | gitopsservice.pipelines.openshift.io/cluster patched logger.go:42: 13:36:48 | 1-028_validate_run_on_infra/3-change-back | statefulset.apps/openshift-gitops-application-controller patched I1119 13:36:49.897595 3552 request.go:682] Waited for 1.029488172s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/machine.openshift.io/v1?timeout=32s logger.go:42: 13:36:51 | 1-028_validate_run_on_infra/3-change-back | test step completed 3-change-back logger.go:42: 13:36:51 | 1-028_validate_run_on_infra/4-check | starting test step 4-check logger.go:42: 13:36:54 | 1-028_validate_run_on_infra/4-check | test step completed 4-check logger.go:42: 13:36:54 | 1-028_validate_run_on_infra | skipping kubernetes event logging logger.go:42: 13:36:54 | 1-028_validate_run_on_infra | Deleting namespace: kuttl-test-absolute-amoeba === CONT kuttl/harness/1-006_validate_machine_config logger.go:42: 13:37:00 | 1-006_validate_machine_config | Creating namespace: kuttl-test-happy-cougar logger.go:42: 13:37:00 | 1-006_validate_machine_config/1-install | starting test step 1-install I1119 13:37:01.876523 3552 request.go:682] Waited for 1.030164793s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/operators.coreos.com/v1?timeout=32s logger.go:42: 13:37:03 | 1-006_validate_machine_config/1-install | ArgoCD:openshift-gitops/openshift-gitops updated logger.go:42: 13:37:03 | 1-006_validate_machine_config/1-install | Application:openshift-gitops/validate-machine-config created logger.go:42: 13:37:15 | 1-006_validate_machine_config/1-install | test step completed 1-install logger.go:42: 13:37:15 | 1-006_validate_machine_config/2- | starting test step 2- I1119 13:37:16.097606 3552 request.go:682] Waited for 1.028984096s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/tuned.openshift.io/v1?timeout=32s logger.go:42: 13:37:18 | 1-006_validate_machine_config/2- | test step completed 2- logger.go:42: 13:37:18 | 1-006_validate_machine_config/3-scale-down-repo-server | starting test step 3-scale-down-repo-server logger.go:42: 13:37:21 | 1-006_validate_machine_config/3-scale-down-repo-server | ArgoCD:openshift-gitops/openshift-gitops updated logger.go:42: 13:37:22 | 1-006_validate_machine_config/3-scale-down-repo-server | test step completed 3-scale-down-repo-server logger.go:42: 13:37:22 | 1-006_validate_machine_config/99-delete | starting test step 99-delete logger.go:42: 13:37:25 | 1-006_validate_machine_config/99-delete | test step completed 99-delete logger.go:42: 13:37:25 | 1-006_validate_machine_config | skipping kubernetes event logging logger.go:42: 13:37:25 | 1-006_validate_machine_config | Deleting namespace: kuttl-test-happy-cougar === CONT kuttl/harness/1-026-validate_backend_service_permissions logger.go:42: 13:37:30 | 1-026-validate_backend_service_permissions | Creating namespace: kuttl-test-exciting-muskox logger.go:42: 13:37:30 | 1-026-validate_backend_service_permissions/1-check-backend-service | starting test step 1-check-backend-service I1119 13:37:32.046791 3552 request.go:682] Waited for 1.027286612s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/networking.istio.io/v1alpha3?timeout=32s logger.go:42: 13:37:34 | 1-026-validate_backend_service_permissions/1-check-backend-service | test step completed 1-check-backend-service logger.go:42: 13:37:34 | 1-026-validate_backend_service_permissions | skipping kubernetes event logging logger.go:42: 13:37:34 | 1-026-validate_backend_service_permissions | Deleting namespace: kuttl-test-exciting-muskox === CONT kuttl/harness/1-020_validate_redis_ha_nonha logger.go:42: 13:37:39 | 1-020_validate_redis_ha_nonha | Creating namespace: kuttl-test-viable-feline logger.go:42: 13:37:39 | 1-020_validate_redis_ha_nonha/1- | starting test step 1- I1119 13:37:42.060713 3552 request.go:682] Waited for 2.174575882s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/oauth.openshift.io/v1?timeout=32s logger.go:42: 13:37:42 | 1-020_validate_redis_ha_nonha/1- | test step completed 1- logger.go:42: 13:37:42 | 1-020_validate_redis_ha_nonha/2-enable-ha | starting test step 2-enable-ha logger.go:42: 13:37:46 | 1-020_validate_redis_ha_nonha/2-enable-ha | ArgoCD:openshift-gitops/openshift-gitops updated logger.go:42: 13:46:48 | 1-020_validate_redis_ha_nonha/2-enable-ha | test step completed 2-enable-ha logger.go:42: 13:46:48 | 1-020_validate_redis_ha_nonha/3-update-ha-resources | starting test step 3-update-ha-resources I1119 13:46:49.538673 3552 request.go:682] Waited for 1.02384244s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/pipelines.openshift.io/v1alpha1?timeout=32s logger.go:42: 13:46:51 | 1-020_validate_redis_ha_nonha/3-update-ha-resources | ArgoCD:openshift-gitops/openshift-gitops updated logger.go:42: 13:46:52 | 1-020_validate_redis_ha_nonha/3-update-ha-resources | test step completed 3-update-ha-resources logger.go:42: 13:46:52 | 1-020_validate_redis_ha_nonha/4-disable-ha | starting test step 4-disable-ha logger.go:42: 13:46:55 | 1-020_validate_redis_ha_nonha/4-disable-ha | ArgoCD:openshift-gitops/openshift-gitops updated logger.go:42: 13:47:08 | 1-020_validate_redis_ha_nonha/4-disable-ha | test step completed 4-disable-ha logger.go:42: 13:47:08 | 1-020_validate_redis_ha_nonha | skipping kubernetes event logging logger.go:42: 13:47:08 | 1-020_validate_redis_ha_nonha | Deleting namespace: kuttl-test-viable-feline === CONT kuttl/harness/1-018_validate_disable_default_instance logger.go:42: 13:47:14 | 1-018_validate_disable_default_instance | Ignoring errors.yaml as it does not match file name regexp: ^(\d+)-(?:[^\.]+)(?:\.yaml)?$ logger.go:42: 13:47:14 | 1-018_validate_disable_default_instance | Creating namespace: kuttl-test-set-jawfish logger.go:42: 13:47:14 | 1-018_validate_disable_default_instance/1- | starting test step 1- I1119 13:47:15.642281 3552 request.go:682] Waited for 1.027507486s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/pipelines.openshift.io/v1alpha1?timeout=32s logger.go:42: 13:47:17 | 1-018_validate_disable_default_instance/1- | test step completed 1- logger.go:42: 13:47:17 | 1-018_validate_disable_default_instance/2-patch-subscription | starting test step 2-patch-subscription logger.go:42: 13:47:17 | 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: 13:47:17 | 1-018_validate_disable_default_instance/2-patch-subscription | subscription.operators.coreos.com/openshift-gitops-operator patched logger.go:42: 13:47:17 | 1-018_validate_disable_default_instance/2-patch-subscription | running command: [sh -c sleep 20] I1119 13:47:39.042460 3552 request.go:682] Waited for 1.026645241s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/cluster.open-cluster-management.io/v1alpha1?timeout=32s logger.go:42: 13:47:41 | 1-018_validate_disable_default_instance/2-patch-subscription | test step completed 2-patch-subscription logger.go:42: 13:47:41 | 1-018_validate_disable_default_instance/3-check | starting test step 3-check logger.go:42: 13:47:46 | 1-018_validate_disable_default_instance/3-check | test step completed 3-check logger.go:42: 13:47:46 | 1-018_validate_disable_default_instance/4-patch-subscription | starting test step 4-patch-subscription logger.go:42: 13:47:46 | 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: 13:47:46 | 1-018_validate_disable_default_instance/4-patch-subscription | subscription.operators.coreos.com/openshift-gitops-operator patched I1119 13:47:49.057698 3552 request.go:682] Waited for 2.528677621s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/build.openshift.io/v1?timeout=32s logger.go:42: 13:48:47 | 1-018_validate_disable_default_instance/4-patch-subscription | test step completed 4-patch-subscription logger.go:42: 13:48:47 | 1-018_validate_disable_default_instance | skipping kubernetes event logging logger.go:42: 13:48:47 | 1-018_validate_disable_default_instance | Deleting namespace: kuttl-test-set-jawfish === CONT kuttl/harness/1-010_validate-ootb-manage-other-namespace logger.go:42: 13:48:52 | 1-010_validate-ootb-manage-other-namespace | Ignoring README.md as it does not match file name regexp: ^(\d+)-(?:[^\.]+)(?:\.yaml)?$ logger.go:42: 13:48:52 | 1-010_validate-ootb-manage-other-namespace | Ignoring errors.yaml as it does not match file name regexp: ^(\d+)-(?:[^\.]+)(?:\.yaml)?$ logger.go:42: 13:48:52 | 1-010_validate-ootb-manage-other-namespace | Creating namespace: kuttl-test-natural-thrush logger.go:42: 13:48:53 | 1-010_validate-ootb-manage-other-namespace/1-install | starting test step 1-install I1119 13:48:54.065997 3552 request.go:682] Waited for 1.029553766s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/performance.openshift.io/v1?timeout=32s logger.go:42: 13:48:56 | 1-010_validate-ootb-manage-other-namespace/1-install | Namespace:/test-1-10-custom created logger.go:42: 13:48:56 | 1-010_validate-ootb-manage-other-namespace/1-install | test step completed 1-install logger.go:42: 13:48:56 | 1-010_validate-ootb-manage-other-namespace/2- | starting test step 2- logger.go:42: 13:48:59 | 1-010_validate-ootb-manage-other-namespace/2- | test step completed 2- logger.go:42: 13:48:59 | 1-010_validate-ootb-manage-other-namespace/3-create-application | starting test step 3-create-application logger.go:42: 13:49:02 | 1-010_validate-ootb-manage-other-namespace/3-create-application | Application:openshift-gitops/test-1-10-custom created logger.go:42: 13:49:10 | 1-010_validate-ootb-manage-other-namespace/3-create-application | test step completed 3-create-application logger.go:42: 13:49:10 | 1-010_validate-ootb-manage-other-namespace/4-unlabel-namespace | starting test step 4-unlabel-namespace logger.go:42: 13:49:10 | 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: 13:49:10 | 1-010_validate-ootb-manage-other-namespace/4-unlabel-namespace | namespace/test-1-10-custom unlabeled logger.go:42: 13:49:10 | 1-010_validate-ootb-manage-other-namespace/4-unlabel-namespace | running command: [sh -c sleep 5] I1119 13:49:16.785990 3552 request.go:682] Waited for 1.029765265s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/user.openshift.io/v1?timeout=32s logger.go:42: 13:49:18 | 1-010_validate-ootb-manage-other-namespace/4-unlabel-namespace | test step completed 4-unlabel-namespace logger.go:42: 13:49:18 | 1-010_validate-ootb-manage-other-namespace/5-check-rbac | starting test step 5-check-rbac logger.go:42: 13:49:21 | 1-010_validate-ootb-manage-other-namespace/5-check-rbac | test step completed 5-check-rbac logger.go:42: 13:49:21 | 1-010_validate-ootb-manage-other-namespace/99-delete | starting test step 99-delete I1119 13:49:34.355414 3552 request.go:682] Waited for 1.029746169s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/ingress.operator.openshift.io/v1?timeout=32s logger.go:42: 13:49:36 | 1-010_validate-ootb-manage-other-namespace/99-delete | test step completed 99-delete logger.go:42: 13:49:36 | 1-010_validate-ootb-manage-other-namespace | skipping kubernetes event logging logger.go:42: 13:49:36 | 1-010_validate-ootb-manage-other-namespace | Deleting namespace: kuttl-test-natural-thrush === CONT kuttl/harness/1-004_validate_argocd_installation logger.go:42: 13:49:42 | 1-004_validate_argocd_installation | Creating namespace: kuttl-test-relative-flamingo logger.go:42: 13:49:42 | 1-004_validate_argocd_installation/1-check-prereqs | starting test step 1-check-prereqs I1119 13:49:44.395606 3552 request.go:682] Waited for 2.080487741s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/machine.openshift.io/v1?timeout=32s logger.go:42: 13:49:45 | 1-004_validate_argocd_installation/1-check-prereqs | test step completed 1-check-prereqs logger.go:42: 13:49:45 | 1-004_validate_argocd_installation/2-change-operand | starting test step 2-change-operand logger.go:42: 13:49:48 | 1-004_validate_argocd_installation/2-change-operand | ArgoCD:openshift-gitops/openshift-gitops updated logger.go:42: 13:49:48 | 1-004_validate_argocd_installation/2-change-operand | test step completed 2-change-operand logger.go:42: 13:49:48 | 1-004_validate_argocd_installation/3-wait | starting test step 3-wait logger.go:42: 13:49:48 | 1-004_validate_argocd_installation/3-wait | running command: [sh -c sleep 5] I1119 13:49:54.440166 3552 request.go:682] Waited for 1.029143909s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/ingress.operator.openshift.io/v1?timeout=32s logger.go:42: 13:49:56 | 1-004_validate_argocd_installation/3-wait | test step completed 3-wait logger.go:42: 13:49:56 | 1-004_validate_argocd_installation/4- | starting test step 4- logger.go:42: 13:50:00 | 1-004_validate_argocd_installation/4- | test step completed 4- logger.go:42: 13:50:00 | 1-004_validate_argocd_installation | skipping kubernetes event logging logger.go:42: 13:50:00 | 1-004_validate_argocd_installation | Deleting namespace: kuttl-test-relative-flamingo === CONT kuttl/harness/1-005_validate_metrics logger.go:42: 13:50:06 | 1-005_validate_metrics | Creating namespace: kuttl-test-splendid-shepherd logger.go:42: 13:50:06 | 1-005_validate_metrics/1- | starting test step 1- I1119 13:50:07.349785 3552 request.go:682] Waited for 1.02867642s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/template.openshift.io/v1?timeout=32s logger.go:42: 13:50:09 | 1-005_validate_metrics/1- | test step completed 1- logger.go:42: 13:50:09 | 1-005_validate_metrics | skipping kubernetes event logging logger.go:42: 13:50:09 | 1-005_validate_metrics | Deleting namespace: kuttl-test-splendid-shepherd === CONT kuttl/harness/1-064_validate_tcp_reset_error logger.go:42: 13:50:15 | 1-064_validate_tcp_reset_error | Creating namespace: kuttl-test-smart-boar logger.go:42: 13:50:15 | 1-064_validate_tcp_reset_error/1- | starting test step 1- I1119 13:50:17.375789 3552 request.go:682] Waited for 2.227146722s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/template.openshift.io/v1?timeout=32s logger.go:42: 13:50:18 | 1-064_validate_tcp_reset_error/1- | test step completed 1- logger.go:42: 13:50:18 | 1-064_validate_tcp_reset_error/2-install | starting test step 2-install logger.go:42: 13:50:21 | 1-064_validate_tcp_reset_error/2-install | Application:openshift-gitops/1-27-argocd created logger.go:42: 13:50:53 | 1-064_validate_tcp_reset_error/2-install | test step completed 2-install logger.go:42: 13:50:53 | 1-064_validate_tcp_reset_error/3-create-app | starting test step 3-create-app I1119 13:50:55.016213 3552 request.go:682] Waited for 1.030107485s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/project.openshift.io/v1?timeout=32s logger.go:42: 13:50:57 | 1-064_validate_tcp_reset_error/3-create-app | Application:test-1-27-custom/guestbook created logger.go:42: 13:51:04 | 1-064_validate_tcp_reset_error/3-create-app | test step completed 3-create-app logger.go:42: 13:51:04 | 1-064_validate_tcp_reset_error/4-check-app-manifest | starting test step 4-check-app-manifest logger.go:42: 13:51:04 | 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: 13:51:05 | 1-064_validate_tcp_reset_error/4-check-app-manifest | time="2024-11-19T13:51:05Z" 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: 13:51:06 | 1-064_validate_tcp_reset_error/4-check-app-manifest | time="2024-11-19T13:51:06Z" 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: 13:51:06 | 1-064_validate_tcp_reset_error/4-check-app-manifest | Logged out from 'openshift-gitops-server-openshift-gitops.apps.412-psi.ocp-gitops-qe.com' I1119 13:51:07.851673 3552 request.go:682] Waited for 1.028942971s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/image.openshift.io/v1?timeout=32s logger.go:42: 13:51:09 | 1-064_validate_tcp_reset_error/4-check-app-manifest | test step completed 4-check-app-manifest logger.go:42: 13:51:09 | 1-064_validate_tcp_reset_error/99-delete | starting test step 99-delete I1119 13:51:23.162031 3552 request.go:682] Waited for 1.02882914s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/apps/v1?timeout=32s logger.go:42: 13:51:25 | 1-064_validate_tcp_reset_error/99-delete | test step completed 99-delete logger.go:42: 13:51:25 | 1-064_validate_tcp_reset_error | skipping kubernetes event logging logger.go:42: 13:51:25 | 1-064_validate_tcp_reset_error | Deleting namespace: kuttl-test-smart-boar === CONT kuttl/harness/1-002_validate_backend_service logger.go:42: 13:51:30 | 1-002_validate_backend_service | Creating namespace: kuttl-test-literate-flea logger.go:42: 13:51:30 | 1-002_validate_backend_service/1-check-backend-service | starting test step 1-check-backend-service I1119 13:51:33.165478 3552 request.go:682] Waited for 2.229127031s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/autoscaling/v2?timeout=32s logger.go:42: 13:51:33 | 1-002_validate_backend_service/1-check-backend-service | test step completed 1-check-backend-service logger.go:42: 13:51:33 | 1-002_validate_backend_service | skipping kubernetes event logging logger.go:42: 13:51:33 | 1-002_validate_backend_service | Deleting namespace: kuttl-test-literate-flea === CONT kuttl/harness/1-003_validate_cluster_config logger.go:42: 13:51:39 | 1-003_validate_cluster_config | Creating namespace: kuttl-test-proven-kid logger.go:42: 13:51:39 | 1-003_validate_cluster_config/0-cluster-scoped-argocd | starting test step 0-cluster-scoped-argocd logger.go:42: 13:51:42 | 1-003_validate_cluster_config/0-cluster-scoped-argocd | Namespace:/argocd-e2e-cluster-config created logger.go:42: 13:51:42 | 1-003_validate_cluster_config/0-cluster-scoped-argocd | ArgoCD:argocd-e2e-cluster-config/example-argocd created logger.go:42: 13:51:42 | 1-003_validate_cluster_config/0-cluster-scoped-argocd | test step completed 0-cluster-scoped-argocd logger.go:42: 13:51:42 | 1-003_validate_cluster_config/1-cluster-scoped | starting test step 1-cluster-scoped logger.go:42: 13:51:42 | 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: 13:51:43 | 1-003_validate_cluster_config/1-cluster-scoped | subscription.operators.coreos.com/openshift-gitops-operator patched I1119 13:51:44.405972 3552 request.go:682] Waited for 1.017043035s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/pipelines.openshift.io/v1alpha1?timeout=32s logger.go:42: 13:52:14 | 1-003_validate_cluster_config/1-cluster-scoped | test step completed 1-cluster-scoped logger.go:42: 13:52:14 | 1-003_validate_cluster_config/2- | starting test step 2- I1119 13:52:15.103986 3552 request.go:682] Waited for 1.028833951s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/storage.k8s.io/v1?timeout=32s logger.go:42: 13:52:17 | 1-003_validate_cluster_config/2- | test step completed 2- logger.go:42: 13:52:17 | 1-003_validate_cluster_config/3-enable-appset-in-any-namespace | starting test step 3-enable-appset-in-any-namespace logger.go:42: 13:52:20 | 1-003_validate_cluster_config/3-enable-appset-in-any-namespace | ArgoCD:argocd-e2e-cluster-config/example-argocd updated logger.go:42: 13:52:25 | 1-003_validate_cluster_config/3-enable-appset-in-any-namespace | test step completed 3-enable-appset-in-any-namespace logger.go:42: 13:52:25 | 1-003_validate_cluster_config/99-delete | starting test step 99-delete I1119 13:52:38.782269 3552 request.go:682] Waited for 1.02963527s due to client-side throttling, not priority and fairness, request: GET:https://api.412-psi.ocp-gitops-qe.com:6443/apis/rbac.authorization.k8s.io/v1?timeout=32s logger.go:42: 13:52:40 | 1-003_validate_cluster_config/99-delete | test step completed 99-delete logger.go:42: 13:52:40 | 1-003_validate_cluster_config | skipping kubernetes event logging logger.go:42: 13:52:40 | 1-003_validate_cluster_config | Deleting namespace: kuttl-test-proven-kid === CONT kuttl harness.go:405: run tests finished harness.go:513: cleaning up harness.go:570: removing temp folder: "" --- FAIL: kuttl (4334.52s) --- FAIL: kuttl/harness (0.00s) --- PASS: kuttl/harness/1-001_validate_kam_service (21.50s) --- PASS: kuttl/harness/1-042_validate_status_host (59.95s) --- PASS: kuttl/harness/1-111_validate_default_argocd_route (26.41s) --- PASS: kuttl/harness/1-110_validate_podsecurity_alerts (9.09s) --- FAIL: kuttl/harness/1-109_validate_reencrypt_termination_policy (609.44s) --- PASS: kuttl/harness/1-106_validate_argocd_metrics_controller (16.07s) --- PASS: kuttl/harness/1-105_validate_label_selector (346.21s) --- PASS: kuttl/harness/1-104_validate_prometheus_alert (8.98s) --- FAIL: kuttl/harness/1-101_validate_rollout_policyrules (609.75s) --- FAIL: kuttl/harness/1-100_validate_rollouts_resources_creation (609.84s) --- PASS: kuttl/harness/1-086_validate_default_argocd_role (45.94s) --- PASS: kuttl/harness/1-085_validate_dynamic_plugin_installation (41.40s) --- PASS: kuttl/harness/1-084_validate_prune_templates (18.02s) --- PASS: kuttl/harness/1-083_validate_apps_in_any_namespace (86.85s) --- PASS: kuttl/harness/1-078_validate_default_argocd_consoleLink (77.86s) --- PASS: kuttl/harness/1-056_validate_managed-by (121.80s) --- PASS: kuttl/harness/1-050_validate_sso (197.94s) --- PASS: kuttl/harness/1-071_validate_node_selectors (19.91s) --- PASS: kuttl/harness/1-027_validate_operand_from_git (70.94s) --- PASS: kuttl/harness/1-041_validate_argocd_sync_alert (8.91s) --- PASS: kuttl/harness/1-040_validate_quoted_RBAC_group_names (17.82s) --- PASS: kuttl/harness/1-037_validate_applicationset_in_any_namespace (136.27s) --- PASS: kuttl/harness/1-036_validate_role_rolebinding_for_source_namespace (35.73s) --- PASS: kuttl/harness/1-035_validate_argocd_secret_repopulate (24.04s) --- PASS: kuttl/harness/1-034_validate_custom_roles (94.05s) --- FAIL: kuttl/harness/1-031_validate_toolchain (13.90s) --- PASS: kuttl/harness/1-028_validate_run_on_infra (51.02s) --- PASS: kuttl/harness/1-006_validate_machine_config (30.17s) --- PASS: kuttl/harness/1-026-validate_backend_service_permissions (8.85s) --- PASS: kuttl/harness/1-020_validate_redis_ha_nonha (574.75s) --- PASS: kuttl/harness/1-018_validate_disable_default_instance (98.42s) --- PASS: kuttl/harness/1-010_validate-ootb-manage-other-namespace (49.29s) --- PASS: kuttl/harness/1-004_validate_argocd_installation (24.01s) --- PASS: kuttl/harness/1-005_validate_metrics (8.82s) --- PASS: kuttl/harness/1-064_validate_tcp_reset_error (75.79s) --- PASS: kuttl/harness/1-002_validate_backend_service (8.92s) --- PASS: kuttl/harness/1-003_validate_cluster_config (66.79s) FAIL ========================== ==== E2E TESTS FAILED ==== ========================== Copying results Deleted temp working directory /kuttl-e2e/gitops-operator/tmp.TSM0eQBQDt make: *** [Makefile:4: e2e-tests] Error 1 make: Leaving directory '/kuttl-e2e/gitops-operator' File has been uploaded to CI/z-stream-test-pipeline/241119-114133/sequential_2024.11.19-11.42.25.xml 🚀 File has been uploaded to CI/z-stream-test-pipeline/241119-114133/sequential_2024.11.19-11.42.25.log 🚀 File has been uploaded to CI/z-stream-test-pipeline/241119-114133/parallel_2024.11.19-11.42.25.xml 🚀 File has been uploaded to CI/z-stream-test-pipeline/241119-114133/parallel_2024.11.19-11.42.25.log 🚀 Updating artifacts path to results http://uploader.devtools-gitops--pipeline.svc.cluster.local:8080/CI/z-stream-test-pipeline/241119-114133/1 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/241119-114133/ undefined step-evaluate-failed-tasks KuTTL test execution has failed with exit code 1 Visit http://uploader.devtools-gitops--pipeline.svc.cluster.local:8080/CI/z-stream-test-pipeline/241119-114133/ to fetch the results or refer to the run-kuttl-tests task undefined step-send-slack-notification ok