ansible-playbook [core 2.17.12] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/collections-99Q executable location = /usr/local/bin/ansible-playbook python version = 3.12.10 (main, May 9 2025, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-5)] (/usr/bin/python3.12) jinja version = 3.1.6 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles statically imported: /tmp/collections-99Q/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml statically imported: /tmp/collections-99Q/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml statically imported: /tmp/collections-99Q/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/check_candlepin.yml Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'jsonl', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_environments.yml *********************************************** 1 plays in /tmp/collections-99Q/ansible_collections/fedora/linux_system_roles/tests/rhc/tests_environments.yml PLAY [Basic repository enablement/disablement test] **************************** TASK [Get LSR_RHC_TEST_DATA environment variable] ****************************** task path: /tmp/collections-99Q/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml:3 Saturday 24 May 2025 15:19:55 -0400 (0:00:00.035) 0:00:00.035 ********** ok: [managed-node2] => { "ansible_facts": { "lsr_rhc_test_data_file": "" }, "changed": false } TASK [Import test data] ******************************************************** task path: /tmp/collections-99Q/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml:12 Saturday 24 May 2025 15:19:55 -0400 (0:00:00.017) 0:00:00.053 ********** skipping: [managed-node2] => { "changed": false, "false_condition": "lsr_rhc_test_data_file | length > 0", "skip_reason": "Conditional result was False" } TASK [Get facts for external test data] **************************************** task path: /tmp/collections-99Q/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml:16 Saturday 24 May 2025 15:19:55 -0400 (0:00:00.044) 0:00:00.097 ********** skipping: [managed-node2] => { "changed": false, "false_condition": "lsr_rhc_test_data_file | length > 0", "skip_reason": "Conditional result was False" } TASK [Set local lsr_rhc_test_data] ********************************************* task path: /tmp/collections-99Q/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml:24 Saturday 24 May 2025 15:19:55 -0400 (0:00:00.033) 0:00:00.130 ********** ok: [managed-node2] => { "ansible_facts": { "lsr_rhc_test_data": { "baseurl": "http://localhost:8080", "candlepin_host": "candlepin.local", "candlepin_insecure": false, "candlepin_port": 8443, "candlepin_prefix": "/candlepin", "env_nonworking": "Ceci n'est pas une environment", "envs_register": [ "Environment 2" ], "insights": false, "proxy_auth_hostname": "localhost", "proxy_auth_password": "proxypass", "proxy_auth_port": 3130, "proxy_auth_scheme": "https", "proxy_auth_username": "proxyuser", "proxy_noauth_hostname": "localhost", "proxy_noauth_port": 3128, "proxy_noauth_scheme": "https", "proxy_nonworking_hostname": "wrongproxy", "proxy_nonworking_password": "wrong-proxypassword", "proxy_nonworking_port": 4000, "proxy_nonworking_username": "wrong-proxyuser", "reg_activation_keys": [ "default_key" ], "reg_invalid_password": "invalid-password", "reg_invalid_username": "invalid-user", "reg_organization": "donaldduck", "reg_password": "password", "reg_username": "doc", "release": null, "repositories": [ { "name": "donaldy-content-label-7051", "state": "enabled" }, { "name": "content-label-32060", "state": "disabled" } ] } }, "ansible_included_var_files": [ "/tmp/collections-99Q/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/../files/candlepin_data.yml" ], "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-99Q/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml:32 Saturday 24 May 2025 15:19:55 -0400 (0:00:00.038) 0:00:00.169 ********** [WARNING]: Platform linux on host managed-node2 is using the discovered Python interpreter at /usr/bin/python3.9, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed-node2] => { "ansible_facts": { "discovered_interpreter_python": "/usr/bin/python3.9" }, "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-99Q/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml:37 Saturday 24 May 2025 15:19:57 -0400 (0:00:01.714) 0:00:01.883 ********** ok: [managed-node2] => { "ansible_facts": { "__rhc_is_ostree": false }, "changed": false } TASK [Get facts for external test data] **************************************** task path: /tmp/collections-99Q/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:9 Saturday 24 May 2025 15:19:57 -0400 (0:00:00.020) 0:00:01.903 ********** ok: [managed-node2] TASK [Set helper fact for Candlepin base URL] ********************************** task path: /tmp/collections-99Q/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:17 Saturday 24 May 2025 15:19:57 -0400 (0:00:00.668) 0:00:02.571 ********** ok: [managed-node2] => { "ansible_facts": { "_cp_url": "https://candlepin.local:8443/candlepin" }, "changed": false } TASK [Set helper fact for Candlepin owner URL] ********************************* task path: /tmp/collections-99Q/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:21 Saturday 24 May 2025 15:19:58 -0400 (0:00:00.033) 0:00:02.605 ********** ok: [managed-node2] => { "ansible_facts": { "_cp_url_owner": "https://candlepin.local:8443/candlepin/owners/donaldduck" }, "changed": false } TASK [Add candlepin hostname to /etc/hosts] ************************************ task path: /tmp/collections-99Q/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:25 Saturday 24 May 2025 15:19:58 -0400 (0:00:00.033) 0:00:02.639 ********** changed: [managed-node2] => { "backup": "", "changed": true } MSG: line added TASK [Install needed packages] ************************************************* task path: /tmp/collections-99Q/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:31 Saturday 24 May 2025 15:19:58 -0400 (0:00:00.448) 0:00:03.088 ********** fatal: [managed-node2]: FAILED! => { "changed": false, "rc": 1, "results": [] } MSG: Failed to download metadata for repo 'highavailability': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried TASK [Clean up Candlepin container] ******************************************** task path: /tmp/collections-99Q/ansible_collections/fedora/linux_system_roles/tests/rhc/tests_environments.yml:111 Saturday 24 May 2025 15:20:03 -0400 (0:00:04.771) 0:00:07.859 ********** included: /tmp/collections-99Q/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/teardown_candlepin.yml for managed-node2 TASK [Check if the candlepin container exists] ********************************* task path: /tmp/collections-99Q/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/teardown_candlepin.yml:6 Saturday 24 May 2025 15:20:03 -0400 (0:00:00.033) 0:00:07.892 ********** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "podman ps -a --filter name=candlepin", "rc": 2 } MSG: [Errno 2] No such file or directory: b'podman' PLAY RECAP ********************************************************************* managed-node2 : ok=9 changed=1 unreachable=0 failed=2 skipped=2 rescued=0 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [ { "ansible_version": "2.17.12", "end_time": "2025-05-24T19:20:03.273824+00:00Z", "host": "managed-node2", "message": "Failed to download metadata for repo 'highavailability': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried", "rc": 1, "start_time": "2025-05-24T19:19:58.505052+00:00Z", "task_name": "Install needed packages", "task_path": "/tmp/collections-99Q/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:31" }, { "ansible_version": "2.17.12", "end_time": "2025-05-24T19:20:03.815162+00:00Z", "host": "managed-node2", "message": "[Errno 2] No such file or directory: b'podman'", "rc": 2, "start_time": "2025-05-24T19:20:03.310444+00:00Z", "task_name": "Check if the candlepin container exists", "task_path": "/tmp/collections-99Q/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/teardown_candlepin.yml:6" } ] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Saturday 24 May 2025 15:20:03 -0400 (0:00:00.507) 0:00:08.400 ********** =============================================================================== Install needed packages ------------------------------------------------- 4.77s /tmp/collections-99Q/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:31 Check if system is ostree ----------------------------------------------- 1.71s /tmp/collections-99Q/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml:32 Get facts for external test data ---------------------------------------- 0.67s /tmp/collections-99Q/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:9 Check if the candlepin container exists --------------------------------- 0.51s /tmp/collections-99Q/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/teardown_candlepin.yml:6 Add candlepin hostname to /etc/hosts ------------------------------------ 0.45s /tmp/collections-99Q/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:25 Import test data -------------------------------------------------------- 0.04s /tmp/collections-99Q/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml:12 Set local lsr_rhc_test_data --------------------------------------------- 0.04s /tmp/collections-99Q/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml:24 Set helper fact for Candlepin base URL ---------------------------------- 0.03s /tmp/collections-99Q/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:17 Set helper fact for Candlepin owner URL --------------------------------- 0.03s /tmp/collections-99Q/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:21 Clean up Candlepin container -------------------------------------------- 0.03s /tmp/collections-99Q/ansible_collections/fedora/linux_system_roles/tests/rhc/tests_environments.yml:111 Get facts for external test data ---------------------------------------- 0.03s /tmp/collections-99Q/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml:16 Set flag to indicate system is ostree ----------------------------------- 0.02s /tmp/collections-99Q/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml:37 Get LSR_RHC_TEST_DATA environment variable ------------------------------ 0.02s /tmp/collections-99Q/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml:3