# STDOUT: ---v---v---v---v---v--- ansible-playbook [core 2.16.0] 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.16/lib/python3.11/site-packages/ansible ansible collection location = /WORKDIR/git-weekly-ci_ndfpvjz/.collection executable location = /opt/ansible-2.16/bin/ansible-playbook python version = 3.11.5 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] (/opt/ansible-2.16/bin/python) jinja version = 3.1.2 libyaml = True Using /etc/ansible/ansible.cfg as config file statically imported: /WORKDIR/git-weekly-ci_ndfpvjz/tests/tasks/setup_candlepin.yml statically imported: /WORKDIR/git-weekly-ci_ndfpvjz/tests/tasks/setup_test_data.yml statically imported: /WORKDIR/git-weekly-ci_ndfpvjz/tests/tasks/check_candlepin.yml statically imported: /WORKDIR/git-weekly-ci_ndfpvjz/tests/tasks/setup_squid.yml statically imported: /WORKDIR/git-weekly-ci_ndfpvjz/tests/tasks/setup_squid.yml Skipping callback 'debug', 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_proxy.yml ****************************************************** 1 plays in /WORKDIR/git-weekly-ci_ndfpvjz/tests/tests_proxy.yml PLAY [Basic proxy test] ******************************************************** TASK [Get LSR_RHC_TEST_DATA environment variable] ****************************** task path: /WORKDIR/git-weekly-ci_ndfpvjz/tests/tasks/setup_test_data.yml:3 Saturday 27 July 2024 19:40:28 +0000 (0:00:00.015) 0:00:00.015 ********* ok: [sut] => { "ansible_facts": { "lsr_rhc_test_data_file": "" }, "changed": false } TASK [Import test data] ******************************************************** task path: /WORKDIR/git-weekly-ci_ndfpvjz/tests/tasks/setup_test_data.yml:12 Saturday 27 July 2024 19:40:28 +0000 (0:00:00.010) 0:00:00.026 ********* skipping: [sut] => { "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: /WORKDIR/git-weekly-ci_ndfpvjz/tests/tasks/setup_test_data.yml:16 Saturday 27 July 2024 19:40:28 +0000 (0:00:00.014) 0:00:00.041 ********* skipping: [sut] => { "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: /WORKDIR/git-weekly-ci_ndfpvjz/tests/tasks/setup_test_data.yml:24 Saturday 27 July 2024 19:40:28 +0000 (0:00:00.014) 0:00:00.055 ********* 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-weekly-ci_ndfpvjz/tests/tasks/../files/candlepin_data.yml" ], "changed": false } TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-ci_ndfpvjz/tests/tasks/setup_test_data.yml:32 Saturday 27 July 2024 19:40:28 +0000 (0:00:00.017) 0:00:00.073 ********* 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-weekly-ci_ndfpvjz/tests/tasks/setup_test_data.yml:37 Saturday 27 July 2024 19:40:28 +0000 (0:00:00.247) 0:00:00.320 ********* ok: [sut] => { "ansible_facts": { "__rhc_is_ostree": false }, "changed": false } TASK [Get facts for external test data] **************************************** task path: /WORKDIR/git-weekly-ci_ndfpvjz/tests/tasks/setup_candlepin.yml:9 Saturday 27 July 2024 19:40:28 +0000 (0:00:00.013) 0:00:00.334 ********* ok: [sut] TASK [Set helper fact for Candlepin base URL] ********************************** task path: /WORKDIR/git-weekly-ci_ndfpvjz/tests/tasks/setup_candlepin.yml:17 Saturday 27 July 2024 19:40:28 +0000 (0:00:00.354) 0:00:00.689 ********* ok: [sut] => { "ansible_facts": { "_cp_url": "https://candlepin.local:8443/candlepin" }, "changed": false } TASK [Add candlepin hostname to /etc/hosts] ************************************ task path: /WORKDIR/git-weekly-ci_ndfpvjz/tests/tasks/setup_candlepin.yml:21 Saturday 27 July 2024 19:40:28 +0000 (0:00:00.019) 0:00:00.708 ********* changed: [sut] => { "backup": "", "changed": true } MSG: line added TASK [Install needed packages] ************************************************* task path: /WORKDIR/git-weekly-ci_ndfpvjz/tests/tasks/setup_candlepin.yml:27 Saturday 27 July 2024 19:40:29 +0000 (0:00:00.198) 0:00:00.906 ********* 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 26 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" ] } lsrpackages: podman TASK [Stop and remove Candlepin container] ************************************* task path: /WORKDIR/git-weekly-ci_ndfpvjz/tests/tasks/setup_candlepin.yml:34 Saturday 27 July 2024 19:40:52 +0000 (0:00:23.003) 0:00:23.910 ********* An exception occurred during task execution. To see the full traceback, use -vvv. The error was: SyntaxError: invalid syntax fatal: [sut]: FAILED! => { "changed": false, "rc": 1 } MSG: MODULE FAILURE See stdout/stderr for the exact error MODULE_STDERR: Traceback (most recent call last): File "", line 107, in File "", line 99, in _ansiballz_main File "", line 48, in invoke_module File "/usr/lib64/python2.7/runpy.py", line 176, in run_module fname, loader, pkg_name) File "/usr/lib64/python2.7/runpy.py", line 82, in _run_module_code mod_name, mod_fname, mod_loader, pkg_name) File "/usr/lib64/python2.7/runpy.py", line 72, in _run_code exec code in run_globals File "/tmp/ansible_containers.podman.podman_container_payload_yGQwJE/ansible_containers.podman.podman_container_payload.zip/ansible_collections/containers/podman/plugins/modules/podman_container.py", line 1352, in File "/tmp/ansible_containers.podman.podman_container_payload_yGQwJE/ansible_containers.podman.podman_container_payload.zip/ansible_collections/containers/podman/plugins/module_utils/podman/podman_container_lib.py", line 13, in File "/tmp/ansible_containers.podman.podman_container_payload_yGQwJE/ansible_containers.podman.podman_container_payload.zip/ansible_collections/containers/podman/plugins/module_utils/podman/quadlet.py", line 18 def __init__(self, section: str, params: dict): ^ SyntaxError: invalid syntax to retry, use: --limit @/tmp/tests_proxy.retry PLAY RECAP ********************************************************************* sut : ok=8 changed=2 unreachable=0 failed=1 skipped=2 rescued=0 ignored=0 Saturday 27 July 2024 19:40:52 +0000 (0:00:00.258) 0:00:24.169 ********* =============================================================================== Install needed packages ------------------------------------------------ 23.00s /WORKDIR/git-weekly-ci_ndfpvjz/tests/tasks/setup_candlepin.yml:27 ------------- Get facts for external test data ---------------------------------------- 0.35s /WORKDIR/git-weekly-ci_ndfpvjz/tests/tasks/setup_candlepin.yml:9 -------------- Stop and remove Candlepin container ------------------------------------- 0.26s /WORKDIR/git-weekly-ci_ndfpvjz/tests/tasks/setup_candlepin.yml:34 ------------- Check if system is ostree ----------------------------------------------- 0.25s /WORKDIR/git-weekly-ci_ndfpvjz/tests/tasks/setup_test_data.yml:32 ------------- Add candlepin hostname to /etc/hosts ------------------------------------ 0.20s /WORKDIR/git-weekly-ci_ndfpvjz/tests/tasks/setup_candlepin.yml:21 ------------- Set helper fact for Candlepin base URL ---------------------------------- 0.02s /WORKDIR/git-weekly-ci_ndfpvjz/tests/tasks/setup_candlepin.yml:17 ------------- Set local lsr_rhc_test_data --------------------------------------------- 0.02s /WORKDIR/git-weekly-ci_ndfpvjz/tests/tasks/setup_test_data.yml:24 ------------- Import test data -------------------------------------------------------- 0.01s /WORKDIR/git-weekly-ci_ndfpvjz/tests/tasks/setup_test_data.yml:12 ------------- Get facts for external test data ---------------------------------------- 0.01s /WORKDIR/git-weekly-ci_ndfpvjz/tests/tasks/setup_test_data.yml:16 ------------- Set flag to indicate system is ostree ----------------------------------- 0.01s /WORKDIR/git-weekly-ci_ndfpvjz/tests/tasks/setup_test_data.yml:37 ------------- Get LSR_RHC_TEST_DATA environment variable ------------------------------ 0.01s /WORKDIR/git-weekly-ci_ndfpvjz/tests/tasks/setup_test_data.yml:3 -------------- ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---