# 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 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_environments.yml *********************************************** 1 plays in /WORKDIR/git-weekly-ci_ndfpvjz/tests/tests_environments.yml PLAY [Basic repository enablement/disablement 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:06 +0000 (0:00:00.013) 0:00:00.013 ********* 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:06 +0000 (0:00:00.011) 0:00:00.025 ********* 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:06 +0000 (0:00:00.015) 0:00:00.040 ********* 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:06 +0000 (0:00:00.014) 0:00:00.054 ********* 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:06 +0000 (0:00:00.017) 0:00:00.072 ********* 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:07 +0000 (0:00:00.398) 0:00:00.471 ********* 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:07 +0000 (0:00:00.012) 0:00:00.483 ********* 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:07 +0000 (0:00:00.394) 0:00:00.877 ********* 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:07 +0000 (0:00:00.018) 0:00:00.896 ********* 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:07 +0000 (0:00:00.201) 0:00:01.097 ********* changed: [sut] => { "changed": true, "changes": { "installed": [ "podman" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\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--> Processing Dependency: subscription-manager for package: 1:containers-common-0.1.40-11.el7_8.x86_64\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---> Package subscription-manager.x86_64 0:1.24.54-1.el7.centos will be installed\n--> Processing Dependency: subscription-manager-rhsm = 1.24.54 for package: subscription-manager-1.24.54-1.el7.centos.x86_64\n--> Processing Dependency: python-dmidecode >= 3.12.2-2 for package: subscription-manager-1.24.54-1.el7.centos.x86_64\n--> Processing Dependency: usermode for package: subscription-manager-1.24.54-1.el7.centos.x86_64\n--> Processing Dependency: python-syspurpose for package: subscription-manager-1.24.54-1.el7.centos.x86_64\n--> Processing Dependency: python-inotify for package: subscription-manager-1.24.54-1.el7.centos.x86_64\n--> Processing Dependency: python-ethtool for package: subscription-manager-1.24.54-1.el7.centos.x86_64\n--> Processing Dependency: python-dateutil for package: subscription-manager-1.24.54-1.el7.centos.x86_64\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---> Package python-dateutil.noarch 0:1.5-7.el7 will be installed\n---> Package python-dmidecode.x86_64 0:3.12.2-4.el7 will be installed\n---> Package python-ethtool.x86_64 0:0.8-8.el7 will be installed\n--> Processing Dependency: libnl.so.1()(64bit) for package: python-ethtool-0.8-8.el7.x86_64\n---> Package python-inotify.noarch 0:0.9.4-4.el7 will be installed\n---> Package python-syspurpose.x86_64 0:1.24.54-1.el7.centos will be installed\n---> Package subscription-manager-rhsm.x86_64 0:1.24.54-1.el7.centos will be installed\n--> Processing Dependency: subscription-manager-rhsm-certificates = 1.24.54-1.el7.centos for package: subscription-manager-rhsm-1.24.54-1.el7.centos.x86_64\n---> Package usermode.x86_64 0:1.111-6.el7 will be installed\n--> Running transaction check\n---> Package libnl.x86_64 0:1.1.4-3.el7 will be installed\n---> Package subscription-manager-rhsm-certificates.x86_64 0:1.24.54-1.el7.centos 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 libnl x86_64 1.1.4-3.el7 base 128 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 python-dateutil noarch 1.5-7.el7 base 85 k\n python-dmidecode x86_64 3.12.2-4.el7 base 83 k\n python-ethtool x86_64 0.8-8.el7 base 34 k\n python-inotify noarch 0.9.4-4.el7 base 49 k\n python-syspurpose x86_64 1.24.54-1.el7.centos updates 277 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 subscription-manager x86_64 1.24.54-1.el7.centos updates 1.1 M\n subscription-manager-rhsm x86_64 1.24.54-1.el7.centos updates 336 k\n subscription-manager-rhsm-certificates\n x86_64 1.24.54-1.el7.centos updates 240 k\n usermode x86_64 1.111-6.el7 base 193 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package (+23 Dependent packages)\n\nTotal download size: 39 M\nInstalled size: 150 M\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 22 MB/s | 39 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/24 \n Installing : slirp4netns-0.4.3-4.el7_8.x86_64 2/24 \n Installing : python-dateutil-1.5-7.el7.noarch 3/24 \n Installing : usermode-1.111-6.el7.x86_64 4/24 \n Installing : libnftnl-1.0.8-3.el7.x86_64 5/24 \n Installing : 1:nftables-0.8-14.el7.x86_64 6/24 \n Installing : 2:conmon-2.0.8-1.el7.x86_64 7/24 \n Installing : libnl-1.1.4-3.el7.x86_64 8/24 \n Installing : python-ethtool-0.8-8.el7.x86_64 9/24 \n Installing : python-dmidecode-3.12.2-4.el7.x86_64 10/24 \n Installing : libnet-1.1.6-7.el7.x86_64 11/24 \n Installing : subscription-manager-rhsm-certificates-1.24.54-1.el7.cen 12/24 \n Installing : subscription-manager-rhsm-1.24.54-1.el7.centos.x86_64 13/24 \n Installing : fuse3-libs-3.6.1-4.el7.x86_64 14/24 \n Installing : fuse-overlayfs-0.7.2-6.el7_8.x86_64 15/24 \n Installing : protobuf-c-1.0.2-3.el7.x86_64 16/24 \n Installing : criu-3.12-2.el7.x86_64 17/24 \n Installing : runc-1.0.0-70.rc10.el7_9.x86_64 18/24 \n Installing : containernetworking-plugins-0.8.3-3.el7.centos.x86_64 19/24 \n Installing : python-syspurpose-1.24.54-1.el7.centos.x86_64 20/24 \n Installing : python-inotify-0.9.4-4.el7.noarch 21/24 \n Installing : subscription-manager-1.24.54-1.el7.centos.x86_64 22/24 \n Installing : 1:containers-common-0.1.40-11.el7_8.x86_64 23/24 \n Installing : podman-1.6.4-36.el7_9.x86_64 24/24 \n Verifying : python-ethtool-0.8-8.el7.x86_64 1/24 \n Verifying : fuse-overlayfs-0.7.2-6.el7_8.x86_64 2/24 \n Verifying : 1:nftables-0.8-14.el7.x86_64 3/24 \n Verifying : python-inotify-0.9.4-4.el7.noarch 4/24 \n Verifying : python-syspurpose-1.24.54-1.el7.centos.x86_64 5/24 \n Verifying : 1:containers-common-0.1.40-11.el7_8.x86_64 6/24 \n Verifying : python-dateutil-1.5-7.el7.noarch 7/24 \n Verifying : containernetworking-plugins-0.8.3-3.el7.centos.x86_64 8/24 \n Verifying : subscription-manager-1.24.54-1.el7.centos.x86_64 9/24 \n Verifying : protobuf-c-1.0.2-3.el7.x86_64 10/24 \n Verifying : fuse3-libs-3.6.1-4.el7.x86_64 11/24 \n Verifying : subscription-manager-rhsm-certificates-1.24.54-1.el7.cen 12/24 \n Verifying : podman-1.6.4-36.el7_9.x86_64 13/24 \n Verifying : runc-1.0.0-70.rc10.el7_9.x86_64 14/24 \n Verifying : slirp4netns-0.4.3-4.el7_8.x86_64 15/24 \n Verifying : criu-3.12-2.el7.x86_64 16/24 \n Verifying : libnet-1.1.6-7.el7.x86_64 17/24 \n Verifying : 2:container-selinux-2.119.2-1.911c772.el7_8.noarch 18/24 \n Verifying : python-dmidecode-3.12.2-4.el7.x86_64 19/24 \n Verifying : libnl-1.1.4-3.el7.x86_64 20/24 \n Verifying : subscription-manager-rhsm-1.24.54-1.el7.centos.x86_64 21/24 \n Verifying : 2:conmon-2.0.8-1.el7.x86_64 22/24 \n Verifying : libnftnl-1.0.8-3.el7.x86_64 23/24 \n Verifying : usermode-1.111-6.el7.x86_64 24/24 \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 libnl.x86_64 0:1.1.4-3.el7 \n nftables.x86_64 1:0.8-14.el7 \n protobuf-c.x86_64 0:1.0.2-3.el7 \n python-dateutil.noarch 0:1.5-7.el7 \n python-dmidecode.x86_64 0:3.12.2-4.el7 \n python-ethtool.x86_64 0:0.8-8.el7 \n python-inotify.noarch 0:0.9.4-4.el7 \n python-syspurpose.x86_64 0:1.24.54-1.el7.centos \n runc.x86_64 0:1.0.0-70.rc10.el7_9 \n slirp4netns.x86_64 0:0.4.3-4.el7_8 \n subscription-manager.x86_64 0:1.24.54-1.el7.centos \n subscription-manager-rhsm.x86_64 0:1.24.54-1.el7.centos \n subscription-manager-rhsm-certificates.x86_64 0:1.24.54-1.el7.centos \n usermode.x86_64 0:1.111-6.el7 \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:38 +0000 (0:00:30.488) 0:00:31.585 ********* 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_12Gzg0/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_12Gzg0/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_12Gzg0/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_environments.retry PLAY RECAP ********************************************************************* sut : ok=8 changed=2 unreachable=0 failed=1 skipped=2 rescued=0 ignored=0 Saturday 27 July 2024 19:40:38 +0000 (0:00:00.251) 0:00:31.837 ********* =============================================================================== Install needed packages ------------------------------------------------ 30.49s /WORKDIR/git-weekly-ci_ndfpvjz/tests/tasks/setup_candlepin.yml:27 ------------- Check if system is ostree ----------------------------------------------- 0.40s /WORKDIR/git-weekly-ci_ndfpvjz/tests/tasks/setup_test_data.yml:32 ------------- Get facts for external test data ---------------------------------------- 0.39s /WORKDIR/git-weekly-ci_ndfpvjz/tests/tasks/setup_candlepin.yml:9 -------------- Stop and remove Candlepin container ------------------------------------- 0.25s /WORKDIR/git-weekly-ci_ndfpvjz/tests/tasks/setup_candlepin.yml:34 ------------- 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.02s /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. ---^---^---^---^---^---