# 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-linger-handlingb3upr179/tests/tests_config_files.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Include vault variables] ************************************************* task path: /WORKDIR/git-fix-linger-handlingb3upr179/tests/tests_config_files.yml:4 Wednesday 07 February 2024 22:50:37 +0000 (0:00:00.011) 0:00:00.011 **** 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-linger-handlingb3upr179/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-linger-handlingb3upr179/tests/tests_config_files.yml:9 Wednesday 07 February 2024 22:50:37 +0000 (0:00:00.009) 0:00:00.021 **** ok: [sut] META: ran handlers TASK [Run the role with no config to get private vars] ************************* task path: /WORKDIR/git-fix-linger-handlingb3upr179/tests/tests_config_files.yml:48 Wednesday 07 February 2024 22:50:37 +0000 (0:00:00.683) 0:00:00.704 **** TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-fix-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:3 Wednesday 07 February 2024 22:50:37 +0000 (0:00:00.068) 0:00:00.773 **** included: /WORKDIR/git-fix-linger-handlingb3upr179/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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:3 Wednesday 07 February 2024 22:50:37 +0000 (0:00:00.013) 0:00:00.787 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:12 Wednesday 07 February 2024 22:50:37 +0000 (0:00:00.018) 0:00:00.806 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.podman : Set flag to indicate system is ostree] ******* task path: /WORKDIR/git-fix-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:17 Wednesday 07 February 2024 22:50:38 +0000 (0:00:00.268) 0:00:01.074 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:21 Wednesday 07 February 2024 22:50:38 +0000 (0:00:00.019) 0:00:01.094 **** ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__podman_packages": [ "podman", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-fix-linger-handlingb3upr179/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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:6 Wednesday 07 February 2024 22:50:38 +0000 (0:00:00.044) 0:00:01.138 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:10 Wednesday 07 February 2024 22:50:39 +0000 (0:00:01.173) 0:00:02.312 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:14 Wednesday 07 February 2024 22:50:39 +0000 (0:00:00.026) 0:00:02.339 **** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: libslirp-4.4.0-7.el9.x86_64", "Installed: podman-2:4.8.1-1.el9.x86_64", "Installed: netavark-2:1.9.0-1.el9.x86_64", "Installed: slirp4netns-1.2.2-1.el9.x86_64", "Installed: shadow-utils-subid-2:4.9-8.el9.x86_64", "Installed: criu-3.19-1.el9.x86_64", "Installed: yajl-2.1.0-22.el9.x86_64", "Installed: criu-libs-3.19-1.el9.x86_64", "Installed: crun-1.14-1.el9.x86_64", "Installed: conmon-2:2.1.10-1.el9.x86_64", "Installed: aardvark-dns-2:1.9.0-1.el9.x86_64", "Installed: fuse-overlayfs-1.12-1.el9.x86_64", "Installed: protobuf-c-1.3.3-13.el9.x86_64", "Installed: fuse3-3.10.2-6.el9.x86_64", "Installed: fuse3-libs-3.10.2-6.el9.x86_64", "Installed: container-selinux-3:2.229.0-1.el9.noarch", "Installed: libnet-1.2-6.el9.x86_64", "Installed: containers-common-2:1-55.el9.x86_64", "Installed: fuse-common-3.10.2-6.el9.x86_64" ] } TASK [linux-system-roles.podman : Get podman version] ************************** task path: /WORKDIR/git-fix-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:23 Wednesday 07 February 2024 22:51:27 +0000 (0:00:48.130) 0:00:50.470 **** ok: [sut] => { "changed": false, "cmd": [ "podman", "--version" ], "delta": "0:00:00.037168", "end": "2024-02-07 22:51:27.876957", "rc": 0, "start": "2024-02-07 22:51:27.839789" } STDOUT: podman version 4.8.1 TASK [linux-system-roles.podman : Set podman version] ************************** task path: /WORKDIR/git-fix-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:28 Wednesday 07 February 2024 22:51:27 +0000 (0:00:00.313) 0:00:50.783 **** ok: [sut] => { "ansible_facts": { "podman_version": "4.8.1" }, "changed": false } TASK [linux-system-roles.podman : Podman package version must be 4.2 or later] *** task path: /WORKDIR/git-fix-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:32 Wednesday 07 February 2024 22:51:27 +0000 (0:00:00.027) 0:00:50.810 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:39 Wednesday 07 February 2024 22:51:27 +0000 (0:00:00.028) 0:00:50.839 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:56 Wednesday 07 February 2024 22:51:28 +0000 (0:00:00.061) 0:00:50.900 **** included: /WORKDIR/git-fix-linger-handlingb3upr179/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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:2 Wednesday 07 February 2024 22:51:28 +0000 (0:00:00.033) 0:00:50.934 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:10 Wednesday 07 February 2024 22:51:28 +0000 (0:00:00.267) 0:00:51.201 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:17 Wednesday 07 February 2024 22:51:28 +0000 (0:00:00.021) 0:00:51.223 **** ok: [sut] => { "ansible_facts": { "__podman_group": "0" }, "changed": false } TASK [linux-system-roles.podman : Get group information] *********************** task path: /WORKDIR/git-fix-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:28 Wednesday 07 February 2024 22:51:28 +0000 (0:00:00.023) 0:00:51.247 **** ok: [sut] => { "ansible_facts": { "getent_group": { "root": [ "x", "0", "" ] } }, "changed": false } TASK [linux-system-roles.podman : Set group name] ****************************** task path: /WORKDIR/git-fix-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:36 Wednesday 07 February 2024 22:51:28 +0000 (0:00:00.216) 0:00:51.464 **** ok: [sut] => { "ansible_facts": { "__podman_group_name": "root" }, "changed": false } TASK [linux-system-roles.podman : See if getsubids exists] ********************* task path: /WORKDIR/git-fix-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:41 Wednesday 07 February 2024 22:51:28 +0000 (0:00:00.023) 0:00:51.487 **** ok: [sut] => { "changed": false, "stat": { "atime": 1689166618.0, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 32, "charset": "binary", "checksum": "076f89863b474504550ab1b5c11216a77ed7123c", "ctime": 1707346257.3759441, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 4380682, "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": "3638346058", "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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:52 Wednesday 07 February 2024 22:51:28 +0000 (0:00:00.221) 0:00:51.709 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check group with getsubids] ****************** task path: /WORKDIR/git-fix-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:56 Wednesday 07 February 2024 22:51:28 +0000 (0:00:00.018) 0:00:51.727 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:66 Wednesday 07 February 2024 22:51:28 +0000 (0:00:00.018) 0:00:51.746 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:74 Wednesday 07 February 2024 22:51:28 +0000 (0:00:00.017) 0:00:51.763 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:81 Wednesday 07 February 2024 22:51:28 +0000 (0:00:00.017) 0:00:51.780 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:89 Wednesday 07 February 2024 22:51:28 +0000 (0:00:00.019) 0:00:51.800 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set config file paths] *********************** task path: /WORKDIR/git-fix-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:62 Wednesday 07 February 2024 22:51:28 +0000 (0:00:00.018) 0:00:51.819 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:80 Wednesday 07 February 2024 22:51:28 +0000 (0:00:00.036) 0:00:51.856 **** included: /WORKDIR/git-fix-linger-handlingb3upr179/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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:5 Wednesday 07 February 2024 22:51:29 +0000 (0:00:00.033) 0:00:51.889 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Update container config file] **************** task path: /WORKDIR/git-fix-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 Wednesday 07 February 2024 22:51:29 +0000 (0:00:00.036) 0:00:51.925 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Handle registries.conf.d] ******************** task path: /WORKDIR/git-fix-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:83 Wednesday 07 February 2024 22:51:29 +0000 (0:00:00.018) 0:00:51.944 **** included: /WORKDIR/git-fix-linger-handlingb3upr179/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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:5 Wednesday 07 February 2024 22:51:29 +0000 (0:00:00.034) 0:00:51.978 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Update registries config file] *************** task path: /WORKDIR/git-fix-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 Wednesday 07 February 2024 22:51:29 +0000 (0:00:00.016) 0:00:51.995 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Handle storage.conf] ************************* task path: /WORKDIR/git-fix-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:86 Wednesday 07 February 2024 22:51:29 +0000 (0:00:00.017) 0:00:52.013 **** included: /WORKDIR/git-fix-linger-handlingb3upr179/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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:5 Wednesday 07 February 2024 22:51:29 +0000 (0:00:00.033) 0:00:52.046 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Update storage config file] ****************** task path: /WORKDIR/git-fix-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 Wednesday 07 February 2024 22:51:29 +0000 (0:00:00.016) 0:00:52.063 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Handle policy.json] ************************** task path: /WORKDIR/git-fix-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:89 Wednesday 07 February 2024 22:51:29 +0000 (0:00:00.019) 0:00:52.082 **** included: /WORKDIR/git-fix-linger-handlingb3upr179/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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:6 Wednesday 07 February 2024 22:51:29 +0000 (0:00:00.035) 0:00:52.118 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:15 Wednesday 07 February 2024 22:51:29 +0000 (0:00:00.017) 0:00:52.135 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:20 Wednesday 07 February 2024 22:51:29 +0000 (0:00:00.017) 0:00:52.153 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:26 Wednesday 07 February 2024 22:51:29 +0000 (0:00:00.017) 0:00:52.170 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage firewall for specified ports] ************************************* task path: /WORKDIR/git-fix-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:95 Wednesday 07 February 2024 22:51:29 +0000 (0:00:00.017) 0:00:52.187 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage selinux for specified ports] ************************************** task path: /WORKDIR/git-fix-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:102 Wednesday 07 February 2024 22:51:29 +0000 (0:00:00.016) 0:00:52.204 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:109 Wednesday 07 February 2024 22:51:29 +0000 (0:00:00.017) 0:00:52.221 **** ok: [sut] => { "ansible_facts": { "__podman_cancel_user_linger": [] }, "changed": false } TASK [linux-system-roles.podman : Handle secrets] ****************************** task path: /WORKDIR/git-fix-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:113 Wednesday 07 February 2024 22:51:29 +0000 (0:00:00.016) 0:00:52.238 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:120 Wednesday 07 February 2024 22:51:29 +0000 (0:00:00.016) 0:00:52.254 **** TASK [linux-system-roles.podman : Handle Quadlet specifications] *************** task path: /WORKDIR/git-fix-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:126 Wednesday 07 February 2024 22:51:29 +0000 (0:00:00.015) 0:00:52.270 **** TASK [linux-system-roles.podman : Cancel linger] ******************************* task path: /WORKDIR/git-fix-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:132 Wednesday 07 February 2024 22:51:29 +0000 (0:00:00.035) 0:00:52.306 **** TASK [Create temp directory] *************************************************** task path: /WORKDIR/git-fix-linger-handlingb3upr179/tests/tests_config_files.yml:59 Wednesday 07 February 2024 22:51:29 +0000 (0:00:00.017) 0:00:52.323 **** changed: [sut] => { "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/lsr_podman_config_5ge2iz7v", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [Create backup] *********************************************************** task path: /WORKDIR/git-fix-linger-handlingb3upr179/tests/tests_config_files.yml:65 Wednesday 07 February 2024 22:51:29 +0000 (0:00:00.255) 0:00:52.579 **** ok: [sut] => { "changed": false, "cmd": [ "tar", "--ignore-failed-read", "-c", "-P", "-v", "-p", "-f", "/tmp/lsr_podman_config_5ge2iz7v/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.217405", "end": "2024-02-07 22:51:30.105206", "rc": 0, "start": "2024-02-07 22:51:29.887801" } 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-linger-handlingb3upr179/tests/tests_config_files.yml:72 Wednesday 07 February 2024 22:51:30 +0000 (0:00:00.432) 0:00:53.011 **** 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-linger-handlingb3upr179/tests/tests_config_files.yml:76 Wednesday 07 February 2024 22:51:30 +0000 (0:00:00.534) 0:00:53.546 **** TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-fix-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:3 Wednesday 07 February 2024 22:51:30 +0000 (0:00:00.041) 0:00:53.587 **** included: /WORKDIR/git-fix-linger-handlingb3upr179/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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:3 Wednesday 07 February 2024 22:51:30 +0000 (0:00:00.030) 0:00:53.617 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:12 Wednesday 07 February 2024 22:51:30 +0000 (0:00:00.021) 0:00:53.639 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:17 Wednesday 07 February 2024 22:51:30 +0000 (0:00:00.017) 0:00:53.656 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:21 Wednesday 07 February 2024 22:51:30 +0000 (0:00:00.016) 0:00:53.673 **** ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__podman_packages": [ "podman", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-fix-linger-handlingb3upr179/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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:6 Wednesday 07 February 2024 22:51:30 +0000 (0:00:00.043) 0:00:53.716 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:10 Wednesday 07 February 2024 22:51:31 +0000 (0:00:01.063) 0:00:54.780 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:14 Wednesday 07 February 2024 22:51:31 +0000 (0:00:00.018) 0:00:54.798 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Get podman version] ************************** task path: /WORKDIR/git-fix-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:23 Wednesday 07 February 2024 22:51:31 +0000 (0:00:00.022) 0:00:54.821 **** ok: [sut] => { "changed": false, "cmd": [ "podman", "--version" ], "delta": "0:00:00.032770", "end": "2024-02-07 22:51:32.156025", "rc": 0, "start": "2024-02-07 22:51:32.123255" } STDOUT: podman version 4.8.1 TASK [linux-system-roles.podman : Set podman version] ************************** task path: /WORKDIR/git-fix-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:28 Wednesday 07 February 2024 22:51:32 +0000 (0:00:00.243) 0:00:55.064 **** ok: [sut] => { "ansible_facts": { "podman_version": "4.8.1" }, "changed": false } TASK [linux-system-roles.podman : Podman package version must be 4.2 or later] *** task path: /WORKDIR/git-fix-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:32 Wednesday 07 February 2024 22:51:32 +0000 (0:00:00.019) 0:00:55.083 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:39 Wednesday 07 February 2024 22:51:32 +0000 (0:00:00.019) 0:00:55.102 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:56 Wednesday 07 February 2024 22:51:32 +0000 (0:00:00.031) 0:00:55.134 **** included: /WORKDIR/git-fix-linger-handlingb3upr179/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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:2 Wednesday 07 February 2024 22:51:32 +0000 (0:00:00.034) 0:00:55.169 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:10 Wednesday 07 February 2024 22:51:32 +0000 (0:00:00.217) 0:00:55.386 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:17 Wednesday 07 February 2024 22:51:32 +0000 (0:00:00.046) 0:00:55.432 **** ok: [sut] => { "ansible_facts": { "__podman_group": "1000" }, "changed": false } TASK [linux-system-roles.podman : Get group information] *********************** task path: /WORKDIR/git-fix-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:28 Wednesday 07 February 2024 22:51:32 +0000 (0:00:00.025) 0:00:55.457 **** ok: [sut] => { "ansible_facts": { "getent_group": { "user1": [ "x", "1000", "" ] } }, "changed": false } TASK [linux-system-roles.podman : Set group name] ****************************** task path: /WORKDIR/git-fix-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:36 Wednesday 07 February 2024 22:51:32 +0000 (0:00:00.224) 0:00:55.682 **** ok: [sut] => { "ansible_facts": { "__podman_group_name": "user1" }, "changed": false } TASK [linux-system-roles.podman : See if getsubids exists] ********************* task path: /WORKDIR/git-fix-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:41 Wednesday 07 February 2024 22:51:32 +0000 (0:00:00.024) 0:00:55.706 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707346288.7939427, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 32, "charset": "binary", "checksum": "076f89863b474504550ab1b5c11216a77ed7123c", "ctime": 1707346257.3759441, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 4380682, "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": "3638346058", "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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:52 Wednesday 07 February 2024 22:51:33 +0000 (0:00:00.221) 0:00:55.927 **** ok: [sut] => { "changed": false, "cmd": [ "getsubids", "user1" ], "delta": "0:00:00.004235", "end": "2024-02-07 22:51:33.241533", "rc": 0, "start": "2024-02-07 22:51:33.237298" } STDOUT: 0: user1 100000 65536 TASK [linux-system-roles.podman : Check group with getsubids] ****************** task path: /WORKDIR/git-fix-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:56 Wednesday 07 February 2024 22:51:33 +0000 (0:00:00.221) 0:00:56.149 **** ok: [sut] => { "changed": false, "cmd": [ "getsubids", "-g", "user1" ], "delta": "0:00:00.004123", "end": "2024-02-07 22:51:33.486973", "rc": 0, "start": "2024-02-07 22:51:33.482850" } STDOUT: 0: user1 100000 65536 TASK [linux-system-roles.podman : Check if user is in subuid file] ************* task path: /WORKDIR/git-fix-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:66 Wednesday 07 February 2024 22:51:33 +0000 (0:00:00.244) 0:00:56.393 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:74 Wednesday 07 February 2024 22:51:33 +0000 (0:00:00.019) 0:00:56.412 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:81 Wednesday 07 February 2024 22:51:33 +0000 (0:00:00.017) 0:00:56.430 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:89 Wednesday 07 February 2024 22:51:33 +0000 (0:00:00.017) 0:00:56.448 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set config file paths] *********************** task path: /WORKDIR/git-fix-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:62 Wednesday 07 February 2024 22:51:33 +0000 (0:00:00.017) 0:00:56.465 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:80 Wednesday 07 February 2024 22:51:33 +0000 (0:00:00.038) 0:00:56.504 **** included: /WORKDIR/git-fix-linger-handlingb3upr179/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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:5 Wednesday 07 February 2024 22:51:33 +0000 (0:00:00.033) 0:00:56.537 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 Wednesday 07 February 2024 22:51:33 +0000 (0:00:00.299) 0:00:56.837 **** 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-1707346293.9973097-2944-133820690761734/source", "state": "file", "uid": 1000 } TASK [linux-system-roles.podman : Handle registries.conf.d] ******************** task path: /WORKDIR/git-fix-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:83 Wednesday 07 February 2024 22:51:34 +0000 (0:00:00.655) 0:00:57.492 **** included: /WORKDIR/git-fix-linger-handlingb3upr179/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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:5 Wednesday 07 February 2024 22:51:34 +0000 (0:00:00.036) 0:00:57.528 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 Wednesday 07 February 2024 22:51:34 +0000 (0:00:00.223) 0:00:57.751 **** 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-1707346294.9115226-2959-84306508087381/source", "state": "file", "uid": 1000 } TASK [linux-system-roles.podman : Handle storage.conf] ************************* task path: /WORKDIR/git-fix-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:86 Wednesday 07 February 2024 22:51:35 +0000 (0:00:00.586) 0:00:58.338 **** included: /WORKDIR/git-fix-linger-handlingb3upr179/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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:5 Wednesday 07 February 2024 22:51:35 +0000 (0:00:00.047) 0:00:58.385 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 Wednesday 07 February 2024 22:51:35 +0000 (0:00:00.248) 0:00:58.634 **** 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-1707346295.7948377-2974-260310672108362/source", "state": "file", "uid": 1000 } TASK [linux-system-roles.podman : Handle policy.json] ************************** task path: /WORKDIR/git-fix-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:89 Wednesday 07 February 2024 22:51:36 +0000 (0:00:00.583) 0:00:59.217 **** included: /WORKDIR/git-fix-linger-handlingb3upr179/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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:6 Wednesday 07 February 2024 22:51:36 +0000 (0:00:00.055) 0:00:59.273 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:15 Wednesday 07 February 2024 22:51:36 +0000 (0:00:00.222) 0:00:59.496 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.podman : Get the existing policy.json] **************** task path: /WORKDIR/git-fix-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:20 Wednesday 07 February 2024 22:51:36 +0000 (0:00:00.211) 0:00:59.707 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:26 Wednesday 07 February 2024 22:51:36 +0000 (0:00:00.021) 0:00:59.729 **** 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-1707346296.8931725-3039-95722175028408/source", "state": "file", "uid": 1000 } TASK [Manage firewall for specified ports] ************************************* task path: /WORKDIR/git-fix-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:95 Wednesday 07 February 2024 22:51:37 +0000 (0:00:00.582) 0:01:00.311 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage selinux for specified ports] ************************************** task path: /WORKDIR/git-fix-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:102 Wednesday 07 February 2024 22:51:37 +0000 (0:00:00.017) 0:01:00.329 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:109 Wednesday 07 February 2024 22:51:37 +0000 (0:00:00.017) 0:01:00.347 **** ok: [sut] => { "ansible_facts": { "__podman_cancel_user_linger": [] }, "changed": false } TASK [linux-system-roles.podman : Handle secrets] ****************************** task path: /WORKDIR/git-fix-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:113 Wednesday 07 February 2024 22:51:37 +0000 (0:00:00.017) 0:01:00.364 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:120 Wednesday 07 February 2024 22:51:37 +0000 (0:00:00.016) 0:01:00.381 **** TASK [linux-system-roles.podman : Handle Quadlet specifications] *************** task path: /WORKDIR/git-fix-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:126 Wednesday 07 February 2024 22:51:37 +0000 (0:00:00.017) 0:01:00.398 **** TASK [linux-system-roles.podman : Cancel linger] ******************************* task path: /WORKDIR/git-fix-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:132 Wednesday 07 February 2024 22:51:37 +0000 (0:00:00.017) 0:01:00.416 **** TASK [Check that files exist and are non-null] ********************************* task path: /WORKDIR/git-fix-linger-handlingb3upr179/tests/tests_config_files.yml:83 Wednesday 07 February 2024 22:51:37 +0000 (0:00:00.022) 0:01:00.438 **** 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": 1707346294.5529423, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "94370d6e765779f1c58daf02f667b8f0b74d91f6", "ctime": 1707346294.5559423, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 350224705, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1707346294.2619424, "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": "2390403726", "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": 1707346295.3899422, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "dfb9cd7094a81b3d1bb06512cc9b49a09c75639b", "ctime": 1707346295.3939424, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 360710465, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1707346295.1749423, "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": "3576571312", "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": 1707346296.2799423, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d08574b6a1df63dbe1c939ff0bcc7c0b61d03044", "ctime": 1707346296.2829423, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 369099073, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1707346296.0639422, "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": "643843374", "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": 1707346297.371942, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6746c079ad563b735fc39f73d4876654b80b0a0d", "ctime": 1707346297.3759422, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 379584833, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "application/json", "mode": "0644", "mtime": 1707346297.1549423, "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": "4195865923", "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-linger-handlingb3upr179/tests/tests_config_files.yml:91 Wednesday 07 February 2024 22:51:38 +0000 (0:00:00.870) 0:01:01.308 **** TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-fix-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:3 Wednesday 07 February 2024 22:51:38 +0000 (0:00:00.042) 0:01:01.351 **** included: /WORKDIR/git-fix-linger-handlingb3upr179/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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:3 Wednesday 07 February 2024 22:51:38 +0000 (0:00:00.032) 0:01:01.384 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:12 Wednesday 07 February 2024 22:51:38 +0000 (0:00:00.023) 0:01:01.407 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:17 Wednesday 07 February 2024 22:51:38 +0000 (0:00:00.026) 0:01:01.433 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:21 Wednesday 07 February 2024 22:51:38 +0000 (0:00:00.019) 0:01:01.453 **** ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__podman_packages": [ "podman", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-fix-linger-handlingb3upr179/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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:6 Wednesday 07 February 2024 22:51:38 +0000 (0:00:00.053) 0:01:01.507 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:10 Wednesday 07 February 2024 22:51:39 +0000 (0:00:01.039) 0:01:02.546 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:14 Wednesday 07 February 2024 22:51:39 +0000 (0:00:00.018) 0:01:02.564 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Get podman version] ************************** task path: /WORKDIR/git-fix-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:23 Wednesday 07 February 2024 22:51:39 +0000 (0:00:00.021) 0:01:02.586 **** ok: [sut] => { "changed": false, "cmd": [ "podman", "--version" ], "delta": "0:00:00.032430", "end": "2024-02-07 22:51:39.920773", "rc": 0, "start": "2024-02-07 22:51:39.888343" } STDOUT: podman version 4.8.1 TASK [linux-system-roles.podman : Set podman version] ************************** task path: /WORKDIR/git-fix-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:28 Wednesday 07 February 2024 22:51:39 +0000 (0:00:00.240) 0:01:02.826 **** ok: [sut] => { "ansible_facts": { "podman_version": "4.8.1" }, "changed": false } TASK [linux-system-roles.podman : Podman package version must be 4.2 or later] *** task path: /WORKDIR/git-fix-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:32 Wednesday 07 February 2024 22:51:39 +0000 (0:00:00.020) 0:01:02.846 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:39 Wednesday 07 February 2024 22:51:39 +0000 (0:00:00.018) 0:01:02.865 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:56 Wednesday 07 February 2024 22:51:40 +0000 (0:00:00.031) 0:01:02.896 **** included: /WORKDIR/git-fix-linger-handlingb3upr179/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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:2 Wednesday 07 February 2024 22:51:40 +0000 (0:00:00.033) 0:01:02.930 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:10 Wednesday 07 February 2024 22:51:40 +0000 (0:00:00.023) 0:01:02.953 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:17 Wednesday 07 February 2024 22:51:40 +0000 (0:00:00.023) 0:01:02.977 **** ok: [sut] => { "ansible_facts": { "__podman_group": "1000" }, "changed": false } TASK [linux-system-roles.podman : Get group information] *********************** task path: /WORKDIR/git-fix-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:28 Wednesday 07 February 2024 22:51:40 +0000 (0:00:00.024) 0:01:03.001 **** ok: [sut] => { "ansible_facts": { "getent_group": { "user1": [ "x", "1000", "" ] } }, "changed": false } TASK [linux-system-roles.podman : Set group name] ****************************** task path: /WORKDIR/git-fix-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:36 Wednesday 07 February 2024 22:51:40 +0000 (0:00:00.221) 0:01:03.223 **** ok: [sut] => { "ansible_facts": { "__podman_group_name": "user1" }, "changed": false } TASK [linux-system-roles.podman : See if getsubids exists] ********************* task path: /WORKDIR/git-fix-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:41 Wednesday 07 February 2024 22:51:40 +0000 (0:00:00.025) 0:01:03.248 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707346288.7939427, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 32, "charset": "binary", "checksum": "076f89863b474504550ab1b5c11216a77ed7123c", "ctime": 1707346257.3759441, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 4380682, "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": "3638346058", "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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:52 Wednesday 07 February 2024 22:51:40 +0000 (0:00:00.214) 0:01:03.463 **** ok: [sut] => { "changed": false, "cmd": [ "getsubids", "user1" ], "delta": "0:00:00.004331", "end": "2024-02-07 22:51:40.777623", "rc": 0, "start": "2024-02-07 22:51:40.773292" } STDOUT: 0: user1 100000 65536 TASK [linux-system-roles.podman : Check group with getsubids] ****************** task path: /WORKDIR/git-fix-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:56 Wednesday 07 February 2024 22:51:40 +0000 (0:00:00.220) 0:01:03.684 **** ok: [sut] => { "changed": false, "cmd": [ "getsubids", "-g", "user1" ], "delta": "0:00:00.004222", "end": "2024-02-07 22:51:40.995608", "rc": 0, "start": "2024-02-07 22:51:40.991386" } STDOUT: 0: user1 100000 65536 TASK [linux-system-roles.podman : Check if user is in subuid file] ************* task path: /WORKDIR/git-fix-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:66 Wednesday 07 February 2024 22:51:41 +0000 (0:00:00.217) 0:01:03.901 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:74 Wednesday 07 February 2024 22:51:41 +0000 (0:00:00.041) 0:01:03.942 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:81 Wednesday 07 February 2024 22:51:41 +0000 (0:00:00.019) 0:01:03.962 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:89 Wednesday 07 February 2024 22:51:41 +0000 (0:00:00.018) 0:01:03.980 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set config file paths] *********************** task path: /WORKDIR/git-fix-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:62 Wednesday 07 February 2024 22:51:41 +0000 (0:00:00.018) 0:01:03.999 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:80 Wednesday 07 February 2024 22:51:41 +0000 (0:00:00.039) 0:01:04.038 **** included: /WORKDIR/git-fix-linger-handlingb3upr179/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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:5 Wednesday 07 February 2024 22:51:41 +0000 (0:00:00.033) 0:01:04.072 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 Wednesday 07 February 2024 22:51:41 +0000 (0:00:00.225) 0:01:04.298 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:83 Wednesday 07 February 2024 22:51:41 +0000 (0:00:00.546) 0:01:04.844 **** included: /WORKDIR/git-fix-linger-handlingb3upr179/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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:5 Wednesday 07 February 2024 22:51:42 +0000 (0:00:00.058) 0:01:04.903 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 Wednesday 07 February 2024 22:51:42 +0000 (0:00:00.224) 0:01:05.127 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:86 Wednesday 07 February 2024 22:51:42 +0000 (0:00:00.552) 0:01:05.680 **** included: /WORKDIR/git-fix-linger-handlingb3upr179/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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:5 Wednesday 07 February 2024 22:51:42 +0000 (0:00:00.096) 0:01:05.777 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 Wednesday 07 February 2024 22:51:43 +0000 (0:00:00.235) 0:01:06.012 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:89 Wednesday 07 February 2024 22:51:43 +0000 (0:00:00.563) 0:01:06.575 **** included: /WORKDIR/git-fix-linger-handlingb3upr179/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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:6 Wednesday 07 February 2024 22:51:43 +0000 (0:00:00.036) 0:01:06.612 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:15 Wednesday 07 February 2024 22:51:43 +0000 (0:00:00.227) 0:01:06.839 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707346298.368942, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6746c079ad563b735fc39f73d4876654b80b0a0d", "ctime": 1707346297.3759422, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 379584833, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "application/json", "mode": "0644", "mtime": 1707346297.1549423, "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": "4195865923", "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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:20 Wednesday 07 February 2024 22:51:44 +0000 (0:00:00.222) 0:01:07.062 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:26 Wednesday 07 February 2024 22:51:44 +0000 (0:00:00.400) 0:01:07.463 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage firewall for specified ports] ************************************* task path: /WORKDIR/git-fix-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:95 Wednesday 07 February 2024 22:51:44 +0000 (0:00:00.021) 0:01:07.484 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage selinux for specified ports] ************************************** task path: /WORKDIR/git-fix-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:102 Wednesday 07 February 2024 22:51:44 +0000 (0:00:00.019) 0:01:07.504 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:109 Wednesday 07 February 2024 22:51:44 +0000 (0:00:00.018) 0:01:07.522 **** ok: [sut] => { "ansible_facts": { "__podman_cancel_user_linger": [] }, "changed": false } TASK [linux-system-roles.podman : Handle secrets] ****************************** task path: /WORKDIR/git-fix-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:113 Wednesday 07 February 2024 22:51:44 +0000 (0:00:00.018) 0:01:07.541 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:120 Wednesday 07 February 2024 22:51:44 +0000 (0:00:00.016) 0:01:07.557 **** TASK [linux-system-roles.podman : Handle Quadlet specifications] *************** task path: /WORKDIR/git-fix-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:126 Wednesday 07 February 2024 22:51:44 +0000 (0:00:00.039) 0:01:07.597 **** TASK [linux-system-roles.podman : Cancel linger] ******************************* task path: /WORKDIR/git-fix-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:132 Wednesday 07 February 2024 22:51:44 +0000 (0:00:00.018) 0:01:07.615 **** TASK [Check that files still exist and are non-null] *************************** task path: /WORKDIR/git-fix-linger-handlingb3upr179/tests/tests_config_files.yml:98 Wednesday 07 February 2024 22:51:44 +0000 (0:00:00.017) 0:01:07.632 **** 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": 1707346297.7479422, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "94370d6e765779f1c58daf02f667b8f0b74d91f6", "ctime": 1707346294.5559423, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 350224705, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1707346294.2619424, "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": "2390403726", "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": 1707346297.9549422, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "dfb9cd7094a81b3d1bb06512cc9b49a09c75639b", "ctime": 1707346295.3939424, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 360710465, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1707346295.1749423, "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": "3576571312", "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": 1707346298.161942, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d08574b6a1df63dbe1c939ff0bcc7c0b61d03044", "ctime": 1707346296.2829423, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 369099073, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1707346296.0639422, "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": "643843374", "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": 1707346298.368942, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6746c079ad563b735fc39f73d4876654b80b0a0d", "ctime": 1707346297.3759422, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 379584833, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "application/json", "mode": "0644", "mtime": 1707346297.1549423, "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": "4195865923", "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-linger-handlingb3upr179/tests/tests_config_files.yml:106 Wednesday 07 February 2024 22:51:45 +0000 (0:00:00.854) 0:01:08.486 **** TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-fix-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:3 Wednesday 07 February 2024 22:51:45 +0000 (0:00:00.053) 0:01:08.539 **** included: /WORKDIR/git-fix-linger-handlingb3upr179/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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:3 Wednesday 07 February 2024 22:51:45 +0000 (0:00:00.032) 0:01:08.572 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:12 Wednesday 07 February 2024 22:51:45 +0000 (0:00:00.024) 0:01:08.596 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:17 Wednesday 07 February 2024 22:51:45 +0000 (0:00:00.019) 0:01:08.615 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:21 Wednesday 07 February 2024 22:51:45 +0000 (0:00:00.018) 0:01:08.634 **** ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__podman_packages": [ "podman", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-fix-linger-handlingb3upr179/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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:6 Wednesday 07 February 2024 22:51:45 +0000 (0:00:00.044) 0:01:08.678 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:10 Wednesday 07 February 2024 22:51:46 +0000 (0:00:01.064) 0:01:09.743 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:14 Wednesday 07 February 2024 22:51:46 +0000 (0:00:00.019) 0:01:09.762 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Get podman version] ************************** task path: /WORKDIR/git-fix-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:23 Wednesday 07 February 2024 22:51:46 +0000 (0:00:00.022) 0:01:09.784 **** ok: [sut] => { "changed": false, "cmd": [ "podman", "--version" ], "delta": "0:00:00.031505", "end": "2024-02-07 22:51:47.120211", "rc": 0, "start": "2024-02-07 22:51:47.088706" } STDOUT: podman version 4.8.1 TASK [linux-system-roles.podman : Set podman version] ************************** task path: /WORKDIR/git-fix-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:28 Wednesday 07 February 2024 22:51:47 +0000 (0:00:00.243) 0:01:10.028 **** ok: [sut] => { "ansible_facts": { "podman_version": "4.8.1" }, "changed": false } TASK [linux-system-roles.podman : Podman package version must be 4.2 or later] *** task path: /WORKDIR/git-fix-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:32 Wednesday 07 February 2024 22:51:47 +0000 (0:00:00.020) 0:01:10.048 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:39 Wednesday 07 February 2024 22:51:47 +0000 (0:00:00.020) 0:01:10.069 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:56 Wednesday 07 February 2024 22:51:47 +0000 (0:00:00.038) 0:01:10.107 **** included: /WORKDIR/git-fix-linger-handlingb3upr179/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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:2 Wednesday 07 February 2024 22:51:47 +0000 (0:00:00.034) 0:01:10.142 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:10 Wednesday 07 February 2024 22:51:47 +0000 (0:00:00.221) 0:01:10.363 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:17 Wednesday 07 February 2024 22:51:47 +0000 (0:00:00.022) 0:01:10.386 **** ok: [sut] => { "ansible_facts": { "__podman_group": "0" }, "changed": false } TASK [linux-system-roles.podman : Get group information] *********************** task path: /WORKDIR/git-fix-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:28 Wednesday 07 February 2024 22:51:47 +0000 (0:00:00.024) 0:01:10.411 **** ok: [sut] => { "ansible_facts": { "getent_group": { "root": [ "x", "0", "" ] } }, "changed": false } TASK [linux-system-roles.podman : Set group name] ****************************** task path: /WORKDIR/git-fix-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:36 Wednesday 07 February 2024 22:51:47 +0000 (0:00:00.243) 0:01:10.654 **** ok: [sut] => { "ansible_facts": { "__podman_group_name": "root" }, "changed": false } TASK [linux-system-roles.podman : See if getsubids exists] ********************* task path: /WORKDIR/git-fix-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:41 Wednesday 07 February 2024 22:51:47 +0000 (0:00:00.024) 0:01:10.679 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707346288.7939427, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 32, "charset": "binary", "checksum": "076f89863b474504550ab1b5c11216a77ed7123c", "ctime": 1707346257.3759441, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 4380682, "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": "3638346058", "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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:52 Wednesday 07 February 2024 22:51:48 +0000 (0:00:00.222) 0:01:10.902 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check group with getsubids] ****************** task path: /WORKDIR/git-fix-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:56 Wednesday 07 February 2024 22:51:48 +0000 (0:00:00.019) 0:01:10.921 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:66 Wednesday 07 February 2024 22:51:48 +0000 (0:00:00.019) 0:01:10.941 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:74 Wednesday 07 February 2024 22:51:48 +0000 (0:00:00.020) 0:01:10.961 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:81 Wednesday 07 February 2024 22:51:48 +0000 (0:00:00.020) 0:01:10.981 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:89 Wednesday 07 February 2024 22:51:48 +0000 (0:00:00.020) 0:01:11.002 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set config file paths] *********************** task path: /WORKDIR/git-fix-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:62 Wednesday 07 February 2024 22:51:48 +0000 (0:00:00.020) 0:01:11.022 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:80 Wednesday 07 February 2024 22:51:48 +0000 (0:00:00.039) 0:01:11.061 **** included: /WORKDIR/git-fix-linger-handlingb3upr179/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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:5 Wednesday 07 February 2024 22:51:48 +0000 (0:00:00.035) 0:01:11.096 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 Wednesday 07 February 2024 22:51:48 +0000 (0:00:00.229) 0:01:11.326 **** 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-1707346308.486514-3481-228427325521532/source", "state": "file", "uid": 0 } TASK [linux-system-roles.podman : Handle registries.conf.d] ******************** task path: /WORKDIR/git-fix-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:83 Wednesday 07 February 2024 22:51:49 +0000 (0:00:00.593) 0:01:11.919 **** included: /WORKDIR/git-fix-linger-handlingb3upr179/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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:5 Wednesday 07 February 2024 22:51:49 +0000 (0:00:00.057) 0:01:11.976 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 Wednesday 07 February 2024 22:51:49 +0000 (0:00:00.230) 0:01:12.206 **** 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-1707346309.3697827-3523-96782551847542/source", "state": "file", "uid": 0 } TASK [linux-system-roles.podman : Handle storage.conf] ************************* task path: /WORKDIR/git-fix-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:86 Wednesday 07 February 2024 22:51:49 +0000 (0:00:00.591) 0:01:12.798 **** included: /WORKDIR/git-fix-linger-handlingb3upr179/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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:5 Wednesday 07 February 2024 22:51:49 +0000 (0:00:00.035) 0:01:12.834 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 Wednesday 07 February 2024 22:51:50 +0000 (0:00:00.228) 0:01:13.062 **** 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-1707346310.2227764-3543-253962859922203/source", "state": "file", "uid": 0 } TASK [linux-system-roles.podman : Handle policy.json] ************************** task path: /WORKDIR/git-fix-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:89 Wednesday 07 February 2024 22:51:50 +0000 (0:00:00.603) 0:01:13.665 **** included: /WORKDIR/git-fix-linger-handlingb3upr179/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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:6 Wednesday 07 February 2024 22:51:50 +0000 (0:00:00.035) 0:01:13.701 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:15 Wednesday 07 February 2024 22:51:51 +0000 (0:00:00.226) 0:01:13.928 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707346290.1039426, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "a71b1d310c167cdc95c2fc11e7835d5636768f14", "ctime": 1707346257.4799442, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 274727297, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "application/json", "mode": "0644", "mtime": 1689737729.0, "nlink": 1, "path": "/etc/containers/policy.json", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 663, "uid": 0, "version": "216686542", "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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:20 Wednesday 07 February 2024 22:51:51 +0000 (0:00:00.248) 0:01:14.176 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:26 Wednesday 07 February 2024 22:51:51 +0000 (0:00:00.211) 0:01:14.388 **** 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-1707346311.5524657-3564-135721242236621/source", "state": "file", "uid": 0 } TASK [Manage firewall for specified ports] ************************************* task path: /WORKDIR/git-fix-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:95 Wednesday 07 February 2024 22:51:52 +0000 (0:00:00.587) 0:01:14.976 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage selinux for specified ports] ************************************** task path: /WORKDIR/git-fix-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:102 Wednesday 07 February 2024 22:51:52 +0000 (0:00:00.019) 0:01:14.995 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:109 Wednesday 07 February 2024 22:51:52 +0000 (0:00:00.019) 0:01:15.014 **** ok: [sut] => { "ansible_facts": { "__podman_cancel_user_linger": [] }, "changed": false } TASK [linux-system-roles.podman : Handle secrets] ****************************** task path: /WORKDIR/git-fix-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:113 Wednesday 07 February 2024 22:51:52 +0000 (0:00:00.017) 0:01:15.032 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:120 Wednesday 07 February 2024 22:51:52 +0000 (0:00:00.018) 0:01:15.050 **** TASK [linux-system-roles.podman : Handle Quadlet specifications] *************** task path: /WORKDIR/git-fix-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:126 Wednesday 07 February 2024 22:51:52 +0000 (0:00:00.017) 0:01:15.068 **** TASK [linux-system-roles.podman : Cancel linger] ******************************* task path: /WORKDIR/git-fix-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:132 Wednesday 07 February 2024 22:51:52 +0000 (0:00:00.018) 0:01:15.086 **** TASK [Check that files exist and are non-null] ********************************* task path: /WORKDIR/git-fix-linger-handlingb3upr179/tests/tests_config_files.yml:113 Wednesday 07 February 2024 22:51:52 +0000 (0:00:00.016) 0:01:15.102 **** 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": 1707346308.9779406, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "94370d6e765779f1c58daf02f667b8f0b74d91f6", "ctime": 1707346308.9819407, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 461373761, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1707346308.7579408, "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": "1400410275", "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": 1707346309.8569405, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "dfb9cd7094a81b3d1bb06512cc9b49a09c75639b", "ctime": 1707346309.8619406, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 469762369, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1707346309.6409407, "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": "3280002107", "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": 1707346310.7249403, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d08574b6a1df63dbe1c939ff0bcc7c0b61d03044", "ctime": 1707346310.7249403, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 478150977, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1707346310.5079405, "nlink": 1, "path": "/etc/containers/storage.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 109, "uid": 0, "version": "3623838395", "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": 1707346312.0359402, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6746c079ad563b735fc39f73d4876654b80b0a0d", "ctime": 1707346312.0359402, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 490733889, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "application/json", "mode": "0644", "mtime": 1707346311.8169403, "nlink": 1, "path": "/etc/containers/policy.json", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 67, "uid": 0, "version": "3845607415", "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-linger-handlingb3upr179/tests/tests_config_files.yml:121 Wednesday 07 February 2024 22:51:53 +0000 (0:00:00.860) 0:01:15.963 **** TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-fix-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:3 Wednesday 07 February 2024 22:51:53 +0000 (0:00:00.076) 0:01:16.039 **** included: /WORKDIR/git-fix-linger-handlingb3upr179/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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:3 Wednesday 07 February 2024 22:51:53 +0000 (0:00:00.032) 0:01:16.072 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:12 Wednesday 07 February 2024 22:51:53 +0000 (0:00:00.023) 0:01:16.095 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:17 Wednesday 07 February 2024 22:51:53 +0000 (0:00:00.017) 0:01:16.113 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:21 Wednesday 07 February 2024 22:51:53 +0000 (0:00:00.019) 0:01:16.132 **** ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__podman_packages": [ "podman", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-fix-linger-handlingb3upr179/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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:6 Wednesday 07 February 2024 22:51:53 +0000 (0:00:00.044) 0:01:16.177 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:10 Wednesday 07 February 2024 22:51:54 +0000 (0:00:01.046) 0:01:17.223 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:14 Wednesday 07 February 2024 22:51:54 +0000 (0:00:00.019) 0:01:17.243 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Get podman version] ************************** task path: /WORKDIR/git-fix-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:23 Wednesday 07 February 2024 22:51:54 +0000 (0:00:00.022) 0:01:17.265 **** ok: [sut] => { "changed": false, "cmd": [ "podman", "--version" ], "delta": "0:00:00.034161", "end": "2024-02-07 22:51:54.603272", "rc": 0, "start": "2024-02-07 22:51:54.569111" } STDOUT: podman version 4.8.1 STDERR: time="2024-02-07T22:51:54Z" 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:28 Wednesday 07 February 2024 22:51:54 +0000 (0:00:00.245) 0:01:17.511 **** ok: [sut] => { "ansible_facts": { "podman_version": "4.8.1" }, "changed": false } TASK [linux-system-roles.podman : Podman package version must be 4.2 or later] *** task path: /WORKDIR/git-fix-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:32 Wednesday 07 February 2024 22:51:54 +0000 (0:00:00.048) 0:01:17.560 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:39 Wednesday 07 February 2024 22:51:54 +0000 (0:00:00.024) 0:01:17.584 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:56 Wednesday 07 February 2024 22:51:54 +0000 (0:00:00.034) 0:01:17.618 **** included: /WORKDIR/git-fix-linger-handlingb3upr179/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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:2 Wednesday 07 February 2024 22:51:54 +0000 (0:00:00.036) 0:01:17.655 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:10 Wednesday 07 February 2024 22:51:54 +0000 (0:00:00.028) 0:01:17.683 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:17 Wednesday 07 February 2024 22:51:54 +0000 (0:00:00.024) 0:01:17.708 **** ok: [sut] => { "ansible_facts": { "__podman_group": "0" }, "changed": false } TASK [linux-system-roles.podman : Get group information] *********************** task path: /WORKDIR/git-fix-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:28 Wednesday 07 February 2024 22:51:54 +0000 (0:00:00.025) 0:01:17.734 **** ok: [sut] => { "ansible_facts": { "getent_group": { "root": [ "x", "0", "" ] } }, "changed": false } TASK [linux-system-roles.podman : Set group name] ****************************** task path: /WORKDIR/git-fix-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:36 Wednesday 07 February 2024 22:51:55 +0000 (0:00:00.222) 0:01:17.956 **** ok: [sut] => { "ansible_facts": { "__podman_group_name": "root" }, "changed": false } TASK [linux-system-roles.podman : See if getsubids exists] ********************* task path: /WORKDIR/git-fix-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:41 Wednesday 07 February 2024 22:51:55 +0000 (0:00:00.026) 0:01:17.982 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707346288.7939427, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 32, "charset": "binary", "checksum": "076f89863b474504550ab1b5c11216a77ed7123c", "ctime": 1707346257.3759441, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 4380682, "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": "3638346058", "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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:52 Wednesday 07 February 2024 22:51:55 +0000 (0:00:00.224) 0:01:18.206 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check group with getsubids] ****************** task path: /WORKDIR/git-fix-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:56 Wednesday 07 February 2024 22:51:55 +0000 (0:00:00.018) 0:01:18.225 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:66 Wednesday 07 February 2024 22:51:55 +0000 (0:00:00.019) 0:01:18.244 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:74 Wednesday 07 February 2024 22:51:55 +0000 (0:00:00.017) 0:01:18.262 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:81 Wednesday 07 February 2024 22:51:55 +0000 (0:00:00.018) 0:01:18.280 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:89 Wednesday 07 February 2024 22:51:55 +0000 (0:00:00.018) 0:01:18.299 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set config file paths] *********************** task path: /WORKDIR/git-fix-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:62 Wednesday 07 February 2024 22:51:55 +0000 (0:00:00.018) 0:01:18.317 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:80 Wednesday 07 February 2024 22:51:55 +0000 (0:00:00.039) 0:01:18.356 **** included: /WORKDIR/git-fix-linger-handlingb3upr179/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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:5 Wednesday 07 February 2024 22:51:55 +0000 (0:00:00.058) 0:01:18.415 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 Wednesday 07 February 2024 22:51:55 +0000 (0:00:00.230) 0:01:18.646 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:83 Wednesday 07 February 2024 22:51:56 +0000 (0:00:00.532) 0:01:19.178 **** included: /WORKDIR/git-fix-linger-handlingb3upr179/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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:5 Wednesday 07 February 2024 22:51:56 +0000 (0:00:00.036) 0:01:19.215 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 Wednesday 07 February 2024 22:51:56 +0000 (0:00:00.224) 0:01:19.439 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:86 Wednesday 07 February 2024 22:51:57 +0000 (0:00:00.526) 0:01:19.966 **** included: /WORKDIR/git-fix-linger-handlingb3upr179/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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:5 Wednesday 07 February 2024 22:51:57 +0000 (0:00:00.035) 0:01:20.001 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 Wednesday 07 February 2024 22:51:57 +0000 (0:00:00.224) 0:01:20.225 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:89 Wednesday 07 February 2024 22:51:57 +0000 (0:00:00.528) 0:01:20.753 **** included: /WORKDIR/git-fix-linger-handlingb3upr179/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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:6 Wednesday 07 February 2024 22:51:57 +0000 (0:00:00.036) 0:01:20.790 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:15 Wednesday 07 February 2024 22:51:58 +0000 (0:00:00.223) 0:01:21.013 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707346313.04294, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6746c079ad563b735fc39f73d4876654b80b0a0d", "ctime": 1707346312.0359402, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 490733889, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "application/json", "mode": "0644", "mtime": 1707346311.8169403, "nlink": 1, "path": "/etc/containers/policy.json", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 67, "uid": 0, "version": "3845607415", "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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:20 Wednesday 07 February 2024 22:51:58 +0000 (0:00:00.223) 0:01:21.236 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:26 Wednesday 07 February 2024 22:51:58 +0000 (0:00:00.209) 0:01:21.446 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage firewall for specified ports] ************************************* task path: /WORKDIR/git-fix-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:95 Wednesday 07 February 2024 22:51:58 +0000 (0:00:00.022) 0:01:21.468 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage selinux for specified ports] ************************************** task path: /WORKDIR/git-fix-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:102 Wednesday 07 February 2024 22:51:58 +0000 (0:00:00.018) 0:01:21.486 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:109 Wednesday 07 February 2024 22:51:58 +0000 (0:00:00.019) 0:01:21.506 **** ok: [sut] => { "ansible_facts": { "__podman_cancel_user_linger": [] }, "changed": false } TASK [linux-system-roles.podman : Handle secrets] ****************************** task path: /WORKDIR/git-fix-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:113 Wednesday 07 February 2024 22:51:58 +0000 (0:00:00.021) 0:01:21.527 **** 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-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:120 Wednesday 07 February 2024 22:51:58 +0000 (0:00:00.030) 0:01:21.558 **** TASK [linux-system-roles.podman : Handle Quadlet specifications] *************** task path: /WORKDIR/git-fix-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:126 Wednesday 07 February 2024 22:51:58 +0000 (0:00:00.019) 0:01:21.578 **** TASK [linux-system-roles.podman : Cancel linger] ******************************* task path: /WORKDIR/git-fix-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:132 Wednesday 07 February 2024 22:51:58 +0000 (0:00:00.020) 0:01:21.598 **** TASK [Check that files still exist and are non-null] *************************** task path: /WORKDIR/git-fix-linger-handlingb3upr179/tests/tests_config_files.yml:128 Wednesday 07 February 2024 22:51:58 +0000 (0:00:00.019) 0:01:21.617 **** 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": 1707346312.40994, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "94370d6e765779f1c58daf02f667b8f0b74d91f6", "ctime": 1707346308.9819407, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 461373761, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1707346308.7579408, "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": "1400410275", "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": 1707346312.6219401, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "dfb9cd7094a81b3d1bb06512cc9b49a09c75639b", "ctime": 1707346309.8619406, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 469762369, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1707346309.6409407, "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": "3280002107", "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": 1707346312.83394, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d08574b6a1df63dbe1c939ff0bcc7c0b61d03044", "ctime": 1707346310.7249403, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 478150977, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1707346310.5079405, "nlink": 1, "path": "/etc/containers/storage.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 109, "uid": 0, "version": "3623838395", "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": 1707346313.04294, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6746c079ad563b735fc39f73d4876654b80b0a0d", "ctime": 1707346312.0359402, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 490733889, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "application/json", "mode": "0644", "mtime": 1707346311.8169403, "nlink": 1, "path": "/etc/containers/policy.json", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 67, "uid": 0, "version": "3845607415", "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-linger-handlingb3upr179/tests/tests_config_files.yml:136 Wednesday 07 February 2024 22:51:59 +0000 (0:00:00.867) 0:01:22.485 **** included: /WORKDIR/git-fix-linger-handlingb3upr179/tests/tasks/check_header.yml for sut included: /WORKDIR/git-fix-linger-handlingb3upr179/tests/tasks/check_header.yml for sut included: /WORKDIR/git-fix-linger-handlingb3upr179/tests/tasks/check_header.yml for sut included: /WORKDIR/git-fix-linger-handlingb3upr179/tests/tasks/check_header.yml for sut included: /WORKDIR/git-fix-linger-handlingb3upr179/tests/tasks/check_header.yml for sut included: /WORKDIR/git-fix-linger-handlingb3upr179/tests/tasks/check_header.yml for sut TASK [Get file] **************************************************************** task path: /WORKDIR/git-fix-linger-handlingb3upr179/tests/tasks/check_header.yml:3 Wednesday 07 February 2024 22:51:59 +0000 (0:00:00.058) 0:01:22.544 **** 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-linger-handlingb3upr179/tests/tasks/check_header.yml:9 Wednesday 07 February 2024 22:51:59 +0000 (0:00:00.205) 0:01:22.749 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get file] **************************************************************** task path: /WORKDIR/git-fix-linger-handlingb3upr179/tests/tasks/check_header.yml:3 Wednesday 07 February 2024 22:51:59 +0000 (0:00:00.060) 0:01:22.809 **** 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-linger-handlingb3upr179/tests/tasks/check_header.yml:9 Wednesday 07 February 2024 22:52:00 +0000 (0:00:00.206) 0:01:23.015 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get file] **************************************************************** task path: /WORKDIR/git-fix-linger-handlingb3upr179/tests/tasks/check_header.yml:3 Wednesday 07 February 2024 22:52:00 +0000 (0:00:00.056) 0:01:23.072 **** 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-linger-handlingb3upr179/tests/tasks/check_header.yml:9 Wednesday 07 February 2024 22:52:00 +0000 (0:00:00.216) 0:01:23.289 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get file] **************************************************************** task path: /WORKDIR/git-fix-linger-handlingb3upr179/tests/tasks/check_header.yml:3 Wednesday 07 February 2024 22:52:00 +0000 (0:00:00.056) 0:01:23.346 **** 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-linger-handlingb3upr179/tests/tasks/check_header.yml:9 Wednesday 07 February 2024 22:52:00 +0000 (0:00:00.211) 0:01:23.557 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get file] **************************************************************** task path: /WORKDIR/git-fix-linger-handlingb3upr179/tests/tasks/check_header.yml:3 Wednesday 07 February 2024 22:52:00 +0000 (0:00:00.055) 0:01:23.613 **** 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-linger-handlingb3upr179/tests/tasks/check_header.yml:9 Wednesday 07 February 2024 22:52:00 +0000 (0:00:00.207) 0:01:23.820 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get file] **************************************************************** task path: /WORKDIR/git-fix-linger-handlingb3upr179/tests/tasks/check_header.yml:3 Wednesday 07 February 2024 22:52:01 +0000 (0:00:00.079) 0:01:23.900 **** 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-linger-handlingb3upr179/tests/tasks/check_header.yml:9 Wednesday 07 February 2024 22:52:01 +0000 (0:00:00.208) 0:01:24.109 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove test config files] ************************************************ task path: /WORKDIR/git-fix-linger-handlingb3upr179/tests/tests_config_files.yml:157 Wednesday 07 February 2024 22:52:01 +0000 (0:00:00.056) 0:01:24.165 **** 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-linger-handlingb3upr179/tests/tests_config_files.yml:163 Wednesday 07 February 2024 22:52:02 +0000 (0:00:01.643) 0:01:25.809 **** ok: [sut] => { "changed": false, "cmd": [ "tar", "xfvpP", "/tmp/lsr_podman_config_5ge2iz7v/backup.tar" ], "delta": "0:00:00.004332", "end": "2024-02-07 22:52:03.122647", "rc": 0, "start": "2024-02-07 22:52:03.118315" } STDOUT: /etc/containers/storage.conf /etc/containers/policy.json TASK [Remove temp directory] *************************************************** task path: /WORKDIR/git-fix-linger-handlingb3upr179/tests/tests_config_files.yml:168 Wednesday 07 February 2024 22:52:03 +0000 (0:00:00.222) 0:01:26.031 **** changed: [sut] => { "changed": true, "path": "/tmp/lsr_podman_config_5ge2iz7v", "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 07 February 2024 22:52:03 +0000 (0:00:00.208) 0:01:26.240 **** =============================================================================== linux-system-roles.podman : Ensure required packages are installed ----- 48.13s /WORKDIR/git-fix-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:14 linux-system-roles.podman : Gather the package facts -------------------- 2.11s /WORKDIR/git-fix-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:6 linux-system-roles.podman : Gather the package facts -------------------- 2.10s /WORKDIR/git-fix-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:6 Remove test config files ------------------------------------------------ 1.64s /WORKDIR/git-fix-linger-handlingb3upr179/tests/tests_config_files.yml:157 ----- linux-system-roles.podman : Gather the package facts -------------------- 1.17s /WORKDIR/git-fix-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/main.yml:6 Check that files exist and are non-null --------------------------------- 0.87s /WORKDIR/git-fix-linger-handlingb3upr179/tests/tests_config_files.yml:83 ------ Check that files still exist and are non-null --------------------------- 0.87s /WORKDIR/git-fix-linger-handlingb3upr179/tests/tests_config_files.yml:128 ----- Check that files exist and are non-null --------------------------------- 0.86s /WORKDIR/git-fix-linger-handlingb3upr179/tests/tests_config_files.yml:113 ----- Check that files still exist and are non-null --------------------------- 0.85s /WORKDIR/git-fix-linger-handlingb3upr179/tests/tests_config_files.yml:98 ------ Gathering Facts --------------------------------------------------------- 0.68s /WORKDIR/git-fix-linger-handlingb3upr179/tests/tests_config_files.yml:9 ------- linux-system-roles.podman : Update container config file ---------------- 0.66s /WORKDIR/git-fix-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 linux-system-roles.podman : Update storage config file ------------------ 0.60s /WORKDIR/git-fix-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 linux-system-roles.podman : Update container config file ---------------- 0.59s /WORKDIR/git-fix-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 linux-system-roles.podman : Update registries config file --------------- 0.59s /WORKDIR/git-fix-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 linux-system-roles.podman : Write new policy.json file ------------------ 0.59s /WORKDIR/git-fix-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:26 linux-system-roles.podman : Update registries config file --------------- 0.59s /WORKDIR/git-fix-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 linux-system-roles.podman : Update storage config file ------------------ 0.58s /WORKDIR/git-fix-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 linux-system-roles.podman : Write new policy.json file ------------------ 0.58s /WORKDIR/git-fix-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:26 linux-system-roles.podman : Update storage config file ------------------ 0.56s /WORKDIR/git-fix-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 linux-system-roles.podman : Update registries config file --------------- 0.55s /WORKDIR/git-fix-linger-handlingb3upr179/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [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. ---^---^---^---^---^---