# 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 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_config_files.yml *********************************************** 2 plays in /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/tests_config_files.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Include vault variables] ************************************************* task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/tests_config_files.yml:4 Wednesday 10 April 2024 14:20:48 +0000 (0:00:00.012) 0:00:00.012 ******* ok: [sut] => { "ansible_facts": { "mysql_container_root_password": { "__ansible_vault": "$ANSIBLE_VAULT;1.1;AES256\n61333932373230333539663035366431326163363166363036323963623131363530326231303634\n6635326161643165363366323062333334363730376631660a393566366139353861656364656661\n38653463363837336639363032646433666361646535366137303464623261313663643336306465\n6264663730656337310a343962353137386238383064646533366433333437303566656433386233\n34343235326665646661623131643335313236313131353661386338343366316261643634653633\n3832313034366536616531323963333234326461353130303532\n" } }, "ansible_included_var_files": [ "/WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/vars/vault-variables.yml" ], "changed": false } META: ran handlers META: ran handlers PLAY [Ensure that the role can manage its config files] ************************ TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/tests_config_files.yml:9 Wednesday 10 April 2024 14:20:48 +0000 (0:00:00.011) 0:00:00.023 ******* ok: [sut] META: ran handlers TASK [Run the role with no config to get private vars] ************************* task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/tests_config_files.yml:48 Wednesday 10 April 2024 14:20:48 +0000 (0:00:00.675) 0:00:00.699 ******* TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:3 Wednesday 10 April 2024 14:20:48 +0000 (0:00:00.078) 0:00:00.777 ******* included: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/set_vars.yml for sut TASK [linux-system-roles.podman : Ensure ansible_facts used by role] *********** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:3 Wednesday 10 April 2024 14:20:48 +0000 (0:00:00.018) 0:00:00.796 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check if system is ostree] ******************* task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:12 Wednesday 10 April 2024 14:20:48 +0000 (0:00:00.026) 0:00:00.822 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.podman : Set flag to indicate system is ostree] ******* task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:17 Wednesday 10 April 2024 14:20:49 +0000 (0:00:00.259) 0:00:01.081 ******* ok: [sut] => { "ansible_facts": { "__podman_is_ostree": false }, "changed": false } TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:21 Wednesday 10 April 2024 14:20:49 +0000 (0:00:00.022) 0:00:01.104 ******* ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__podman_packages": [ "podman", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Gather the package facts] ******************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:6 Wednesday 10 April 2024 14:20:49 +0000 (0:00:00.041) 0:00:01.146 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.podman : Enable copr if requested] ******************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:10 Wednesday 10 April 2024 14:20:50 +0000 (0:00:01.057) 0:00:02.203 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Ensure required packages are installed] ****** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:14 Wednesday 10 April 2024 14:20:50 +0000 (0:00:00.029) 0:00:02.232 ******* changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: yajl-2.1.0-22.el9.x86_64", "Installed: protobuf-c-1.3.3-13.el9.x86_64", "Installed: criu-3.19-1.el9.x86_64", "Installed: aardvark-dns-2:1.9.0-1.el9.x86_64", "Installed: criu-libs-3.19-1.el9.x86_64", "Installed: crun-1.14.4-1.el9.x86_64", "Installed: fuse-common-3.10.2-8.el9.x86_64", "Installed: conmon-2:2.1.10-1.el9.x86_64", "Installed: libslirp-4.4.0-7.el9.x86_64", "Installed: container-selinux-3:2.230.0-1.el9.noarch", "Installed: fuse-overlayfs-1.13-1.el9.x86_64", "Installed: fuse3-3.10.2-8.el9.x86_64", "Installed: containers-common-2:1-61.el9.x86_64", "Installed: podman-2:5.0.0-1.el9.x86_64", "Installed: netavark-2:1.10.3-1.el9.x86_64", "Installed: fuse3-libs-3.10.2-8.el9.x86_64", "Installed: libnet-1.2-7.el9.x86_64", "Installed: slirp4netns-1.2.3-1.el9.x86_64", "Installed: shadow-utils-subid-2:4.9-8.el9.x86_64" ] } TASK [linux-system-roles.podman : Get podman version] ************************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:23 Wednesday 10 April 2024 14:21:42 +0000 (0:00:52.498) 0:00:54.731 ******* ok: [sut] => { "changed": false, "cmd": [ "podman", "--version" ], "delta": "0:00:00.033609", "end": "2024-04-10 14:21:43.047790", "rc": 0, "start": "2024-04-10 14:21:43.014181" } STDOUT: podman version 4.9.4-dev TASK [linux-system-roles.podman : Set podman version] ************************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:29 Wednesday 10 April 2024 14:21:43 +0000 (0:00:00.293) 0:00:55.024 ******* ok: [sut] => { "ansible_facts": { "podman_version": "4.9.4-dev" }, "changed": false } TASK [linux-system-roles.podman : Podman package version must be 4.2 or later] *** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:33 Wednesday 10 April 2024 14:21:43 +0000 (0:00:00.029) 0:00:55.054 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Podman package version must be 4.4 or later for quadlet, secrets] *** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:40 Wednesday 10 April 2024 14:21:43 +0000 (0:00:00.029) 0:00:55.083 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: end_host conditional evaluated to false, continuing execution for sut TASK [linux-system-roles.podman : Check user and group information] ************ task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:57 Wednesday 10 April 2024 14:21:43 +0000 (0:00:00.068) 0:00:55.152 ******* included: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml for sut TASK [linux-system-roles.podman : Get user information] ************************ task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:2 Wednesday 10 April 2024 14:21:43 +0000 (0:00:00.036) 0:00:55.189 ******* ok: [sut] => { "ansible_facts": { "getent_passwd": { "root": [ "x", "0", "0", "root", "/root", "/bin/bash" ] } }, "changed": false } TASK [linux-system-roles.podman : Fail if user does not exist] ***************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:10 Wednesday 10 April 2024 14:21:43 +0000 (0:00:00.244) 0:00:55.434 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set group for podman user] ******************* task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:17 Wednesday 10 April 2024 14:21:43 +0000 (0:00:00.024) 0:00:55.458 ******* ok: [sut] => { "ansible_facts": { "__podman_group": "0" }, "changed": false } TASK [linux-system-roles.podman : Get group information] *********************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:28 Wednesday 10 April 2024 14:21:43 +0000 (0:00:00.026) 0:00:55.484 ******* ok: [sut] => { "ansible_facts": { "getent_group": { "root": [ "x", "0", "" ] } }, "changed": false } TASK [linux-system-roles.podman : Set group name] ****************************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:36 Wednesday 10 April 2024 14:21:43 +0000 (0:00:00.193) 0:00:55.677 ******* ok: [sut] => { "ansible_facts": { "__podman_group_name": "root" }, "changed": false } TASK [linux-system-roles.podman : See if getsubids exists] ********************* task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:41 Wednesday 10 April 2024 14:21:43 +0000 (0:00:00.023) 0:00:55.701 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1689166618.0, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 32, "charset": "binary", "checksum": "076f89863b474504550ab1b5c11216a77ed7123c", "ctime": 1712758873.6960535, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 6292775, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "application/x-pie-executable", "mode": "0755", "mtime": 1689166618.0, "nlink": 1, "path": "/usr/bin/getsubids", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 15496, "uid": 0, "version": "1098617182", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [linux-system-roles.podman : Check user with getsubids] ******************* task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:52 Wednesday 10 April 2024 14:21:43 +0000 (0:00:00.193) 0:00:55.894 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check group with getsubids] ****************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:56 Wednesday 10 April 2024 14:21:43 +0000 (0:00:00.024) 0:00:55.918 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check if user is in subuid file] ************* task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:66 Wednesday 10 April 2024 14:21:43 +0000 (0:00:00.020) 0:00:55.938 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Fail if user not in subuid file] ************* task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:74 Wednesday 10 April 2024 14:21:44 +0000 (0:00:00.019) 0:00:55.958 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check if group is in subgid file] ************ task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:81 Wednesday 10 April 2024 14:21:44 +0000 (0:00:00.020) 0:00:55.978 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Fail if group not in subgid file] ************ task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:89 Wednesday 10 April 2024 14:21:44 +0000 (0:00:00.019) 0:00:55.998 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set config file paths] *********************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:63 Wednesday 10 April 2024 14:21:44 +0000 (0:00:00.019) 0:00:56.018 ******* ok: [sut] => { "ansible_facts": { "__podman_container_conf_file": "/etc/containers/containers.conf.d/50-systemroles.conf", "__podman_policy_json_file": "/etc/containers/policy.json", "__podman_registries_conf_file": "/etc/containers/registries.conf.d/50-systemroles.conf", "__podman_storage_conf_file": "/etc/containers/storage.conf" }, "changed": false } TASK [linux-system-roles.podman : Handle container.conf.d] ********************* task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:81 Wednesday 10 April 2024 14:21:44 +0000 (0:00:00.041) 0:00:56.060 ******* included: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml for sut TASK [linux-system-roles.podman : Ensure containers.d exists] ****************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:5 Wednesday 10 April 2024 14:21:44 +0000 (0:00:00.036) 0:00:56.096 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Update container config file] **************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 Wednesday 10 April 2024 14:21:44 +0000 (0:00:00.046) 0:00:56.143 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Handle registries.conf.d] ******************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:84 Wednesday 10 April 2024 14:21:44 +0000 (0:00:00.020) 0:00:56.163 ******* included: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml for sut TASK [linux-system-roles.podman : Ensure registries.d exists] ****************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:5 Wednesday 10 April 2024 14:21:44 +0000 (0:00:00.036) 0:00:56.200 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Update registries config file] *************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 Wednesday 10 April 2024 14:21:44 +0000 (0:00:00.020) 0:00:56.220 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Handle storage.conf] ************************* task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:87 Wednesday 10 April 2024 14:21:44 +0000 (0:00:00.018) 0:00:56.239 ******* included: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml for sut TASK [linux-system-roles.podman : Ensure storage.conf parent dir exists] ******* task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:5 Wednesday 10 April 2024 14:21:44 +0000 (0:00:00.036) 0:00:56.275 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Update storage config file] ****************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 Wednesday 10 April 2024 14:21:44 +0000 (0:00:00.018) 0:00:56.294 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Handle policy.json] ************************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:90 Wednesday 10 April 2024 14:21:44 +0000 (0:00:00.019) 0:00:56.313 ******* included: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml for sut TASK [linux-system-roles.podman : Ensure policy.json parent dir exists] ******** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:6 Wednesday 10 April 2024 14:21:44 +0000 (0:00:00.037) 0:00:56.351 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Stat the policy.json file] ******************* task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:15 Wednesday 10 April 2024 14:21:44 +0000 (0:00:00.018) 0:00:56.370 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Get the existing policy.json] **************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:20 Wednesday 10 April 2024 14:21:44 +0000 (0:00:00.019) 0:00:56.389 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Write new policy.json file] ****************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:26 Wednesday 10 April 2024 14:21:44 +0000 (0:00:00.019) 0:00:56.408 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage firewall for specified ports] ************************************* task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:96 Wednesday 10 April 2024 14:21:44 +0000 (0:00:00.019) 0:00:56.428 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage selinux for specified ports] ************************************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:103 Wednesday 10 April 2024 14:21:44 +0000 (0:00:00.018) 0:00:56.446 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Keep track of users that need to cancel linger] *** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:110 Wednesday 10 April 2024 14:21:44 +0000 (0:00:00.019) 0:00:56.466 ******* ok: [sut] => { "ansible_facts": { "__podman_cancel_user_linger": [] }, "changed": false } TASK [linux-system-roles.podman : Handle secrets] ****************************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:114 Wednesday 10 April 2024 14:21:44 +0000 (0:00:00.018) 0:00:56.484 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.podman : Handle Kubernetes specifications] ************ task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:121 Wednesday 10 April 2024 14:21:44 +0000 (0:00:00.019) 0:00:56.504 ******* TASK [linux-system-roles.podman : Handle Quadlet specifications] *************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:127 Wednesday 10 April 2024 14:21:44 +0000 (0:00:00.019) 0:00:56.524 ******* TASK [linux-system-roles.podman : Cancel linger] ******************************* task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:133 Wednesday 10 April 2024 14:21:44 +0000 (0:00:00.052) 0:00:56.577 ******* TASK [Create temp directory] *************************************************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/tests_config_files.yml:59 Wednesday 10 April 2024 14:21:44 +0000 (0:00:00.018) 0:00:56.595 ******* changed: [sut] => { "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/lsr_podman_config_rzf0st7l", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [Create backup] *********************************************************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/tests_config_files.yml:65 Wednesday 10 April 2024 14:21:44 +0000 (0:00:00.231) 0:00:56.826 ******* ok: [sut] => { "changed": false, "cmd": [ "tar", "--ignore-failed-read", "-c", "-P", "-v", "-p", "-f", "/tmp/lsr_podman_config_rzf0st7l/backup.tar", "/etc/containers/containers.conf.d/50-systemroles.conf", "/etc/containers/registries.conf.d/50-systemroles.conf", "/etc/containers/storage.conf", "/etc/containers/policy.json" ], "delta": "0:00:00.262711", "end": "2024-04-10 14:21:45.305721", "rc": 0, "start": "2024-04-10 14:21:45.043010" } STDOUT: /etc/containers/storage.conf /etc/containers/policy.json STDERR: tar: /etc/containers/containers.conf.d/50-systemroles.conf: Warning: Cannot stat: No such file or directory tar: /etc/containers/registries.conf.d/50-systemroles.conf: Warning: Cannot stat: No such file or directory TASK [Create user] ************************************************************* task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/tests_config_files.yml:72 Wednesday 10 April 2024 14:21:45 +0000 (0:00:00.457) 0:00:57.283 ******* changed: [sut] => { "changed": true, "comment": "", "create_home": true, "group": 1000, "home": "/home/user1", "name": "user1", "shell": "/bin/bash", "state": "present", "system": false, "uid": 1000 } TASK [Run the role with user config] ******************************************* task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/tests_config_files.yml:76 Wednesday 10 April 2024 14:21:45 +0000 (0:00:00.552) 0:00:57.836 ******* TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:3 Wednesday 10 April 2024 14:21:45 +0000 (0:00:00.044) 0:00:57.881 ******* included: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/set_vars.yml for sut TASK [linux-system-roles.podman : Ensure ansible_facts used by role] *********** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:3 Wednesday 10 April 2024 14:21:45 +0000 (0:00:00.033) 0:00:57.914 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check if system is ostree] ******************* task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:12 Wednesday 10 April 2024 14:21:45 +0000 (0:00:00.024) 0:00:57.938 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set flag to indicate system is ostree] ******* task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:17 Wednesday 10 April 2024 14:21:46 +0000 (0:00:00.019) 0:00:57.958 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:21 Wednesday 10 April 2024 14:21:46 +0000 (0:00:00.019) 0:00:57.977 ******* ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__podman_packages": [ "podman", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Gather the package facts] ******************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:6 Wednesday 10 April 2024 14:21:46 +0000 (0:00:00.047) 0:00:58.025 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.podman : Enable copr if requested] ******************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:10 Wednesday 10 April 2024 14:21:47 +0000 (0:00:00.957) 0:00:58.982 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Ensure required packages are installed] ****** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:14 Wednesday 10 April 2024 14:21:47 +0000 (0:00:00.020) 0:00:59.002 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Get podman version] ************************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:23 Wednesday 10 April 2024 14:21:47 +0000 (0:00:00.024) 0:00:59.027 ******* ok: [sut] => { "changed": false, "cmd": [ "podman", "--version" ], "delta": "0:00:00.029698", "end": "2024-04-10 14:21:47.267755", "rc": 0, "start": "2024-04-10 14:21:47.238057" } STDOUT: podman version 4.9.4-dev TASK [linux-system-roles.podman : Set podman version] ************************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:29 Wednesday 10 April 2024 14:21:47 +0000 (0:00:00.217) 0:00:59.245 ******* ok: [sut] => { "ansible_facts": { "podman_version": "4.9.4-dev" }, "changed": false } TASK [linux-system-roles.podman : Podman package version must be 4.2 or later] *** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:33 Wednesday 10 April 2024 14:21:47 +0000 (0:00:00.021) 0:00:59.266 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Podman package version must be 4.4 or later for quadlet, secrets] *** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:40 Wednesday 10 April 2024 14:21:47 +0000 (0:00:00.021) 0:00:59.287 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: end_host conditional evaluated to false, continuing execution for sut TASK [linux-system-roles.podman : Check user and group information] ************ task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:57 Wednesday 10 April 2024 14:21:47 +0000 (0:00:00.034) 0:00:59.322 ******* included: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml for sut TASK [linux-system-roles.podman : Get user information] ************************ task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:2 Wednesday 10 April 2024 14:21:47 +0000 (0:00:00.037) 0:00:59.359 ******* ok: [sut] => { "ansible_facts": { "getent_passwd": { "user1": [ "x", "1000", "1000", "", "/home/user1", "/bin/bash" ] } }, "changed": false } TASK [linux-system-roles.podman : Fail if user does not exist] ***************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:10 Wednesday 10 April 2024 14:21:47 +0000 (0:00:00.198) 0:00:59.557 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set group for podman user] ******************* task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:17 Wednesday 10 April 2024 14:21:47 +0000 (0:00:00.024) 0:00:59.582 ******* ok: [sut] => { "ansible_facts": { "__podman_group": "1000" }, "changed": false } TASK [linux-system-roles.podman : Get group information] *********************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:28 Wednesday 10 April 2024 14:21:47 +0000 (0:00:00.059) 0:00:59.642 ******* ok: [sut] => { "ansible_facts": { "getent_group": { "user1": [ "x", "1000", "" ] } }, "changed": false } TASK [linux-system-roles.podman : Set group name] ****************************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:36 Wednesday 10 April 2024 14:21:47 +0000 (0:00:00.194) 0:00:59.836 ******* ok: [sut] => { "ansible_facts": { "__podman_group_name": "user1" }, "changed": false } TASK [linux-system-roles.podman : See if getsubids exists] ********************* task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:41 Wednesday 10 April 2024 14:21:47 +0000 (0:00:00.025) 0:00:59.862 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1712758903.9108455, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 32, "charset": "binary", "checksum": "076f89863b474504550ab1b5c11216a77ed7123c", "ctime": 1712758873.6960535, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 6292775, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "application/x-pie-executable", "mode": "0755", "mtime": 1689166618.0, "nlink": 1, "path": "/usr/bin/getsubids", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 15496, "uid": 0, "version": "1098617182", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [linux-system-roles.podman : Check user with getsubids] ******************* task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:52 Wednesday 10 April 2024 14:21:48 +0000 (0:00:00.191) 0:01:00.054 ******* ok: [sut] => { "changed": false, "cmd": [ "getsubids", "user1" ], "delta": "0:00:00.003624", "end": "2024-04-10 14:21:48.273673", "rc": 0, "start": "2024-04-10 14:21:48.270049" } STDOUT: 0: user1 100000 65536 TASK [linux-system-roles.podman : Check group with getsubids] ****************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:56 Wednesday 10 April 2024 14:21:48 +0000 (0:00:00.196) 0:01:00.250 ******* ok: [sut] => { "changed": false, "cmd": [ "getsubids", "-g", "user1" ], "delta": "0:00:00.003375", "end": "2024-04-10 14:21:48.469508", "rc": 0, "start": "2024-04-10 14:21:48.466133" } STDOUT: 0: user1 100000 65536 TASK [linux-system-roles.podman : Check if user is in subuid file] ************* task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:66 Wednesday 10 April 2024 14:21:48 +0000 (0:00:00.195) 0:01:00.446 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Fail if user not in subuid file] ************* task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:74 Wednesday 10 April 2024 14:21:48 +0000 (0:00:00.021) 0:01:00.468 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check if group is in subgid file] ************ task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:81 Wednesday 10 April 2024 14:21:48 +0000 (0:00:00.020) 0:01:00.488 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Fail if group not in subgid file] ************ task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:89 Wednesday 10 April 2024 14:21:48 +0000 (0:00:00.023) 0:01:00.512 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set config file paths] *********************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:63 Wednesday 10 April 2024 14:21:48 +0000 (0:00:00.024) 0:01:00.537 ******* ok: [sut] => { "ansible_facts": { "__podman_container_conf_file": "/home/user1/.config/containers/containers.conf.d/50-systemroles.conf", "__podman_policy_json_file": "/home/user1/.config/containers/policy.json", "__podman_registries_conf_file": "/home/user1/.config/containers/registries.conf.d/50-systemroles.conf", "__podman_storage_conf_file": "/home/user1/.config/containers/storage.conf" }, "changed": false } TASK [linux-system-roles.podman : Handle container.conf.d] ********************* task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:81 Wednesday 10 April 2024 14:21:48 +0000 (0:00:00.044) 0:01:00.582 ******* included: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml for sut TASK [linux-system-roles.podman : Ensure containers.d exists] ****************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:5 Wednesday 10 April 2024 14:21:48 +0000 (0:00:00.040) 0:01:00.622 ******* changed: [sut] => { "changed": true, "gid": 0, "group": "root", "mode": "0755", "owner": "user1", "path": "/home/user1/.config/containers/containers.conf.d", "secontext": "unconfined_u:object_r:config_home_t:s0", "size": 6, "state": "directory", "uid": 1000 } TASK [linux-system-roles.podman : Update container config file] **************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 Wednesday 10 April 2024 14:21:48 +0000 (0:00:00.299) 0:01:00.922 ******* changed: [sut] => { "changed": true, "checksum": "94370d6e765779f1c58daf02f667b8f0b74d91f6", "dest": "/home/user1/.config/containers/containers.conf.d/50-systemroles.conf", "gid": 0, "group": "root", "md5sum": "6c7ebf8d89ccba8db738c4afe2b97f5a", "mode": "0644", "owner": "user1", "secontext": "unconfined_u:object_r:config_home_t:s0", "size": 116, "src": "/root/.ansible/tmp/ansible-tmp-1712758909.010729-2855-240216816961007/source", "state": "file", "uid": 1000 } TASK [linux-system-roles.podman : Handle registries.conf.d] ******************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:84 Wednesday 10 April 2024 14:21:49 +0000 (0:00:00.608) 0:01:01.530 ******* included: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml for sut TASK [linux-system-roles.podman : Ensure registries.d exists] ****************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:5 Wednesday 10 April 2024 14:21:49 +0000 (0:00:00.041) 0:01:01.571 ******* changed: [sut] => { "changed": true, "gid": 0, "group": "root", "mode": "0755", "owner": "user1", "path": "/home/user1/.config/containers/registries.conf.d", "secontext": "unconfined_u:object_r:config_home_t:s0", "size": 6, "state": "directory", "uid": 1000 } TASK [linux-system-roles.podman : Update registries config file] *************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 Wednesday 10 April 2024 14:21:49 +0000 (0:00:00.199) 0:01:01.771 ******* changed: [sut] => { "changed": true, "checksum": "dfb9cd7094a81b3d1bb06512cc9b49a09c75639b", "dest": "/home/user1/.config/containers/registries.conf.d/50-systemroles.conf", "gid": 0, "group": "root", "md5sum": "92130a764e88fe669136f6cf26613a84", "mode": "0644", "owner": "user1", "secontext": "unconfined_u:object_r:config_home_t:s0", "size": 225, "src": "/root/.ansible/tmp/ansible-tmp-1712758909.8580952-2870-178665505469624/source", "state": "file", "uid": 1000 } TASK [linux-system-roles.podman : Handle storage.conf] ************************* task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:87 Wednesday 10 April 2024 14:21:50 +0000 (0:00:00.511) 0:01:02.282 ******* included: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml for sut TASK [linux-system-roles.podman : Ensure storage.conf parent dir exists] ******* task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:5 Wednesday 10 April 2024 14:21:50 +0000 (0:00:00.040) 0:01:02.323 ******* ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "user1", "path": "/home/user1/.config/containers", "secontext": "unconfined_u:object_r:config_home_t:s0", "size": 56, "state": "directory", "uid": 1000 } TASK [linux-system-roles.podman : Update storage config file] ****************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 Wednesday 10 April 2024 14:21:50 +0000 (0:00:00.213) 0:01:02.537 ******* changed: [sut] => { "changed": true, "checksum": "d08574b6a1df63dbe1c939ff0bcc7c0b61d03044", "dest": "/home/user1/.config/containers/storage.conf", "gid": 0, "group": "root", "md5sum": "47c893f010daf00398b7ed40f434aa0e", "mode": "0644", "owner": "user1", "secontext": "unconfined_u:object_r:config_home_t:s0", "size": 109, "src": "/root/.ansible/tmp/ansible-tmp-1712758910.6250787-2885-200632405262883/source", "state": "file", "uid": 1000 } TASK [linux-system-roles.podman : Handle policy.json] ************************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:90 Wednesday 10 April 2024 14:21:51 +0000 (0:00:00.514) 0:01:03.051 ******* included: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml for sut TASK [linux-system-roles.podman : Ensure policy.json parent dir exists] ******** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:6 Wednesday 10 April 2024 14:21:51 +0000 (0:00:00.040) 0:01:03.092 ******* ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "user1", "path": "/home/user1/.config/containers", "secontext": "unconfined_u:object_r:config_home_t:s0", "size": 76, "state": "directory", "uid": 1000 } TASK [linux-system-roles.podman : Stat the policy.json file] ******************* task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:15 Wednesday 10 April 2024 14:21:51 +0000 (0:00:00.198) 0:01:03.290 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.podman : Get the existing policy.json] **************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:20 Wednesday 10 April 2024 14:21:51 +0000 (0:00:00.184) 0:01:03.475 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Write new policy.json file] ****************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:26 Wednesday 10 April 2024 14:21:51 +0000 (0:00:00.022) 0:01:03.497 ******* changed: [sut] => { "changed": true, "checksum": "6746c079ad563b735fc39f73d4876654b80b0a0d", "dest": "/home/user1/.config/containers/policy.json", "gid": 0, "group": "root", "md5sum": "443c1986d4a8657dddae55f350d122e2", "mode": "0644", "owner": "user1", "secontext": "unconfined_u:object_r:config_home_t:s0", "size": 67, "src": "/root/.ansible/tmp/ansible-tmp-1712758911.5870113-2905-159099394034871/source", "state": "file", "uid": 1000 } TASK [Manage firewall for specified ports] ************************************* task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:96 Wednesday 10 April 2024 14:21:52 +0000 (0:00:00.499) 0:01:03.997 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage selinux for specified ports] ************************************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:103 Wednesday 10 April 2024 14:21:52 +0000 (0:00:00.020) 0:01:04.018 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Keep track of users that need to cancel linger] *** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:110 Wednesday 10 April 2024 14:21:52 +0000 (0:00:00.019) 0:01:04.038 ******* ok: [sut] => { "ansible_facts": { "__podman_cancel_user_linger": [] }, "changed": false } TASK [linux-system-roles.podman : Handle secrets] ****************************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:114 Wednesday 10 April 2024 14:21:52 +0000 (0:00:00.019) 0:01:04.058 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.podman : Handle Kubernetes specifications] ************ task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:121 Wednesday 10 April 2024 14:21:52 +0000 (0:00:00.019) 0:01:04.077 ******* TASK [linux-system-roles.podman : Handle Quadlet specifications] *************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:127 Wednesday 10 April 2024 14:21:52 +0000 (0:00:00.020) 0:01:04.097 ******* TASK [linux-system-roles.podman : Cancel linger] ******************************* task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:133 Wednesday 10 April 2024 14:21:52 +0000 (0:00:00.019) 0:01:04.116 ******* TASK [Check that files exist and are non-null] ********************************* task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/tests_config_files.yml:83 Wednesday 10 April 2024 14:21:52 +0000 (0:00:00.019) 0:01:04.136 ******* ok: [sut] => (item=/home/user1/.config/containers/containers.conf.d/50-systemroles.conf) => { "ansible_loop_var": "item", "changed": false, "failed_when_result": false, "item": "/home/user1/.config/containers/containers.conf.d/50-systemroles.conf", "stat": { "atime": 1712758909.5146215, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "94370d6e765779f1c58daf02f667b8f0b74d91f6", "ctime": 1712758909.5176215, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 343933123, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1712758909.2426324, "nlink": 1, "path": "/home/user1/.config/containers/containers.conf.d/50-systemroles.conf", "pw_name": "user1", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 116, "uid": 1000, "version": "1016758615", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [sut] => (item=/home/user1/.config/containers/registries.conf.d/50-systemroles.conf) => { "ansible_loop_var": "item", "changed": false, "failed_when_result": false, "item": "/home/user1/.config/containers/registries.conf.d/50-systemroles.conf", "stat": { "atime": 1712758910.277591, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "dfb9cd7094a81b3d1bb06512cc9b49a09c75639b", "ctime": 1712758910.279591, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 354419009, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1712758910.0895987, "nlink": 1, "path": "/home/user1/.config/containers/registries.conf.d/50-systemroles.conf", "pw_name": "user1", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 225, "uid": 1000, "version": "317318507", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [sut] => (item=/home/user1/.config/containers/storage.conf) => { "ansible_loop_var": "item", "changed": false, "failed_when_result": false, "item": "/home/user1/.config/containers/storage.conf", "stat": { "atime": 1712758911.0455604, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d08574b6a1df63dbe1c939ff0bcc7c0b61d03044", "ctime": 1712758911.0485601, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 362807617, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1712758910.8595679, "nlink": 1, "path": "/home/user1/.config/containers/storage.conf", "pw_name": "user1", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 109, "uid": 1000, "version": "4265661544", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [sut] => (item=/home/user1/.config/containers/policy.json) => { "ansible_loop_var": "item", "changed": false, "failed_when_result": false, "item": "/home/user1/.config/containers/policy.json", "stat": { "atime": 1712758911.9945223, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6746c079ad563b735fc39f73d4876654b80b0a0d", "ctime": 1712758911.9975224, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 373293377, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "application/json", "mode": "0644", "mtime": 1712758911.8085299, "nlink": 1, "path": "/home/user1/.config/containers/policy.json", "pw_name": "user1", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 67, "uid": 1000, "version": "1539774289", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Run the role again with user config] ************************************* task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/tests_config_files.yml:91 Wednesday 10 April 2024 14:21:52 +0000 (0:00:00.741) 0:01:04.878 ******* TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:3 Wednesday 10 April 2024 14:21:52 +0000 (0:00:00.045) 0:01:04.923 ******* included: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/set_vars.yml for sut TASK [linux-system-roles.podman : Ensure ansible_facts used by role] *********** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:3 Wednesday 10 April 2024 14:21:53 +0000 (0:00:00.078) 0:01:05.002 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check if system is ostree] ******************* task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:12 Wednesday 10 April 2024 14:21:53 +0000 (0:00:00.030) 0:01:05.032 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set flag to indicate system is ostree] ******* task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:17 Wednesday 10 April 2024 14:21:53 +0000 (0:00:00.022) 0:01:05.054 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:21 Wednesday 10 April 2024 14:21:53 +0000 (0:00:00.019) 0:01:05.074 ******* ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__podman_packages": [ "podman", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Gather the package facts] ******************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:6 Wednesday 10 April 2024 14:21:53 +0000 (0:00:00.047) 0:01:05.121 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.podman : Enable copr if requested] ******************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:10 Wednesday 10 April 2024 14:21:54 +0000 (0:00:00.928) 0:01:06.050 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Ensure required packages are installed] ****** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:14 Wednesday 10 April 2024 14:21:54 +0000 (0:00:00.019) 0:01:06.070 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Get podman version] ************************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:23 Wednesday 10 April 2024 14:21:54 +0000 (0:00:00.026) 0:01:06.097 ******* ok: [sut] => { "changed": false, "cmd": [ "podman", "--version" ], "delta": "0:00:00.030605", "end": "2024-04-10 14:21:54.337785", "rc": 0, "start": "2024-04-10 14:21:54.307180" } STDOUT: podman version 4.9.4-dev TASK [linux-system-roles.podman : Set podman version] ************************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:29 Wednesday 10 April 2024 14:21:54 +0000 (0:00:00.218) 0:01:06.315 ******* ok: [sut] => { "ansible_facts": { "podman_version": "4.9.4-dev" }, "changed": false } TASK [linux-system-roles.podman : Podman package version must be 4.2 or later] *** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:33 Wednesday 10 April 2024 14:21:54 +0000 (0:00:00.021) 0:01:06.337 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Podman package version must be 4.4 or later for quadlet, secrets] *** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:40 Wednesday 10 April 2024 14:21:54 +0000 (0:00:00.020) 0:01:06.357 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: end_host conditional evaluated to false, continuing execution for sut TASK [linux-system-roles.podman : Check user and group information] ************ task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:57 Wednesday 10 April 2024 14:21:54 +0000 (0:00:00.062) 0:01:06.420 ******* included: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml for sut TASK [linux-system-roles.podman : Get user information] ************************ task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:2 Wednesday 10 April 2024 14:21:54 +0000 (0:00:00.040) 0:01:06.461 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Fail if user does not exist] ***************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:10 Wednesday 10 April 2024 14:21:54 +0000 (0:00:00.025) 0:01:06.487 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set group for podman user] ******************* task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:17 Wednesday 10 April 2024 14:21:54 +0000 (0:00:00.026) 0:01:06.514 ******* ok: [sut] => { "ansible_facts": { "__podman_group": "1000" }, "changed": false } TASK [linux-system-roles.podman : Get group information] *********************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:28 Wednesday 10 April 2024 14:21:54 +0000 (0:00:00.027) 0:01:06.541 ******* ok: [sut] => { "ansible_facts": { "getent_group": { "user1": [ "x", "1000", "" ] } }, "changed": false } TASK [linux-system-roles.podman : Set group name] ****************************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:36 Wednesday 10 April 2024 14:21:54 +0000 (0:00:00.195) 0:01:06.737 ******* ok: [sut] => { "ansible_facts": { "__podman_group_name": "user1" }, "changed": false } TASK [linux-system-roles.podman : See if getsubids exists] ********************* task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:41 Wednesday 10 April 2024 14:21:54 +0000 (0:00:00.026) 0:01:06.763 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1712758903.9108455, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 32, "charset": "binary", "checksum": "076f89863b474504550ab1b5c11216a77ed7123c", "ctime": 1712758873.6960535, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 6292775, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "application/x-pie-executable", "mode": "0755", "mtime": 1689166618.0, "nlink": 1, "path": "/usr/bin/getsubids", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 15496, "uid": 0, "version": "1098617182", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [linux-system-roles.podman : Check user with getsubids] ******************* task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:52 Wednesday 10 April 2024 14:21:55 +0000 (0:00:00.193) 0:01:06.956 ******* ok: [sut] => { "changed": false, "cmd": [ "getsubids", "user1" ], "delta": "0:00:00.003296", "end": "2024-04-10 14:21:55.175535", "rc": 0, "start": "2024-04-10 14:21:55.172239" } STDOUT: 0: user1 100000 65536 TASK [linux-system-roles.podman : Check group with getsubids] ****************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:56 Wednesday 10 April 2024 14:21:55 +0000 (0:00:00.194) 0:01:07.150 ******* ok: [sut] => { "changed": false, "cmd": [ "getsubids", "-g", "user1" ], "delta": "0:00:00.003294", "end": "2024-04-10 14:21:55.368344", "rc": 0, "start": "2024-04-10 14:21:55.365050" } STDOUT: 0: user1 100000 65536 TASK [linux-system-roles.podman : Check if user is in subuid file] ************* task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:66 Wednesday 10 April 2024 14:21:55 +0000 (0:00:00.192) 0:01:07.343 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Fail if user not in subuid file] ************* task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:74 Wednesday 10 April 2024 14:21:55 +0000 (0:00:00.020) 0:01:07.364 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check if group is in subgid file] ************ task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:81 Wednesday 10 April 2024 14:21:55 +0000 (0:00:00.019) 0:01:07.384 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Fail if group not in subgid file] ************ task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:89 Wednesday 10 April 2024 14:21:55 +0000 (0:00:00.020) 0:01:07.404 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set config file paths] *********************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:63 Wednesday 10 April 2024 14:21:55 +0000 (0:00:00.019) 0:01:07.423 ******* ok: [sut] => { "ansible_facts": { "__podman_container_conf_file": "/home/user1/.config/containers/containers.conf.d/50-systemroles.conf", "__podman_policy_json_file": "/home/user1/.config/containers/policy.json", "__podman_registries_conf_file": "/home/user1/.config/containers/registries.conf.d/50-systemroles.conf", "__podman_storage_conf_file": "/home/user1/.config/containers/storage.conf" }, "changed": false } TASK [linux-system-roles.podman : Handle container.conf.d] ********************* task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:81 Wednesday 10 April 2024 14:21:55 +0000 (0:00:00.043) 0:01:07.466 ******* included: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml for sut TASK [linux-system-roles.podman : Ensure containers.d exists] ****************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:5 Wednesday 10 April 2024 14:21:55 +0000 (0:00:00.073) 0:01:07.540 ******* ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "user1", "path": "/home/user1/.config/containers/containers.conf.d", "secontext": "unconfined_u:object_r:config_home_t:s0", "size": 33, "state": "directory", "uid": 1000 } TASK [linux-system-roles.podman : Update container config file] **************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 Wednesday 10 April 2024 14:21:55 +0000 (0:00:00.200) 0:01:07.740 ******* ok: [sut] => { "changed": false, "checksum": "94370d6e765779f1c58daf02f667b8f0b74d91f6", "dest": "/home/user1/.config/containers/containers.conf.d/50-systemroles.conf", "gid": 0, "group": "root", "mode": "0644", "owner": "user1", "path": "/home/user1/.config/containers/containers.conf.d/50-systemroles.conf", "secontext": "unconfined_u:object_r:config_home_t:s0", "size": 116, "state": "file", "uid": 1000 } TASK [linux-system-roles.podman : Handle registries.conf.d] ******************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:84 Wednesday 10 April 2024 14:21:56 +0000 (0:00:00.460) 0:01:08.201 ******* included: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml for sut TASK [linux-system-roles.podman : Ensure registries.d exists] ****************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:5 Wednesday 10 April 2024 14:21:56 +0000 (0:00:00.037) 0:01:08.239 ******* ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "user1", "path": "/home/user1/.config/containers/registries.conf.d", "secontext": "unconfined_u:object_r:config_home_t:s0", "size": 33, "state": "directory", "uid": 1000 } TASK [linux-system-roles.podman : Update registries config file] *************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 Wednesday 10 April 2024 14:21:56 +0000 (0:00:00.198) 0:01:08.437 ******* ok: [sut] => { "changed": false, "checksum": "dfb9cd7094a81b3d1bb06512cc9b49a09c75639b", "dest": "/home/user1/.config/containers/registries.conf.d/50-systemroles.conf", "gid": 0, "group": "root", "mode": "0644", "owner": "user1", "path": "/home/user1/.config/containers/registries.conf.d/50-systemroles.conf", "secontext": "unconfined_u:object_r:config_home_t:s0", "size": 225, "state": "file", "uid": 1000 } TASK [linux-system-roles.podman : Handle storage.conf] ************************* task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:87 Wednesday 10 April 2024 14:21:56 +0000 (0:00:00.464) 0:01:08.902 ******* included: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml for sut TASK [linux-system-roles.podman : Ensure storage.conf parent dir exists] ******* task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:5 Wednesday 10 April 2024 14:21:56 +0000 (0:00:00.039) 0:01:08.942 ******* ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "user1", "path": "/home/user1/.config/containers", "secontext": "unconfined_u:object_r:config_home_t:s0", "size": 95, "state": "directory", "uid": 1000 } TASK [linux-system-roles.podman : Update storage config file] ****************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 Wednesday 10 April 2024 14:21:57 +0000 (0:00:00.202) 0:01:09.144 ******* ok: [sut] => { "changed": false, "checksum": "d08574b6a1df63dbe1c939ff0bcc7c0b61d03044", "dest": "/home/user1/.config/containers/storage.conf", "gid": 0, "group": "root", "mode": "0644", "owner": "user1", "path": "/home/user1/.config/containers/storage.conf", "secontext": "unconfined_u:object_r:config_home_t:s0", "size": 109, "state": "file", "uid": 1000 } TASK [linux-system-roles.podman : Handle policy.json] ************************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:90 Wednesday 10 April 2024 14:21:57 +0000 (0:00:00.462) 0:01:09.607 ******* included: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml for sut TASK [linux-system-roles.podman : Ensure policy.json parent dir exists] ******** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:6 Wednesday 10 April 2024 14:21:57 +0000 (0:00:00.066) 0:01:09.673 ******* ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "user1", "path": "/home/user1/.config/containers", "secontext": "unconfined_u:object_r:config_home_t:s0", "size": 95, "state": "directory", "uid": 1000 } TASK [linux-system-roles.podman : Stat the policy.json file] ******************* task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:15 Wednesday 10 April 2024 14:21:57 +0000 (0:00:00.203) 0:01:09.877 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1712758912.8924866, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6746c079ad563b735fc39f73d4876654b80b0a0d", "ctime": 1712758911.9975224, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 373293377, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "application/json", "mode": "0644", "mtime": 1712758911.8085299, "nlink": 1, "path": "/home/user1/.config/containers/policy.json", "pw_name": "user1", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 67, "uid": 1000, "version": "1539774289", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.podman : Get the existing policy.json] **************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:20 Wednesday 10 April 2024 14:21:58 +0000 (0:00:00.195) 0:01:10.072 ******* ok: [sut] => { "changed": false, "content": "ewogICAgImRlZmF1bHQiOiB7CiAgICAgICAgInR5cGUiOiAiaW5zZWN1cmVBY2NlcHRBbnl0aGluZyIKICAgIH0KfQ==", "encoding": "base64", "source": "/home/user1/.config/containers/policy.json" } TASK [linux-system-roles.podman : Write new policy.json file] ****************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:26 Wednesday 10 April 2024 14:21:58 +0000 (0:00:00.415) 0:01:10.487 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage firewall for specified ports] ************************************* task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:96 Wednesday 10 April 2024 14:21:58 +0000 (0:00:00.024) 0:01:10.512 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage selinux for specified ports] ************************************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:103 Wednesday 10 April 2024 14:21:58 +0000 (0:00:00.019) 0:01:10.532 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Keep track of users that need to cancel linger] *** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:110 Wednesday 10 April 2024 14:21:58 +0000 (0:00:00.019) 0:01:10.552 ******* ok: [sut] => { "ansible_facts": { "__podman_cancel_user_linger": [] }, "changed": false } TASK [linux-system-roles.podman : Handle secrets] ****************************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:114 Wednesday 10 April 2024 14:21:58 +0000 (0:00:00.018) 0:01:10.570 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.podman : Handle Kubernetes specifications] ************ task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:121 Wednesday 10 April 2024 14:21:58 +0000 (0:00:00.019) 0:01:10.589 ******* TASK [linux-system-roles.podman : Handle Quadlet specifications] *************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:127 Wednesday 10 April 2024 14:21:58 +0000 (0:00:00.018) 0:01:10.607 ******* TASK [linux-system-roles.podman : Cancel linger] ******************************* task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:133 Wednesday 10 April 2024 14:21:58 +0000 (0:00:00.019) 0:01:10.627 ******* TASK [Check that files still exist and are non-null] *************************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/tests_config_files.yml:98 Wednesday 10 April 2024 14:21:58 +0000 (0:00:00.018) 0:01:10.645 ******* ok: [sut] => (item=/home/user1/.config/containers/containers.conf.d/50-systemroles.conf) => { "ansible_loop_var": "item", "changed": false, "failed_when_result": false, "item": "/home/user1/.config/containers/containers.conf.d/50-systemroles.conf", "stat": { "atime": 1712758912.352508, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "94370d6e765779f1c58daf02f667b8f0b74d91f6", "ctime": 1712758909.5176215, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 343933123, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1712758909.2426324, "nlink": 1, "path": "/home/user1/.config/containers/containers.conf.d/50-systemroles.conf", "pw_name": "user1", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 116, "uid": 1000, "version": "1016758615", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [sut] => (item=/home/user1/.config/containers/registries.conf.d/50-systemroles.conf) => { "ansible_loop_var": "item", "changed": false, "failed_when_result": false, "item": "/home/user1/.config/containers/registries.conf.d/50-systemroles.conf", "stat": { "atime": 1712758912.531501, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "dfb9cd7094a81b3d1bb06512cc9b49a09c75639b", "ctime": 1712758910.279591, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 354419009, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1712758910.0895987, "nlink": 1, "path": "/home/user1/.config/containers/registries.conf.d/50-systemroles.conf", "pw_name": "user1", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 225, "uid": 1000, "version": "317318507", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [sut] => (item=/home/user1/.config/containers/storage.conf) => { "ansible_loop_var": "item", "changed": false, "failed_when_result": false, "item": "/home/user1/.config/containers/storage.conf", "stat": { "atime": 1712758912.7104938, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d08574b6a1df63dbe1c939ff0bcc7c0b61d03044", "ctime": 1712758911.0485601, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 362807617, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1712758910.8595679, "nlink": 1, "path": "/home/user1/.config/containers/storage.conf", "pw_name": "user1", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 109, "uid": 1000, "version": "4265661544", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [sut] => (item=/home/user1/.config/containers/policy.json) => { "ansible_loop_var": "item", "changed": false, "failed_when_result": false, "item": "/home/user1/.config/containers/policy.json", "stat": { "atime": 1712758912.8924866, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6746c079ad563b735fc39f73d4876654b80b0a0d", "ctime": 1712758911.9975224, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 373293377, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "application/json", "mode": "0644", "mtime": 1712758911.8085299, "nlink": 1, "path": "/home/user1/.config/containers/policy.json", "pw_name": "user1", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 67, "uid": 1000, "version": "1539774289", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Run the role with root config] ******************************************* task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/tests_config_files.yml:106 Wednesday 10 April 2024 14:21:59 +0000 (0:00:00.780) 0:01:11.425 ******* TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:3 Wednesday 10 April 2024 14:21:59 +0000 (0:00:00.061) 0:01:11.486 ******* included: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/set_vars.yml for sut TASK [linux-system-roles.podman : Ensure ansible_facts used by role] *********** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:3 Wednesday 10 April 2024 14:21:59 +0000 (0:00:00.036) 0:01:11.523 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check if system is ostree] ******************* task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:12 Wednesday 10 April 2024 14:21:59 +0000 (0:00:00.025) 0:01:11.548 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set flag to indicate system is ostree] ******* task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:17 Wednesday 10 April 2024 14:21:59 +0000 (0:00:00.020) 0:01:11.568 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:21 Wednesday 10 April 2024 14:21:59 +0000 (0:00:00.019) 0:01:11.588 ******* ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__podman_packages": [ "podman", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Gather the package facts] ******************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:6 Wednesday 10 April 2024 14:21:59 +0000 (0:00:00.050) 0:01:11.639 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.podman : Enable copr if requested] ******************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:10 Wednesday 10 April 2024 14:22:00 +0000 (0:00:00.932) 0:01:12.572 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Ensure required packages are installed] ****** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:14 Wednesday 10 April 2024 14:22:00 +0000 (0:00:00.023) 0:01:12.596 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Get podman version] ************************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:23 Wednesday 10 April 2024 14:22:00 +0000 (0:00:00.026) 0:01:12.622 ******* ok: [sut] => { "changed": false, "cmd": [ "podman", "--version" ], "delta": "0:00:00.030104", "end": "2024-04-10 14:22:00.865810", "rc": 0, "start": "2024-04-10 14:22:00.835706" } STDOUT: podman version 4.9.4-dev TASK [linux-system-roles.podman : Set podman version] ************************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:29 Wednesday 10 April 2024 14:22:00 +0000 (0:00:00.219) 0:01:12.842 ******* ok: [sut] => { "ansible_facts": { "podman_version": "4.9.4-dev" }, "changed": false } TASK [linux-system-roles.podman : Podman package version must be 4.2 or later] *** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:33 Wednesday 10 April 2024 14:22:00 +0000 (0:00:00.021) 0:01:12.864 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Podman package version must be 4.4 or later for quadlet, secrets] *** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:40 Wednesday 10 April 2024 14:22:00 +0000 (0:00:00.020) 0:01:12.884 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: end_host conditional evaluated to false, continuing execution for sut TASK [linux-system-roles.podman : Check user and group information] ************ task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:57 Wednesday 10 April 2024 14:22:00 +0000 (0:00:00.035) 0:01:12.919 ******* included: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml for sut TASK [linux-system-roles.podman : Get user information] ************************ task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:2 Wednesday 10 April 2024 14:22:01 +0000 (0:00:00.038) 0:01:12.958 ******* ok: [sut] => { "ansible_facts": { "getent_passwd": { "root": [ "x", "0", "0", "root", "/root", "/bin/bash" ] } }, "changed": false } TASK [linux-system-roles.podman : Fail if user does not exist] ***************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:10 Wednesday 10 April 2024 14:22:01 +0000 (0:00:00.198) 0:01:13.156 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set group for podman user] ******************* task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:17 Wednesday 10 April 2024 14:22:01 +0000 (0:00:00.026) 0:01:13.182 ******* ok: [sut] => { "ansible_facts": { "__podman_group": "0" }, "changed": false } TASK [linux-system-roles.podman : Get group information] *********************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:28 Wednesday 10 April 2024 14:22:01 +0000 (0:00:00.028) 0:01:13.211 ******* ok: [sut] => { "ansible_facts": { "getent_group": { "root": [ "x", "0", "" ] } }, "changed": false } TASK [linux-system-roles.podman : Set group name] ****************************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:36 Wednesday 10 April 2024 14:22:01 +0000 (0:00:00.202) 0:01:13.414 ******* ok: [sut] => { "ansible_facts": { "__podman_group_name": "root" }, "changed": false } TASK [linux-system-roles.podman : See if getsubids exists] ********************* task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:41 Wednesday 10 April 2024 14:22:01 +0000 (0:00:00.028) 0:01:13.442 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1712758903.9108455, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 32, "charset": "binary", "checksum": "076f89863b474504550ab1b5c11216a77ed7123c", "ctime": 1712758873.6960535, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 6292775, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "application/x-pie-executable", "mode": "0755", "mtime": 1689166618.0, "nlink": 1, "path": "/usr/bin/getsubids", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 15496, "uid": 0, "version": "1098617182", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [linux-system-roles.podman : Check user with getsubids] ******************* task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:52 Wednesday 10 April 2024 14:22:01 +0000 (0:00:00.214) 0:01:13.656 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check group with getsubids] ****************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:56 Wednesday 10 April 2024 14:22:01 +0000 (0:00:00.030) 0:01:13.686 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check if user is in subuid file] ************* task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:66 Wednesday 10 April 2024 14:22:01 +0000 (0:00:00.028) 0:01:13.714 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Fail if user not in subuid file] ************* task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:74 Wednesday 10 April 2024 14:22:01 +0000 (0:00:00.037) 0:01:13.752 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check if group is in subgid file] ************ task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:81 Wednesday 10 April 2024 14:22:01 +0000 (0:00:00.026) 0:01:13.778 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Fail if group not in subgid file] ************ task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:89 Wednesday 10 April 2024 14:22:01 +0000 (0:00:00.022) 0:01:13.801 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set config file paths] *********************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:63 Wednesday 10 April 2024 14:22:01 +0000 (0:00:00.069) 0:01:13.870 ******* ok: [sut] => { "ansible_facts": { "__podman_container_conf_file": "/etc/containers/containers.conf.d/50-systemroles.conf", "__podman_policy_json_file": "/etc/containers/policy.json", "__podman_registries_conf_file": "/etc/containers/registries.conf.d/50-systemroles.conf", "__podman_storage_conf_file": "/etc/containers/storage.conf" }, "changed": false } TASK [linux-system-roles.podman : Handle container.conf.d] ********************* task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:81 Wednesday 10 April 2024 14:22:01 +0000 (0:00:00.050) 0:01:13.920 ******* included: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml for sut TASK [linux-system-roles.podman : Ensure containers.d exists] ****************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:5 Wednesday 10 April 2024 14:22:02 +0000 (0:00:00.040) 0:01:13.960 ******* changed: [sut] => { "changed": true, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/containers/containers.conf.d", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [linux-system-roles.podman : Update container config file] **************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 Wednesday 10 April 2024 14:22:02 +0000 (0:00:00.210) 0:01:14.170 ******* changed: [sut] => { "changed": true, "checksum": "94370d6e765779f1c58daf02f667b8f0b74d91f6", "dest": "/etc/containers/containers.conf.d/50-systemroles.conf", "gid": 0, "group": "root", "md5sum": "6c7ebf8d89ccba8db738c4afe2b97f5a", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 116, "src": "/root/.ansible/tmp/ansible-tmp-1712758922.2632694-3194-117884843638700/source", "state": "file", "uid": 0 } TASK [linux-system-roles.podman : Handle registries.conf.d] ******************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:84 Wednesday 10 April 2024 14:22:02 +0000 (0:00:00.530) 0:01:14.701 ******* included: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml for sut TASK [linux-system-roles.podman : Ensure registries.d exists] ****************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:5 Wednesday 10 April 2024 14:22:02 +0000 (0:00:00.045) 0:01:14.747 ******* ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/containers/registries.conf.d", "secontext": "system_u:object_r:etc_t:s0", "size": 107, "state": "directory", "uid": 0 } TASK [linux-system-roles.podman : Update registries config file] *************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 Wednesday 10 April 2024 14:22:03 +0000 (0:00:00.204) 0:01:14.951 ******* changed: [sut] => { "changed": true, "checksum": "dfb9cd7094a81b3d1bb06512cc9b49a09c75639b", "dest": "/etc/containers/registries.conf.d/50-systemroles.conf", "gid": 0, "group": "root", "md5sum": "92130a764e88fe669136f6cf26613a84", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 225, "src": "/root/.ansible/tmp/ansible-tmp-1712758923.038201-3240-121023618020746/source", "state": "file", "uid": 0 } TASK [linux-system-roles.podman : Handle storage.conf] ************************* task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:87 Wednesday 10 April 2024 14:22:03 +0000 (0:00:00.513) 0:01:15.464 ******* included: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml for sut TASK [linux-system-roles.podman : Ensure storage.conf parent dir exists] ******* task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:5 Wednesday 10 April 2024 14:22:03 +0000 (0:00:00.037) 0:01:15.502 ******* ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/containers", "secontext": "system_u:object_r:etc_t:s0", "size": 179, "state": "directory", "uid": 0 } TASK [linux-system-roles.podman : Update storage config file] ****************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 Wednesday 10 April 2024 14:22:03 +0000 (0:00:00.238) 0:01:15.740 ******* changed: [sut] => { "changed": true, "checksum": "d08574b6a1df63dbe1c939ff0bcc7c0b61d03044", "dest": "/etc/containers/storage.conf", "gid": 0, "group": "root", "md5sum": "47c893f010daf00398b7ed40f434aa0e", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 109, "src": "/root/.ansible/tmp/ansible-tmp-1712758923.8278792-3275-245055278070834/source", "state": "file", "uid": 0 } TASK [linux-system-roles.podman : Handle policy.json] ************************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:90 Wednesday 10 April 2024 14:22:04 +0000 (0:00:00.530) 0:01:16.270 ******* included: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml for sut TASK [linux-system-roles.podman : Ensure policy.json parent dir exists] ******** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:6 Wednesday 10 April 2024 14:22:04 +0000 (0:00:00.038) 0:01:16.309 ******* ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/containers", "secontext": "system_u:object_r:etc_t:s0", "size": 179, "state": "directory", "uid": 0 } TASK [linux-system-roles.podman : Stat the policy.json file] ******************* task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:15 Wednesday 10 April 2024 14:22:04 +0000 (0:00:00.200) 0:01:16.509 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1712758905.3047898, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "a71b1d310c167cdc95c2fc11e7835d5636768f14", "ctime": 1712758873.861047, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 268435841, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "application/json", "mode": "0644", "mtime": 1707469867.0, "nlink": 1, "path": "/etc/containers/policy.json", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 663, "uid": 0, "version": "1363600507", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.podman : Get the existing policy.json] **************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:20 Wednesday 10 April 2024 14:22:04 +0000 (0:00:00.197) 0:01:16.707 ******* ok: [sut] => { "changed": false, "content": "ewogICAgImRlZmF1bHQiOiBbCiAgICAgICAgewogICAgICAgICAgICAidHlwZSI6ICJpbnNlY3VyZUFjY2VwdEFueXRoaW5nIgogICAgICAgIH0KICAgIF0sCiAgICAidHJhbnNwb3J0cyI6IHsKICAgICAgICAiZG9ja2VyIjogewoJICAgICJyZWdpc3RyeS5hY2Nlc3MucmVkaGF0LmNvbSI6IFsKCQl7CgkJICAgICJ0eXBlIjogInNpZ25lZEJ5IiwKCQkgICAgImtleVR5cGUiOiAiR1BHS2V5cyIsCgkJICAgICJrZXlQYXRocyI6IFsiL2V0Yy9wa2kvcnBtLWdwZy9SUE0tR1BHLUtFWS1yZWRoYXQtcmVsZWFzZSIsICIvZXRjL3BraS9ycG0tZ3BnL1JQTS1HUEctS0VZLXJlZGhhdC1iZXRhIl0KCQl9CgkgICAgXSwKCSAgICAicmVnaXN0cnkucmVkaGF0LmlvIjogWwoJCXsKCQkgICAgInR5cGUiOiAic2lnbmVkQnkiLAoJCSAgICAia2V5VHlwZSI6ICJHUEdLZXlzIiwKCQkgICAgImtleVBhdGhzIjogWyIvZXRjL3BraS9ycG0tZ3BnL1JQTS1HUEctS0VZLXJlZGhhdC1yZWxlYXNlIiwgIi9ldGMvcGtpL3JwbS1ncGcvUlBNLUdQRy1LRVktcmVkaGF0LWJldGEiXQoJCX0KCSAgICBdCgl9LAogICAgICAgICJkb2NrZXItZGFlbW9uIjogewoJICAgICIiOiBbCgkJewoJCSAgICAidHlwZSI6ICJpbnNlY3VyZUFjY2VwdEFueXRoaW5nIgoJCX0KCSAgICBdCgl9CiAgICB9Cn0K", "encoding": "base64", "source": "/etc/containers/policy.json" } TASK [linux-system-roles.podman : Write new policy.json file] ****************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:26 Wednesday 10 April 2024 14:22:04 +0000 (0:00:00.186) 0:01:16.893 ******* changed: [sut] => { "changed": true, "checksum": "6746c079ad563b735fc39f73d4876654b80b0a0d", "dest": "/etc/containers/policy.json", "gid": 0, "group": "root", "md5sum": "443c1986d4a8657dddae55f350d122e2", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 67, "src": "/root/.ansible/tmp/ansible-tmp-1712758924.982886-3304-15480805340387/source", "state": "file", "uid": 0 } TASK [Manage firewall for specified ports] ************************************* task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:96 Wednesday 10 April 2024 14:22:05 +0000 (0:00:00.515) 0:01:17.409 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage selinux for specified ports] ************************************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:103 Wednesday 10 April 2024 14:22:05 +0000 (0:00:00.021) 0:01:17.431 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Keep track of users that need to cancel linger] *** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:110 Wednesday 10 April 2024 14:22:05 +0000 (0:00:00.022) 0:01:17.454 ******* ok: [sut] => { "ansible_facts": { "__podman_cancel_user_linger": [] }, "changed": false } TASK [linux-system-roles.podman : Handle secrets] ****************************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:114 Wednesday 10 April 2024 14:22:05 +0000 (0:00:00.021) 0:01:17.475 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.podman : Handle Kubernetes specifications] ************ task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:121 Wednesday 10 April 2024 14:22:05 +0000 (0:00:00.021) 0:01:17.496 ******* TASK [linux-system-roles.podman : Handle Quadlet specifications] *************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:127 Wednesday 10 April 2024 14:22:05 +0000 (0:00:00.019) 0:01:17.516 ******* TASK [linux-system-roles.podman : Cancel linger] ******************************* task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:133 Wednesday 10 April 2024 14:22:05 +0000 (0:00:00.021) 0:01:17.537 ******* TASK [Check that files exist and are non-null] ********************************* task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/tests_config_files.yml:113 Wednesday 10 April 2024 14:22:05 +0000 (0:00:00.054) 0:01:17.592 ******* ok: [sut] => (item=/etc/containers/containers.conf.d/50-systemroles.conf) => { "ansible_loop_var": "item", "changed": false, "failed_when_result": false, "item": "/etc/containers/containers.conf.d/50-systemroles.conf", "stat": { "atime": 1712758922.6920948, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "94370d6e765779f1c58daf02f667b8f0b74d91f6", "ctime": 1712758922.6960945, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 455082305, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1712758922.5021024, "nlink": 1, "path": "/etc/containers/containers.conf.d/50-systemroles.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 116, "uid": 0, "version": "1307374474", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [sut] => (item=/etc/containers/registries.conf.d/50-systemroles.conf) => { "ansible_loop_var": "item", "changed": false, "failed_when_result": false, "item": "/etc/containers/registries.conf.d/50-systemroles.conf", "stat": { "atime": 1712758923.460064, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "dfb9cd7094a81b3d1bb06512cc9b49a09c75639b", "ctime": 1712758923.464064, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 463470913, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1712758923.2720716, "nlink": 1, "path": "/etc/containers/registries.conf.d/50-systemroles.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 225, "uid": 0, "version": "1076713683", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [sut] => (item=/etc/containers/storage.conf) => { "ansible_loop_var": "item", "changed": false, "failed_when_result": false, "item": "/etc/containers/storage.conf", "stat": { "atime": 1712758924.2650318, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d08574b6a1df63dbe1c939ff0bcc7c0b61d03044", "ctime": 1712758924.2660317, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 471859521, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1712758924.0790393, "nlink": 1, "path": "/etc/containers/storage.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 109, "uid": 0, "version": "1368471748", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [sut] => (item=/etc/containers/policy.json) => { "ansible_loop_var": "item", "changed": false, "failed_when_result": false, "item": "/etc/containers/policy.json", "stat": { "atime": 1712758925.4009864, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6746c079ad563b735fc39f73d4876654b80b0a0d", "ctime": 1712758925.4019864, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 484442433, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "application/json", "mode": "0644", "mtime": 1712758925.213994, "nlink": 1, "path": "/etc/containers/policy.json", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 67, "uid": 0, "version": "1068938168", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Run the role again with root config] ************************************* task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/tests_config_files.yml:121 Wednesday 10 April 2024 14:22:06 +0000 (0:00:00.743) 0:01:18.335 ******* TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:3 Wednesday 10 April 2024 14:22:06 +0000 (0:00:00.060) 0:01:18.396 ******* included: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/set_vars.yml for sut TASK [linux-system-roles.podman : Ensure ansible_facts used by role] *********** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:3 Wednesday 10 April 2024 14:22:06 +0000 (0:00:00.038) 0:01:18.434 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check if system is ostree] ******************* task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:12 Wednesday 10 April 2024 14:22:06 +0000 (0:00:00.027) 0:01:18.461 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set flag to indicate system is ostree] ******* task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:17 Wednesday 10 April 2024 14:22:06 +0000 (0:00:00.021) 0:01:18.483 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:21 Wednesday 10 April 2024 14:22:06 +0000 (0:00:00.021) 0:01:18.504 ******* ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__podman_packages": [ "podman", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Gather the package facts] ******************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:6 Wednesday 10 April 2024 14:22:06 +0000 (0:00:00.047) 0:01:18.552 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.podman : Enable copr if requested] ******************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:10 Wednesday 10 April 2024 14:22:07 +0000 (0:00:00.972) 0:01:19.524 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Ensure required packages are installed] ****** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:14 Wednesday 10 April 2024 14:22:07 +0000 (0:00:00.022) 0:01:19.547 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Get podman version] ************************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:23 Wednesday 10 April 2024 14:22:07 +0000 (0:00:00.028) 0:01:19.575 ******* ok: [sut] => { "changed": false, "cmd": [ "podman", "--version" ], "delta": "0:00:00.027279", "end": "2024-04-10 14:22:07.817842", "rc": 0, "start": "2024-04-10 14:22:07.790563" } STDOUT: podman version 4.9.4-dev STDERR: time="2024-04-10T14:22:07Z" level=warning msg="The storage 'driver' option should be set in /etc/containers/storage.conf. A driver was picked automatically." TASK [linux-system-roles.podman : Set podman version] ************************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:29 Wednesday 10 April 2024 14:22:07 +0000 (0:00:00.222) 0:01:19.797 ******* ok: [sut] => { "ansible_facts": { "podman_version": "4.9.4-dev" }, "changed": false } TASK [linux-system-roles.podman : Podman package version must be 4.2 or later] *** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:33 Wednesday 10 April 2024 14:22:07 +0000 (0:00:00.022) 0:01:19.819 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Podman package version must be 4.4 or later for quadlet, secrets] *** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:40 Wednesday 10 April 2024 14:22:07 +0000 (0:00:00.023) 0:01:19.843 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: end_host conditional evaluated to false, continuing execution for sut TASK [linux-system-roles.podman : Check user and group information] ************ task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:57 Wednesday 10 April 2024 14:22:07 +0000 (0:00:00.035) 0:01:19.879 ******* included: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml for sut TASK [linux-system-roles.podman : Get user information] ************************ task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:2 Wednesday 10 April 2024 14:22:07 +0000 (0:00:00.038) 0:01:19.917 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Fail if user does not exist] ***************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:10 Wednesday 10 April 2024 14:22:07 +0000 (0:00:00.028) 0:01:19.946 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set group for podman user] ******************* task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:17 Wednesday 10 April 2024 14:22:08 +0000 (0:00:00.028) 0:01:19.975 ******* ok: [sut] => { "ansible_facts": { "__podman_group": "0" }, "changed": false } TASK [linux-system-roles.podman : Get group information] *********************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:28 Wednesday 10 April 2024 14:22:08 +0000 (0:00:00.049) 0:01:20.024 ******* ok: [sut] => { "ansible_facts": { "getent_group": { "root": [ "x", "0", "" ] } }, "changed": false } TASK [linux-system-roles.podman : Set group name] ****************************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:36 Wednesday 10 April 2024 14:22:08 +0000 (0:00:00.204) 0:01:20.228 ******* ok: [sut] => { "ansible_facts": { "__podman_group_name": "root" }, "changed": false } TASK [linux-system-roles.podman : See if getsubids exists] ********************* task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:41 Wednesday 10 April 2024 14:22:08 +0000 (0:00:00.026) 0:01:20.255 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1712758903.9108455, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 32, "charset": "binary", "checksum": "076f89863b474504550ab1b5c11216a77ed7123c", "ctime": 1712758873.6960535, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 6292775, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "application/x-pie-executable", "mode": "0755", "mtime": 1689166618.0, "nlink": 1, "path": "/usr/bin/getsubids", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 15496, "uid": 0, "version": "1098617182", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [linux-system-roles.podman : Check user with getsubids] ******************* task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:52 Wednesday 10 April 2024 14:22:08 +0000 (0:00:00.202) 0:01:20.458 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check group with getsubids] ****************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:56 Wednesday 10 April 2024 14:22:08 +0000 (0:00:00.077) 0:01:20.535 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check if user is in subuid file] ************* task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:66 Wednesday 10 April 2024 14:22:08 +0000 (0:00:00.028) 0:01:20.564 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Fail if user not in subuid file] ************* task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:74 Wednesday 10 April 2024 14:22:08 +0000 (0:00:00.025) 0:01:20.589 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check if group is in subgid file] ************ task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:81 Wednesday 10 April 2024 14:22:08 +0000 (0:00:00.023) 0:01:20.612 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Fail if group not in subgid file] ************ task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:89 Wednesday 10 April 2024 14:22:08 +0000 (0:00:00.038) 0:01:20.650 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set config file paths] *********************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:63 Wednesday 10 April 2024 14:22:08 +0000 (0:00:00.036) 0:01:20.687 ******* ok: [sut] => { "ansible_facts": { "__podman_container_conf_file": "/etc/containers/containers.conf.d/50-systemroles.conf", "__podman_policy_json_file": "/etc/containers/policy.json", "__podman_registries_conf_file": "/etc/containers/registries.conf.d/50-systemroles.conf", "__podman_storage_conf_file": "/etc/containers/storage.conf" }, "changed": false } TASK [linux-system-roles.podman : Handle container.conf.d] ********************* task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:81 Wednesday 10 April 2024 14:22:08 +0000 (0:00:00.078) 0:01:20.766 ******* included: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml for sut TASK [linux-system-roles.podman : Ensure containers.d exists] ****************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:5 Wednesday 10 April 2024 14:22:08 +0000 (0:00:00.045) 0:01:20.811 ******* ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/containers/containers.conf.d", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 33, "state": "directory", "uid": 0 } TASK [linux-system-roles.podman : Update container config file] **************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 Wednesday 10 April 2024 14:22:09 +0000 (0:00:00.226) 0:01:21.037 ******* ok: [sut] => { "changed": false, "checksum": "94370d6e765779f1c58daf02f667b8f0b74d91f6", "dest": "/etc/containers/containers.conf.d/50-systemroles.conf", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/etc/containers/containers.conf.d/50-systemroles.conf", "secontext": "system_u:object_r:etc_t:s0", "size": 116, "state": "file", "uid": 0 } TASK [linux-system-roles.podman : Handle registries.conf.d] ******************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:84 Wednesday 10 April 2024 14:22:09 +0000 (0:00:00.581) 0:01:21.619 ******* included: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml for sut TASK [linux-system-roles.podman : Ensure registries.d exists] ****************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:5 Wednesday 10 April 2024 14:22:09 +0000 (0:00:00.061) 0:01:21.680 ******* ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/containers/registries.conf.d", "secontext": "system_u:object_r:etc_t:s0", "size": 134, "state": "directory", "uid": 0 } TASK [linux-system-roles.podman : Update registries config file] *************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 Wednesday 10 April 2024 14:22:09 +0000 (0:00:00.235) 0:01:21.916 ******* ok: [sut] => { "changed": false, "checksum": "dfb9cd7094a81b3d1bb06512cc9b49a09c75639b", "dest": "/etc/containers/registries.conf.d/50-systemroles.conf", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/etc/containers/registries.conf.d/50-systemroles.conf", "secontext": "system_u:object_r:etc_t:s0", "size": 225, "state": "file", "uid": 0 } TASK [linux-system-roles.podman : Handle storage.conf] ************************* task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:87 Wednesday 10 April 2024 14:22:10 +0000 (0:00:00.475) 0:01:22.392 ******* included: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml for sut TASK [linux-system-roles.podman : Ensure storage.conf parent dir exists] ******* task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:5 Wednesday 10 April 2024 14:22:10 +0000 (0:00:00.092) 0:01:22.484 ******* ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/containers", "secontext": "system_u:object_r:etc_t:s0", "size": 179, "state": "directory", "uid": 0 } TASK [linux-system-roles.podman : Update storage config file] ****************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 Wednesday 10 April 2024 14:22:10 +0000 (0:00:00.205) 0:01:22.689 ******* ok: [sut] => { "changed": false, "checksum": "d08574b6a1df63dbe1c939ff0bcc7c0b61d03044", "dest": "/etc/containers/storage.conf", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/etc/containers/storage.conf", "secontext": "system_u:object_r:etc_t:s0", "size": 109, "state": "file", "uid": 0 } TASK [linux-system-roles.podman : Handle policy.json] ************************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:90 Wednesday 10 April 2024 14:22:11 +0000 (0:00:00.473) 0:01:23.163 ******* included: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml for sut TASK [linux-system-roles.podman : Ensure policy.json parent dir exists] ******** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:6 Wednesday 10 April 2024 14:22:11 +0000 (0:00:00.041) 0:01:23.204 ******* ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/containers", "secontext": "system_u:object_r:etc_t:s0", "size": 179, "state": "directory", "uid": 0 } TASK [linux-system-roles.podman : Stat the policy.json file] ******************* task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:15 Wednesday 10 April 2024 14:22:11 +0000 (0:00:00.200) 0:01:23.405 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1712758926.3479486, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6746c079ad563b735fc39f73d4876654b80b0a0d", "ctime": 1712758925.4019864, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 484442433, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "application/json", "mode": "0644", "mtime": 1712758925.213994, "nlink": 1, "path": "/etc/containers/policy.json", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 67, "uid": 0, "version": "1068938168", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.podman : Get the existing policy.json] **************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:20 Wednesday 10 April 2024 14:22:11 +0000 (0:00:00.198) 0:01:23.603 ******* ok: [sut] => { "changed": false, "content": "ewogICAgImRlZmF1bHQiOiB7CiAgICAgICAgInR5cGUiOiAiaW5zZWN1cmVBY2NlcHRBbnl0aGluZyIKICAgIH0KfQ==", "encoding": "base64", "source": "/etc/containers/policy.json" } TASK [linux-system-roles.podman : Write new policy.json file] ****************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:26 Wednesday 10 April 2024 14:22:11 +0000 (0:00:00.189) 0:01:23.793 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage firewall for specified ports] ************************************* task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:96 Wednesday 10 April 2024 14:22:11 +0000 (0:00:00.033) 0:01:23.826 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage selinux for specified ports] ************************************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:103 Wednesday 10 April 2024 14:22:11 +0000 (0:00:00.024) 0:01:23.850 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Keep track of users that need to cancel linger] *** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:110 Wednesday 10 April 2024 14:22:11 +0000 (0:00:00.027) 0:01:23.878 ******* ok: [sut] => { "ansible_facts": { "__podman_cancel_user_linger": [] }, "changed": false } TASK [linux-system-roles.podman : Handle secrets] ****************************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:114 Wednesday 10 April 2024 14:22:11 +0000 (0:00:00.027) 0:01:23.906 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.podman : Handle Kubernetes specifications] ************ task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:121 Wednesday 10 April 2024 14:22:11 +0000 (0:00:00.032) 0:01:23.939 ******* TASK [linux-system-roles.podman : Handle Quadlet specifications] *************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:127 Wednesday 10 April 2024 14:22:12 +0000 (0:00:00.022) 0:01:23.961 ******* TASK [linux-system-roles.podman : Cancel linger] ******************************* task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:133 Wednesday 10 April 2024 14:22:12 +0000 (0:00:00.099) 0:01:24.061 ******* TASK [Check that files still exist and are non-null] *************************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/tests_config_files.yml:128 Wednesday 10 April 2024 14:22:12 +0000 (0:00:00.020) 0:01:24.081 ******* ok: [sut] => (item=/etc/containers/containers.conf.d/50-systemroles.conf) => { "ansible_loop_var": "item", "changed": false, "failed_when_result": false, "item": "/etc/containers/containers.conf.d/50-systemroles.conf", "stat": { "atime": 1712758925.8069701, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "94370d6e765779f1c58daf02f667b8f0b74d91f6", "ctime": 1712758922.6960945, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 455082305, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1712758922.5021024, "nlink": 1, "path": "/etc/containers/containers.conf.d/50-systemroles.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 116, "uid": 0, "version": "1307374474", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [sut] => (item=/etc/containers/registries.conf.d/50-systemroles.conf) => { "ansible_loop_var": "item", "changed": false, "failed_when_result": false, "item": "/etc/containers/registries.conf.d/50-systemroles.conf", "stat": { "atime": 1712758925.987963, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "dfb9cd7094a81b3d1bb06512cc9b49a09c75639b", "ctime": 1712758923.464064, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 463470913, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1712758923.2720716, "nlink": 1, "path": "/etc/containers/registries.conf.d/50-systemroles.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 225, "uid": 0, "version": "1076713683", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [sut] => (item=/etc/containers/storage.conf) => { "ansible_loop_var": "item", "changed": false, "failed_when_result": false, "item": "/etc/containers/storage.conf", "stat": { "atime": 1712758926.1679559, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d08574b6a1df63dbe1c939ff0bcc7c0b61d03044", "ctime": 1712758924.2660317, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 471859521, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1712758924.0790393, "nlink": 1, "path": "/etc/containers/storage.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 109, "uid": 0, "version": "1368471748", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [sut] => (item=/etc/containers/policy.json) => { "ansible_loop_var": "item", "changed": false, "failed_when_result": false, "item": "/etc/containers/policy.json", "stat": { "atime": 1712758926.3479486, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6746c079ad563b735fc39f73d4876654b80b0a0d", "ctime": 1712758925.4019864, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 484442433, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "application/json", "mode": "0644", "mtime": 1712758925.213994, "nlink": 1, "path": "/etc/containers/policy.json", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 67, "uid": 0, "version": "1068938168", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check for ansible_managed, fingerprint in generated files] *************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/tests_config_files.yml:136 Wednesday 10 April 2024 14:22:12 +0000 (0:00:00.756) 0:01:24.838 ******* included: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/tasks/check_header.yml for sut included: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/tasks/check_header.yml for sut included: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/tasks/check_header.yml for sut included: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/tasks/check_header.yml for sut included: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/tasks/check_header.yml for sut included: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/tasks/check_header.yml for sut TASK [Get file] **************************************************************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/tasks/check_header.yml:3 Wednesday 10 April 2024 14:22:12 +0000 (0:00:00.062) 0:01:24.900 ******* ok: [sut] => { "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6cG9kbWFuCgpbY29udGFpbmVyc10KYW5ub3RhdGlvbnMgPSBbICJlbnZpcm9ubWVudD1wcm9kdWN0aW9uIiwgInN0YXR1cz10aWVyMiIsXQo=", "encoding": "base64", "source": "/home/user1/.config/containers/containers.conf.d/50-systemroles.conf" } TASK [Check for presence of ansible managed header, fingerprint] *************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/tasks/check_header.yml:9 Wednesday 10 April 2024 14:22:13 +0000 (0:00:00.195) 0:01:25.096 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get file] **************************************************************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/tasks/check_header.yml:3 Wednesday 10 April 2024 14:22:13 +0000 (0:00:00.060) 0:01:25.157 ******* ok: [sut] => { "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6cG9kbWFuCgp1bnF1YWxpZmllZC1zZWFyY2gtcmVnaXN0cmllcz1bJ3JlZ2lzdHJ5LTEuZXhhbXBsZS5jb20nLCAncmVnaXN0cnktMi5leGFtcGxlLmNvbSddCmNyZWRlbnRpYWwtaGVscGVycz1bJ2NyZWQtaGVscGVyLTEnLCAnY3JlZC1oZWxwZXItMiddClthbGlhc2VzXQpteXJlZ2lzdHJ5PSJyZWdpc3RyeS5leGFtcGxlLmNvbSIK", "encoding": "base64", "source": "/home/user1/.config/containers/registries.conf.d/50-systemroles.conf" } TASK [Check for presence of ansible managed header, fingerprint] *************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/tasks/check_header.yml:9 Wednesday 10 April 2024 14:22:13 +0000 (0:00:00.183) 0:01:25.341 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get file] **************************************************************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/tasks/check_header.yml:3 Wednesday 10 April 2024 14:22:13 +0000 (0:00:00.059) 0:01:25.400 ******* ok: [sut] => { "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6cG9kbWFuCgpbc3RvcmFnZV0KcnVucm9vdD0iL3RtcCIKZ3JhcGhyb290PSIvdmFyL2xpYi9jb250YWluZXJzL3N0b3JhZ2UiCg==", "encoding": "base64", "source": "/home/user1/.config/containers/storage.conf" } TASK [Check for presence of ansible managed header, fingerprint] *************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/tasks/check_header.yml:9 Wednesday 10 April 2024 14:22:13 +0000 (0:00:00.185) 0:01:25.585 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get file] **************************************************************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/tasks/check_header.yml:3 Wednesday 10 April 2024 14:22:13 +0000 (0:00:00.058) 0:01:25.643 ******* ok: [sut] => { "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6cG9kbWFuCgpbY29udGFpbmVyc10KYW5ub3RhdGlvbnMgPSBbICJlbnZpcm9ubWVudD1wcm9kdWN0aW9uIiwgInN0YXR1cz10aWVyMiIsXQo=", "encoding": "base64", "source": "/etc/containers/containers.conf.d/50-systemroles.conf" } TASK [Check for presence of ansible managed header, fingerprint] *************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/tasks/check_header.yml:9 Wednesday 10 April 2024 14:22:13 +0000 (0:00:00.183) 0:01:25.827 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get file] **************************************************************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/tasks/check_header.yml:3 Wednesday 10 April 2024 14:22:14 +0000 (0:00:00.140) 0:01:25.967 ******* ok: [sut] => { "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6cG9kbWFuCgp1bnF1YWxpZmllZC1zZWFyY2gtcmVnaXN0cmllcz1bJ3JlZ2lzdHJ5LTEuZXhhbXBsZS5jb20nLCAncmVnaXN0cnktMi5leGFtcGxlLmNvbSddCmNyZWRlbnRpYWwtaGVscGVycz1bJ2NyZWQtaGVscGVyLTEnLCAnY3JlZC1oZWxwZXItMiddClthbGlhc2VzXQpteXJlZ2lzdHJ5PSJyZWdpc3RyeS5leGFtcGxlLmNvbSIK", "encoding": "base64", "source": "/etc/containers/registries.conf.d/50-systemroles.conf" } TASK [Check for presence of ansible managed header, fingerprint] *************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/tasks/check_header.yml:9 Wednesday 10 April 2024 14:22:14 +0000 (0:00:00.186) 0:01:26.154 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get file] **************************************************************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/tasks/check_header.yml:3 Wednesday 10 April 2024 14:22:14 +0000 (0:00:00.062) 0:01:26.216 ******* ok: [sut] => { "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6cG9kbWFuCgpbc3RvcmFnZV0KcnVucm9vdD0iL3RtcCIKZ3JhcGhyb290PSIvdmFyL2xpYi9jb250YWluZXJzL3N0b3JhZ2UiCg==", "encoding": "base64", "source": "/etc/containers/storage.conf" } TASK [Check for presence of ansible managed header, fingerprint] *************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/tasks/check_header.yml:9 Wednesday 10 April 2024 14:22:14 +0000 (0:00:00.186) 0:01:26.402 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove test config files] ************************************************ task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/tests_config_files.yml:157 Wednesday 10 April 2024 14:22:14 +0000 (0:00:00.065) 0:01:26.467 ******* changed: [sut] => (item=/etc/containers/containers.conf.d/50-systemroles.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/containers/containers.conf.d/50-systemroles.conf", "path": "/etc/containers/containers.conf.d/50-systemroles.conf", "state": "absent" } changed: [sut] => (item=/etc/containers/registries.conf.d/50-systemroles.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/containers/registries.conf.d/50-systemroles.conf", "path": "/etc/containers/registries.conf.d/50-systemroles.conf", "state": "absent" } changed: [sut] => (item=/etc/containers/storage.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/containers/storage.conf", "path": "/etc/containers/storage.conf", "state": "absent" } changed: [sut] => (item=/etc/containers/policy.json) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/containers/policy.json", "path": "/etc/containers/policy.json", "state": "absent" } changed: [sut] => (item=/home/user1/.config/containers/containers.conf.d/50-systemroles.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/home/user1/.config/containers/containers.conf.d/50-systemroles.conf", "path": "/home/user1/.config/containers/containers.conf.d/50-systemroles.conf", "state": "absent" } changed: [sut] => (item=/home/user1/.config/containers/registries.conf.d/50-systemroles.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/home/user1/.config/containers/registries.conf.d/50-systemroles.conf", "path": "/home/user1/.config/containers/registries.conf.d/50-systemroles.conf", "state": "absent" } changed: [sut] => (item=/home/user1/.config/containers/storage.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/home/user1/.config/containers/storage.conf", "path": "/home/user1/.config/containers/storage.conf", "state": "absent" } changed: [sut] => (item=/home/user1/.config/containers/policy.json) => { "ansible_loop_var": "item", "changed": true, "item": "/home/user1/.config/containers/policy.json", "path": "/home/user1/.config/containers/policy.json", "state": "absent" } TASK [Restore system config files] ********************************************* task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/tests_config_files.yml:163 Wednesday 10 April 2024 14:22:15 +0000 (0:00:01.424) 0:01:27.891 ******* ok: [sut] => { "changed": false, "cmd": [ "tar", "xfvpP", "/tmp/lsr_podman_config_rzf0st7l/backup.tar" ], "delta": "0:00:00.003435", "end": "2024-04-10 14:22:16.108144", "rc": 0, "start": "2024-04-10 14:22:16.104709" } STDOUT: /etc/containers/storage.conf /etc/containers/policy.json TASK [Remove temp directory] *************************************************** task path: /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/tests_config_files.yml:168 Wednesday 10 April 2024 14:22:16 +0000 (0:00:00.192) 0:01:28.084 ******* changed: [sut] => { "changed": true, "path": "/tmp/lsr_podman_config_rzf0st7l", "state": "absent" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=157 changed=16 unreachable=0 failed=0 skipped=108 rescued=0 ignored=0 Wednesday 10 April 2024 14:22:16 +0000 (0:00:00.181) 0:01:28.266 ******* =============================================================================== linux-system-roles.podman : Ensure required packages are installed ----- 52.50s /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:14 linux-system-roles.podman : Gather the package facts -------------------- 1.91s /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:6 linux-system-roles.podman : Gather the package facts -------------------- 1.89s /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:6 Remove test config files ------------------------------------------------ 1.42s /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/tests_config_files.yml:157 ------- linux-system-roles.podman : Gather the package facts -------------------- 1.06s /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/main.yml:6 Check that files still exist and are non-null --------------------------- 0.78s /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/tests_config_files.yml:98 -------- Check that files still exist and are non-null --------------------------- 0.76s /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/tests_config_files.yml:128 ------- Check that files exist and are non-null --------------------------------- 0.74s /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/tests_config_files.yml:113 ------- Check that files exist and are non-null --------------------------------- 0.74s /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/tests_config_files.yml:83 -------- Gathering Facts --------------------------------------------------------- 0.68s /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/tests_config_files.yml:9 --------- linux-system-roles.podman : Update container config file ---------------- 0.61s /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 linux-system-roles.podman : Update container config file ---------------- 0.58s /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 Create user ------------------------------------------------------------- 0.55s /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/tests_config_files.yml:72 -------- linux-system-roles.podman : Update container config file ---------------- 0.53s /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 linux-system-roles.podman : Update storage config file ------------------ 0.53s /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 linux-system-roles.podman : Write new policy.json file ------------------ 0.52s /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:26 linux-system-roles.podman : Update storage config file ------------------ 0.51s /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 linux-system-roles.podman : Update registries config file --------------- 0.51s /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 linux-system-roles.podman : Update registries config file --------------- 0.51s /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 linux-system-roles.podman : Write new policy.json file ------------------ 0.50s /WORKDIR/git-fix-cancel-lingerq5rj0db3/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:26 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: Distribution centos 9 on host sut should use /usr/libexec/platform-python, but is using /usr/bin/python for backward compatibility with prior Ansible releases. A future Ansible release will default to using the discovered platform python for this host. See https://docs .ansible.com/ansible/2.9/reference_appendices/interpreter_discovery.html for more information. This feature will be removed in version 2.12. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. [WARNING]: Consider using the unarchive module rather than running 'tar'. If you need to use command because unarchive is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---