# 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-directly7wa87b9g/tests/tasks/setup_candlepin.yml statically imported: /WORKDIR/git-tests-using-podman-directly7wa87b9g/tests/tasks/setup_test_data.yml statically imported: /WORKDIR/git-tests-using-podman-directly7wa87b9g/tests/tasks/check_candlepin.yml statically imported: /WORKDIR/git-tests-using-podman-directly7wa87b9g/tests/tasks/setup_squid.yml statically imported: /WORKDIR/git-tests-using-podman-directly7wa87b9g/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-directly7wa87b9g/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-directly7wa87b9g/tests/tasks/setup_test_data.yml:3 Tuesday 06 August 2024 12:56:48 +0000 (0:00:00.016) 0:00:00.016 ******** ok: [sut] => { "ansible_facts": { "lsr_rhc_test_data_file": "" }, "changed": false } TASK [Import test data] ******************************************************** task path: /WORKDIR/git-tests-using-podman-directly7wa87b9g/tests/tasks/setup_test_data.yml:12 Tuesday 06 August 2024 12:56:48 +0000 (0:00:00.020) 0:00:00.037 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get facts for external test data] **************************************** task path: /WORKDIR/git-tests-using-podman-directly7wa87b9g/tests/tasks/setup_test_data.yml:16 Tuesday 06 August 2024 12:56:48 +0000 (0:00:00.017) 0:00:00.054 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set local lsr_rhc_test_data] ********************************************* task path: /WORKDIR/git-tests-using-podman-directly7wa87b9g/tests/tasks/setup_test_data.yml:24 Tuesday 06 August 2024 12:56:48 +0000 (0:00:00.017) 0:00:00.071 ******** 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-directly7wa87b9g/tests/tasks/../files/candlepin_data.yml" ], "changed": false } TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-tests-using-podman-directly7wa87b9g/tests/tasks/setup_test_data.yml:32 Tuesday 06 August 2024 12:56:48 +0000 (0:00:00.020) 0:00:00.092 ******** ok: [sut] => { "ansible_facts": { "discovered_interpreter_python": "/usr/bin/python" }, "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-tests-using-podman-directly7wa87b9g/tests/tasks/setup_test_data.yml:37 Tuesday 06 August 2024 12:56:48 +0000 (0:00:00.255) 0:00:00.347 ******** ok: [sut] => { "ansible_facts": { "__rhc_is_ostree": false }, "changed": false } TASK [Get facts for external test data] **************************************** task path: /WORKDIR/git-tests-using-podman-directly7wa87b9g/tests/tasks/setup_candlepin.yml:9 Tuesday 06 August 2024 12:56:48 +0000 (0:00:00.019) 0:00:00.367 ******** ok: [sut] TASK [Set helper fact for Candlepin base URL] ********************************** task path: /WORKDIR/git-tests-using-podman-directly7wa87b9g/tests/tasks/setup_candlepin.yml:17 Tuesday 06 August 2024 12:56:49 +0000 (0:00:00.325) 0:00:00.693 ******** 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-directly7wa87b9g/tests/tasks/setup_candlepin.yml:21 Tuesday 06 August 2024 12:56:49 +0000 (0:00:00.019) 0:00:00.713 ******** 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-directly7wa87b9g/tests/tasks/setup_candlepin.yml:25 Tuesday 06 August 2024 12:56:49 +0000 (0:00:00.018) 0:00:00.731 ******** ok: [sut] => { "ansible_facts": { "podman_run_cli": [ "podman", "run", "--rm", "--detach", "--hostname", "candlepin.local", "--name", "candlepin", "--publish", "8443:8443", "--publish", "8080:8080", "--privileged", "ghcr.io/ptoscano/candlepin-unofficial" ] }, "changed": false } TASK [Filter empty items from podman run invocation] *************************** task path: /WORKDIR/git-tests-using-podman-directly7wa87b9g/tests/tasks/setup_candlepin.yml:46 Tuesday 06 August 2024 12:56:49 +0000 (0:00:00.019) 0:00:00.750 ******** ok: [sut] => { "ansible_facts": { "podman_run_cli": "" }, "changed": false } TASK [Add candlepin hostname to /etc/hosts] ************************************ task path: /WORKDIR/git-tests-using-podman-directly7wa87b9g/tests/tasks/setup_candlepin.yml:50 Tuesday 06 August 2024 12:56:49 +0000 (0:00:00.018) 0:00:00.769 ******** changed: [sut] => { "backup": "", "changed": true } MSG: line added TASK [Install needed packages] ************************************************* task path: /WORKDIR/git-tests-using-podman-directly7wa87b9g/tests/tasks/setup_candlepin.yml:56 Tuesday 06 August 2024 12:56:49 +0000 (0:00:00.192) 0:00:00.962 ******** changed: [sut] => { "changed": true, "changes": { "installed": [ "podman" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror, product-id, search-disabled-repos, subscription-\n : manager\n\nThis system is not registered with an entitlement server. You can use subscription-manager to register.\n\nLoading mirror speeds from cached hostfile\nResolving Dependencies\n--> Running transaction check\n---> Package podman.x86_64 0:1.6.4-36.el7_9 will be installed\n--> Processing Dependency: slirp4netns >= 0.4.0-1 for package: podman-1.6.4-36.el7_9.x86_64\n--> Processing Dependency: runc >= 1.0.0-57 for package: podman-1.6.4-36.el7_9.x86_64\n--> Processing Dependency: containers-common >= 0.1.29-3 for package: podman-1.6.4-36.el7_9.x86_64\n--> Processing Dependency: containernetworking-plugins >= 0.8.1-1 for package: podman-1.6.4-36.el7_9.x86_64\n--> Processing Dependency: nftables for package: podman-1.6.4-36.el7_9.x86_64\n--> Processing Dependency: fuse-overlayfs for package: podman-1.6.4-36.el7_9.x86_64\n--> Processing Dependency: container-selinux for package: podman-1.6.4-36.el7_9.x86_64\n--> Processing Dependency: conmon for package: podman-1.6.4-36.el7_9.x86_64\n--> Running transaction check\n---> Package conmon.x86_64 2:2.0.8-1.el7 will be installed\n---> Package container-selinux.noarch 2:2.119.2-1.911c772.el7_8 will be installed\n---> Package containernetworking-plugins.x86_64 0:0.8.3-3.el7.centos will be installed\n---> Package containers-common.x86_64 1:0.1.40-11.el7_8 will be installed\n---> Package fuse-overlayfs.x86_64 0:0.7.2-6.el7_8 will be installed\n--> Processing Dependency: libfuse3.so.3(FUSE_3.2)(64bit) for package: fuse-overlayfs-0.7.2-6.el7_8.x86_64\n--> Processing Dependency: libfuse3.so.3(FUSE_3.0)(64bit) for package: fuse-overlayfs-0.7.2-6.el7_8.x86_64\n--> Processing Dependency: libfuse3.so.3()(64bit) for package: fuse-overlayfs-0.7.2-6.el7_8.x86_64\n---> Package nftables.x86_64 1:0.8-14.el7 will be installed\n--> Processing Dependency: libnftnl.so.7(LIBNFTNL_5)(64bit) for package: 1:nftables-0.8-14.el7.x86_64\n--> Processing Dependency: libnftnl.so.7()(64bit) for package: 1:nftables-0.8-14.el7.x86_64\n---> Package runc.x86_64 0:1.0.0-70.rc10.el7_9 will be installed\n--> Processing Dependency: criu for package: runc-1.0.0-70.rc10.el7_9.x86_64\n---> Package slirp4netns.x86_64 0:0.4.3-4.el7_8 will be installed\n--> Running transaction check\n---> Package criu.x86_64 0:3.12-2.el7 will be installed\n--> Processing Dependency: libprotobuf-c.so.1(LIBPROTOBUF_C_1.0.0)(64bit) for package: criu-3.12-2.el7.x86_64\n--> Processing Dependency: libprotobuf-c.so.1()(64bit) for package: criu-3.12-2.el7.x86_64\n--> Processing Dependency: libnet.so.1()(64bit) for package: criu-3.12-2.el7.x86_64\n---> Package fuse3-libs.x86_64 0:3.6.1-4.el7 will be installed\n---> Package libnftnl.x86_64 0:1.0.8-3.el7 will be installed\n--> Running transaction check\n---> Package libnet.x86_64 0:1.1.6-7.el7 will be installed\n---> Package protobuf-c.x86_64 0:1.0.2-3.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository\n Size\n================================================================================\nInstalling:\n podman x86_64 1.6.4-36.el7_9 extras 13 M\nInstalling for dependencies:\n conmon x86_64 2:2.0.8-1.el7 extras 31 k\n container-selinux noarch 2:2.119.2-1.911c772.el7_8 extras 40 k\n containernetworking-plugins x86_64 0.8.3-3.el7.centos extras 20 M\n containers-common x86_64 1:0.1.40-11.el7_8 extras 43 k\n criu x86_64 3.12-2.el7 base 453 k\n fuse-overlayfs x86_64 0.7.2-6.el7_8 extras 54 k\n fuse3-libs x86_64 3.6.1-4.el7 extras 82 k\n libnet x86_64 1.1.6-7.el7 base 59 k\n libnftnl x86_64 1.0.8-3.el7 base 78 k\n nftables x86_64 1:0.8-14.el7 base 186 k\n protobuf-c x86_64 1.0.2-3.el7 base 28 k\n runc x86_64 1.0.0-70.rc10.el7_9 extras 2.7 M\n slirp4netns x86_64 0.4.3-4.el7_8 extras 81 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package (+13 Dependent packages)\n\nTotal download size: 37 M\nInstalled size: 143 M\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 32 MB/s | 37 MB 00:01 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : 2:container-selinux-2.119.2-1.911c772.el7_8.noarch 1/14 \n Installing : slirp4netns-0.4.3-4.el7_8.x86_64 2/14 \n Installing : containernetworking-plugins-0.8.3-3.el7.centos.x86_64 3/14 \n Installing : libnftnl-1.0.8-3.el7.x86_64 4/14 \n Installing : 1:nftables-0.8-14.el7.x86_64 5/14 \n Installing : 2:conmon-2.0.8-1.el7.x86_64 6/14 \n Installing : fuse3-libs-3.6.1-4.el7.x86_64 7/14 \n Installing : fuse-overlayfs-0.7.2-6.el7_8.x86_64 8/14 \n Installing : 1:containers-common-0.1.40-11.el7_8.x86_64 9/14 \n Installing : protobuf-c-1.0.2-3.el7.x86_64 10/14 \n Installing : libnet-1.1.6-7.el7.x86_64 11/14 \n Installing : criu-3.12-2.el7.x86_64 12/14 \n Installing : runc-1.0.0-70.rc10.el7_9.x86_64 13/14 \n Installing : podman-1.6.4-36.el7_9.x86_64 14/14 \n Verifying : libnet-1.1.6-7.el7.x86_64 1/14 \n Verifying : protobuf-c-1.0.2-3.el7.x86_64 2/14 \n Verifying : fuse3-libs-3.6.1-4.el7.x86_64 3/14 \n Verifying : podman-1.6.4-36.el7_9.x86_64 4/14 \n Verifying : fuse-overlayfs-0.7.2-6.el7_8.x86_64 5/14 \n Verifying : runc-1.0.0-70.rc10.el7_9.x86_64 6/14 \n Verifying : slirp4netns-0.4.3-4.el7_8.x86_64 7/14 \n Verifying : 1:nftables-0.8-14.el7.x86_64 8/14 \n Verifying : criu-3.12-2.el7.x86_64 9/14 \n Verifying : 2:conmon-2.0.8-1.el7.x86_64 10/14 \n Verifying : 1:containers-common-0.1.40-11.el7_8.x86_64 11/14 \n Verifying : libnftnl-1.0.8-3.el7.x86_64 12/14 \n Verifying : containernetworking-plugins-0.8.3-3.el7.centos.x86_64 13/14 \n Verifying : 2:container-selinux-2.119.2-1.911c772.el7_8.noarch 14/14 \n\nInstalled:\n podman.x86_64 0:1.6.4-36.el7_9 \n\nDependency Installed:\n conmon.x86_64 2:2.0.8-1.el7 \n container-selinux.noarch 2:2.119.2-1.911c772.el7_8 \n containernetworking-plugins.x86_64 0:0.8.3-3.el7.centos \n containers-common.x86_64 1:0.1.40-11.el7_8 \n criu.x86_64 0:3.12-2.el7 \n fuse-overlayfs.x86_64 0:0.7.2-6.el7_8 \n fuse3-libs.x86_64 0:3.6.1-4.el7 \n libnet.x86_64 0:1.1.6-7.el7 \n libnftnl.x86_64 0:1.0.8-3.el7 \n nftables.x86_64 1:0.8-14.el7 \n protobuf-c.x86_64 0:1.0.2-3.el7 \n runc.x86_64 0:1.0.0-70.rc10.el7_9 \n slirp4netns.x86_64 0:0.4.3-4.el7_8 \n\nComplete!\n" ] } TASK [Stop and remove Candlepin container] ************************************* task path: /WORKDIR/git-tests-using-podman-directly7wa87b9g/tests/tasks/setup_candlepin.yml:64 Tuesday 06 August 2024 12:57:10 +0000 (0:00:20.821) 0:00:21.784 ******** ok: [sut] => { "changed": false, "cmd": [ "podman", "stop", "candlepin" ], "delta": "0:00:02.001063", "end": "2024-08-06 12:57:12.302986", "failed_when_result": false, "rc": 125, "start": "2024-08-06 12:57:10.301923" } 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-directly7wa87b9g/tests/tasks/setup_candlepin.yml:76 Tuesday 06 August 2024 12:57:12 +0000 (0:00:02.195) 0:00:23.979 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "''", "rc": 2 } MSG: [Errno 2] No such file or directory 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:57:12 +0000 (0:00:00.124) 0:00:24.103 ******** =============================================================================== Install needed packages ------------------------------------------------ 20.82s /WORKDIR/git-tests-using-podman-directly7wa87b9g/tests/tasks/setup_candlepin.yml:56 Stop and remove Candlepin container ------------------------------------- 2.20s /WORKDIR/git-tests-using-podman-directly7wa87b9g/tests/tasks/setup_candlepin.yml:64 Get facts for external test data ---------------------------------------- 0.33s /WORKDIR/git-tests-using-podman-directly7wa87b9g/tests/tasks/setup_candlepin.yml:9 Check if system is ostree ----------------------------------------------- 0.26s /WORKDIR/git-tests-using-podman-directly7wa87b9g/tests/tasks/setup_test_data.yml:32 Add candlepin hostname to /etc/hosts ------------------------------------ 0.19s /WORKDIR/git-tests-using-podman-directly7wa87b9g/tests/tasks/setup_candlepin.yml:50 Start Candlepin container ----------------------------------------------- 0.12s /WORKDIR/git-tests-using-podman-directly7wa87b9g/tests/tasks/setup_candlepin.yml:76 Set local lsr_rhc_test_data --------------------------------------------- 0.02s /WORKDIR/git-tests-using-podman-directly7wa87b9g/tests/tasks/setup_test_data.yml:24 Get LSR_RHC_TEST_DATA environment variable ------------------------------ 0.02s /WORKDIR/git-tests-using-podman-directly7wa87b9g/tests/tasks/setup_test_data.yml:3 Set flag to indicate system is ostree ----------------------------------- 0.02s /WORKDIR/git-tests-using-podman-directly7wa87b9g/tests/tasks/setup_test_data.yml:37 Set helper fact for Candlepin base URL ---------------------------------- 0.02s /WORKDIR/git-tests-using-podman-directly7wa87b9g/tests/tasks/setup_candlepin.yml:17 Set helper fact with start of podman run invocation --------------------- 0.02s /WORKDIR/git-tests-using-podman-directly7wa87b9g/tests/tasks/setup_candlepin.yml:25 Filter empty items from podman run invocation --------------------------- 0.02s /WORKDIR/git-tests-using-podman-directly7wa87b9g/tests/tasks/setup_candlepin.yml:46 Set helper fact for Candlepin owner URL --------------------------------- 0.02s /WORKDIR/git-tests-using-podman-directly7wa87b9g/tests/tasks/setup_candlepin.yml:21 Import test data -------------------------------------------------------- 0.02s /WORKDIR/git-tests-using-podman-directly7wa87b9g/tests/tasks/setup_test_data.yml:12 Get facts for external test data ---------------------------------------- 0.02s /WORKDIR/git-tests-using-podman-directly7wa87b9g/tests/tasks/setup_test_data.yml:16 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---