ansible-playbook [core 2.17.14] 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-Gm9 executable location = /usr/local/bin/ansible-playbook python version = 3.12.11 (main, Aug 14 2025, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-11)] (/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-Gm9/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml statically imported: /tmp/collections-Gm9/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml statically imported: /tmp/collections-Gm9/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-Gm9/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-Gm9/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml:3 Saturday 11 October 2025 15:17:54 -0400 (0:00:00.048) 0:00:00.048 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_rhc_test_data_file": "" }, "changed": false } TASK [Import test data] ******************************************************** task path: /tmp/collections-Gm9/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml:12 Saturday 11 October 2025 15:17:54 -0400 (0:00:00.025) 0:00:00.074 ****** 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-Gm9/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml:16 Saturday 11 October 2025 15:17:54 -0400 (0:00:00.046) 0:00:00.120 ****** 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-Gm9/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml:24 Saturday 11 October 2025 15:17:54 -0400 (0:00:00.046) 0:00:00.166 ****** 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-Gm9/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-Gm9/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml:32 Saturday 11 October 2025 15:17:54 -0400 (0:00:00.041) 0:00:00.208 ****** [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-Gm9/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml:37 Saturday 11 October 2025 15:17:56 -0400 (0:00:01.692) 0:00:01.901 ****** ok: [managed-node2] => { "ansible_facts": { "__rhc_is_ostree": false }, "changed": false } TASK [Get facts for external test data] **************************************** task path: /tmp/collections-Gm9/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:9 Saturday 11 October 2025 15:17:56 -0400 (0:00:00.019) 0:00:01.921 ****** ok: [managed-node2] TASK [Set helper fact for Candlepin base URL] ********************************** task path: /tmp/collections-Gm9/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:17 Saturday 11 October 2025 15:17:56 -0400 (0:00:00.683) 0:00:02.604 ****** 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-Gm9/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:21 Saturday 11 October 2025 15:17:57 -0400 (0:00:00.033) 0:00:02.638 ****** 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-Gm9/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:25 Saturday 11 October 2025 15:17:57 -0400 (0:00:00.034) 0:00:02.673 ****** changed: [managed-node2] => { "backup": "", "changed": true } MSG: line added TASK [Install needed packages] ************************************************* task path: /tmp/collections-Gm9/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:31 Saturday 11 October 2025 15:17:57 -0400 (0:00:00.470) 0:00:03.143 ****** 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-Gm9/ansible_collections/fedora/linux_system_roles/tests/rhc/tests_environments.yml:111 Saturday 11 October 2025 15:18:11 -0400 (0:00:13.592) 0:00:16.735 ****** included: /tmp/collections-Gm9/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-Gm9/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/teardown_candlepin.yml:6 Saturday 11 October 2025 15:18:11 -0400 (0:00:00.036) 0:00:16.772 ****** 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.14", "end_time": "2025-10-11T19:18:11.109074+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-10-11T19:17:57.525005+00:00Z", "task_name": "Install needed packages", "task_path": "/tmp/collections-Gm9/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:31" }, { "ansible_version": "2.17.14", "end_time": "2025-10-11T19:18:11.713667+00:00Z", "host": "managed-node2", "message": "[Errno 2] No such file or directory: b'podman'", "rc": 2, "start_time": "2025-10-11T19:18:11.153811+00:00Z", "task_name": "Check if the candlepin container exists", "task_path": "/tmp/collections-Gm9/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/teardown_candlepin.yml:6" } ] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Saturday 11 October 2025 15:18:11 -0400 (0:00:00.561) 0:00:17.334 ****** =============================================================================== Install needed packages ------------------------------------------------ 13.59s /tmp/collections-Gm9/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:31 Check if system is ostree ----------------------------------------------- 1.69s /tmp/collections-Gm9/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml:32 Get facts for external test data ---------------------------------------- 0.68s /tmp/collections-Gm9/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:9 Check if the candlepin container exists --------------------------------- 0.56s /tmp/collections-Gm9/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/teardown_candlepin.yml:6 Add candlepin hostname to /etc/hosts ------------------------------------ 0.47s /tmp/collections-Gm9/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:25 Get facts for external test data ---------------------------------------- 0.05s /tmp/collections-Gm9/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml:16 Import test data -------------------------------------------------------- 0.05s /tmp/collections-Gm9/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml:12 Set local lsr_rhc_test_data --------------------------------------------- 0.04s /tmp/collections-Gm9/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml:24 Clean up Candlepin container -------------------------------------------- 0.04s /tmp/collections-Gm9/ansible_collections/fedora/linux_system_roles/tests/rhc/tests_environments.yml:111 Set helper fact for Candlepin owner URL --------------------------------- 0.03s /tmp/collections-Gm9/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:21 Set helper fact for Candlepin base URL ---------------------------------- 0.03s /tmp/collections-Gm9/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:17 Get LSR_RHC_TEST_DATA environment variable ------------------------------ 0.03s /tmp/collections-Gm9/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml:3 Set flag to indicate system is ostree ----------------------------------- 0.02s /tmp/collections-Gm9/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml:37 Oct 11 15:17:54 managed-node2 sshd-session[7624]: Accepted publickey for root from 10.31.47.130 port 33054 ssh2: ECDSA SHA256:zwVUayZATWnlAM8By7/d2TH+hA0zj6VIDwDFQvdq0sI Oct 11 15:17:54 managed-node2 systemd-logind[608]: New session 8 of user root. ░░ Subject: A new session 8 has been created for user root ░░ Defined-By: systemd ░░ Support: https://access.redhat.com/support ░░ Documentation: sd-login(3) ░░ ░░ A new session with the ID 8 has been created for the user root. ░░ ░░ The leading process of the session is 7624. Oct 11 15:17:54 managed-node2 systemd[1]: Started Session 8 of User root. ░░ Subject: A start job for unit session-8.scope has finished successfully ░░ Defined-By: systemd ░░ Support: https://access.redhat.com/support ░░ ░░ A start job for unit session-8.scope has finished successfully. ░░ ░░ The job identifier is 1111. Oct 11 15:17:54 managed-node2 sshd-session[7624]: pam_unix(sshd:session): session opened for user root(uid=0) by root(uid=0) Oct 11 15:17:56 managed-node2 sudo[7801]: root : TTY=pts/0 ; PWD=/root ; USER=root ; COMMAND=/bin/sh -c 'echo BECOME-SUCCESS-qsujkimiokqbdrdgslunvxwjxyhcdssd ; /usr/bin/python3.9 /root/.ansible/tmp/ansible-tmp-1760210275.782886-8122-142743493488633/AnsiballZ_stat.py' Oct 11 15:17:56 managed-node2 sudo[7801]: pam_unix(sudo:session): session opened for user root(uid=0) by root(uid=0) Oct 11 15:17:56 managed-node2 python3.9[7803]: ansible-stat Invoked with path=/run/ostree-booted follow=False get_checksum=True get_mime=True get_attributes=True checksum_algorithm=sha1 Oct 11 15:17:56 managed-node2 sudo[7801]: pam_unix(sudo:session): session closed for user root Oct 11 15:17:56 managed-node2 sudo[7952]: root : TTY=pts/0 ; PWD=/root ; USER=root ; COMMAND=/bin/sh -c 'echo BECOME-SUCCESS-ivayqygbrlxqkycllwgqbkknkvrqrscd ; /usr/bin/python3.9 /root/.ansible/tmp/ansible-tmp-1760210276.3606327-8162-31147740717377/AnsiballZ_setup.py' Oct 11 15:17:56 managed-node2 sudo[7952]: pam_unix(sudo:session): session opened for user root(uid=0) by root(uid=0) Oct 11 15:17:56 managed-node2 python3.9[7954]: ansible-setup Invoked with gather_subset=['!all', '!min', 'distribution', 'distribution_major_version'] gather_timeout=10 filter=[] fact_path=/etc/ansible/facts.d Oct 11 15:17:56 managed-node2 sudo[7952]: pam_unix(sudo:session): session closed for user root Oct 11 15:17:57 managed-node2 sudo[8105]: root : TTY=pts/0 ; PWD=/root ; USER=root ; COMMAND=/bin/sh -c 'echo BECOME-SUCCESS-uvttkdfnvctglosdyhbjnehtckzeyigj ; /usr/bin/python3.9 /root/.ansible/tmp/ansible-tmp-1760210277.1170175-8179-180722908327269/AnsiballZ_lineinfile.py' Oct 11 15:17:57 managed-node2 sudo[8105]: pam_unix(sudo:session): session opened for user root(uid=0) by root(uid=0) Oct 11 15:17:57 managed-node2 python3.9[8107]: ansible-lineinfile Invoked with path=/etc/hosts line=127.0.0.1 candlepin.local regexp=.*candlepin.local state=present backrefs=False create=False backup=False firstmatch=False unsafe_writes=False search_string=None insertafter=None insertbefore=None validate=None mode=None owner=None group=None seuser=None serole=None selevel=None setype=None attributes=None Oct 11 15:17:57 managed-node2 sudo[8105]: pam_unix(sudo:session): session closed for user root Oct 11 15:17:57 managed-node2 sudo[8256]: root : TTY=pts/0 ; PWD=/root ; USER=root ; COMMAND=/bin/sh -c 'echo BECOME-SUCCESS-bijmlwtqkmshcbgbtldjmklptzbexpyt ; /usr/bin/python3.9 /root/.ansible/tmp/ansible-tmp-1760210277.5852535-8187-164636300588235/AnsiballZ_setup.py' Oct 11 15:17:57 managed-node2 sudo[8256]: pam_unix(sudo:session): session opened for user root(uid=0) by root(uid=0) Oct 11 15:17:57 managed-node2 python3.9[8258]: ansible-ansible.legacy.setup Invoked with filter=['ansible_pkg_mgr'] gather_subset=['!all'] gather_timeout=10 fact_path=/etc/ansible/facts.d Oct 11 15:17:57 managed-node2 sudo[8256]: pam_unix(sudo:session): session closed for user root Oct 11 15:17:58 managed-node2 sudo[8335]: root : TTY=pts/0 ; PWD=/root ; USER=root ; COMMAND=/bin/sh -c 'echo BECOME-SUCCESS-iqbtwnqzttdxjppbjiunpmrmcxmjqmlv ; /usr/bin/python3.9 /root/.ansible/tmp/ansible-tmp-1760210277.5852535-8187-164636300588235/AnsiballZ_dnf.py' Oct 11 15:17:58 managed-node2 sudo[8335]: pam_unix(sudo:session): session opened for user root(uid=0) by root(uid=0) Oct 11 15:17:58 managed-node2 python3.9[8337]: ansible-ansible.legacy.dnf Invoked with name=['podman'] state=present allow_downgrade=False allowerasing=False autoremove=False bugfix=False cacheonly=False disable_gpg_check=False disable_plugin=[] disablerepo=[] download_only=False enable_plugin=[] enablerepo=[] exclude=[] installroot=/ install_repoquery=True install_weak_deps=True security=False skip_broken=False update_cache=False update_only=False validate_certs=True sslverify=True lock_timeout=30 use_backend=auto best=None conf_file=None disable_excludes=None download_dir=None list=None nobest=None releasever=None Oct 11 15:18:11 managed-node2 sudo[8335]: pam_unix(sudo:session): session closed for user root Oct 11 15:18:11 managed-node2 sudo[8541]: root : TTY=pts/0 ; PWD=/root ; USER=root ; COMMAND=/bin/sh -c 'echo BECOME-SUCCESS-ieocfqzztvxhiawxlqlcajgpaqsotoip ; /usr/bin/python3.9 /root/.ansible/tmp/ansible-tmp-1760210291.2413855-8609-121128522220281/AnsiballZ_command.py' Oct 11 15:18:11 managed-node2 sudo[8541]: pam_unix(sudo:session): session opened for user root(uid=0) by root(uid=0) Oct 11 15:18:11 managed-node2 python3.9[8543]: ansible-ansible.legacy.command Invoked with argv=['podman', 'ps', '-a', '--filter', 'name=candlepin'] _uses_shell=False expand_argument_vars=True stdin_add_newline=True strip_empty_ends=True _raw_params=None chdir=None executable=None creates=None removes=None stdin=None Oct 11 15:18:11 managed-node2 python3.9[8543]: ansible-ansible.legacy.command Error Executing CMD:podman ps -a --filter name=candlepin Exception:[Errno 2] No such file or directory: b'podman' Oct 11 15:18:11 managed-node2 sudo[8541]: pam_unix(sudo:session): session closed for user root Oct 11 15:18:11 managed-node2 sshd-session[8569]: Accepted publickey for root from 10.31.47.130 port 33168 ssh2: RSA SHA256:9j1blwt3wcrRiGYZQ7ZGu9axm3cDklH6/z4c+Ee8CzE Oct 11 15:18:11 managed-node2 systemd-logind[608]: New session 9 of user root. ░░ Subject: A new session 9 has been created for user root ░░ Defined-By: systemd ░░ Support: https://access.redhat.com/support ░░ Documentation: sd-login(3) ░░ ░░ A new session with the ID 9 has been created for the user root. ░░ ░░ The leading process of the session is 8569. Oct 11 15:18:11 managed-node2 systemd[1]: Started Session 9 of User root. ░░ Subject: A start job for unit session-9.scope has finished successfully ░░ Defined-By: systemd ░░ Support: https://access.redhat.com/support ░░ ░░ A start job for unit session-9.scope has finished successfully. ░░ ░░ The job identifier is 1181. Oct 11 15:18:11 managed-node2 sshd-session[8569]: pam_unix(sshd:session): session opened for user root(uid=0) by root(uid=0) Oct 11 15:18:12 managed-node2 sshd-session[8572]: Received disconnect from 10.31.47.130 port 33168:11: disconnected by user Oct 11 15:18:12 managed-node2 sshd-session[8572]: Disconnected from user root 10.31.47.130 port 33168 Oct 11 15:18:12 managed-node2 sshd-session[8569]: pam_unix(sshd:session): session closed for user root Oct 11 15:18:12 managed-node2 systemd[1]: session-9.scope: Deactivated successfully. ░░ Subject: Unit succeeded ░░ Defined-By: systemd ░░ Support: https://access.redhat.com/support ░░ ░░ The unit session-9.scope has successfully entered the 'dead' state. Oct 11 15:18:12 managed-node2 systemd-logind[608]: Session 9 logged out. Waiting for processes to exit. Oct 11 15:18:12 managed-node2 systemd-logind[608]: Removed session 9. ░░ Subject: Session 9 has been terminated ░░ Defined-By: systemd ░░ Support: https://access.redhat.com/support ░░ Documentation: sd-login(3) ░░ ░░ A session with the ID 9 has been terminated. Oct 11 15:18:12 managed-node2 sshd-session[8597]: Accepted publickey for root from 10.31.47.130 port 33184 ssh2: RSA SHA256:9j1blwt3wcrRiGYZQ7ZGu9axm3cDklH6/z4c+Ee8CzE Oct 11 15:18:12 managed-node2 systemd-logind[608]: New session 10 of user root. ░░ Subject: A new session 10 has been created for user root ░░ Defined-By: systemd ░░ Support: https://access.redhat.com/support ░░ Documentation: sd-login(3) ░░ ░░ A new session with the ID 10 has been created for the user root. ░░ ░░ The leading process of the session is 8597. Oct 11 15:18:12 managed-node2 systemd[1]: Started Session 10 of User root. ░░ Subject: A start job for unit session-10.scope has finished successfully ░░ Defined-By: systemd ░░ Support: https://access.redhat.com/support ░░ ░░ A start job for unit session-10.scope has finished successfully. ░░ ░░ The job identifier is 1250. Oct 11 15:18:12 managed-node2 sshd-session[8597]: pam_unix(sshd:session): session opened for user root(uid=0) by root(uid=0)