Script Sets env_vars and calls ansible playbook Make sure to set ocm_user and ocm_password. Running playbook: cap-enable-test.yml [WARNING]: No inventory was parsed, only implicit localhost is available [WARNING]: provided hosts list is empty, only localhost is available. Note that the implicit localhost does not match 'all' PLAY [Setup] ******************************************************************* TASK [Gathering Facts] ********************************************************* ok: [localhost] TASK [Prepare ansible runner host] ********************************************* skipping: [localhost] TASK [Login OCP] *************************************************************** included: /Users/tinafitzgerald/acm_dev/automation-capi/tasks/login_ocp.yml for localhost TASK [Login OCP with kubeadmin] ************************************************ changed: [localhost] TASK [include_tasks] *********************************************************** skipping: [localhost] TASK [Check if local-cluster enabled] ****************************************** changed: [localhost] TASK [Check if there are any hosted clusters] ********************************** changed: [localhost] PLAY [CAPI Tests] ************************************************************** TASK [Gathering Facts] ********************************************************* ok: [localhost] TASK [Get cluster-api-preview status in MCE] *********************************** included: /Users/tinafitzgerald/acm_dev/automation-capi/tasks/get_mce_component_status.yml for localhost TASK [Get the cluster-api-preview status in MCE] ******************************* changed: [localhost] TASK [print output] ************************************************************ ok: [localhost] => { "msg": "cluster-api-preview enabled=false" } TASK [set_fact] **************************************************************** ok: [localhost] TASK [Wait for MCE running status] ********************************************* included: /Users/tinafitzgerald/acm_dev/automation-capi/tasks/wait_for_mce_status.yml for localhost TASK [Wait for MCE to be Available] ******************************************** changed: [localhost] TASK [Update cluster-api-preview enabled flag] ********************************* included: /Users/tinafitzgerald/acm_dev/automation-capi/tasks/update_enabled_flag.yml for localhost TASK [Construct patch string] ************************************************** changed: [localhost] TASK [Get name of MCE] ********************************************************* changed: [localhost] TASK [Apply patch [{"op": "add", "path": "/spec/overrides/components/-","value":{"name":"cluster-api-preview","enabled":true}}] to MCE multiclusterengine] *** changed: [localhost] TASK [Wait for MCE running status] ********************************************* included: /Users/tinafitzgerald/acm_dev/automation-capi/tasks/wait_for_mce_status.yml for localhost TASK [Wait for MCE to be Available] ******************************************** FAILED - RETRYING: [localhost]: Wait for MCE to be Available (60 retries left). FAILED - RETRYING: [localhost]: Wait for MCE to be Available (59 retries left). FAILED - RETRYING: [localhost]: Wait for MCE to be Available (58 retries left). FAILED - RETRYING: [localhost]: Wait for MCE to be Available (57 retries left). changed: [localhost] TASK [Get capi resources] ****************************************************** included: /Users/tinafitzgerald/acm_dev/automation-capi/tasks/get_component_resources.yml for localhost TASK [set_fact] **************************************************************** ok: [localhost] TASK [Get name of MCE] ********************************************************* changed: [localhost] TASK [Get capi deployment] ***************************************************** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {% if enable | bool %} deploy_name.stdout_lines | length > 0 {% else %} deploy_name.stdout_lines | length == 0 {% endif %} changed: [localhost] TASK [Get capi service] ******************************************************** changed: [localhost] TASK [Get capi serviceaccount] ************************************************* changed: [localhost] TASK [Get capi clusterrole] **************************************************** changed: [localhost] TASK [Get capi clusterrolebinding] ********************************************* changed: [localhost] TASK [Get capi role] *********************************************************** changed: [localhost] TASK [Get capi rolebinding] **************************************************** changed: [localhost] TASK [Get capi mutatingwebhookconfiguration] *********************************** changed: [localhost] TASK [Get capi validatingwebhookconfiguration] ********************************* changed: [localhost] TASK [Get capi secret] ********************************************************* changed: [localhost] TASK [Get capi namespace] ****************************************************** changed: [localhost] TASK [Get cluster-api pod] ***************************************************** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {% if enable | bool %} pod_name.stdout_lines | length > 0 {% else %} pod_name.stdout_lines | length == 0 {% endif %} changed: [localhost] TASK [Get cluster-api-preview status in MCE] *********************************** included: /Users/tinafitzgerald/acm_dev/automation-capi/tasks/get_mce_component_status.yml for localhost TASK [Get the cluster-api-preview status in MCE] ******************************* changed: [localhost] TASK [print output] ************************************************************ ok: [localhost] => { "msg": "cluster-api-preview enabled=true" } TASK [capi : RHACM4K-56157 - Verify CAPI can be enabled properly] ************** ok: [localhost] => { "changed": false, "msg": "All assertions passed" } TASK [capi : RHACM4K-56157 - Verify CAPI can be disabled properly] ************* skipping: [localhost] PLAY [CAPI Tests] ************************************************************** TASK [Gathering Facts] ********************************************************* ok: [localhost] TASK [Get cluster-api-preview status in MCE] *********************************** included: /Users/tinafitzgerald/acm_dev/automation-capi/tasks/get_mce_component_status.yml for localhost TASK [Get the cluster-api-preview status in MCE] ******************************* changed: [localhost] TASK [print output] ************************************************************ ok: [localhost] => { "msg": "cluster-api-preview enabled=true" } TASK [set_fact] **************************************************************** ok: [localhost] TASK [Wait for MCE running status] ********************************************* included: /Users/tinafitzgerald/acm_dev/automation-capi/tasks/wait_for_mce_status.yml for localhost TASK [Wait for MCE to be Available] ******************************************** changed: [localhost] TASK [Update cluster-api-preview enabled flag] ********************************* included: /Users/tinafitzgerald/acm_dev/automation-capi/tasks/update_enabled_flag.yml for localhost TASK [Construct patch string] ************************************************** changed: [localhost] TASK [Get name of MCE] ********************************************************* changed: [localhost] TASK [Apply patch [{"op": "add", "path": "/spec/overrides/components/-","value":{"name":"cluster-api-preview","enabled":false}}] to MCE multiclusterengine] *** changed: [localhost] TASK [Wait for MCE running status] ********************************************* included: /Users/tinafitzgerald/acm_dev/automation-capi/tasks/wait_for_mce_status.yml for localhost TASK [Wait for MCE to be Available] ******************************************** changed: [localhost] TASK [Get capi resources] ****************************************************** included: /Users/tinafitzgerald/acm_dev/automation-capi/tasks/get_component_resources.yml for localhost TASK [set_fact] **************************************************************** ok: [localhost] TASK [Get name of MCE] ********************************************************* changed: [localhost] TASK [Get capi deployment] ***************************************************** FAILED - RETRYING: [localhost]: Get capi deployment (20 retries left). FAILED - RETRYING: [localhost]: Get capi deployment (19 retries left). fatal: [localhost]: FAILED! => {"attempts": 3, "changed": true, "cmd": "oc get deployment -n multicluster-engine -ojson |\\\njq -r '.items[].metadata | select(.labels[\"installer.namespace\"]==\"multicluster-engine\" or .labels[\"backplaneconfig.name\"]==\"multiclusterengine\" or .labels[\"app\"]==\"capi\") | .name' | grep capi\n", "delta": "0:00:00.432358", "end": "2025-04-14 10:50:23.755696", "msg": "non-zero return code", "rc": 1, "start": "2025-04-14 10:50:23.323338", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} ...ignoring TASK [Get capi service] ******************************************************** fatal: [localhost]: FAILED! => {"changed": true, "cmd": "oc get service -n multicluster-engine -ojson |\\\njq -r '.items[].metadata | .name' | grep capi\n", "delta": "0:00:00.381694", "end": "2025-04-14 10:50:24.541110", "msg": "non-zero return code", "rc": 1, "start": "2025-04-14 10:50:24.159416", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} ...ignoring TASK [Get capi serviceaccount] ************************************************* fatal: [localhost]: FAILED! => {"changed": true, "cmd": "oc get serviceaccount -n multicluster-engine -ojson |\\\njq -r '.items[].metadata | select(.labels[\"installer.namespace\"]==\"multicluster-engine\" or .labels[\"backplaneconfig.name\"]==\"multiclusterengine\") | .name' | grep -E 'capi|cluster-api-preview'\n", "delta": "0:00:00.364034", "end": "2025-04-14 10:50:25.288380", "msg": "non-zero return code", "rc": 1, "start": "2025-04-14 10:50:24.924346", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} ...ignoring TASK [Get capi clusterrole] **************************************************** fatal: [localhost]: FAILED! => {"changed": true, "cmd": "oc get clusterrole -n multicluster-engine -ojson |\\\njq -r '.items[].metadata | select(.labels[\"installer.namespace\"]==\"multicluster-engine\" or .labels[\"backplaneconfig.name\"]==\"multiclusterengine\") | .name' | grep -E 'capi|cluster-api-preview'\n", "delta": "0:00:01.162443", "end": "2025-04-14 10:50:26.852192", "msg": "non-zero return code", "rc": 1, "start": "2025-04-14 10:50:25.689749", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} ...ignoring TASK [Get capi clusterrolebinding] ********************************************* fatal: [localhost]: FAILED! => {"changed": true, "cmd": "oc get clusterrolebinding -n multicluster-engine -ojson |\\\njq -r '.items[].metadata | select(.labels[\"installer.namespace\"]==\"multicluster-engine\" or .labels[\"backplaneconfig.name\"]==\"multiclusterengine\") | .name' | grep -E 'capi|cluster-api-preview'\n", "delta": "0:00:00.553219", "end": "2025-04-14 10:50:27.822904", "msg": "non-zero return code", "rc": 1, "start": "2025-04-14 10:50:27.269685", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} ...ignoring TASK [Get capi role] *********************************************************** fatal: [localhost]: FAILED! => {"changed": true, "cmd": "oc get role -n multicluster-engine -ojson |\\\njq -r '.items[].metadata.name' | grep -E 'capi|cluster-api-preview'\n", "delta": "0:00:05.393927", "end": "2025-04-14 10:50:33.614622", "msg": "non-zero return code", "rc": 1, "start": "2025-04-14 10:50:28.220695", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} ...ignoring TASK [Get capi rolebinding] **************************************************** fatal: [localhost]: FAILED! => {"changed": true, "cmd": "oc get rolebinding -n multicluster-engine -ojson |\\\njq -r '.items[].metadata | select(.labels[\"installer.namespace\"]==\"multicluster-engine\" or .labels[\"backplaneconfig.name\"]==\"multiclusterengine\") | .name' | grep -E 'capi|cluster-api-preview'\n", "delta": "0:00:00.375130", "end": "2025-04-14 10:50:34.424220", "msg": "non-zero return code", "rc": 1, "start": "2025-04-14 10:50:34.049090", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} ...ignoring TASK [Get capi mutatingwebhookconfiguration] *********************************** fatal: [localhost]: FAILED! => {"changed": true, "cmd": "oc get mutatingwebhookconfiguration -n multicluster-engine -ojson |\\\njq -r '.items[].metadata | select(.labels[\"installer.namespace\"]==\"multicluster-engine\" or .labels[\"backplaneconfig.name\"]==\"multiclusterengine\") | .name' | grep -E 'capi|cluster-api-preview'\n", "delta": "0:00:00.450870", "end": "2025-04-14 10:50:35.282496", "msg": "non-zero return code", "rc": 1, "start": "2025-04-14 10:50:34.831626", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} ...ignoring TASK [Get capi validatingwebhookconfiguration] ********************************* fatal: [localhost]: FAILED! => {"changed": true, "cmd": "oc get validatingwebhookconfiguration -n multicluster-engine -ojson |\\\njq -r '.items[].metadata | select(.labels[\"installer.namespace\"]==\"multicluster-engine\" or .labels[\"backplaneconfig.name\"]==\"multiclusterengine\") | .name' | grep -E 'capi|cluster-api-preview'\n", "delta": "0:00:00.386724", "end": "2025-04-14 10:50:36.058598", "msg": "non-zero return code", "rc": 1, "start": "2025-04-14 10:50:35.671874", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} ...ignoring TASK [Get capi secret] ********************************************************* fatal: [localhost]: FAILED! => {"changed": true, "cmd": "oc get secret -n multicluster-engine -ojson |\\\njq -r '.items[].metadata.name' | grep -E 'capi|cluster-api-preview'\n", "delta": "0:00:00.526755", "end": "2025-04-14 10:50:36.982839", "msg": "non-zero return code", "rc": 1, "start": "2025-04-14 10:50:36.456084", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} ...ignoring TASK [Get capi namespace] ****************************************************** fatal: [localhost]: FAILED! => {"changed": true, "cmd": "oc get namespace -ojson |\\\njq -r '.items[].metadata | select(.labels[\"backplaneconfig.name\"]==\"multiclusterengine\") | .name' | grep -E 'capi|cluster-api-preview'\n", "delta": "0:00:00.429033", "end": "2025-04-14 10:50:37.811647", "msg": "non-zero return code", "rc": 1, "start": "2025-04-14 10:50:37.382614", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} ...ignoring TASK [Get cluster-api pod] ***************************************************** changed: [localhost] TASK [Get cluster-api-preview status in MCE] *********************************** included: /Users/tinafitzgerald/acm_dev/automation-capi/tasks/get_mce_component_status.yml for localhost TASK [Get the cluster-api-preview status in MCE] ******************************* changed: [localhost] TASK [print output] ************************************************************ ok: [localhost] => { "msg": "cluster-api-preview enabled=false" } TASK [capi : RHACM4K-56157 - Verify CAPI can be enabled properly] ************** skipping: [localhost] TASK [capi : RHACM4K-56157 - Verify CAPI can be disabled properly] ************* ok: [localhost] => { "changed": false, "msg": "All assertions passed" } PLAY [CAPA Tests] ************************************************************** TASK [Gathering Facts] ********************************************************* ok: [localhost] TASK [Get cluster-api-provider-aws-preview status in MCE] ********************** included: /Users/tinafitzgerald/acm_dev/automation-capi/tasks/get_mce_component_status.yml for localhost TASK [Get the cluster-api-provider-aws-preview status in MCE] ****************** changed: [localhost] TASK [print output] ************************************************************ ok: [localhost] => { "msg": "cluster-api-provider-aws-preview enabled=true" } TASK [set_fact] **************************************************************** ok: [localhost] TASK [Wait for MCE running status] ********************************************* included: /Users/tinafitzgerald/acm_dev/automation-capi/tasks/wait_for_mce_status.yml for localhost TASK [Wait for MCE to be Available] ******************************************** changed: [localhost] TASK [Update cluster-api-provider-aws-preview enable flag] ********************* included: /Users/tinafitzgerald/acm_dev/automation-capi/tasks/update_enabled_flag.yml for localhost TASK [Construct patch string] ************************************************** changed: [localhost] TASK [Get name of MCE] ********************************************************* changed: [localhost] TASK [Apply patch [{"op": "add", "path": "/spec/overrides/components/-","value":{"name":"cluster-api-provider-aws-preview","enabled":false}}] to MCE multiclusterengine] *** changed: [localhost] TASK [Wait for MCE running status] ********************************************* included: /Users/tinafitzgerald/acm_dev/automation-capi/tasks/wait_for_mce_status.yml for localhost TASK [Wait for MCE to be Available] ******************************************** FAILED - RETRYING: [localhost]: Wait for MCE to be Available (60 retries left). FAILED - RETRYING: [localhost]: Wait for MCE to be Available (59 retries left). changed: [localhost] TASK [Get capa resources] ****************************************************** included: /Users/tinafitzgerald/acm_dev/automation-capi/tasks/get_component_resources.yml for localhost TASK [set_fact] **************************************************************** ok: [localhost] TASK [Get name of MCE] ********************************************************* changed: [localhost] TASK [Get capa deployment] ***************************************************** fatal: [localhost]: FAILED! => {"attempts": 1, "changed": true, "cmd": "oc get deployment -n multicluster-engine -ojson |\\\njq -r '.items[].metadata | select(.labels[\"installer.namespace\"]==\"multicluster-engine\" or .labels[\"backplaneconfig.name\"]==\"multiclusterengine\" or .labels[\"app\"]==\"capa\") | .name' | grep capa\n", "delta": "0:00:00.435256", "end": "2025-04-14 10:50:59.908008", "msg": "non-zero return code", "rc": 1, "start": "2025-04-14 10:50:59.472752", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} ...ignoring TASK [Get capa service] ******************************************************** fatal: [localhost]: FAILED! => {"changed": true, "cmd": "oc get service -n multicluster-engine -ojson |\\\njq -r '.items[].metadata | .name' | grep capa\n", "delta": "0:00:00.437121", "end": "2025-04-14 10:51:00.759690", "msg": "non-zero return code", "rc": 1, "start": "2025-04-14 10:51:00.322569", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} ...ignoring TASK [Get capa serviceaccount] ************************************************* fatal: [localhost]: FAILED! => {"changed": true, "cmd": "oc get serviceaccount -n multicluster-engine -ojson |\\\njq -r '.items[].metadata | select(.labels[\"installer.namespace\"]==\"multicluster-engine\" or .labels[\"backplaneconfig.name\"]==\"multiclusterengine\") | .name' | grep -E 'capa|cluster-api-provider-aws-preview'\n", "delta": "0:00:00.435400", "end": "2025-04-14 10:51:01.616456", "msg": "non-zero return code", "rc": 1, "start": "2025-04-14 10:51:01.181056", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} ...ignoring TASK [Get capa clusterrole] **************************************************** fatal: [localhost]: FAILED! => {"changed": true, "cmd": "oc get clusterrole -n multicluster-engine -ojson |\\\njq -r '.items[].metadata | select(.labels[\"installer.namespace\"]==\"multicluster-engine\" or .labels[\"backplaneconfig.name\"]==\"multiclusterengine\") | .name' | grep -E 'capa|cluster-api-provider-aws-preview'\n", "delta": "0:00:01.071709", "end": "2025-04-14 10:51:03.101989", "msg": "non-zero return code", "rc": 1, "start": "2025-04-14 10:51:02.030280", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} ...ignoring TASK [Get capa clusterrolebinding] ********************************************* fatal: [localhost]: FAILED! => {"changed": true, "cmd": "oc get clusterrolebinding -n multicluster-engine -ojson |\\\njq -r '.items[].metadata | select(.labels[\"installer.namespace\"]==\"multicluster-engine\" or .labels[\"backplaneconfig.name\"]==\"multiclusterengine\") | .name' | grep -E 'capa|cluster-api-provider-aws-preview'\n", "delta": "0:00:00.551595", "end": "2025-04-14 10:51:04.050612", "msg": "non-zero return code", "rc": 1, "start": "2025-04-14 10:51:03.499017", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} ...ignoring TASK [Get capa role] *********************************************************** fatal: [localhost]: FAILED! => {"changed": true, "cmd": "oc get role -n multicluster-engine -ojson |\\\njq -r '.items[].metadata.name' | grep -E 'capa|cluster-api-provider-aws-preview'\n", "delta": "0:00:00.360365", "end": "2025-04-14 10:51:04.801074", "msg": "non-zero return code", "rc": 1, "start": "2025-04-14 10:51:04.440709", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} ...ignoring TASK [Get capa rolebinding] **************************************************** fatal: [localhost]: FAILED! => {"changed": true, "cmd": "oc get rolebinding -n multicluster-engine -ojson |\\\njq -r '.items[].metadata | select(.labels[\"installer.namespace\"]==\"multicluster-engine\" or .labels[\"backplaneconfig.name\"]==\"multiclusterengine\") | .name' | grep -E 'capa|cluster-api-provider-aws-preview'\n", "delta": "0:00:00.363796", "end": "2025-04-14 10:51:05.558419", "msg": "non-zero return code", "rc": 1, "start": "2025-04-14 10:51:05.194623", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} ...ignoring TASK [Get capa mutatingwebhookconfiguration] *********************************** fatal: [localhost]: FAILED! => {"changed": true, "cmd": "oc get mutatingwebhookconfiguration -n multicluster-engine -ojson |\\\njq -r '.items[].metadata | select(.labels[\"installer.namespace\"]==\"multicluster-engine\" or .labels[\"backplaneconfig.name\"]==\"multiclusterengine\") | .name' | grep -E 'capa|cluster-api-provider-aws-preview'\n", "delta": "0:00:00.415794", "end": "2025-04-14 10:51:06.392630", "msg": "non-zero return code", "rc": 1, "start": "2025-04-14 10:51:05.976836", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} ...ignoring TASK [Get capa validatingwebhookconfiguration] ********************************* fatal: [localhost]: FAILED! => {"changed": true, "cmd": "oc get validatingwebhookconfiguration -n multicluster-engine -ojson |\\\njq -r '.items[].metadata | select(.labels[\"installer.namespace\"]==\"multicluster-engine\" or .labels[\"backplaneconfig.name\"]==\"multiclusterengine\") | .name' | grep -E 'capa|cluster-api-provider-aws-preview'\n", "delta": "0:00:00.499363", "end": "2025-04-14 10:51:07.296855", "msg": "non-zero return code", "rc": 1, "start": "2025-04-14 10:51:06.797492", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} ...ignoring TASK [Get capa secret] ********************************************************* fatal: [localhost]: FAILED! => {"changed": true, "cmd": "oc get secret -n multicluster-engine -ojson |\\\njq -r '.items[].metadata.name' | grep -E 'capa|cluster-api-provider-aws-preview'\n", "delta": "0:00:00.546744", "end": "2025-04-14 10:51:08.241329", "msg": "non-zero return code", "rc": 1, "start": "2025-04-14 10:51:07.694585", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} ...ignoring TASK [Get capa namespace] ****************************************************** fatal: [localhost]: FAILED! => {"changed": true, "cmd": "oc get namespace -ojson |\\\njq -r '.items[].metadata | select(.labels[\"backplaneconfig.name\"]==\"multiclusterengine\") | .name' | grep -E 'capa|cluster-api-provider-aws-preview'\n", "delta": "0:00:00.429191", "end": "2025-04-14 10:51:09.063919", "msg": "non-zero return code", "rc": 1, "start": "2025-04-14 10:51:08.634728", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} ...ignoring TASK [Get infrastructure-aws pod] ********************************************** changed: [localhost] TASK [Get cluster-api-provider-aws-preview status in MCE] ********************** included: /Users/tinafitzgerald/acm_dev/automation-capi/tasks/get_mce_component_status.yml for localhost TASK [Get the cluster-api-provider-aws-preview status in MCE] ****************** changed: [localhost] TASK [print output] ************************************************************ ok: [localhost] => { "msg": "cluster-api-provider-aws-preview enabled=false" } TASK [capa : RHACM4K-56157 - Verify CAPA can be enabled properly] ************** skipping: [localhost] TASK [capa : RHACM4K-56157 - Verify CAPA can be disabled properly] ************* ok: [localhost] => { "changed": false, "msg": "All assertions passed" } PLAY [CAPA Tests] ************************************************************** TASK [Gathering Facts] ********************************************************* ok: [localhost] TASK [Get cluster-api-provider-aws-preview status in MCE] ********************** included: /Users/tinafitzgerald/acm_dev/automation-capi/tasks/get_mce_component_status.yml for localhost TASK [Get the cluster-api-provider-aws-preview status in MCE] ****************** changed: [localhost] TASK [print output] ************************************************************ ok: [localhost] => { "msg": "cluster-api-provider-aws-preview enabled=false" } TASK [set_fact] **************************************************************** ok: [localhost] TASK [Wait for MCE running status] ********************************************* included: /Users/tinafitzgerald/acm_dev/automation-capi/tasks/wait_for_mce_status.yml for localhost TASK [Wait for MCE to be Available] ******************************************** changed: [localhost] TASK [Update cluster-api-provider-aws-preview enable flag] ********************* included: /Users/tinafitzgerald/acm_dev/automation-capi/tasks/update_enabled_flag.yml for localhost TASK [Construct patch string] ************************************************** changed: [localhost] TASK [Get name of MCE] ********************************************************* changed: [localhost] TASK [Apply patch [{"op": "add", "path": "/spec/overrides/components/-","value":{"name":"cluster-api-provider-aws-preview","enabled":true}}] to MCE multiclusterengine] *** changed: [localhost] TASK [Wait for MCE running status] ********************************************* included: /Users/tinafitzgerald/acm_dev/automation-capi/tasks/wait_for_mce_status.yml for localhost TASK [Wait for MCE to be Available] ******************************************** FAILED - RETRYING: [localhost]: Wait for MCE to be Available (60 retries left). FAILED - RETRYING: [localhost]: Wait for MCE to be Available (59 retries left). FAILED - RETRYING: [localhost]: Wait for MCE to be Available (58 retries left). FAILED - RETRYING: [localhost]: Wait for MCE to be Available (57 retries left). changed: [localhost] TASK [Get capa resources] ****************************************************** included: /Users/tinafitzgerald/acm_dev/automation-capi/tasks/get_component_resources.yml for localhost TASK [set_fact] **************************************************************** ok: [localhost] TASK [Get name of MCE] ********************************************************* changed: [localhost] TASK [Get capa deployment] ***************************************************** changed: [localhost] TASK [Get capa service] ******************************************************** changed: [localhost] TASK [Get capa serviceaccount] ************************************************* changed: [localhost] TASK [Get capa clusterrole] **************************************************** changed: [localhost] TASK [Get capa clusterrolebinding] ********************************************* changed: [localhost] TASK [Get capa role] *********************************************************** changed: [localhost] TASK [Get capa rolebinding] **************************************************** changed: [localhost] TASK [Get capa mutatingwebhookconfiguration] *********************************** changed: [localhost] TASK [Get capa validatingwebhookconfiguration] ********************************* changed: [localhost] TASK [Get capa secret] ********************************************************* changed: [localhost] TASK [Get capa namespace] ****************************************************** changed: [localhost] TASK [Get infrastructure-aws pod] ********************************************** changed: [localhost] TASK [Get cluster-api-provider-aws-preview status in MCE] ********************** included: /Users/tinafitzgerald/acm_dev/automation-capi/tasks/get_mce_component_status.yml for localhost TASK [Get the cluster-api-provider-aws-preview status in MCE] ****************** changed: [localhost] TASK [print output] ************************************************************ ok: [localhost] => { "msg": "cluster-api-provider-aws-preview enabled=true" } TASK [capa : RHACM4K-56157 - Verify CAPA can be enabled properly] ************** ok: [localhost] => { "changed": false, "msg": "All assertions passed" } TASK [capa : RHACM4K-56157 - Verify CAPA can be disabled properly] ************* skipping: [localhost] PLAY [CAPI Tests] ************************************************************** TASK [Gathering Facts] ********************************************************* ok: [localhost] TASK [Get cluster-api-preview status in MCE] *********************************** included: /Users/tinafitzgerald/acm_dev/automation-capi/tasks/get_mce_component_status.yml for localhost TASK [Get the cluster-api-preview status in MCE] ******************************* changed: [localhost] TASK [print output] ************************************************************ ok: [localhost] => { "msg": "cluster-api-preview enabled=false" } TASK [set_fact] **************************************************************** ok: [localhost] TASK [Wait for MCE running status] ********************************************* included: /Users/tinafitzgerald/acm_dev/automation-capi/tasks/wait_for_mce_status.yml for localhost TASK [Wait for MCE to be Available] ******************************************** changed: [localhost] TASK [Update cluster-api-preview enabled flag] ********************************* included: /Users/tinafitzgerald/acm_dev/automation-capi/tasks/update_enabled_flag.yml for localhost TASK [Construct patch string] ************************************************** changed: [localhost] TASK [Get name of MCE] ********************************************************* changed: [localhost] TASK [Apply patch [{"op": "add", "path": "/spec/overrides/components/-","value":{"name":"cluster-api-preview","enabled":false}}] to MCE multiclusterengine] *** changed: [localhost] TASK [Wait for MCE running status] ********************************************* included: /Users/tinafitzgerald/acm_dev/automation-capi/tasks/wait_for_mce_status.yml for localhost TASK [Wait for MCE to be Available] ******************************************** FAILED - RETRYING: [localhost]: Wait for MCE to be Available (60 retries left). FAILED - RETRYING: [localhost]: Wait for MCE to be Available (59 retries left). changed: [localhost] TASK [Get capi resources] ****************************************************** included: /Users/tinafitzgerald/acm_dev/automation-capi/tasks/get_component_resources.yml for localhost TASK [set_fact] **************************************************************** ok: [localhost] TASK [Get name of MCE] ********************************************************* changed: [localhost] TASK [Get capi deployment] ***************************************************** fatal: [localhost]: FAILED! => {"attempts": 1, "changed": true, "cmd": "oc get deployment -n multicluster-engine -ojson |\\\njq -r '.items[].metadata | select(.labels[\"installer.namespace\"]==\"multicluster-engine\" or .labels[\"backplaneconfig.name\"]==\"multiclusterengine\" or .labels[\"app\"]==\"capi\") | .name' | grep capi\n", "delta": "0:00:00.430538", "end": "2025-04-14 10:52:15.597518", "msg": "non-zero return code", "rc": 1, "start": "2025-04-14 10:52:15.166980", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} ...ignoring TASK [Get capi service] ******************************************************** fatal: [localhost]: FAILED! => {"changed": true, "cmd": "oc get service -n multicluster-engine -ojson |\\\njq -r '.items[].metadata | .name' | grep capi\n", "delta": "0:00:00.379204", "end": "2025-04-14 10:52:16.373186", "msg": "non-zero return code", "rc": 1, "start": "2025-04-14 10:52:15.993982", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} ...ignoring TASK [Get capi serviceaccount] ************************************************* fatal: [localhost]: FAILED! => {"changed": true, "cmd": "oc get serviceaccount -n multicluster-engine -ojson |\\\njq -r '.items[].metadata | select(.labels[\"installer.namespace\"]==\"multicluster-engine\" or .labels[\"backplaneconfig.name\"]==\"multiclusterengine\") | .name' | grep -E 'capi|cluster-api-preview'\n", "delta": "0:00:00.367501", "end": "2025-04-14 10:52:17.135995", "msg": "non-zero return code", "rc": 1, "start": "2025-04-14 10:52:16.768494", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} ...ignoring TASK [Get capi clusterrole] **************************************************** fatal: [localhost]: FAILED! => {"changed": true, "cmd": "oc get clusterrole -n multicluster-engine -ojson |\\\njq -r '.items[].metadata | select(.labels[\"installer.namespace\"]==\"multicluster-engine\" or .labels[\"backplaneconfig.name\"]==\"multiclusterengine\") | .name' | grep -E 'capi|cluster-api-preview'\n", "delta": "0:00:01.081123", "end": "2025-04-14 10:52:18.598917", "msg": "non-zero return code", "rc": 1, "start": "2025-04-14 10:52:17.517794", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} ...ignoring TASK [Get capi clusterrolebinding] ********************************************* fatal: [localhost]: FAILED! => {"changed": true, "cmd": "oc get clusterrolebinding -n multicluster-engine -ojson |\\\njq -r '.items[].metadata | select(.labels[\"installer.namespace\"]==\"multicluster-engine\" or .labels[\"backplaneconfig.name\"]==\"multiclusterengine\") | .name' | grep -E 'capi|cluster-api-preview'\n", "delta": "0:00:00.566949", "end": "2025-04-14 10:52:19.542732", "msg": "non-zero return code", "rc": 1, "start": "2025-04-14 10:52:18.975783", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} ...ignoring TASK [Get capi role] *********************************************************** fatal: [localhost]: FAILED! => {"changed": true, "cmd": "oc get role -n multicluster-engine -ojson |\\\njq -r '.items[].metadata.name' | grep -E 'capi|cluster-api-preview'\n", "delta": "0:00:00.378502", "end": "2025-04-14 10:52:20.290539", "msg": "non-zero return code", "rc": 1, "start": "2025-04-14 10:52:19.912037", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} ...ignoring TASK [Get capi rolebinding] **************************************************** fatal: [localhost]: FAILED! => {"changed": true, "cmd": "oc get rolebinding -n multicluster-engine -ojson |\\\njq -r '.items[].metadata | select(.labels[\"installer.namespace\"]==\"multicluster-engine\" or .labels[\"backplaneconfig.name\"]==\"multiclusterengine\") | .name' | grep -E 'capi|cluster-api-preview'\n", "delta": "0:00:00.369843", "end": "2025-04-14 10:52:21.217686", "msg": "non-zero return code", "rc": 1, "start": "2025-04-14 10:52:20.847843", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} ...ignoring TASK [Get capi mutatingwebhookconfiguration] *********************************** fatal: [localhost]: FAILED! => {"changed": true, "cmd": "oc get mutatingwebhookconfiguration -n multicluster-engine -ojson |\\\njq -r '.items[].metadata | select(.labels[\"installer.namespace\"]==\"multicluster-engine\" or .labels[\"backplaneconfig.name\"]==\"multiclusterengine\") | .name' | grep -E 'capi|cluster-api-preview'\n", "delta": "0:00:00.433471", "end": "2025-04-14 10:52:22.055854", "msg": "non-zero return code", "rc": 1, "start": "2025-04-14 10:52:21.622383", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} ...ignoring TASK [Get capi validatingwebhookconfiguration] ********************************* fatal: [localhost]: FAILED! => {"changed": true, "cmd": "oc get validatingwebhookconfiguration -n multicluster-engine -ojson |\\\njq -r '.items[].metadata | select(.labels[\"installer.namespace\"]==\"multicluster-engine\" or .labels[\"backplaneconfig.name\"]==\"multiclusterengine\") | .name' | grep -E 'capi|cluster-api-preview'\n", "delta": "0:00:00.401432", "end": "2025-04-14 10:52:22.800095", "msg": "non-zero return code", "rc": 1, "start": "2025-04-14 10:52:22.398663", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} ...ignoring TASK [Get capi secret] ********************************************************* fatal: [localhost]: FAILED! => {"changed": true, "cmd": "oc get secret -n multicluster-engine -ojson |\\\njq -r '.items[].metadata.name' | grep -E 'capi|cluster-api-preview'\n", "delta": "0:00:00.523766", "end": "2025-04-14 10:52:23.693813", "msg": "non-zero return code", "rc": 1, "start": "2025-04-14 10:52:23.170047", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} ...ignoring TASK [Get capi namespace] ****************************************************** fatal: [localhost]: FAILED! => {"changed": true, "cmd": "oc get namespace -ojson |\\\njq -r '.items[].metadata | select(.labels[\"backplaneconfig.name\"]==\"multiclusterengine\") | .name' | grep -E 'capi|cluster-api-preview'\n", "delta": "0:00:00.439741", "end": "2025-04-14 10:52:24.527522", "msg": "non-zero return code", "rc": 1, "start": "2025-04-14 10:52:24.087781", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} ...ignoring TASK [Get cluster-api pod] ***************************************************** changed: [localhost] TASK [Get cluster-api-preview status in MCE] *********************************** included: /Users/tinafitzgerald/acm_dev/automation-capi/tasks/get_mce_component_status.yml for localhost TASK [Get the cluster-api-preview status in MCE] ******************************* changed: [localhost] TASK [print output] ************************************************************ ok: [localhost] => { "msg": "cluster-api-preview enabled=false" } TASK [capi : RHACM4K-56157 - Verify CAPI can be enabled properly] ************** skipping: [localhost] TASK [capi : RHACM4K-56157 - Verify CAPI can be disabled properly] ************* ok: [localhost] => { "changed": false, "msg": "All assertions passed" } PLAY RECAP ********************************************************************* localhost : ok=165 changed=103 unreachable=0 failed=0 skipped=7 rescued=0 ignored=33