ansible-playbook 2.9.27 config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.9/site-packages/ansible executable location = /usr/local/bin/ansible-playbook python version = 3.9.19 (main, May 16 2024, 11:40:09) [GCC 8.5.0 20210514 (Red Hat 8.5.0-22)] No config file found; using defaults [WARNING]: running playbook inside collection fedora.linux_system_roles statically imported: /tmp/tmp.v6pLofGM2x/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml statically imported: /tmp/tmp.v6pLofGM2x/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml statically imported: /tmp/tmp.v6pLofGM2x/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/check_candlepin.yml statically imported: /tmp/tmp.v6pLofGM2x/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_squid.yml statically imported: /tmp/tmp.v6pLofGM2x/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_squid.yml Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_proxy.yml ****************************************************** 1 plays in /tmp/tmp.v6pLofGM2x/ansible_collections/fedora/linux_system_roles/tests/rhc/tests_proxy.yml PLAY [Basic proxy test] ******************************************************** META: ran handlers TASK [Get LSR_RHC_TEST_DATA environment variable] ****************************** task path: /tmp/tmp.v6pLofGM2x/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml:3 Tuesday 06 August 2024 08:10:30 -0400 (0:00:00.027) 0:00:00.027 ******** ok: [managed_node1] => { "ansible_facts": { "lsr_rhc_test_data_file": "" }, "changed": false } TASK [Import test data] ******************************************************** task path: /tmp/tmp.v6pLofGM2x/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml:12 Tuesday 06 August 2024 08:10:30 -0400 (0:00:00.039) 0:00:00.067 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get facts for external test data] **************************************** task path: /tmp/tmp.v6pLofGM2x/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml:16 Tuesday 06 August 2024 08:10:30 -0400 (0:00:00.035) 0:00:00.102 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set local lsr_rhc_test_data] ********************************************* task path: /tmp/tmp.v6pLofGM2x/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml:24 Tuesday 06 August 2024 08:10:30 -0400 (0:00:00.035) 0:00:00.138 ******** ok: [managed_node1] => { "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": "admin", "reg_password": "admin", "reg_username": "admin", "release": null, "repositories": [ { "name": "admin-content-label-5051", "state": "enabled" }, { "name": "content-label-32060", "state": "disabled" } ] } }, "ansible_included_var_files": [ "/tmp/tmp.v6pLofGM2x/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/../files/candlepin_data.yml" ], "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/tmp.v6pLofGM2x/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml:32 Tuesday 06 August 2024 08:10:30 -0400 (0:00:00.039) 0:00:00.177 ******** ok: [managed_node1] => { "ansible_facts": { "discovered_interpreter_python": "/usr/libexec/platform-python" }, "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/tmp.v6pLofGM2x/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml:37 Tuesday 06 August 2024 08:10:31 -0400 (0:00:00.588) 0:00:00.766 ******** ok: [managed_node1] => { "ansible_facts": { "__rhc_is_ostree": false }, "changed": false } TASK [Get facts for external test data] **************************************** task path: /tmp/tmp.v6pLofGM2x/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:9 Tuesday 06 August 2024 08:10:31 -0400 (0:00:00.040) 0:00:00.807 ******** ok: [managed_node1] TASK [Set helper fact for Candlepin base URL] ********************************** task path: /tmp/tmp.v6pLofGM2x/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:17 Tuesday 06 August 2024 08:10:31 -0400 (0:00:00.716) 0:00:01.523 ******** ok: [managed_node1] => { "ansible_facts": { "_cp_url": "https://candlepin.local:8443/candlepin" }, "changed": false } TASK [Set helper fact for Candlepin owner URL] ********************************* task path: /tmp/tmp.v6pLofGM2x/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:21 Tuesday 06 August 2024 08:10:32 -0400 (0:00:00.039) 0:00:01.563 ******** ok: [managed_node1] => { "ansible_facts": { "_cp_url_owner": "https://candlepin.local:8443/candlepin/owners/admin" }, "changed": false } TASK [Set helper fact with start of podman run invocation] ********************* task path: /tmp/tmp.v6pLofGM2x/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:25 Tuesday 06 August 2024 08:10:32 -0400 (0:00:00.039) 0:00:01.602 ******** ok: [managed_node1] => { "ansible_facts": { "podman_run_cli": [ "podman", "run", "--rm", "--detach", "--hostname", "candlepin.local", "--name", "candlepin", "--publish", "8443:8443", "--publish", "8080:8080", "", "ghcr.io/ptoscano/candlepin-unofficial" ] }, "changed": false } TASK [Filter empty items from podman run invocation] *************************** task path: /tmp/tmp.v6pLofGM2x/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:43 Tuesday 06 August 2024 08:10:32 -0400 (0:00:00.040) 0:00:01.643 ******** ok: [managed_node1] => { "ansible_facts": { "podman_run_cli": "" }, "changed": false } TASK [Add candlepin hostname to /etc/hosts] ************************************ task path: /tmp/tmp.v6pLofGM2x/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:47 Tuesday 06 August 2024 08:10:32 -0400 (0:00:00.039) 0:00:01.682 ******** ok: [managed_node1] => { "backup": "", "changed": false } TASK [Install needed packages] ************************************************* task path: /tmp/tmp.v6pLofGM2x/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:53 Tuesday 06 August 2024 08:10:32 -0400 (0:00:00.480) 0:00:02.163 ******** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Stop and remove Candlepin container] ************************************* task path: /tmp/tmp.v6pLofGM2x/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:60 Tuesday 06 August 2024 08:10:36 -0400 (0:00:03.644) 0:00:05.808 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "podman", "stop", "candlepin" ], "delta": "0:00:01.039559", "end": "2024-08-06 08:10:37.730524", "failed_when_result": false, "rc": 125, "start": "2024-08-06 08:10:36.690965" } STDERR: Error: no container with name or ID "candlepin" found: no such container MSG: non-zero return code TASK [Start Candlepin container] *********************************************** task path: /tmp/tmp.v6pLofGM2x/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:72 Tuesday 06 August 2024 08:10:37 -0400 (0:00:01.534) 0:00:07.343 ******** fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "''", "rc": 2 } MSG: [Errno 2] No such file or directory: b'': b'' PLAY RECAP ********************************************************************* managed_node1 : ok=12 changed=0 unreachable=0 failed=1 skipped=2 rescued=0 ignored=0 Tuesday 06 August 2024 08:10:38 -0400 (0:00:00.396) 0:00:07.739 ******** =============================================================================== Install needed packages ------------------------------------------------- 3.64s /tmp/tmp.v6pLofGM2x/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:53 Stop and remove Candlepin container ------------------------------------- 1.53s /tmp/tmp.v6pLofGM2x/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:60 Get facts for external test data ---------------------------------------- 0.72s /tmp/tmp.v6pLofGM2x/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:9 Check if system is ostree ----------------------------------------------- 0.59s /tmp/tmp.v6pLofGM2x/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml:32 Add candlepin hostname to /etc/hosts ------------------------------------ 0.48s /tmp/tmp.v6pLofGM2x/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:47 Start Candlepin container ----------------------------------------------- 0.40s /tmp/tmp.v6pLofGM2x/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:72 Set helper fact with start of podman run invocation --------------------- 0.04s /tmp/tmp.v6pLofGM2x/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:25 Set flag to indicate system is ostree ----------------------------------- 0.04s /tmp/tmp.v6pLofGM2x/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml:37 Get LSR_RHC_TEST_DATA environment variable ------------------------------ 0.04s /tmp/tmp.v6pLofGM2x/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml:3 Set local lsr_rhc_test_data --------------------------------------------- 0.04s /tmp/tmp.v6pLofGM2x/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml:24 Set helper fact for Candlepin base URL ---------------------------------- 0.04s /tmp/tmp.v6pLofGM2x/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:17 Filter empty items from podman run invocation --------------------------- 0.04s /tmp/tmp.v6pLofGM2x/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:43 Set helper fact for Candlepin owner URL --------------------------------- 0.04s /tmp/tmp.v6pLofGM2x/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:21 Import test data -------------------------------------------------------- 0.04s /tmp/tmp.v6pLofGM2x/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml:12 Get facts for external test data ---------------------------------------- 0.04s /tmp/tmp.v6pLofGM2x/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml:16