# 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-candlepin-owner-urlnj1rfhzh/tests/tasks/setup_candlepin.yml statically imported: /WORKDIR/git-tests-candlepin-owner-urlnj1rfhzh/tests/tasks/setup_test_data.yml statically imported: /WORKDIR/git-tests-candlepin-owner-urlnj1rfhzh/tests/tasks/check_candlepin.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_repositories.yml *********************************************** 1 plays in /WORKDIR/git-tests-candlepin-owner-urlnj1rfhzh/tests/tests_repositories.yml PLAY [Basic repository enablement/disablement test] **************************** META: ran handlers TASK [Get LSR_RHC_TEST_DATA environment variable] ****************************** task path: /WORKDIR/git-tests-candlepin-owner-urlnj1rfhzh/tests/tasks/setup_test_data.yml:3 Thursday 01 August 2024 09:38:18 +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-tests-candlepin-owner-urlnj1rfhzh/tests/tasks/setup_test_data.yml:12 Thursday 01 August 2024 09:38:18 +0000 (0:00:00.018) 0:00:00.032 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get facts for external test data] **************************************** task path: /WORKDIR/git-tests-candlepin-owner-urlnj1rfhzh/tests/tasks/setup_test_data.yml:16 Thursday 01 August 2024 09:38:18 +0000 (0:00:00.016) 0:00:00.048 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set local lsr_rhc_test_data] ********************************************* task path: /WORKDIR/git-tests-candlepin-owner-urlnj1rfhzh/tests/tasks/setup_test_data.yml:24 Thursday 01 August 2024 09:38:18 +0000 (0:00:00.015) 0:00:00.064 ******* 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-candlepin-owner-urlnj1rfhzh/tests/tasks/../files/candlepin_data.yml" ], "changed": false } TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-tests-candlepin-owner-urlnj1rfhzh/tests/tasks/setup_test_data.yml:32 Thursday 01 August 2024 09:38:18 +0000 (0:00:00.018) 0:00:00.082 ******* 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-candlepin-owner-urlnj1rfhzh/tests/tasks/setup_test_data.yml:37 Thursday 01 August 2024 09:38:18 +0000 (0:00:00.258) 0:00:00.341 ******* ok: [sut] => { "ansible_facts": { "__rhc_is_ostree": false }, "changed": false } TASK [Get facts for external test data] **************************************** task path: /WORKDIR/git-tests-candlepin-owner-urlnj1rfhzh/tests/tasks/setup_candlepin.yml:9 Thursday 01 August 2024 09:38:18 +0000 (0:00:00.019) 0:00:00.360 ******* ok: [sut] TASK [Set helper fact for Candlepin base URL] ********************************** task path: /WORKDIR/git-tests-candlepin-owner-urlnj1rfhzh/tests/tasks/setup_candlepin.yml:17 Thursday 01 August 2024 09:38:18 +0000 (0:00:00.307) 0:00:00.667 ******* 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-candlepin-owner-urlnj1rfhzh/tests/tasks/setup_candlepin.yml:21 Thursday 01 August 2024 09:38:18 +0000 (0:00:00.018) 0:00:00.686 ******* ok: [sut] => { "ansible_facts": { "_cp_url_owner": "https://candlepin.local:8443/candlepin/owners/admin" }, "changed": false } TASK [Add candlepin hostname to /etc/hosts] ************************************ task path: /WORKDIR/git-tests-candlepin-owner-urlnj1rfhzh/tests/tasks/setup_candlepin.yml:25 Thursday 01 August 2024 09:38:18 +0000 (0:00:00.017) 0:00:00.703 ******* changed: [sut] => { "backup": "", "changed": true } MSG: line added TASK [Install needed packages] ************************************************* task path: /WORKDIR/git-tests-candlepin-owner-urlnj1rfhzh/tests/tasks/setup_candlepin.yml:31 Thursday 01 August 2024 09:38:18 +0000 (0:00:00.202) 0:00:00.905 ******* 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" ] } TASK [Stop and remove Candlepin container] ************************************* task path: /WORKDIR/git-tests-candlepin-owner-urlnj1rfhzh/tests/tasks/setup_candlepin.yml:39 Thursday 01 August 2024 09:38:42 +0000 (0:00:23.263) 0:00:24.168 ******* 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 102, in File "", line 94, in _ansiballz_main File "", line 40, 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_81iMUe/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_81iMUe/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_81iMUe/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_repositories.retry PLAY RECAP ********************************************************************* sut : ok=9 changed=2 unreachable=0 failed=1 skipped=2 rescued=0 ignored=0 Thursday 01 August 2024 09:38:42 +0000 (0:00:00.253) 0:00:24.421 ******* =============================================================================== Install needed packages ------------------------------------------------ 23.26s /WORKDIR/git-tests-candlepin-owner-urlnj1rfhzh/tests/tasks/setup_candlepin.yml:31 Get facts for external test data ---------------------------------------- 0.31s /WORKDIR/git-tests-candlepin-owner-urlnj1rfhzh/tests/tasks/setup_candlepin.yml:9 Check if system is ostree ----------------------------------------------- 0.26s /WORKDIR/git-tests-candlepin-owner-urlnj1rfhzh/tests/tasks/setup_test_data.yml:32 Stop and remove Candlepin container ------------------------------------- 0.25s /WORKDIR/git-tests-candlepin-owner-urlnj1rfhzh/tests/tasks/setup_candlepin.yml:39 Add candlepin hostname to /etc/hosts ------------------------------------ 0.20s /WORKDIR/git-tests-candlepin-owner-urlnj1rfhzh/tests/tasks/setup_candlepin.yml:25 Set flag to indicate system is ostree ----------------------------------- 0.02s /WORKDIR/git-tests-candlepin-owner-urlnj1rfhzh/tests/tasks/setup_test_data.yml:37 Set local lsr_rhc_test_data --------------------------------------------- 0.02s /WORKDIR/git-tests-candlepin-owner-urlnj1rfhzh/tests/tasks/setup_test_data.yml:24 Get LSR_RHC_TEST_DATA environment variable ------------------------------ 0.02s /WORKDIR/git-tests-candlepin-owner-urlnj1rfhzh/tests/tasks/setup_test_data.yml:3 Set helper fact for Candlepin base URL ---------------------------------- 0.02s /WORKDIR/git-tests-candlepin-owner-urlnj1rfhzh/tests/tasks/setup_candlepin.yml:17 Set helper fact for Candlepin owner URL --------------------------------- 0.02s /WORKDIR/git-tests-candlepin-owner-urlnj1rfhzh/tests/tasks/setup_candlepin.yml:21 Import test data -------------------------------------------------------- 0.02s /WORKDIR/git-tests-candlepin-owner-urlnj1rfhzh/tests/tasks/setup_test_data.yml:12 Get facts for external test data ---------------------------------------- 0.02s /WORKDIR/git-tests-candlepin-owner-urlnj1rfhzh/tests/tasks/setup_test_data.yml:16 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---