# 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-handling4ztavb9h/tests/tests_config_files.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Include vault variables] ************************************************* task path: /WORKDIR/git-fix-linger-handling4ztavb9h/tests/tests_config_files.yml:4 Wednesday 07 February 2024 22:54:48 +0000 (0:00:00.029) 0:00:00.029 **** 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-handling4ztavb9h/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-handling4ztavb9h/tests/tests_config_files.yml:9 Wednesday 07 February 2024 22:54:48 +0000 (0:00:00.050) 0:00:00.079 **** ok: [sut] META: ran handlers TASK [Run the role with no config to get private vars] ************************* task path: /WORKDIR/git-fix-linger-handling4ztavb9h/tests/tests_config_files.yml:48 Wednesday 07 February 2024 22:54:48 +0000 (0:00:00.785) 0:00:00.865 **** TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-fix-linger-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:3 Wednesday 07 February 2024 22:54:48 +0000 (0:00:00.085) 0:00:00.950 **** included: /WORKDIR/git-fix-linger-handling4ztavb9h/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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:3 Wednesday 07 February 2024 22:54:48 +0000 (0:00:00.017) 0:00:00.968 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:12 Wednesday 07 February 2024 22:54:49 +0000 (0:00:00.019) 0:00:00.988 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:17 Wednesday 07 February 2024 22:54:49 +0000 (0:00:00.259) 0:00:01.248 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:21 Wednesday 07 February 2024 22:54:49 +0000 (0:00:00.019) 0:00:01.268 **** ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__podman_packages": [ "podman", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-fix-linger-handling4ztavb9h/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" } ok: [sut] => (item=CentOS_8.yml) => { "ansible_facts": { "__podman_packages": [ "crun", "podman", "podman-plugins", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-fix-linger-handling4ztavb9h/tests/roles/linux-system-roles.podman/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [sut] => (item=CentOS_8.yml) => { "ansible_facts": { "__podman_packages": [ "crun", "podman", "podman-plugins", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-fix-linger-handling4ztavb9h/tests/roles/linux-system-roles.podman/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [linux-system-roles.podman : Gather the package facts] ******************** task path: /WORKDIR/git-fix-linger-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:6 Wednesday 07 February 2024 22:54:49 +0000 (0:00:00.034) 0:00:01.302 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:10 Wednesday 07 February 2024 22:54:50 +0000 (0:00:01.436) 0:00:02.738 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:14 Wednesday 07 February 2024 22:54:50 +0000 (0:00:00.027) 0:00:02.766 **** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: runc-1:1.1.11-1.module_el8+804+f131391c.x86_64", "Installed: shadow-utils-subid-2:4.6-22.el8.x86_64", "Installed: containernetworking-plugins-1:1.4.0-1.module_el8+804+f131391c.x86_64", "Installed: fuse3-3.3.0-17.el8.x86_64", "Installed: podman-gvproxy-3:4.8.3-1.module_el8+804+f131391c.x86_64", "Installed: criu-3.18-4.module_el8+804+f131391c.x86_64", "Installed: containers-common-2:1-58.module_el8+804+f131391c.x86_64", "Installed: fuse3-libs-3.3.0-17.el8.x86_64", "Installed: libnet-1.1.6-15.el8.x86_64", "Installed: criu-libs-3.18-4.module_el8+804+f131391c.x86_64", "Installed: podman-plugins-3:4.8.3-1.module_el8+804+f131391c.x86_64", "Installed: container-selinux-2:2.227.0-1.module_el8+804+f131391c.noarch", "Installed: crun-1.12-1.module_el8+804+f131391c.x86_64", "Installed: podman-3:4.8.3-1.module_el8+804+f131391c.x86_64", "Installed: slirp4netns-1.2.2-1.module_el8+804+f131391c.x86_64", "Installed: conmon-3:2.1.10-1.module_el8+804+f131391c.x86_64", "Installed: libslirp-4.4.0-1.module_el8+804+f131391c.x86_64", "Installed: podman-catatonit-3:4.8.3-1.module_el8+804+f131391c.x86_64", "Installed: protobuf-c-1.3.0-8.el8.x86_64", "Installed: dnsmasq-2.79-32.el8.x86_64", "Installed: fuse-common-3.3.0-17.el8.x86_64", "Installed: fuse-overlayfs-1.13-1.module_el8+804+f131391c.x86_64", "Installed: yajl-2.1.0-12.el8.x86_64" ] } TASK [linux-system-roles.podman : Get podman version] ************************** task path: /WORKDIR/git-fix-linger-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:23 Wednesday 07 February 2024 22:55:54 +0000 (0:01:03.427) 0:01:06.193 **** ok: [sut] => { "changed": false, "cmd": [ "podman", "--version" ], "delta": "0:00:00.034742", "end": "2024-02-07 22:55:54.609167", "rc": 0, "start": "2024-02-07 22:55:54.574425" } STDOUT: podman version 4.8.3 TASK [linux-system-roles.podman : Set podman version] ************************** task path: /WORKDIR/git-fix-linger-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:28 Wednesday 07 February 2024 22:55:54 +0000 (0:00:00.462) 0:01:06.656 **** ok: [sut] => { "ansible_facts": { "podman_version": "4.8.3" }, "changed": false } TASK [linux-system-roles.podman : Podman package version must be 4.2 or later] *** task path: /WORKDIR/git-fix-linger-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:32 Wednesday 07 February 2024 22:55:54 +0000 (0:00:00.088) 0:01:06.744 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:39 Wednesday 07 February 2024 22:55:54 +0000 (0:00:00.073) 0:01:06.818 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:56 Wednesday 07 February 2024 22:55:54 +0000 (0:00:00.099) 0:01:06.918 **** included: /WORKDIR/git-fix-linger-handling4ztavb9h/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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:2 Wednesday 07 February 2024 22:55:55 +0000 (0:00:00.085) 0:01:07.003 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:10 Wednesday 07 February 2024 22:55:55 +0000 (0:00:00.320) 0:01:07.324 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:17 Wednesday 07 February 2024 22:55:55 +0000 (0:00:00.062) 0:01:07.387 **** ok: [sut] => { "ansible_facts": { "__podman_group": "0" }, "changed": false } TASK [linux-system-roles.podman : Get group information] *********************** task path: /WORKDIR/git-fix-linger-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:28 Wednesday 07 February 2024 22:55:55 +0000 (0:00:00.065) 0:01:07.452 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:36 Wednesday 07 February 2024 22:55:55 +0000 (0:00:00.265) 0:01:07.718 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:41 Wednesday 07 February 2024 22:55:55 +0000 (0:00:00.057) 0:01:07.776 **** ok: [sut] => { "changed": false, "stat": { "atime": 1700557386.0, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 32, "charset": "binary", "checksum": "bb5b46ffbafcaa8c4021f3c8b3cb8594f48ef34b", "ctime": 1707346521.1799724, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 6774528, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "application/x-sharedlib", "mode": "0755", "mtime": 1700557386.0, "nlink": 1, "path": "/usr/bin/getsubids", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 12640, "uid": 0, "version": "559643946", "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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:52 Wednesday 07 February 2024 22:55:56 +0000 (0:00:00.261) 0:01:08.038 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:56 Wednesday 07 February 2024 22:55:56 +0000 (0:00:00.067) 0:01:08.106 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:66 Wednesday 07 February 2024 22:55:56 +0000 (0:00:00.043) 0:01:08.149 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:74 Wednesday 07 February 2024 22:55:56 +0000 (0:00:00.037) 0:01:08.186 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:81 Wednesday 07 February 2024 22:55:56 +0000 (0:00:00.105) 0:01:08.292 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:89 Wednesday 07 February 2024 22:55:56 +0000 (0:00:00.044) 0:01:08.337 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:62 Wednesday 07 February 2024 22:55:56 +0000 (0:00:00.063) 0:01:08.400 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:80 Wednesday 07 February 2024 22:55:56 +0000 (0:00:00.063) 0:01:08.463 **** included: /WORKDIR/git-fix-linger-handling4ztavb9h/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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:5 Wednesday 07 February 2024 22:55:56 +0000 (0:00:00.076) 0:01:08.540 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 Wednesday 07 February 2024 22:55:56 +0000 (0:00:00.027) 0:01:08.567 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:83 Wednesday 07 February 2024 22:55:56 +0000 (0:00:00.043) 0:01:08.610 **** included: /WORKDIR/git-fix-linger-handling4ztavb9h/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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:5 Wednesday 07 February 2024 22:55:56 +0000 (0:00:00.079) 0:01:08.690 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 Wednesday 07 February 2024 22:55:56 +0000 (0:00:00.022) 0:01:08.712 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Handle storage.conf] ************************* task path: /WORKDIR/git-fix-linger-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:86 Wednesday 07 February 2024 22:55:56 +0000 (0:00:00.018) 0:01:08.731 **** included: /WORKDIR/git-fix-linger-handling4ztavb9h/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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:5 Wednesday 07 February 2024 22:55:56 +0000 (0:00:00.042) 0:01:08.774 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 Wednesday 07 February 2024 22:55:56 +0000 (0:00:00.030) 0:01:08.804 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Handle policy.json] ************************** task path: /WORKDIR/git-fix-linger-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:89 Wednesday 07 February 2024 22:55:56 +0000 (0:00:00.028) 0:01:08.833 **** included: /WORKDIR/git-fix-linger-handling4ztavb9h/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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:6 Wednesday 07 February 2024 22:55:56 +0000 (0:00:00.040) 0:01:08.873 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:15 Wednesday 07 February 2024 22:55:56 +0000 (0:00:00.032) 0:01:08.905 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:20 Wednesday 07 February 2024 22:55:56 +0000 (0:00:00.062) 0:01:08.968 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:26 Wednesday 07 February 2024 22:55:57 +0000 (0:00:00.023) 0:01:08.992 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage firewall for specified ports] ************************************* task path: /WORKDIR/git-fix-linger-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:95 Wednesday 07 February 2024 22:55:57 +0000 (0:00:00.027) 0:01:09.019 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage selinux for specified ports] ************************************** task path: /WORKDIR/git-fix-linger-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:102 Wednesday 07 February 2024 22:55:57 +0000 (0:00:00.023) 0:01:09.043 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:109 Wednesday 07 February 2024 22:55:57 +0000 (0:00:00.024) 0:01:09.067 **** ok: [sut] => { "ansible_facts": { "__podman_cancel_user_linger": [] }, "changed": false } TASK [linux-system-roles.podman : Handle secrets] ****************************** task path: /WORKDIR/git-fix-linger-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:113 Wednesday 07 February 2024 22:55:57 +0000 (0:00:00.018) 0:01:09.086 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:120 Wednesday 07 February 2024 22:55:57 +0000 (0:00:00.048) 0:01:09.135 **** TASK [linux-system-roles.podman : Handle Quadlet specifications] *************** task path: /WORKDIR/git-fix-linger-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:126 Wednesday 07 February 2024 22:55:57 +0000 (0:00:00.018) 0:01:09.153 **** TASK [linux-system-roles.podman : Cancel linger] ******************************* task path: /WORKDIR/git-fix-linger-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:132 Wednesday 07 February 2024 22:55:57 +0000 (0:00:00.019) 0:01:09.172 **** TASK [Create temp directory] *************************************************** task path: /WORKDIR/git-fix-linger-handling4ztavb9h/tests/tests_config_files.yml:59 Wednesday 07 February 2024 22:55:57 +0000 (0:00:00.022) 0:01:09.195 **** changed: [sut] => { "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/lsr_podman_config_q6vilj0d", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [Create backup] *********************************************************** task path: /WORKDIR/git-fix-linger-handling4ztavb9h/tests/tests_config_files.yml:65 Wednesday 07 February 2024 22:55:57 +0000 (0:00:00.267) 0:01:09.463 **** ok: [sut] => { "changed": false, "cmd": [ "tar", "--ignore-failed-read", "-c", "-P", "-v", "-p", "-f", "/tmp/lsr_podman_config_q6vilj0d/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.008894", "end": "2024-02-07 22:55:57.672245", "rc": 0, "start": "2024-02-07 22:55:57.663351" } 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-handling4ztavb9h/tests/tests_config_files.yml:72 Wednesday 07 February 2024 22:55:57 +0000 (0:00:00.214) 0:01:09.678 **** 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-handling4ztavb9h/tests/tests_config_files.yml:76 Wednesday 07 February 2024 22:55:58 +0000 (0:00:00.446) 0:01:10.124 **** TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-fix-linger-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:3 Wednesday 07 February 2024 22:55:58 +0000 (0:00:00.043) 0:01:10.168 **** included: /WORKDIR/git-fix-linger-handling4ztavb9h/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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:3 Wednesday 07 February 2024 22:55:58 +0000 (0:00:00.032) 0:01:10.201 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:12 Wednesday 07 February 2024 22:55:58 +0000 (0:00:00.022) 0:01:10.223 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:17 Wednesday 07 February 2024 22:55:58 +0000 (0:00:00.019) 0:01:10.243 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:21 Wednesday 07 February 2024 22:55:58 +0000 (0:00:00.024) 0:01:10.267 **** ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__podman_packages": [ "podman", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-fix-linger-handling4ztavb9h/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" } ok: [sut] => (item=CentOS_8.yml) => { "ansible_facts": { "__podman_packages": [ "crun", "podman", "podman-plugins", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-fix-linger-handling4ztavb9h/tests/roles/linux-system-roles.podman/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [sut] => (item=CentOS_8.yml) => { "ansible_facts": { "__podman_packages": [ "crun", "podman", "podman-plugins", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-fix-linger-handling4ztavb9h/tests/roles/linux-system-roles.podman/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [linux-system-roles.podman : Gather the package facts] ******************** task path: /WORKDIR/git-fix-linger-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:6 Wednesday 07 February 2024 22:55:58 +0000 (0:00:00.061) 0:01:10.329 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:10 Wednesday 07 February 2024 22:55:59 +0000 (0:00:01.359) 0:01:11.689 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:14 Wednesday 07 February 2024 22:55:59 +0000 (0:00:00.022) 0:01:11.711 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Get podman version] ************************** task path: /WORKDIR/git-fix-linger-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:23 Wednesday 07 February 2024 22:55:59 +0000 (0:00:00.043) 0:01:11.754 **** ok: [sut] => { "changed": false, "cmd": [ "podman", "--version" ], "delta": "0:00:00.033328", "end": "2024-02-07 22:55:59.975196", "rc": 0, "start": "2024-02-07 22:55:59.941868" } STDOUT: podman version 4.8.3 TASK [linux-system-roles.podman : Set podman version] ************************** task path: /WORKDIR/git-fix-linger-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:28 Wednesday 07 February 2024 22:56:00 +0000 (0:00:00.233) 0:01:11.988 **** ok: [sut] => { "ansible_facts": { "podman_version": "4.8.3" }, "changed": false } TASK [linux-system-roles.podman : Podman package version must be 4.2 or later] *** task path: /WORKDIR/git-fix-linger-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:32 Wednesday 07 February 2024 22:56:00 +0000 (0:00:00.023) 0:01:12.011 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:39 Wednesday 07 February 2024 22:56:00 +0000 (0:00:00.019) 0:01:12.030 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:56 Wednesday 07 February 2024 22:56:00 +0000 (0:00:00.043) 0:01:12.074 **** included: /WORKDIR/git-fix-linger-handling4ztavb9h/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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:2 Wednesday 07 February 2024 22:56:00 +0000 (0:00:00.061) 0:01:12.136 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:10 Wednesday 07 February 2024 22:56:00 +0000 (0:00:00.223) 0:01:12.359 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:17 Wednesday 07 February 2024 22:56:00 +0000 (0:00:00.024) 0:01:12.383 **** ok: [sut] => { "ansible_facts": { "__podman_group": "1000" }, "changed": false } TASK [linux-system-roles.podman : Get group information] *********************** task path: /WORKDIR/git-fix-linger-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:28 Wednesday 07 February 2024 22:56:00 +0000 (0:00:00.025) 0:01:12.409 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:36 Wednesday 07 February 2024 22:56:00 +0000 (0:00:00.208) 0:01:12.617 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:41 Wednesday 07 February 2024 22:56:00 +0000 (0:00:00.029) 0:01:12.646 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707346555.979556, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 32, "charset": "binary", "checksum": "bb5b46ffbafcaa8c4021f3c8b3cb8594f48ef34b", "ctime": 1707346521.1799724, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 6774528, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "application/x-sharedlib", "mode": "0755", "mtime": 1700557386.0, "nlink": 1, "path": "/usr/bin/getsubids", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 12640, "uid": 0, "version": "559643946", "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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:52 Wednesday 07 February 2024 22:56:00 +0000 (0:00:00.202) 0:01:12.849 **** ok: [sut] => { "changed": false, "cmd": [ "getsubids", "user1" ], "delta": "0:00:00.003914", "end": "2024-02-07 22:56:01.050698", "rc": 0, "start": "2024-02-07 22:56:01.046784" } STDOUT: 0: user1 100000 65536 TASK [linux-system-roles.podman : Check group with getsubids] ****************** task path: /WORKDIR/git-fix-linger-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:56 Wednesday 07 February 2024 22:56:01 +0000 (0:00:00.206) 0:01:13.055 **** ok: [sut] => { "changed": false, "cmd": [ "getsubids", "-g", "user1" ], "delta": "0:00:00.003874", "end": "2024-02-07 22:56:01.261368", "rc": 0, "start": "2024-02-07 22:56:01.257494" } STDOUT: 0: user1 100000 65536 TASK [linux-system-roles.podman : Check if user is in subuid file] ************* task path: /WORKDIR/git-fix-linger-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:66 Wednesday 07 February 2024 22:56:01 +0000 (0:00:00.218) 0:01:13.274 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:74 Wednesday 07 February 2024 22:56:01 +0000 (0:00:00.021) 0:01:13.296 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:81 Wednesday 07 February 2024 22:56:01 +0000 (0:00:00.019) 0:01:13.315 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:89 Wednesday 07 February 2024 22:56:01 +0000 (0:00:00.017) 0:01:13.333 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:62 Wednesday 07 February 2024 22:56:01 +0000 (0:00:00.017) 0:01:13.350 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:80 Wednesday 07 February 2024 22:56:01 +0000 (0:00:00.049) 0:01:13.400 **** included: /WORKDIR/git-fix-linger-handling4ztavb9h/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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:5 Wednesday 07 February 2024 22:56:01 +0000 (0:00:00.051) 0:01:13.451 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 Wednesday 07 February 2024 22:56:01 +0000 (0:00:00.290) 0:01:13.742 **** 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-1707346561.811461-2869-269878186305135/source", "state": "file", "uid": 1000 } TASK [linux-system-roles.podman : Handle registries.conf.d] ******************** task path: /WORKDIR/git-fix-linger-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:83 Wednesday 07 February 2024 22:56:02 +0000 (0:00:00.774) 0:01:14.517 **** included: /WORKDIR/git-fix-linger-handling4ztavb9h/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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:5 Wednesday 07 February 2024 22:56:02 +0000 (0:00:00.088) 0:01:14.606 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 Wednesday 07 February 2024 22:56:02 +0000 (0:00:00.211) 0:01:14.817 **** 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-1707346562.9031997-2901-196201020175919/source", "state": "file", "uid": 1000 } TASK [linux-system-roles.podman : Handle storage.conf] ************************* task path: /WORKDIR/git-fix-linger-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:86 Wednesday 07 February 2024 22:56:03 +0000 (0:00:00.643) 0:01:15.461 **** included: /WORKDIR/git-fix-linger-handling4ztavb9h/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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:5 Wednesday 07 February 2024 22:56:03 +0000 (0:00:00.041) 0:01:15.503 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 Wednesday 07 February 2024 22:56:03 +0000 (0:00:00.209) 0:01:15.713 **** 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-1707346563.774432-2931-111780820264972/source", "state": "file", "uid": 1000 } TASK [linux-system-roles.podman : Handle policy.json] ************************** task path: /WORKDIR/git-fix-linger-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:89 Wednesday 07 February 2024 22:56:04 +0000 (0:00:00.567) 0:01:16.280 **** included: /WORKDIR/git-fix-linger-handling4ztavb9h/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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:6 Wednesday 07 February 2024 22:56:04 +0000 (0:00:00.040) 0:01:16.320 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:15 Wednesday 07 February 2024 22:56:04 +0000 (0:00:00.226) 0:01:16.546 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.podman : Get the existing policy.json] **************** task path: /WORKDIR/git-fix-linger-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:20 Wednesday 07 February 2024 22:56:04 +0000 (0:00:00.193) 0:01:16.740 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:26 Wednesday 07 February 2024 22:56:04 +0000 (0:00:00.020) 0:01:16.760 **** 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-1707346564.8286886-2951-51986143708376/source", "state": "file", "uid": 1000 } TASK [Manage firewall for specified ports] ************************************* task path: /WORKDIR/git-fix-linger-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:95 Wednesday 07 February 2024 22:56:05 +0000 (0:00:00.539) 0:01:17.300 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage selinux for specified ports] ************************************** task path: /WORKDIR/git-fix-linger-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:102 Wednesday 07 February 2024 22:56:05 +0000 (0:00:00.020) 0:01:17.321 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:109 Wednesday 07 February 2024 22:56:05 +0000 (0:00:00.027) 0:01:17.348 **** ok: [sut] => { "ansible_facts": { "__podman_cancel_user_linger": [] }, "changed": false } TASK [linux-system-roles.podman : Handle secrets] ****************************** task path: /WORKDIR/git-fix-linger-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:113 Wednesday 07 February 2024 22:56:05 +0000 (0:00:00.023) 0:01:17.372 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:120 Wednesday 07 February 2024 22:56:05 +0000 (0:00:00.044) 0:01:17.416 **** TASK [linux-system-roles.podman : Handle Quadlet specifications] *************** task path: /WORKDIR/git-fix-linger-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:126 Wednesday 07 February 2024 22:56:05 +0000 (0:00:00.025) 0:01:17.441 **** TASK [linux-system-roles.podman : Cancel linger] ******************************* task path: /WORKDIR/git-fix-linger-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:132 Wednesday 07 February 2024 22:56:05 +0000 (0:00:00.028) 0:01:17.470 **** TASK [Check that files exist and are non-null] ********************************* task path: /WORKDIR/git-fix-linger-handling4ztavb9h/tests/tests_config_files.yml:83 Wednesday 07 February 2024 22:56:05 +0000 (0:00:00.030) 0:01:17.500 **** 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": 1707346562.416294, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "94370d6e765779f1c58daf02f667b8f0b74d91f6", "ctime": 1707346562.4242938, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 497025345, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1707346562.0963073, "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": "2614895965", "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": 1707346563.4092538, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "dfb9cd7094a81b3d1bb06512cc9b49a09c75639b", "ctime": 1707346563.4162536, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 507511046, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1707346563.203262, "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": "2894727146", "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": 1707346564.23922, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d08574b6a1df63dbe1c939ff0bcc7c0b61d03044", "ctime": 1707346564.2462196, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 515899713, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1707346564.0362282, "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": "3109014256", "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": 1707346565.2561786, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6746c079ad563b735fc39f73d4876654b80b0a0d", "ctime": 1707346565.2631783, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 1135474, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1707346565.0631864, "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": "16474187", "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-handling4ztavb9h/tests/tests_config_files.yml:91 Wednesday 07 February 2024 22:56:06 +0000 (0:00:00.778) 0:01:18.279 **** TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-fix-linger-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:3 Wednesday 07 February 2024 22:56:06 +0000 (0:00:00.066) 0:01:18.345 **** included: /WORKDIR/git-fix-linger-handling4ztavb9h/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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:3 Wednesday 07 February 2024 22:56:06 +0000 (0:00:00.034) 0:01:18.380 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:12 Wednesday 07 February 2024 22:56:06 +0000 (0:00:00.024) 0:01:18.404 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:17 Wednesday 07 February 2024 22:56:06 +0000 (0:00:00.017) 0:01:18.422 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:21 Wednesday 07 February 2024 22:56:06 +0000 (0:00:00.018) 0:01:18.440 **** ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__podman_packages": [ "podman", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-fix-linger-handling4ztavb9h/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" } ok: [sut] => (item=CentOS_8.yml) => { "ansible_facts": { "__podman_packages": [ "crun", "podman", "podman-plugins", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-fix-linger-handling4ztavb9h/tests/roles/linux-system-roles.podman/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [sut] => (item=CentOS_8.yml) => { "ansible_facts": { "__podman_packages": [ "crun", "podman", "podman-plugins", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-fix-linger-handling4ztavb9h/tests/roles/linux-system-roles.podman/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [linux-system-roles.podman : Gather the package facts] ******************** task path: /WORKDIR/git-fix-linger-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:6 Wednesday 07 February 2024 22:56:06 +0000 (0:00:00.047) 0:01:18.488 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:10 Wednesday 07 February 2024 22:56:07 +0000 (0:00:01.303) 0:01:19.792 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:14 Wednesday 07 February 2024 22:56:07 +0000 (0:00:00.021) 0:01:19.813 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Get podman version] ************************** task path: /WORKDIR/git-fix-linger-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:23 Wednesday 07 February 2024 22:56:07 +0000 (0:00:00.024) 0:01:19.838 **** ok: [sut] => { "changed": false, "cmd": [ "podman", "--version" ], "delta": "0:00:00.030526", "end": "2024-02-07 22:56:08.057607", "rc": 0, "start": "2024-02-07 22:56:08.027081" } STDOUT: podman version 4.8.3 TASK [linux-system-roles.podman : Set podman version] ************************** task path: /WORKDIR/git-fix-linger-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:28 Wednesday 07 February 2024 22:56:08 +0000 (0:00:00.245) 0:01:20.084 **** ok: [sut] => { "ansible_facts": { "podman_version": "4.8.3" }, "changed": false } TASK [linux-system-roles.podman : Podman package version must be 4.2 or later] *** task path: /WORKDIR/git-fix-linger-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:32 Wednesday 07 February 2024 22:56:08 +0000 (0:00:00.020) 0:01:20.104 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:39 Wednesday 07 February 2024 22:56:08 +0000 (0:00:00.020) 0:01:20.125 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:56 Wednesday 07 February 2024 22:56:08 +0000 (0:00:00.036) 0:01:20.162 **** included: /WORKDIR/git-fix-linger-handling4ztavb9h/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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:2 Wednesday 07 February 2024 22:56:08 +0000 (0:00:00.041) 0:01:20.203 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:10 Wednesday 07 February 2024 22:56:08 +0000 (0:00:00.029) 0:01:20.233 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:17 Wednesday 07 February 2024 22:56:08 +0000 (0:00:00.024) 0:01:20.258 **** ok: [sut] => { "ansible_facts": { "__podman_group": "1000" }, "changed": false } TASK [linux-system-roles.podman : Get group information] *********************** task path: /WORKDIR/git-fix-linger-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:28 Wednesday 07 February 2024 22:56:08 +0000 (0:00:00.030) 0:01:20.288 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:36 Wednesday 07 February 2024 22:56:08 +0000 (0:00:00.199) 0:01:20.487 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:41 Wednesday 07 February 2024 22:56:08 +0000 (0:00:00.032) 0:01:20.520 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707346555.979556, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 32, "charset": "binary", "checksum": "bb5b46ffbafcaa8c4021f3c8b3cb8594f48ef34b", "ctime": 1707346521.1799724, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 6774528, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "application/x-sharedlib", "mode": "0755", "mtime": 1700557386.0, "nlink": 1, "path": "/usr/bin/getsubids", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 12640, "uid": 0, "version": "559643946", "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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:52 Wednesday 07 February 2024 22:56:08 +0000 (0:00:00.207) 0:01:20.727 **** ok: [sut] => { "changed": false, "cmd": [ "getsubids", "user1" ], "delta": "0:00:00.003912", "end": "2024-02-07 22:56:08.923964", "rc": 0, "start": "2024-02-07 22:56:08.920052" } STDOUT: 0: user1 100000 65536 TASK [linux-system-roles.podman : Check group with getsubids] ****************** task path: /WORKDIR/git-fix-linger-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:56 Wednesday 07 February 2024 22:56:08 +0000 (0:00:00.199) 0:01:20.927 **** ok: [sut] => { "changed": false, "cmd": [ "getsubids", "-g", "user1" ], "delta": "0:00:00.003831", "end": "2024-02-07 22:56:09.123069", "rc": 0, "start": "2024-02-07 22:56:09.119238" } STDOUT: 0: user1 100000 65536 TASK [linux-system-roles.podman : Check if user is in subuid file] ************* task path: /WORKDIR/git-fix-linger-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:66 Wednesday 07 February 2024 22:56:09 +0000 (0:00:00.199) 0:01:21.126 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:74 Wednesday 07 February 2024 22:56:09 +0000 (0:00:00.019) 0:01:21.145 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:81 Wednesday 07 February 2024 22:56:09 +0000 (0:00:00.041) 0:01:21.187 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:89 Wednesday 07 February 2024 22:56:09 +0000 (0:00:00.020) 0:01:21.208 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:62 Wednesday 07 February 2024 22:56:09 +0000 (0:00:00.019) 0:01:21.228 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:80 Wednesday 07 February 2024 22:56:09 +0000 (0:00:00.045) 0:01:21.273 **** included: /WORKDIR/git-fix-linger-handling4ztavb9h/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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:5 Wednesday 07 February 2024 22:56:09 +0000 (0:00:00.045) 0:01:21.319 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 Wednesday 07 February 2024 22:56:09 +0000 (0:00:00.206) 0:01:21.525 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:83 Wednesday 07 February 2024 22:56:10 +0000 (0:00:00.495) 0:01:22.020 **** included: /WORKDIR/git-fix-linger-handling4ztavb9h/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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:5 Wednesday 07 February 2024 22:56:10 +0000 (0:00:00.044) 0:01:22.065 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 Wednesday 07 February 2024 22:56:10 +0000 (0:00:00.233) 0:01:22.299 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:86 Wednesday 07 February 2024 22:56:10 +0000 (0:00:00.495) 0:01:22.795 **** included: /WORKDIR/git-fix-linger-handling4ztavb9h/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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:5 Wednesday 07 February 2024 22:56:10 +0000 (0:00:00.059) 0:01:22.854 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 Wednesday 07 February 2024 22:56:11 +0000 (0:00:00.211) 0:01:23.066 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:89 Wednesday 07 February 2024 22:56:11 +0000 (0:00:00.496) 0:01:23.562 **** included: /WORKDIR/git-fix-linger-handling4ztavb9h/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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:6 Wednesday 07 February 2024 22:56:11 +0000 (0:00:00.041) 0:01:23.603 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:15 Wednesday 07 February 2024 22:56:11 +0000 (0:00:00.205) 0:01:23.808 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707346566.2621377, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6746c079ad563b735fc39f73d4876654b80b0a0d", "ctime": 1707346565.2631783, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 1135474, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1707346565.0631864, "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": "16474187", "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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:20 Wednesday 07 February 2024 22:56:12 +0000 (0:00:00.202) 0:01:24.011 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:26 Wednesday 07 February 2024 22:56:12 +0000 (0:00:00.270) 0:01:24.282 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage firewall for specified ports] ************************************* task path: /WORKDIR/git-fix-linger-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:95 Wednesday 07 February 2024 22:56:12 +0000 (0:00:00.022) 0:01:24.304 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage selinux for specified ports] ************************************** task path: /WORKDIR/git-fix-linger-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:102 Wednesday 07 February 2024 22:56:12 +0000 (0:00:00.019) 0:01:24.323 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:109 Wednesday 07 February 2024 22:56:12 +0000 (0:00:00.020) 0:01:24.344 **** ok: [sut] => { "ansible_facts": { "__podman_cancel_user_linger": [] }, "changed": false } TASK [linux-system-roles.podman : Handle secrets] ****************************** task path: /WORKDIR/git-fix-linger-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:113 Wednesday 07 February 2024 22:56:12 +0000 (0:00:00.027) 0:01:24.372 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:120 Wednesday 07 February 2024 22:56:12 +0000 (0:00:00.029) 0:01:24.401 **** TASK [linux-system-roles.podman : Handle Quadlet specifications] *************** task path: /WORKDIR/git-fix-linger-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:126 Wednesday 07 February 2024 22:56:12 +0000 (0:00:00.059) 0:01:24.461 **** TASK [linux-system-roles.podman : Cancel linger] ******************************* task path: /WORKDIR/git-fix-linger-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:132 Wednesday 07 February 2024 22:56:12 +0000 (0:00:00.022) 0:01:24.483 **** TASK [Check that files still exist and are non-null] *************************** task path: /WORKDIR/git-fix-linger-handling4ztavb9h/tests/tests_config_files.yml:98 Wednesday 07 February 2024 22:56:12 +0000 (0:00:00.030) 0:01:24.514 **** 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": 1707346565.6951609, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "94370d6e765779f1c58daf02f667b8f0b74d91f6", "ctime": 1707346562.4242938, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 497025345, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1707346562.0963073, "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": "2614895965", "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": 1707346565.885153, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "dfb9cd7094a81b3d1bb06512cc9b49a09c75639b", "ctime": 1707346563.4162536, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 507511046, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1707346563.203262, "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": "2894727146", "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": 1707346566.0751452, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d08574b6a1df63dbe1c939ff0bcc7c0b61d03044", "ctime": 1707346564.2462196, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 515899713, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1707346564.0362282, "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": "3109014256", "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": 1707346566.2621377, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6746c079ad563b735fc39f73d4876654b80b0a0d", "ctime": 1707346565.2631783, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 1135474, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1707346565.0631864, "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": "16474187", "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-handling4ztavb9h/tests/tests_config_files.yml:106 Wednesday 07 February 2024 22:56:13 +0000 (0:00:00.820) 0:01:25.335 **** TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-fix-linger-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:3 Wednesday 07 February 2024 22:56:13 +0000 (0:00:00.056) 0:01:25.391 **** included: /WORKDIR/git-fix-linger-handling4ztavb9h/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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:3 Wednesday 07 February 2024 22:56:13 +0000 (0:00:00.032) 0:01:25.424 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:12 Wednesday 07 February 2024 22:56:13 +0000 (0:00:00.024) 0:01:25.448 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:17 Wednesday 07 February 2024 22:56:13 +0000 (0:00:00.018) 0:01:25.467 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:21 Wednesday 07 February 2024 22:56:13 +0000 (0:00:00.018) 0:01:25.486 **** ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__podman_packages": [ "podman", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-fix-linger-handling4ztavb9h/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" } ok: [sut] => (item=CentOS_8.yml) => { "ansible_facts": { "__podman_packages": [ "crun", "podman", "podman-plugins", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-fix-linger-handling4ztavb9h/tests/roles/linux-system-roles.podman/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [sut] => (item=CentOS_8.yml) => { "ansible_facts": { "__podman_packages": [ "crun", "podman", "podman-plugins", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-fix-linger-handling4ztavb9h/tests/roles/linux-system-roles.podman/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [linux-system-roles.podman : Gather the package facts] ******************** task path: /WORKDIR/git-fix-linger-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:6 Wednesday 07 February 2024 22:56:13 +0000 (0:00:00.076) 0:01:25.562 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:10 Wednesday 07 February 2024 22:56:14 +0000 (0:00:01.375) 0:01:26.938 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:14 Wednesday 07 February 2024 22:56:14 +0000 (0:00:00.037) 0:01:26.975 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Get podman version] ************************** task path: /WORKDIR/git-fix-linger-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:23 Wednesday 07 February 2024 22:56:15 +0000 (0:00:00.031) 0:01:27.007 **** ok: [sut] => { "changed": false, "cmd": [ "podman", "--version" ], "delta": "0:00:00.030173", "end": "2024-02-07 22:56:15.225301", "rc": 0, "start": "2024-02-07 22:56:15.195128" } STDOUT: podman version 4.8.3 TASK [linux-system-roles.podman : Set podman version] ************************** task path: /WORKDIR/git-fix-linger-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:28 Wednesday 07 February 2024 22:56:15 +0000 (0:00:00.222) 0:01:27.229 **** ok: [sut] => { "ansible_facts": { "podman_version": "4.8.3" }, "changed": false } TASK [linux-system-roles.podman : Podman package version must be 4.2 or later] *** task path: /WORKDIR/git-fix-linger-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:32 Wednesday 07 February 2024 22:56:15 +0000 (0:00:00.022) 0:01:27.252 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:39 Wednesday 07 February 2024 22:56:15 +0000 (0:00:00.019) 0:01:27.272 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:56 Wednesday 07 February 2024 22:56:15 +0000 (0:00:00.034) 0:01:27.306 **** included: /WORKDIR/git-fix-linger-handling4ztavb9h/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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:2 Wednesday 07 February 2024 22:56:15 +0000 (0:00:00.051) 0:01:27.358 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:10 Wednesday 07 February 2024 22:56:15 +0000 (0:00:00.229) 0:01:27.588 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:17 Wednesday 07 February 2024 22:56:15 +0000 (0:00:00.022) 0:01:27.611 **** ok: [sut] => { "ansible_facts": { "__podman_group": "0" }, "changed": false } TASK [linux-system-roles.podman : Get group information] *********************** task path: /WORKDIR/git-fix-linger-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:28 Wednesday 07 February 2024 22:56:15 +0000 (0:00:00.065) 0:01:27.676 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:36 Wednesday 07 February 2024 22:56:15 +0000 (0:00:00.200) 0:01:27.876 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:41 Wednesday 07 February 2024 22:56:15 +0000 (0:00:00.026) 0:01:27.903 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707346555.979556, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 32, "charset": "binary", "checksum": "bb5b46ffbafcaa8c4021f3c8b3cb8594f48ef34b", "ctime": 1707346521.1799724, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 6774528, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "application/x-sharedlib", "mode": "0755", "mtime": 1700557386.0, "nlink": 1, "path": "/usr/bin/getsubids", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 12640, "uid": 0, "version": "559643946", "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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:52 Wednesday 07 February 2024 22:56:16 +0000 (0:00:00.199) 0:01:28.102 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:56 Wednesday 07 February 2024 22:56:16 +0000 (0:00:00.020) 0:01:28.123 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:66 Wednesday 07 February 2024 22:56:16 +0000 (0:00:00.020) 0:01:28.144 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:74 Wednesday 07 February 2024 22:56:16 +0000 (0:00:00.018) 0:01:28.162 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:81 Wednesday 07 February 2024 22:56:16 +0000 (0:00:00.018) 0:01:28.181 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:89 Wednesday 07 February 2024 22:56:16 +0000 (0:00:00.026) 0:01:28.207 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:62 Wednesday 07 February 2024 22:56:16 +0000 (0:00:00.026) 0:01:28.234 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:80 Wednesday 07 February 2024 22:56:16 +0000 (0:00:00.041) 0:01:28.276 **** included: /WORKDIR/git-fix-linger-handling4ztavb9h/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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:5 Wednesday 07 February 2024 22:56:16 +0000 (0:00:00.037) 0:01:28.313 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 Wednesday 07 February 2024 22:56:16 +0000 (0:00:00.208) 0:01:28.522 **** 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-1707346576.5906765-3214-242184425381858/source", "state": "file", "uid": 0 } TASK [linux-system-roles.podman : Handle registries.conf.d] ******************** task path: /WORKDIR/git-fix-linger-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:83 Wednesday 07 February 2024 22:56:17 +0000 (0:00:00.637) 0:01:29.160 **** included: /WORKDIR/git-fix-linger-handling4ztavb9h/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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:5 Wednesday 07 February 2024 22:56:17 +0000 (0:00:00.058) 0:01:29.218 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 Wednesday 07 February 2024 22:56:17 +0000 (0:00:00.241) 0:01:29.460 **** 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-1707346577.529294-3251-184132710556545/source", "state": "file", "uid": 0 } TASK [linux-system-roles.podman : Handle storage.conf] ************************* task path: /WORKDIR/git-fix-linger-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:86 Wednesday 07 February 2024 22:56:18 +0000 (0:00:00.556) 0:01:30.016 **** included: /WORKDIR/git-fix-linger-handling4ztavb9h/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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:5 Wednesday 07 February 2024 22:56:18 +0000 (0:00:00.038) 0:01:30.055 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 Wednesday 07 February 2024 22:56:18 +0000 (0:00:00.222) 0:01:30.277 **** 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-1707346578.3403044-3290-223352224692337/source", "state": "file", "uid": 0 } TASK [linux-system-roles.podman : Handle policy.json] ************************** task path: /WORKDIR/git-fix-linger-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:89 Wednesday 07 February 2024 22:56:18 +0000 (0:00:00.609) 0:01:30.886 **** included: /WORKDIR/git-fix-linger-handling4ztavb9h/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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:6 Wednesday 07 February 2024 22:56:18 +0000 (0:00:00.037) 0:01:30.924 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:15 Wednesday 07 February 2024 22:56:19 +0000 (0:00:00.212) 0:01:31.136 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707346557.6714873, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "a71b1d310c167cdc95c2fc11e7835d5636768f14", "ctime": 1707346522.2899272, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 390070593, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1704462717.0, "nlink": 1, "path": "/etc/containers/policy.json", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 663, "uid": 0, "version": "3753999026", "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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:20 Wednesday 07 February 2024 22:56:19 +0000 (0:00:00.210) 0:01:31.347 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:26 Wednesday 07 February 2024 22:56:19 +0000 (0:00:00.212) 0:01:31.559 **** 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-1707346579.625774-3350-27779061803881/source", "state": "file", "uid": 0 } TASK [Manage firewall for specified ports] ************************************* task path: /WORKDIR/git-fix-linger-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:95 Wednesday 07 February 2024 22:56:20 +0000 (0:00:00.548) 0:01:32.107 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage selinux for specified ports] ************************************** task path: /WORKDIR/git-fix-linger-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:102 Wednesday 07 February 2024 22:56:20 +0000 (0:00:00.020) 0:01:32.128 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:109 Wednesday 07 February 2024 22:56:20 +0000 (0:00:00.018) 0:01:32.146 **** ok: [sut] => { "ansible_facts": { "__podman_cancel_user_linger": [] }, "changed": false } TASK [linux-system-roles.podman : Handle secrets] ****************************** task path: /WORKDIR/git-fix-linger-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:113 Wednesday 07 February 2024 22:56:20 +0000 (0:00:00.018) 0:01:32.165 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:120 Wednesday 07 February 2024 22:56:20 +0000 (0:00:00.018) 0:01:32.183 **** TASK [linux-system-roles.podman : Handle Quadlet specifications] *************** task path: /WORKDIR/git-fix-linger-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:126 Wednesday 07 February 2024 22:56:20 +0000 (0:00:00.019) 0:01:32.203 **** TASK [linux-system-roles.podman : Cancel linger] ******************************* task path: /WORKDIR/git-fix-linger-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:132 Wednesday 07 February 2024 22:56:20 +0000 (0:00:00.020) 0:01:32.223 **** TASK [Check that files exist and are non-null] ********************************* task path: /WORKDIR/git-fix-linger-handling4ztavb9h/tests/tests_config_files.yml:113 Wednesday 07 February 2024 22:56:20 +0000 (0:00:00.018) 0:01:32.242 **** 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": 1707346577.0407116, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "94370d6e765779f1c58daf02f667b8f0b74d91f6", "ctime": 1707346577.0437114, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 81789249, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1707346576.8447194, "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": "1518910321", "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": 1707346577.9756746, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "dfb9cd7094a81b3d1bb06512cc9b49a09c75639b", "ctime": 1707346577.9796746, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 90177857, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1707346577.7776825, "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": "3952790607", "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": 1707346578.8396406, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d08574b6a1df63dbe1c939ff0bcc7c0b61d03044", "ctime": 1707346578.8396406, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 98566529, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1707346578.6236491, "nlink": 1, "path": "/etc/containers/storage.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 109, "uid": 0, "version": "117795149", "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": 1707346580.0675921, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6746c079ad563b735fc39f73d4876654b80b0a0d", "ctime": 1707346580.068592, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 111149377, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1707346579.8695998, "nlink": 1, "path": "/etc/containers/policy.json", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 67, "uid": 0, "version": "883502194", "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-handling4ztavb9h/tests/tests_config_files.yml:121 Wednesday 07 February 2024 22:56:21 +0000 (0:00:00.807) 0:01:33.049 **** TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-fix-linger-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:3 Wednesday 07 February 2024 22:56:21 +0000 (0:00:00.054) 0:01:33.103 **** included: /WORKDIR/git-fix-linger-handling4ztavb9h/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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:3 Wednesday 07 February 2024 22:56:21 +0000 (0:00:00.055) 0:01:33.159 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:12 Wednesday 07 February 2024 22:56:21 +0000 (0:00:00.025) 0:01:33.184 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:17 Wednesday 07 February 2024 22:56:21 +0000 (0:00:00.020) 0:01:33.205 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:21 Wednesday 07 February 2024 22:56:21 +0000 (0:00:00.019) 0:01:33.224 **** ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__podman_packages": [ "podman", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-fix-linger-handling4ztavb9h/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" } ok: [sut] => (item=CentOS_8.yml) => { "ansible_facts": { "__podman_packages": [ "crun", "podman", "podman-plugins", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-fix-linger-handling4ztavb9h/tests/roles/linux-system-roles.podman/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [sut] => (item=CentOS_8.yml) => { "ansible_facts": { "__podman_packages": [ "crun", "podman", "podman-plugins", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-fix-linger-handling4ztavb9h/tests/roles/linux-system-roles.podman/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [linux-system-roles.podman : Gather the package facts] ******************** task path: /WORKDIR/git-fix-linger-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:6 Wednesday 07 February 2024 22:56:21 +0000 (0:00:00.049) 0:01:33.274 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:10 Wednesday 07 February 2024 22:56:22 +0000 (0:00:01.297) 0:01:34.571 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:14 Wednesday 07 February 2024 22:56:22 +0000 (0:00:00.020) 0:01:34.591 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Get podman version] ************************** task path: /WORKDIR/git-fix-linger-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:23 Wednesday 07 February 2024 22:56:22 +0000 (0:00:00.023) 0:01:34.614 **** ok: [sut] => { "changed": false, "cmd": [ "podman", "--version" ], "delta": "0:00:00.030132", "end": "2024-02-07 22:56:22.831618", "rc": 0, "start": "2024-02-07 22:56:22.801486" } STDOUT: podman version 4.8.3 STDERR: time="2024-02-07T22:56:22Z" 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:28 Wednesday 07 February 2024 22:56:22 +0000 (0:00:00.230) 0:01:34.844 **** ok: [sut] => { "ansible_facts": { "podman_version": "4.8.3" }, "changed": false } TASK [linux-system-roles.podman : Podman package version must be 4.2 or later] *** task path: /WORKDIR/git-fix-linger-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:32 Wednesday 07 February 2024 22:56:22 +0000 (0:00:00.022) 0:01:34.867 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:39 Wednesday 07 February 2024 22:56:22 +0000 (0:00:00.059) 0:01:34.927 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:56 Wednesday 07 February 2024 22:56:23 +0000 (0:00:00.053) 0:01:34.980 **** included: /WORKDIR/git-fix-linger-handling4ztavb9h/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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:2 Wednesday 07 February 2024 22:56:23 +0000 (0:00:00.047) 0:01:35.027 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:10 Wednesday 07 February 2024 22:56:23 +0000 (0:00:00.036) 0:01:35.064 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:17 Wednesday 07 February 2024 22:56:23 +0000 (0:00:00.062) 0:01:35.127 **** ok: [sut] => { "ansible_facts": { "__podman_group": "0" }, "changed": false } TASK [linux-system-roles.podman : Get group information] *********************** task path: /WORKDIR/git-fix-linger-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:28 Wednesday 07 February 2024 22:56:23 +0000 (0:00:00.028) 0:01:35.155 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:36 Wednesday 07 February 2024 22:56:23 +0000 (0:00:00.229) 0:01:35.384 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:41 Wednesday 07 February 2024 22:56:23 +0000 (0:00:00.043) 0:01:35.428 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707346555.979556, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 32, "charset": "binary", "checksum": "bb5b46ffbafcaa8c4021f3c8b3cb8594f48ef34b", "ctime": 1707346521.1799724, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 6774528, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "application/x-sharedlib", "mode": "0755", "mtime": 1700557386.0, "nlink": 1, "path": "/usr/bin/getsubids", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 12640, "uid": 0, "version": "559643946", "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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:52 Wednesday 07 February 2024 22:56:23 +0000 (0:00:00.200) 0:01:35.628 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:56 Wednesday 07 February 2024 22:56:23 +0000 (0:00:00.027) 0:01:35.655 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:66 Wednesday 07 February 2024 22:56:23 +0000 (0:00:00.028) 0:01:35.684 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:74 Wednesday 07 February 2024 22:56:23 +0000 (0:00:00.023) 0:01:35.707 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:81 Wednesday 07 February 2024 22:56:23 +0000 (0:00:00.022) 0:01:35.730 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:89 Wednesday 07 February 2024 22:56:23 +0000 (0:00:00.025) 0:01:35.756 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:62 Wednesday 07 February 2024 22:56:23 +0000 (0:00:00.021) 0:01:35.777 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:80 Wednesday 07 February 2024 22:56:23 +0000 (0:00:00.063) 0:01:35.840 **** included: /WORKDIR/git-fix-linger-handling4ztavb9h/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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:5 Wednesday 07 February 2024 22:56:23 +0000 (0:00:00.080) 0:01:35.921 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 Wednesday 07 February 2024 22:56:24 +0000 (0:00:00.220) 0:01:36.142 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:83 Wednesday 07 February 2024 22:56:24 +0000 (0:00:00.510) 0:01:36.652 **** included: /WORKDIR/git-fix-linger-handling4ztavb9h/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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:5 Wednesday 07 February 2024 22:56:24 +0000 (0:00:00.076) 0:01:36.729 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 Wednesday 07 February 2024 22:56:24 +0000 (0:00:00.235) 0:01:36.964 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:86 Wednesday 07 February 2024 22:56:25 +0000 (0:00:00.524) 0:01:37.489 **** included: /WORKDIR/git-fix-linger-handling4ztavb9h/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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:5 Wednesday 07 February 2024 22:56:25 +0000 (0:00:00.039) 0:01:37.528 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 Wednesday 07 February 2024 22:56:25 +0000 (0:00:00.227) 0:01:37.756 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:89 Wednesday 07 February 2024 22:56:26 +0000 (0:00:00.493) 0:01:38.250 **** included: /WORKDIR/git-fix-linger-handling4ztavb9h/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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:6 Wednesday 07 February 2024 22:56:26 +0000 (0:00:00.073) 0:01:38.324 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:15 Wednesday 07 February 2024 22:56:26 +0000 (0:00:00.210) 0:01:38.534 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707346581.0345538, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6746c079ad563b735fc39f73d4876654b80b0a0d", "ctime": 1707346580.068592, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 111149377, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1707346579.8695998, "nlink": 1, "path": "/etc/containers/policy.json", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 67, "uid": 0, "version": "883502194", "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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:20 Wednesday 07 February 2024 22:56:26 +0000 (0:00:00.235) 0:01:38.770 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:26 Wednesday 07 February 2024 22:56:26 +0000 (0:00:00.195) 0:01:38.966 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage firewall for specified ports] ************************************* task path: /WORKDIR/git-fix-linger-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:95 Wednesday 07 February 2024 22:56:27 +0000 (0:00:00.043) 0:01:39.009 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage selinux for specified ports] ************************************** task path: /WORKDIR/git-fix-linger-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:102 Wednesday 07 February 2024 22:56:27 +0000 (0:00:00.033) 0:01:39.043 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:109 Wednesday 07 February 2024 22:56:27 +0000 (0:00:00.030) 0:01:39.073 **** ok: [sut] => { "ansible_facts": { "__podman_cancel_user_linger": [] }, "changed": false } TASK [linux-system-roles.podman : Handle secrets] ****************************** task path: /WORKDIR/git-fix-linger-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:113 Wednesday 07 February 2024 22:56:27 +0000 (0:00:00.018) 0:01:39.092 **** 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-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:120 Wednesday 07 February 2024 22:56:27 +0000 (0:00:00.018) 0:01:39.111 **** TASK [linux-system-roles.podman : Handle Quadlet specifications] *************** task path: /WORKDIR/git-fix-linger-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:126 Wednesday 07 February 2024 22:56:27 +0000 (0:00:00.019) 0:01:39.131 **** TASK [linux-system-roles.podman : Cancel linger] ******************************* task path: /WORKDIR/git-fix-linger-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:132 Wednesday 07 February 2024 22:56:27 +0000 (0:00:00.018) 0:01:39.150 **** TASK [Check that files still exist and are non-null] *************************** task path: /WORKDIR/git-fix-linger-handling4ztavb9h/tests/tests_config_files.yml:128 Wednesday 07 February 2024 22:56:27 +0000 (0:00:00.018) 0:01:39.169 **** 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": 1707346580.4425771, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "94370d6e765779f1c58daf02f667b8f0b74d91f6", "ctime": 1707346577.0437114, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 81789249, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1707346576.8447194, "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": "1518910321", "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": 1707346580.650569, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "dfb9cd7094a81b3d1bb06512cc9b49a09c75639b", "ctime": 1707346577.9796746, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 90177857, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1707346577.7776825, "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": "3952790607", "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": 1707346580.8415616, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d08574b6a1df63dbe1c939ff0bcc7c0b61d03044", "ctime": 1707346578.8396406, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 98566529, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1707346578.6236491, "nlink": 1, "path": "/etc/containers/storage.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 109, "uid": 0, "version": "117795149", "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": 1707346581.0345538, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6746c079ad563b735fc39f73d4876654b80b0a0d", "ctime": 1707346580.068592, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 111149377, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1707346579.8695998, "nlink": 1, "path": "/etc/containers/policy.json", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 67, "uid": 0, "version": "883502194", "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-handling4ztavb9h/tests/tests_config_files.yml:136 Wednesday 07 February 2024 22:56:27 +0000 (0:00:00.795) 0:01:39.964 **** included: /WORKDIR/git-fix-linger-handling4ztavb9h/tests/tasks/check_header.yml for sut included: /WORKDIR/git-fix-linger-handling4ztavb9h/tests/tasks/check_header.yml for sut included: /WORKDIR/git-fix-linger-handling4ztavb9h/tests/tasks/check_header.yml for sut included: /WORKDIR/git-fix-linger-handling4ztavb9h/tests/tasks/check_header.yml for sut included: /WORKDIR/git-fix-linger-handling4ztavb9h/tests/tasks/check_header.yml for sut included: /WORKDIR/git-fix-linger-handling4ztavb9h/tests/tasks/check_header.yml for sut TASK [Get file] **************************************************************** task path: /WORKDIR/git-fix-linger-handling4ztavb9h/tests/tasks/check_header.yml:3 Wednesday 07 February 2024 22:56:28 +0000 (0:00:00.094) 0:01:40.059 **** 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-handling4ztavb9h/tests/tasks/check_header.yml:9 Wednesday 07 February 2024 22:56:28 +0000 (0:00:00.206) 0:01:40.265 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get file] **************************************************************** task path: /WORKDIR/git-fix-linger-handling4ztavb9h/tests/tasks/check_header.yml:3 Wednesday 07 February 2024 22:56:28 +0000 (0:00:00.062) 0:01:40.327 **** 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-handling4ztavb9h/tests/tasks/check_header.yml:9 Wednesday 07 February 2024 22:56:28 +0000 (0:00:00.191) 0:01:40.518 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get file] **************************************************************** task path: /WORKDIR/git-fix-linger-handling4ztavb9h/tests/tasks/check_header.yml:3 Wednesday 07 February 2024 22:56:28 +0000 (0:00:00.058) 0:01:40.577 **** 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-handling4ztavb9h/tests/tasks/check_header.yml:9 Wednesday 07 February 2024 22:56:28 +0000 (0:00:00.194) 0:01:40.772 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get file] **************************************************************** task path: /WORKDIR/git-fix-linger-handling4ztavb9h/tests/tasks/check_header.yml:3 Wednesday 07 February 2024 22:56:28 +0000 (0:00:00.058) 0:01:40.830 **** 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-handling4ztavb9h/tests/tasks/check_header.yml:9 Wednesday 07 February 2024 22:56:29 +0000 (0:00:00.191) 0:01:41.021 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get file] **************************************************************** task path: /WORKDIR/git-fix-linger-handling4ztavb9h/tests/tasks/check_header.yml:3 Wednesday 07 February 2024 22:56:29 +0000 (0:00:00.073) 0:01:41.094 **** 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-handling4ztavb9h/tests/tasks/check_header.yml:9 Wednesday 07 February 2024 22:56:29 +0000 (0:00:00.190) 0:01:41.285 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get file] **************************************************************** task path: /WORKDIR/git-fix-linger-handling4ztavb9h/tests/tasks/check_header.yml:3 Wednesday 07 February 2024 22:56:29 +0000 (0:00:00.059) 0:01:41.345 **** 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-handling4ztavb9h/tests/tasks/check_header.yml:9 Wednesday 07 February 2024 22:56:29 +0000 (0:00:00.196) 0:01:41.542 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove test config files] ************************************************ task path: /WORKDIR/git-fix-linger-handling4ztavb9h/tests/tests_config_files.yml:157 Wednesday 07 February 2024 22:56:29 +0000 (0:00:00.122) 0:01:41.664 **** 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-handling4ztavb9h/tests/tests_config_files.yml:163 Wednesday 07 February 2024 22:56:31 +0000 (0:00:01.493) 0:01:43.158 **** ok: [sut] => { "changed": false, "cmd": [ "tar", "xfvpP", "/tmp/lsr_podman_config_q6vilj0d/backup.tar" ], "delta": "0:00:00.004037", "end": "2024-02-07 22:56:31.353456", "rc": 0, "start": "2024-02-07 22:56:31.349419" } STDOUT: /etc/containers/storage.conf /etc/containers/policy.json TASK [Remove temp directory] *************************************************** task path: /WORKDIR/git-fix-linger-handling4ztavb9h/tests/tests_config_files.yml:168 Wednesday 07 February 2024 22:56:31 +0000 (0:00:00.197) 0:01:43.356 **** changed: [sut] => { "changed": true, "path": "/tmp/lsr_podman_config_q6vilj0d", "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:56:31 +0000 (0:00:00.185) 0:01:43.541 **** =============================================================================== linux-system-roles.podman : Ensure required packages are installed ----- 63.43s /WORKDIR/git-fix-linger-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:14 linux-system-roles.podman : Gather the package facts -------------------- 2.67s /WORKDIR/git-fix-linger-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:6 linux-system-roles.podman : Gather the package facts -------------------- 2.66s /WORKDIR/git-fix-linger-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:6 Remove test config files ------------------------------------------------ 1.49s /WORKDIR/git-fix-linger-handling4ztavb9h/tests/tests_config_files.yml:157 ----- linux-system-roles.podman : Gather the package facts -------------------- 1.44s /WORKDIR/git-fix-linger-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/main.yml:6 Check that files still exist and are non-null --------------------------- 0.82s /WORKDIR/git-fix-linger-handling4ztavb9h/tests/tests_config_files.yml:98 ------ Check that files exist and are non-null --------------------------------- 0.81s /WORKDIR/git-fix-linger-handling4ztavb9h/tests/tests_config_files.yml:113 ----- Check that files still exist and are non-null --------------------------- 0.80s /WORKDIR/git-fix-linger-handling4ztavb9h/tests/tests_config_files.yml:128 ----- Gathering Facts --------------------------------------------------------- 0.79s /WORKDIR/git-fix-linger-handling4ztavb9h/tests/tests_config_files.yml:9 ------- Check that files exist and are non-null --------------------------------- 0.78s /WORKDIR/git-fix-linger-handling4ztavb9h/tests/tests_config_files.yml:83 ------ linux-system-roles.podman : Update container config file ---------------- 0.77s /WORKDIR/git-fix-linger-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 linux-system-roles.podman : Update registries config file --------------- 0.64s /WORKDIR/git-fix-linger-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 linux-system-roles.podman : Update container config file ---------------- 0.64s /WORKDIR/git-fix-linger-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 linux-system-roles.podman : Update storage config file ------------------ 0.61s /WORKDIR/git-fix-linger-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 linux-system-roles.podman : Update storage config file ------------------ 0.57s /WORKDIR/git-fix-linger-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 linux-system-roles.podman : Update registries config file --------------- 0.56s /WORKDIR/git-fix-linger-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 linux-system-roles.podman : Write new policy.json file ------------------ 0.55s /WORKDIR/git-fix-linger-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:26 linux-system-roles.podman : Write new policy.json file ------------------ 0.54s /WORKDIR/git-fix-linger-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:26 linux-system-roles.podman : Update registries config file --------------- 0.52s /WORKDIR/git-fix-linger-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 linux-system-roles.podman : Update container config file ---------------- 0.51s /WORKDIR/git-fix-linger-handling4ztavb9h/tests/roles/linux-system-roles.podman/tasks/handle_container_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. ---^---^---^---^---^---