******** SEQUENTIAL ****** + kubectl kuttl test ./tests/sequential --config ./tests/sequential/kuttl-test.yaml --test 1-018_validate_disable_default_instance 2024/07/25 08:24:41 kutt-test config testdirs is overridden with args: [ ./tests/sequential ] === RUN kuttl harness.go:462: starting setup harness.go:252: running tests using configured kubeconfig. I0725 08:24:43.355598 20662 request.go:682] Waited for 1.048815083s due to client-side throttling, not priority and fairness, request: GET:https://api.test-aws-412.ocp-gitops-qe.com:6443/apis/autoscaling.openshift.io/v1beta1?timeout=32s harness.go:275: Successful connection to cluster at: https://api.test-aws-412.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: ./tests/sequential has 36 tests === RUN kuttl/harness === RUN kuttl/harness/1-018_validate_disable_default_instance === PAUSE kuttl/harness/1-018_validate_disable_default_instance === CONT kuttl/harness/1-018_validate_disable_default_instance logger.go:42: 08:24:50 | 1-018_validate_disable_default_instance | Ignoring errors.yaml as it does not match file name regexp: ^(\d+)-(?:[^\.]+)(?:\.yaml)?$ logger.go:42: 08:24:50 | 1-018_validate_disable_default_instance | Creating namespace: kuttl-test-vital-pig logger.go:42: 08:24:50 | 1-018_validate_disable_default_instance/1- | starting test step 1- I0725 08:24:53.358333 20662 request.go:682] Waited for 2.349353041s due to client-side throttling, not priority and fairness, request: GET:https://api.test-aws-412.ocp-gitops-qe.com:6443/apis/apiextensions.k8s.io/v1?timeout=32s logger.go:42: 08:24:53 | 1-018_validate_disable_default_instance/1- | test step completed 1- logger.go:42: 08:24:53 | 1-018_validate_disable_default_instance/2-patch-subscription | starting test step 2-patch-subscription logger.go:42: 08:24:53 | 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: 08:24:54 | 1-018_validate_disable_default_instance/2-patch-subscription | subscription.operators.coreos.com/openshift-gitops-operator patched logger.go:42: 08:24:54 | 1-018_validate_disable_default_instance/2-patch-subscription | running command: [sh -c sleep 60] I0725 08:25:55.925116 20662 request.go:682] Waited for 1.049243166s due to client-side throttling, not priority and fairness, request: GET:https://api.test-aws-412.ocp-gitops-qe.com:6443/apis/samples.operator.openshift.io/v1?timeout=32s logger.go:42: 08:25:57 | 1-018_validate_disable_default_instance/2-patch-subscription | test step completed 2-patch-subscription logger.go:42: 08:25:57 | 1-018_validate_disable_default_instance/3-check | starting test step 3-check logger.go:42: 08:26:00 | 1-018_validate_disable_default_instance/3-check | test step completed 3-check logger.go:42: 08:26:00 | 1-018_validate_disable_default_instance/4-patch-subscription | starting test step 4-patch-subscription logger.go:42: 08:26:00 | 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: 08:26:01 | 1-018_validate_disable_default_instance/4-patch-subscription | subscription.operators.coreos.com/openshift-gitops-operator patched logger.go:42: 08:26:01 | 1-018_validate_disable_default_instance/4-patch-subscription | running command: [sh -c sleep 30] I0725 08:26:32.917983 20662 request.go:682] Waited for 1.048664667s due to client-side throttling, not priority and fairness, request: GET:https://api.test-aws-412.ocp-gitops-qe.com:6443/apis/performance.openshift.io/v2?timeout=32s logger.go:42: 08:26:42 | 1-018_validate_disable_default_instance/4-patch-subscription | test step completed 4-patch-subscription logger.go:42: 08:26:42 | 1-018_validate_disable_default_instance | skipping kubernetes event logging logger.go:42: 08:26:42 | 1-018_validate_disable_default_instance | Deleting namespace: kuttl-test-vital-pig === NAME kuttl harness.go:405: run tests finished harness.go:513: cleaning up harness.go:570: removing temp folder: "" --- PASS: kuttl (128.20s) --- PASS: kuttl/harness (0.00s) --- PASS: kuttl/harness/1-018_validate_disable_default_instance (119.20s) PASS + kubectl kuttl test ./tests/sequential --config ./tests/sequential/kuttl-test.yaml --test 1-003_validate_cluster_config 2024/07/25 08:26:49 kutt-test config testdirs is overridden with args: [ ./tests/sequential ] === RUN kuttl harness.go:462: starting setup harness.go:252: running tests using configured kubeconfig. I0725 08:26:51.621873 21455 request.go:682] Waited for 1.04909475s due to client-side throttling, not priority and fairness, request: GET:https://api.test-aws-412.ocp-gitops-qe.com:6443/apis/operator.openshift.io/v1?timeout=32s harness.go:275: Successful connection to cluster at: https://api.test-aws-412.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: ./tests/sequential has 36 tests === RUN kuttl/harness === RUN kuttl/harness/1-003_validate_cluster_config === PAUSE kuttl/harness/1-003_validate_cluster_config === CONT kuttl/harness/1-003_validate_cluster_config logger.go:42: 08:26:58 | 1-003_validate_cluster_config | Creating namespace: kuttl-test-loving-tadpole logger.go:42: 08:26:58 | 1-003_validate_cluster_config/0-cluster-scoped-argocd | starting test step 0-cluster-scoped-argocd I0725 08:27:01.630571 21455 request.go:682] Waited for 2.348315417s due to client-side throttling, not priority and fairness, request: GET:https://api.test-aws-412.ocp-gitops-qe.com:6443/apis/policy/v1?timeout=32s logger.go:42: 08:27:02 | 1-003_validate_cluster_config/0-cluster-scoped-argocd | Namespace:/argocd-e2e-cluster-config created logger.go:42: 08:27:02 | 1-003_validate_cluster_config/0-cluster-scoped-argocd | ArgoCD:argocd-e2e-cluster-config/example-argocd created logger.go:42: 08:27:02 | 1-003_validate_cluster_config/0-cluster-scoped-argocd | test step completed 0-cluster-scoped-argocd logger.go:42: 08:27:02 | 1-003_validate_cluster_config/1-cluster-scoped | starting test step 1-cluster-scoped logger.go:42: 08:27:02 | 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: 08:27:03 | 1-003_validate_cluster_config/1-cluster-scoped | subscription.operators.coreos.com/openshift-gitops-operator patched logger.go:42: 08:27:03 | 1-003_validate_cluster_config/1-cluster-scoped | running command: [sh -c sleep 30] I0725 08:27:34.757523 21455 request.go:682] Waited for 1.048676583s due to client-side throttling, not priority and fairness, request: GET:https://api.test-aws-412.ocp-gitops-qe.com:6443/apis/flowcontrol.apiserver.k8s.io/v1beta2?timeout=32s logger.go:42: 08:27:37 | 1-003_validate_cluster_config/1-cluster-scoped | test step completed 1-cluster-scoped logger.go:42: 08:27:37 | 1-003_validate_cluster_config/2- | starting test step 2- logger.go:42: 08:27:40 | 1-003_validate_cluster_config/2- | test step completed 2- logger.go:42: 08:27:40 | 1-003_validate_cluster_config/3-enable-appset-in-any-namespace | starting test step 3-enable-appset-in-any-namespace logger.go:42: 08:27:43 | 1-003_validate_cluster_config/3-enable-appset-in-any-namespace | ArgoCD:argocd-e2e-cluster-config/example-argocd updated logger.go:42: 08:27:49 | 1-003_validate_cluster_config/3-enable-appset-in-any-namespace | test step completed 3-enable-appset-in-any-namespace logger.go:42: 08:27:49 | 1-003_validate_cluster_config/99-delete | starting test step 99-delete I0725 08:28:04.824299 21455 request.go:682] Waited for 1.049444667s due to client-side throttling, not priority and fairness, request: GET:https://api.test-aws-412.ocp-gitops-qe.com:6443/apis/flowcontrol.apiserver.k8s.io/v1beta2?timeout=32s logger.go:42: 08:28:06 | 1-003_validate_cluster_config/99-delete | test step completed 99-delete logger.go:42: 08:28:06 | 1-003_validate_cluster_config | skipping kubernetes event logging logger.go:42: 08:28:06 | 1-003_validate_cluster_config | Deleting namespace: kuttl-test-loving-tadpole === NAME kuttl harness.go:405: run tests finished harness.go:513: cleaning up harness.go:570: removing temp folder: "" --- PASS: kuttl (83.12s) --- PASS: kuttl/harness (0.00s) --- PASS: kuttl/harness/1-003_validate_cluster_config (74.12s) PASS + kubectl kuttl test ./tests/sequential --config ./tests/sequential/kuttl-test.yaml --test 1-034_validate_custom_roles 2024/07/25 08:28:13 kutt-test config testdirs is overridden with args: [ ./tests/sequential ] === RUN kuttl harness.go:462: starting setup harness.go:252: running tests using configured kubeconfig. I0725 08:28:14.836844 21965 request.go:682] Waited for 1.048604292s due to client-side throttling, not priority and fairness, request: GET:https://api.test-aws-412.ocp-gitops-qe.com:6443/apis/network.operator.openshift.io/v1?timeout=32s harness.go:275: Successful connection to cluster at: https://api.test-aws-412.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: ./tests/sequential has 36 tests === RUN kuttl/harness === RUN kuttl/harness/1-034_validate_custom_roles === PAUSE kuttl/harness/1-034_validate_custom_roles === CONT kuttl/harness/1-034_validate_custom_roles logger.go:42: 08:28:22 | 1-034_validate_custom_roles | Creating namespace: kuttl-test-relative-seal logger.go:42: 08:28:22 | 1-034_validate_custom_roles/1-install | starting test step 1-install I0725 08:28:24.859114 21965 request.go:682] Waited for 2.3468485s due to client-side throttling, not priority and fairness, request: GET:https://api.test-aws-412.ocp-gitops-qe.com:6443/apis/certificates.k8s.io/v1?timeout=32s logger.go:42: 08:28:25 | 1-034_validate_custom_roles/1-install | Namespace:/test-1-034-custom created logger.go:42: 08:28:25 | 1-034_validate_custom_roles/1-install | ArgoCD:test-1-034-custom/argocd created logger.go:42: 08:28:26 | 1-034_validate_custom_roles/1-install | Namespace:/custom-role-namespace created logger.go:42: 08:28:26 | 1-034_validate_custom_roles/1-install | ClusterRole:/custom-argocd-role created logger.go:42: 08:28:40 | 1-034_validate_custom_roles/1-install | test step completed 1-install logger.go:42: 08:28:40 | 1-034_validate_custom_roles/2-patch-subscription | starting test step 2-patch-subscription logger.go:42: 08:28:40 | 1-034_validate_custom_roles/2-patch-subscription | running command: [sh -c oc patch -n openshift-operators subscription openshift-gitops-operator \ --type merge --patch '{"spec": {"config": {"env": [{"name": "CONTROLLER_CLUSTER_ROLE", "value": "custom-argocd-role"},{"name": "SERVER_CLUSTER_ROLE", "value": "custom-argocd-role"}]}}}' ] logger.go:42: 08:28:40 | 1-034_validate_custom_roles/2-patch-subscription | subscription.operators.coreos.com/openshift-gitops-operator patched logger.go:42: 08:28:40 | 1-034_validate_custom_roles/2-patch-subscription | running command: [sh -c sleep 30] I0725 08:29:12.372135 21965 request.go:682] Waited for 1.049248917s due to client-side throttling, not priority and fairness, request: GET:https://api.test-aws-412.ocp-gitops-qe.com:6443/apis/project.openshift.io/v1?timeout=32s logger.go:42: 08:29:13 | 1-034_validate_custom_roles/2-patch-subscription | test step completed 2-patch-subscription logger.go:42: 08:29:13 | 1-034_validate_custom_roles/3- | starting test step 3- logger.go:42: 08:29:17 | 1-034_validate_custom_roles/3- | test step completed 3- logger.go:42: 08:29:17 | 1-034_validate_custom_roles/4- | starting test step 4- logger.go:42: 08:29:20 | 1-034_validate_custom_roles/4- | test step completed 4- logger.go:42: 08:29:20 | 1-034_validate_custom_roles/5-delete | starting test step 5-delete I0725 08:29:29.642851 21965 request.go:682] Waited for 1.049409125s due to client-side throttling, not priority and fairness, request: GET:https://api.test-aws-412.ocp-gitops-qe.com:6443/apis/apiserver.openshift.io/v1?timeout=32s logger.go:42: 08:29:31 | 1-034_validate_custom_roles/5-delete | test step completed 5-delete logger.go:42: 08:29:31 | 1-034_validate_custom_roles/6-revert-patch | starting test step 6-revert-patch logger.go:42: 08:29:31 | 1-034_validate_custom_roles/6-revert-patch | running command: [sh -c oc patch subscription/openshift-gitops-operator -n openshift-operators --type json --patch='[ { "op": "remove", "path": "/spec/config" } ]' ] logger.go:42: 08:29:31 | 1-034_validate_custom_roles/6-revert-patch | subscription.operators.coreos.com/openshift-gitops-operator patched logger.go:42: 08:29:31 | 1-034_validate_custom_roles/6-revert-patch | running command: [sh -c sleep 30] I0725 08:30:03.337194 21965 request.go:682] Waited for 1.048071417s due to client-side throttling, not priority and fairness, request: GET:https://api.test-aws-412.ocp-gitops-qe.com:6443/apis/argoproj.io/v1alpha1?timeout=32s logger.go:42: 08:30:04 | 1-034_validate_custom_roles/6-revert-patch | test step completed 6-revert-patch logger.go:42: 08:30:04 | 1-034_validate_custom_roles | skipping kubernetes event logging logger.go:42: 08:30:05 | 1-034_validate_custom_roles | Deleting namespace: kuttl-test-relative-seal === NAME kuttl harness.go:405: run tests finished harness.go:513: cleaning up harness.go:570: removing temp folder: "" --- PASS: kuttl (118.74s) --- PASS: kuttl/harness (0.00s) --- PASS: kuttl/harness/1-034_validate_custom_roles (109.71s) PASS