# STDOUT: ---v---v---v---v---v--- ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.9/lib/python3.9/site-packages/ansible executable location = /opt/ansible-2.9/bin/ansible-playbook python version = 3.9.18 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] Using /etc/ansible/ansible.cfg as config file statically imported: /WORKDIR/git-tests-using-podman-directlymo7dc5it/tests/tasks/setup_candlepin.yml statically imported: /WORKDIR/git-tests-using-podman-directlymo7dc5it/tests/tasks/setup_test_data.yml statically imported: /WORKDIR/git-tests-using-podman-directlymo7dc5it/tests/tasks/check_candlepin.yml statically imported: /WORKDIR/git-tests-using-podman-directlymo7dc5it/tests/tasks/setup_squid.yml statically imported: /WORKDIR/git-tests-using-podman-directlymo7dc5it/tests/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 /WORKDIR/git-tests-using-podman-directlymo7dc5it/tests/tests_proxy.yml PLAY [Basic proxy test] ******************************************************** META: ran handlers TASK [Get LSR_RHC_TEST_DATA environment variable] ****************************** task path: /WORKDIR/git-tests-using-podman-directlymo7dc5it/tests/tasks/setup_test_data.yml:3 Tuesday 06 August 2024 12:17:45 +0000 (0:00:00.017) 0:00:00.017 ******** ok: [sut] => { "ansible_facts": { "lsr_rhc_test_data_file": "" }, "changed": false } TASK [Import test data] ******************************************************** task path: /WORKDIR/git-tests-using-podman-directlymo7dc5it/tests/tasks/setup_test_data.yml:12 Tuesday 06 August 2024 12:17:45 +0000 (0:00:00.020) 0:00:00.038 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get facts for external test data] **************************************** task path: /WORKDIR/git-tests-using-podman-directlymo7dc5it/tests/tasks/setup_test_data.yml:16 Tuesday 06 August 2024 12:17:45 +0000 (0:00:00.019) 0:00:00.057 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set local lsr_rhc_test_data] ********************************************* task path: /WORKDIR/git-tests-using-podman-directlymo7dc5it/tests/tasks/setup_test_data.yml:24 Tuesday 06 August 2024 12:17:45 +0000 (0:00:00.017) 0:00:00.075 ******** ok: [sut] => { "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": [ "/WORKDIR/git-tests-using-podman-directlymo7dc5it/tests/tasks/../files/candlepin_data.yml" ], "changed": false } TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-tests-using-podman-directlymo7dc5it/tests/tasks/setup_test_data.yml:32 Tuesday 06 August 2024 12:17:45 +0000 (0:00:00.021) 0:00:00.096 ******** ok: [sut] => { "ansible_facts": { "discovered_interpreter_python": "/usr/libexec/platform-python" }, "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-tests-using-podman-directlymo7dc5it/tests/tasks/setup_test_data.yml:37 Tuesday 06 August 2024 12:17:45 +0000 (0:00:00.325) 0:00:00.422 ******** ok: [sut] => { "ansible_facts": { "__rhc_is_ostree": false }, "changed": false } TASK [Get facts for external test data] **************************************** task path: /WORKDIR/git-tests-using-podman-directlymo7dc5it/tests/tasks/setup_candlepin.yml:9 Tuesday 06 August 2024 12:17:46 +0000 (0:00:00.020) 0:00:00.443 ******** ok: [sut] TASK [Set helper fact for Candlepin base URL] ********************************** task path: /WORKDIR/git-tests-using-podman-directlymo7dc5it/tests/tasks/setup_candlepin.yml:17 Tuesday 06 August 2024 12:17:46 +0000 (0:00:00.431) 0:00:00.874 ******** ok: [sut] => { "ansible_facts": { "_cp_url": "https://candlepin.local:8443/candlepin" }, "changed": false } TASK [Set helper fact for Candlepin owner URL] ********************************* task path: /WORKDIR/git-tests-using-podman-directlymo7dc5it/tests/tasks/setup_candlepin.yml:21 Tuesday 06 August 2024 12:17:46 +0000 (0:00:00.020) 0:00:00.894 ******** ok: [sut] => { "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: /WORKDIR/git-tests-using-podman-directlymo7dc5it/tests/tasks/setup_candlepin.yml:25 Tuesday 06 August 2024 12:17:46 +0000 (0:00:00.019) 0:00:00.913 ******** ok: [sut] => { "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: /WORKDIR/git-tests-using-podman-directlymo7dc5it/tests/tasks/setup_candlepin.yml:46 Tuesday 06 August 2024 12:17:46 +0000 (0:00:00.020) 0:00:00.934 ******** ok: [sut] => { "ansible_facts": { "podman_run_cli": "" }, "changed": false } TASK [Add candlepin hostname to /etc/hosts] ************************************ task path: /WORKDIR/git-tests-using-podman-directlymo7dc5it/tests/tasks/setup_candlepin.yml:51 Tuesday 06 August 2024 12:17:46 +0000 (0:00:00.019) 0:00:00.954 ******** changed: [sut] => { "backup": "", "changed": true } MSG: line added TASK [Install needed packages] ************************************************* task path: /WORKDIR/git-tests-using-podman-directlymo7dc5it/tests/tasks/setup_candlepin.yml:57 Tuesday 06 August 2024 12:17:46 +0000 (0:00:00.251) 0:00:01.206 ******** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: conmon-3:2.1.10-1.module_el8+804+f131391c.x86_64", "Installed: fuse-common-3.3.0-19.el8.x86_64", "Installed: shadow-utils-subid-2:4.6-22.el8.x86_64", "Installed: container-selinux-2:2.229.0-2.module_el8+847+7863d4e6.noarch", "Installed: criu-3.18-4.module_el8+804+f131391c.x86_64", "Installed: dnsmasq-2.79-33.el8.x86_64", "Installed: libslirp-4.4.0-1.module_el8+804+f131391c.x86_64", "Installed: protobuf-c-1.3.0-8.el8.x86_64", "Installed: slirp4netns-1.2.3-1.module_el8+951+32019cde.x86_64", "Installed: fuse3-libs-3.3.0-19.el8.x86_64", "Installed: fuse3-3.3.0-19.el8.x86_64", "Installed: containers-common-2:1-81.module_el8+968+fbb249c7.x86_64", "Installed: podman-gvproxy-3:4.9.4-0.1.module_el8+971+3d3df00d.x86_64", "Installed: podman-plugins-3:4.9.4-0.1.module_el8+971+3d3df00d.x86_64", "Installed: fuse-overlayfs-1.13-1.module_el8+804+f131391c.x86_64", "Installed: podman-catatonit-3:4.9.4-0.1.module_el8+971+3d3df00d.x86_64", "Installed: podman-3:4.9.4-0.1.module_el8+971+3d3df00d.x86_64", "Installed: libnet-1.1.6-15.el8.x86_64", "Installed: runc-1:1.1.12-1.module_el8+885+7da147f3.x86_64", "Installed: containernetworking-plugins-1:1.4.0-2.module_el8+974+0c52b299.x86_64" ] } TASK [Stop and remove Candlepin container] ************************************* task path: /WORKDIR/git-tests-using-podman-directlymo7dc5it/tests/tasks/setup_candlepin.yml:65 Tuesday 06 August 2024 12:18:42 +0000 (0:00:55.976) 0:00:57.182 ******** ok: [sut] => { "changed": false, "cmd": [ "podman", "stop", "candlepin" ], "delta": "0:00:01.646670", "end": "2024-08-06 12:18:44.675249", "failed_when_result": false, "rc": 125, "start": "2024-08-06 12:18:43.028579" } STDERR: Error: no container with name or ID "candlepin" found: no such container MSG: non-zero return code TASK [Start Candlepin container] *********************************************** task path: /WORKDIR/git-tests-using-podman-directlymo7dc5it/tests/tasks/setup_candlepin.yml:77 Tuesday 06 August 2024 12:18:44 +0000 (0:00:01.937) 0:00:59.120 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "''", "rc": 2 } MSG: [Errno 2] No such file or directory: b'': b'' to retry, use: --limit @/tmp/tests_proxy.retry PLAY RECAP ********************************************************************* sut : ok=12 changed=2 unreachable=0 failed=1 skipped=2 rescued=0 ignored=0 Tuesday 06 August 2024 12:18:44 +0000 (0:00:00.179) 0:00:59.299 ******** =============================================================================== Install needed packages ------------------------------------------------ 55.98s /WORKDIR/git-tests-using-podman-directlymo7dc5it/tests/tasks/setup_candlepin.yml:57 Stop and remove Candlepin container ------------------------------------- 1.94s /WORKDIR/git-tests-using-podman-directlymo7dc5it/tests/tasks/setup_candlepin.yml:65 Get facts for external test data ---------------------------------------- 0.43s /WORKDIR/git-tests-using-podman-directlymo7dc5it/tests/tasks/setup_candlepin.yml:9 Check if system is ostree ----------------------------------------------- 0.33s /WORKDIR/git-tests-using-podman-directlymo7dc5it/tests/tasks/setup_test_data.yml:32 Add candlepin hostname to /etc/hosts ------------------------------------ 0.25s /WORKDIR/git-tests-using-podman-directlymo7dc5it/tests/tasks/setup_candlepin.yml:51 Start Candlepin container ----------------------------------------------- 0.18s /WORKDIR/git-tests-using-podman-directlymo7dc5it/tests/tasks/setup_candlepin.yml:77 Set local lsr_rhc_test_data --------------------------------------------- 0.02s /WORKDIR/git-tests-using-podman-directlymo7dc5it/tests/tasks/setup_test_data.yml:24 Set flag to indicate system is ostree ----------------------------------- 0.02s /WORKDIR/git-tests-using-podman-directlymo7dc5it/tests/tasks/setup_test_data.yml:37 Set helper fact with start of podman run invocation --------------------- 0.02s /WORKDIR/git-tests-using-podman-directlymo7dc5it/tests/tasks/setup_candlepin.yml:25 Get LSR_RHC_TEST_DATA environment variable ------------------------------ 0.02s /WORKDIR/git-tests-using-podman-directlymo7dc5it/tests/tasks/setup_test_data.yml:3 Set helper fact for Candlepin base URL ---------------------------------- 0.02s /WORKDIR/git-tests-using-podman-directlymo7dc5it/tests/tasks/setup_candlepin.yml:17 Filter empty items from podman run invocation --------------------------- 0.02s /WORKDIR/git-tests-using-podman-directlymo7dc5it/tests/tasks/setup_candlepin.yml:46 Set helper fact for Candlepin owner URL --------------------------------- 0.02s /WORKDIR/git-tests-using-podman-directlymo7dc5it/tests/tasks/setup_candlepin.yml:21 Import test data -------------------------------------------------------- 0.02s /WORKDIR/git-tests-using-podman-directlymo7dc5it/tests/tasks/setup_test_data.yml:12 Get facts for external test data ---------------------------------------- 0.02s /WORKDIR/git-tests-using-podman-directlymo7dc5it/tests/tasks/setup_test_data.yml:16 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---