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-Gjt 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-Gjt/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml statically imported: /tmp/collections-Gjt/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml statically imported: /tmp/collections-Gjt/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-Gjt/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-Gjt/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml:3 Saturday 25 October 2025 15:20:01 -0400 (0:00:00.046) 0:00:00.046 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_rhc_test_data_file": "" }, "changed": false } TASK [Import test data] ******************************************************** task path: /tmp/collections-Gjt/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml:12 Saturday 25 October 2025 15:20:01 -0400 (0:00:00.024) 0:00:00.070 ****** 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-Gjt/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml:16 Saturday 25 October 2025 15:20:01 -0400 (0:00:00.045) 0:00:00.116 ****** 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-Gjt/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml:24 Saturday 25 October 2025 15:20:01 -0400 (0:00:00.045) 0:00:00.162 ****** 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-Gjt/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-Gjt/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml:32 Saturday 25 October 2025 15:20:01 -0400 (0:00:00.043) 0:00:00.205 ****** [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-Gjt/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml:37 Saturday 25 October 2025 15:20:02 -0400 (0:00:01.702) 0:00:01.908 ****** ok: [managed-node2] => { "ansible_facts": { "__rhc_is_ostree": false }, "changed": false } TASK [Get facts for external test data] **************************************** task path: /tmp/collections-Gjt/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:9 Saturday 25 October 2025 15:20:02 -0400 (0:00:00.019) 0:00:01.928 ****** ok: [managed-node2] TASK [Set helper fact for Candlepin base URL] ********************************** task path: /tmp/collections-Gjt/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:17 Saturday 25 October 2025 15:20:03 -0400 (0:00:00.686) 0:00:02.614 ****** 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-Gjt/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:21 Saturday 25 October 2025 15:20:03 -0400 (0:00:00.033) 0:00:02.648 ****** 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-Gjt/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:25 Saturday 25 October 2025 15:20:03 -0400 (0:00:00.034) 0:00:02.683 ****** changed: [managed-node2] => { "backup": "", "changed": true } MSG: line added TASK [Install needed packages] ************************************************* task path: /tmp/collections-Gjt/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:31 Saturday 25 October 2025 15:20:04 -0400 (0:00:00.460) 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-Gjt/ansible_collections/fedora/linux_system_roles/tests/rhc/tests_environments.yml:111 Saturday 25 October 2025 15:20:17 -0400 (0:00:13.728) 0:00:16.872 ****** included: /tmp/collections-Gjt/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-Gjt/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/teardown_candlepin.yml:6 Saturday 25 October 2025 15:20:17 -0400 (0:00:00.039) 0:00:16.911 ****** 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-25T19:20:17.868302+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-25T19:20:04.145257+00:00Z", "task_name": "Install needed packages", "task_path": "/tmp/collections-Gjt/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:31" }, { "ansible_version": "2.17.14", "end_time": "2025-10-25T19:20:18.495290+00:00Z", "host": "managed-node2", "message": "[Errno 2] No such file or directory: b'podman'", "rc": 2, "start_time": "2025-10-25T19:20:17.915279+00:00Z", "task_name": "Check if the candlepin container exists", "task_path": "/tmp/collections-Gjt/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/teardown_candlepin.yml:6" } ] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Saturday 25 October 2025 15:20:18 -0400 (0:00:00.584) 0:00:17.495 ****** =============================================================================== Install needed packages ------------------------------------------------ 13.73s /tmp/collections-Gjt/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:31 Check if system is ostree ----------------------------------------------- 1.70s /tmp/collections-Gjt/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml:32 Get facts for external test data ---------------------------------------- 0.69s /tmp/collections-Gjt/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:9 Check if the candlepin container exists --------------------------------- 0.58s /tmp/collections-Gjt/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/teardown_candlepin.yml:6 Add candlepin hostname to /etc/hosts ------------------------------------ 0.46s /tmp/collections-Gjt/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:25 Get facts for external test data ---------------------------------------- 0.05s /tmp/collections-Gjt/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml:16 Import test data -------------------------------------------------------- 0.05s /tmp/collections-Gjt/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml:12 Set local lsr_rhc_test_data --------------------------------------------- 0.04s /tmp/collections-Gjt/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml:24 Clean up Candlepin container -------------------------------------------- 0.04s /tmp/collections-Gjt/ansible_collections/fedora/linux_system_roles/tests/rhc/tests_environments.yml:111 Set helper fact for Candlepin owner URL --------------------------------- 0.03s /tmp/collections-Gjt/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:21 Set helper fact for Candlepin base URL ---------------------------------- 0.03s /tmp/collections-Gjt/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:17 Get LSR_RHC_TEST_DATA environment variable ------------------------------ 0.02s /tmp/collections-Gjt/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-Gjt/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml:37 Oct 25 15:20:01 managed-node2 sshd-session[7414]: Accepted publickey for root from 10.31.42.5 port 46172 ssh2: ECDSA SHA256:3n//XOX3iy8KDqKxKKCw66+W3LNeGg7xbwW1BZE5lds Oct 25 15:20:01 managed-node2 systemd-logind[608]: New session 7 of user root. ░░ Subject: A new session 7 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 7 has been created for the user root. ░░ ░░ The leading process of the session is 7414. Oct 25 15:20:01 managed-node2 systemd[1]: Started Session 7 of User root. ░░ Subject: A start job for unit session-7.scope has finished successfully ░░ Defined-By: systemd ░░ Support: https://access.redhat.com/support ░░ ░░ A start job for unit session-7.scope has finished successfully. ░░ ░░ The job identifier is 1038. Oct 25 15:20:01 managed-node2 sshd-session[7414]: pam_unix(sshd:session): session opened for user root(uid=0) by root(uid=0) Oct 25 15:20:02 managed-node2 sudo[7591]: root : TTY=pts/0 ; PWD=/root ; USER=root ; COMMAND=/bin/sh -c 'echo BECOME-SUCCESS-mvgcvimwuosfwcxkmyoblfmkyppjdaby ; /usr/bin/python3.9 /root/.ansible/tmp/ansible-tmp-1761420002.411073-7911-42013593329479/AnsiballZ_stat.py' Oct 25 15:20:02 managed-node2 sudo[7591]: pam_unix(sudo:session): session opened for user root(uid=0) by root(uid=0) Oct 25 15:20:02 managed-node2 python3.9[7593]: ansible-stat Invoked with path=/run/ostree-booted follow=False get_checksum=True get_mime=True get_attributes=True checksum_algorithm=sha1 Oct 25 15:20:02 managed-node2 sudo[7591]: pam_unix(sudo:session): session closed for user root Oct 25 15:20:03 managed-node2 sudo[7742]: root : TTY=pts/0 ; PWD=/root ; USER=root ; COMMAND=/bin/sh -c 'echo BECOME-SUCCESS-gtzngpniwwjkoodvcwkxmbfnmfowqvqm ; /usr/bin/python3.9 /root/.ansible/tmp/ansible-tmp-1761420002.9880235-7951-74273334547690/AnsiballZ_setup.py' Oct 25 15:20:03 managed-node2 sudo[7742]: pam_unix(sudo:session): session opened for user root(uid=0) by root(uid=0) Oct 25 15:20:03 managed-node2 python3.9[7744]: ansible-setup Invoked with gather_subset=['!all', '!min', 'distribution', 'distribution_major_version'] gather_timeout=10 filter=[] fact_path=/etc/ansible/facts.d Oct 25 15:20:03 managed-node2 sudo[7742]: pam_unix(sudo:session): session closed for user root Oct 25 15:20:03 managed-node2 sudo[7895]: root : TTY=pts/0 ; PWD=/root ; USER=root ; COMMAND=/bin/sh -c 'echo BECOME-SUCCESS-ksmkpxezdxqiyiaeuebwrgvxdwxtbytd ; /usr/bin/python3.9 /root/.ansible/tmp/ansible-tmp-1761420003.7451944-7968-158550540029146/AnsiballZ_lineinfile.py' Oct 25 15:20:03 managed-node2 sudo[7895]: pam_unix(sudo:session): session opened for user root(uid=0) by root(uid=0) Oct 25 15:20:04 managed-node2 python3.9[7897]: 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 25 15:20:04 managed-node2 sudo[7895]: pam_unix(sudo:session): session closed for user root Oct 25 15:20:04 managed-node2 sudo[8046]: root : TTY=pts/0 ; PWD=/root ; USER=root ; COMMAND=/bin/sh -c 'echo BECOME-SUCCESS-khsztdznxhmbaihkkdisvjyrvqbbunyt ; /usr/bin/python3.9 /root/.ansible/tmp/ansible-tmp-1761420004.2049499-7976-41479880164984/AnsiballZ_setup.py' Oct 25 15:20:04 managed-node2 sudo[8046]: pam_unix(sudo:session): session opened for user root(uid=0) by root(uid=0) Oct 25 15:20:04 managed-node2 python3.9[8048]: ansible-ansible.legacy.setup Invoked with filter=['ansible_pkg_mgr'] gather_subset=['!all'] gather_timeout=10 fact_path=/etc/ansible/facts.d Oct 25 15:20:04 managed-node2 sudo[8046]: pam_unix(sudo:session): session closed for user root Oct 25 15:20:04 managed-node2 sudo[8125]: root : TTY=pts/0 ; PWD=/root ; USER=root ; COMMAND=/bin/sh -c 'echo BECOME-SUCCESS-ewvvswujhdatftelpllukqcggbjuxoyn ; /usr/bin/python3.9 /root/.ansible/tmp/ansible-tmp-1761420004.2049499-7976-41479880164984/AnsiballZ_dnf.py' Oct 25 15:20:04 managed-node2 sudo[8125]: pam_unix(sudo:session): session opened for user root(uid=0) by root(uid=0) Oct 25 15:20:05 managed-node2 python3.9[8127]: 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 25 15:20:17 managed-node2 sudo[8125]: pam_unix(sudo:session): session closed for user root Oct 25 15:20:18 managed-node2 sudo[8333]: root : TTY=pts/0 ; PWD=/root ; USER=root ; COMMAND=/bin/sh -c 'echo BECOME-SUCCESS-kcuymhlciiwxmvzxvaqoozpthtqqezfi ; /usr/bin/python3.9 /root/.ansible/tmp/ansible-tmp-1761420018.0053546-8326-242927935597420/AnsiballZ_command.py' Oct 25 15:20:18 managed-node2 sudo[8333]: pam_unix(sudo:session): session opened for user root(uid=0) by root(uid=0) Oct 25 15:20:18 managed-node2 python3.9[8335]: 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 25 15:20:18 managed-node2 python3.9[8335]: ansible-ansible.legacy.command Error Executing CMD:podman ps -a --filter name=candlepin Exception:[Errno 2] No such file or directory: b'podman' Oct 25 15:20:18 managed-node2 sudo[8333]: pam_unix(sudo:session): session closed for user root Oct 25 15:20:18 managed-node2 sshd-session[8361]: Accepted publickey for root from 10.31.42.5 port 41192 ssh2: RSA SHA256:9j1blwt3wcrRiGYZQ7ZGu9axm3cDklH6/z4c+Ee8CzE Oct 25 15:20:18 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 8361. Oct 25 15:20:18 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 1108. Oct 25 15:20:18 managed-node2 sshd-session[8361]: pam_unix(sshd:session): session opened for user root(uid=0) by root(uid=0) Oct 25 15:20:18 managed-node2 sshd-session[8364]: Received disconnect from 10.31.42.5 port 41192:11: disconnected by user Oct 25 15:20:18 managed-node2 sshd-session[8364]: Disconnected from user root 10.31.42.5 port 41192 Oct 25 15:20:18 managed-node2 sshd-session[8361]: pam_unix(sshd:session): session closed for user root Oct 25 15:20:18 managed-node2 systemd[1]: session-8.scope: Deactivated successfully. ░░ Subject: Unit succeeded ░░ Defined-By: systemd ░░ Support: https://access.redhat.com/support ░░ ░░ The unit session-8.scope has successfully entered the 'dead' state. Oct 25 15:20:18 managed-node2 systemd-logind[608]: Session 8 logged out. Waiting for processes to exit. Oct 25 15:20:18 managed-node2 systemd-logind[608]: Removed session 8. ░░ Subject: Session 8 has been terminated ░░ Defined-By: systemd ░░ Support: https://access.redhat.com/support ░░ Documentation: sd-login(3) ░░ ░░ A session with the ID 8 has been terminated. Oct 25 15:20:18 managed-node2 sshd-session[8389]: Accepted publickey for root from 10.31.42.5 port 41196 ssh2: RSA SHA256:9j1blwt3wcrRiGYZQ7ZGu9axm3cDklH6/z4c+Ee8CzE Oct 25 15:20:18 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 8389. Oct 25 15:20:18 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 1177. Oct 25 15:20:18 managed-node2 sshd-session[8389]: pam_unix(sshd:session): session opened for user root(uid=0) by root(uid=0)