# 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-handlinglwssa1kt/tests/tests_config_files.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Include vault variables] ************************************************* task path: /WORKDIR/git-fix-linger-handlinglwssa1kt/tests/tests_config_files.yml:4 Monday 05 February 2024 04:17:44 +0000 (0:00:00.011) 0:00:00.011 ******* ok: [sut] => { "ansible_facts": { "mysql_container_root_password": { "__ansible_vault": "$ANSIBLE_VAULT;1.1;AES256\n61333932373230333539663035366431326163363166363036323963623131363530326231303634\n6635326161643165363366323062333334363730376631660a393566366139353861656364656661\n38653463363837336639363032646433666361646535366137303464623261313663643336306465\n6264663730656337310a343962353137386238383064646533366433333437303566656433386233\n34343235326665646661623131643335313236313131353661386338343366316261643634653633\n3832313034366536616531323963333234326461353130303532\n" } }, "ansible_included_var_files": [ "/WORKDIR/git-fix-linger-handlinglwssa1kt/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-handlinglwssa1kt/tests/tests_config_files.yml:9 Monday 05 February 2024 04:17:44 +0000 (0:00:00.009) 0:00:00.021 ******* ok: [sut] META: ran handlers TASK [Run the role with no config to get private vars] ************************* task path: /WORKDIR/git-fix-linger-handlinglwssa1kt/tests/tests_config_files.yml:48 Monday 05 February 2024 04:17:45 +0000 (0:00:00.616) 0:00:00.638 ******* TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-fix-linger-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:3 Monday 05 February 2024 04:17:45 +0000 (0:00:00.070) 0:00:00.708 ******* included: /WORKDIR/git-fix-linger-handlinglwssa1kt/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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:3 Monday 05 February 2024 04:17:45 +0000 (0:00:00.014) 0:00:00.722 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:12 Monday 05 February 2024 04:17:45 +0000 (0:00:00.018) 0:00:00.741 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:17 Monday 05 February 2024 04:17:45 +0000 (0:00:00.254) 0:00:00.995 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:21 Monday 05 February 2024 04:17:45 +0000 (0:00:00.020) 0:00:01.015 ******* ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__podman_packages": [ "podman", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-fix-linger-handlinglwssa1kt/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-handlinglwssa1kt/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-handlinglwssa1kt/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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:6 Monday 05 February 2024 04:17:45 +0000 (0:00:00.034) 0:00:01.050 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:10 Monday 05 February 2024 04:17:47 +0000 (0:00:01.437) 0:00:02.487 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:14 Monday 05 February 2024 04:17:47 +0000 (0:00:00.026) 0:00:02.514 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:23 Monday 05 February 2024 04:18:52 +0000 (0:01:05.311) 0:01:07.825 ******* ok: [sut] => { "changed": false, "cmd": [ "podman", "--version" ], "delta": "0:00:00.040092", "end": "2024-02-05 04:18:53.103728", "rc": 0, "start": "2024-02-05 04:18:53.063636" } STDOUT: podman version 4.8.3 TASK [linux-system-roles.podman : Set podman version] ************************** task path: /WORKDIR/git-fix-linger-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:28 Monday 05 February 2024 04:18:53 +0000 (0:00:00.363) 0:01:08.188 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:32 Monday 05 February 2024 04:18:53 +0000 (0:00:00.027) 0:01:08.216 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:39 Monday 05 February 2024 04:18:53 +0000 (0:00:00.026) 0:01:08.242 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:56 Monday 05 February 2024 04:18:53 +0000 (0:00:00.059) 0:01:08.302 ******* included: /WORKDIR/git-fix-linger-handlinglwssa1kt/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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:2 Monday 05 February 2024 04:18:53 +0000 (0:00:00.034) 0:01:08.337 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:10 Monday 05 February 2024 04:18:53 +0000 (0:00:00.251) 0:01:08.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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:17 Monday 05 February 2024 04:18:53 +0000 (0:00:00.021) 0:01:08.610 ******* ok: [sut] => { "ansible_facts": { "__podman_group": "0" }, "changed": false } TASK [linux-system-roles.podman : Get group information] *********************** task path: /WORKDIR/git-fix-linger-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:28 Monday 05 February 2024 04:18:53 +0000 (0:00:00.023) 0:01:08.633 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:36 Monday 05 February 2024 04:18:53 +0000 (0:00:00.206) 0:01:08.839 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:41 Monday 05 February 2024 04:18:53 +0000 (0:00:00.022) 0:01:08.862 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1700557386.0, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 32, "charset": "binary", "checksum": "bb5b46ffbafcaa8c4021f3c8b3cb8594f48ef34b", "ctime": 1707106699.7220488, "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": "4222958639", "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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:52 Monday 05 February 2024 04:18:54 +0000 (0:00:00.202) 0:01:09.065 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:56 Monday 05 February 2024 04:18:54 +0000 (0:00:00.018) 0:01:09.083 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:66 Monday 05 February 2024 04:18:54 +0000 (0:00:00.017) 0:01:09.101 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:74 Monday 05 February 2024 04:18:54 +0000 (0:00:00.017) 0:01:09.118 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:81 Monday 05 February 2024 04:18:54 +0000 (0:00:00.017) 0:01:09.136 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:89 Monday 05 February 2024 04:18:54 +0000 (0:00:00.017) 0:01:09.153 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:62 Monday 05 February 2024 04:18:54 +0000 (0:00:00.017) 0:01:09.171 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:80 Monday 05 February 2024 04:18:54 +0000 (0:00:00.039) 0:01:09.210 ******* included: /WORKDIR/git-fix-linger-handlinglwssa1kt/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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:5 Monday 05 February 2024 04:18:54 +0000 (0:00:00.053) 0:01:09.263 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 Monday 05 February 2024 04:18:54 +0000 (0:00:00.019) 0:01:09.283 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:83 Monday 05 February 2024 04:18:54 +0000 (0:00:00.018) 0:01:09.301 ******* included: /WORKDIR/git-fix-linger-handlinglwssa1kt/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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:5 Monday 05 February 2024 04:18:54 +0000 (0:00:00.036) 0:01:09.338 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 Monday 05 February 2024 04:18:54 +0000 (0:00:00.019) 0:01:09.358 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Handle storage.conf] ************************* task path: /WORKDIR/git-fix-linger-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:86 Monday 05 February 2024 04:18:54 +0000 (0:00:00.019) 0:01:09.377 ******* included: /WORKDIR/git-fix-linger-handlinglwssa1kt/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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:5 Monday 05 February 2024 04:18:54 +0000 (0:00:00.035) 0:01:09.413 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 Monday 05 February 2024 04:18:54 +0000 (0:00:00.017) 0:01:09.430 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Handle policy.json] ************************** task path: /WORKDIR/git-fix-linger-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:89 Monday 05 February 2024 04:18:54 +0000 (0:00:00.017) 0:01:09.447 ******* included: /WORKDIR/git-fix-linger-handlinglwssa1kt/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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:6 Monday 05 February 2024 04:18:54 +0000 (0:00:00.035) 0:01:09.483 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:15 Monday 05 February 2024 04:18:54 +0000 (0:00:00.017) 0:01:09.501 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:20 Monday 05 February 2024 04:18:54 +0000 (0:00:00.017) 0:01:09.518 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:26 Monday 05 February 2024 04:18:54 +0000 (0:00:00.018) 0:01:09.536 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage firewall for specified ports] ************************************* task path: /WORKDIR/git-fix-linger-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:95 Monday 05 February 2024 04:18:54 +0000 (0:00:00.017) 0:01:09.554 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage selinux for specified ports] ************************************** task path: /WORKDIR/git-fix-linger-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:102 Monday 05 February 2024 04:18:54 +0000 (0:00:00.017) 0:01:09.571 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:109 Monday 05 February 2024 04:18:54 +0000 (0:00:00.017) 0:01:09.588 ******* ok: [sut] => { "ansible_facts": { "__podman_cancel_user_linger": [] }, "changed": false } TASK [linux-system-roles.podman : Handle secrets] ****************************** task path: /WORKDIR/git-fix-linger-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:113 Monday 05 February 2024 04:18:54 +0000 (0:00:00.036) 0:01:09.624 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:120 Monday 05 February 2024 04:18:54 +0000 (0:00:00.017) 0:01:09.642 ******* TASK [linux-system-roles.podman : Handle Quadlet specifications] *************** task path: /WORKDIR/git-fix-linger-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:126 Monday 05 February 2024 04:18:54 +0000 (0:00:00.016) 0:01:09.658 ******* TASK [linux-system-roles.podman : Cancel linger] ******************************* task path: /WORKDIR/git-fix-linger-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:132 Monday 05 February 2024 04:18:54 +0000 (0:00:00.016) 0:01:09.675 ******* TASK [Create temp directory] *************************************************** task path: /WORKDIR/git-fix-linger-handlinglwssa1kt/tests/tests_config_files.yml:59 Monday 05 February 2024 04:18:54 +0000 (0:00:00.016) 0:01:09.691 ******* changed: [sut] => { "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/lsr_podman_config_6tq4ewqj", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [Create backup] *********************************************************** task path: /WORKDIR/git-fix-linger-handlinglwssa1kt/tests/tests_config_files.yml:65 Monday 05 February 2024 04:18:54 +0000 (0:00:00.240) 0:01:09.932 ******* ok: [sut] => { "changed": false, "cmd": [ "tar", "--ignore-failed-read", "-c", "-P", "-v", "-p", "-f", "/tmp/lsr_podman_config_6tq4ewqj/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.007928", "end": "2024-02-05 04:18:55.058419", "rc": 0, "start": "2024-02-05 04:18:55.050491" } 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-handlinglwssa1kt/tests/tests_config_files.yml:72 Monday 05 February 2024 04:18:55 +0000 (0:00:00.211) 0:01:10.143 ******* 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-handlinglwssa1kt/tests/tests_config_files.yml:76 Monday 05 February 2024 04:18:55 +0000 (0:00:00.421) 0:01:10.565 ******* TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-fix-linger-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:3 Monday 05 February 2024 04:18:55 +0000 (0:00:00.051) 0:01:10.617 ******* included: /WORKDIR/git-fix-linger-handlinglwssa1kt/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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:3 Monday 05 February 2024 04:18:55 +0000 (0:00:00.031) 0:01:10.649 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:12 Monday 05 February 2024 04:18:55 +0000 (0:00:00.022) 0:01:10.671 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:17 Monday 05 February 2024 04:18:55 +0000 (0:00:00.017) 0:01:10.688 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:21 Monday 05 February 2024 04:18:55 +0000 (0:00:00.017) 0:01:10.705 ******* ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__podman_packages": [ "podman", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-fix-linger-handlinglwssa1kt/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-handlinglwssa1kt/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-handlinglwssa1kt/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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:6 Monday 05 February 2024 04:18:55 +0000 (0:00:00.045) 0:01:10.751 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:10 Monday 05 February 2024 04:18:57 +0000 (0:00:01.369) 0:01:12.121 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:14 Monday 05 February 2024 04:18:57 +0000 (0:00:00.019) 0:01:12.140 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Get podman version] ************************** task path: /WORKDIR/git-fix-linger-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:23 Monday 05 February 2024 04:18:57 +0000 (0:00:00.022) 0:01:12.163 ******* ok: [sut] => { "changed": false, "cmd": [ "podman", "--version" ], "delta": "0:00:00.034728", "end": "2024-02-05 04:18:57.313827", "rc": 0, "start": "2024-02-05 04:18:57.279099" } STDOUT: podman version 4.8.3 TASK [linux-system-roles.podman : Set podman version] ************************** task path: /WORKDIR/git-fix-linger-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:28 Monday 05 February 2024 04:18:57 +0000 (0:00:00.235) 0:01:12.398 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:32 Monday 05 February 2024 04:18:57 +0000 (0:00:00.019) 0:01:12.417 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:39 Monday 05 February 2024 04:18:57 +0000 (0:00:00.018) 0:01:12.436 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:56 Monday 05 February 2024 04:18:57 +0000 (0:00:00.030) 0:01:12.467 ******* included: /WORKDIR/git-fix-linger-handlinglwssa1kt/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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:2 Monday 05 February 2024 04:18:57 +0000 (0:00:00.051) 0:01:12.519 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:10 Monday 05 February 2024 04:18:57 +0000 (0:00:00.211) 0:01:12.730 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:17 Monday 05 February 2024 04:18:57 +0000 (0:00:00.022) 0:01:12.753 ******* ok: [sut] => { "ansible_facts": { "__podman_group": "1000" }, "changed": false } TASK [linux-system-roles.podman : Get group information] *********************** task path: /WORKDIR/git-fix-linger-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:28 Monday 05 February 2024 04:18:57 +0000 (0:00:00.024) 0:01:12.777 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:36 Monday 05 February 2024 04:18:57 +0000 (0:00:00.207) 0:01:12.985 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:41 Monday 05 February 2024 04:18:57 +0000 (0:00:00.023) 0:01:13.008 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707106733.9738462, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 32, "charset": "binary", "checksum": "bb5b46ffbafcaa8c4021f3c8b3cb8594f48ef34b", "ctime": 1707106699.7220488, "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": "4222958639", "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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:52 Monday 05 February 2024 04:18:58 +0000 (0:00:00.207) 0:01:13.216 ******* ok: [sut] => { "changed": false, "cmd": [ "getsubids", "user1" ], "delta": "0:00:00.004033", "end": "2024-02-05 04:18:58.338705", "rc": 0, "start": "2024-02-05 04:18:58.334672" } STDOUT: 0: user1 100000 65536 TASK [linux-system-roles.podman : Check group with getsubids] ****************** task path: /WORKDIR/git-fix-linger-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:56 Monday 05 February 2024 04:18:58 +0000 (0:00:00.207) 0:01:13.423 ******* ok: [sut] => { "changed": false, "cmd": [ "getsubids", "-g", "user1" ], "delta": "0:00:00.003951", "end": "2024-02-05 04:18:58.550988", "rc": 0, "start": "2024-02-05 04:18:58.547037" } STDOUT: 0: user1 100000 65536 TASK [linux-system-roles.podman : Check if user is in subuid file] ************* task path: /WORKDIR/git-fix-linger-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:66 Monday 05 February 2024 04:18:58 +0000 (0:00:00.212) 0:01:13.635 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:74 Monday 05 February 2024 04:18:58 +0000 (0:00:00.019) 0:01:13.655 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:81 Monday 05 February 2024 04:18:58 +0000 (0:00:00.018) 0:01:13.673 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:89 Monday 05 February 2024 04:18:58 +0000 (0:00:00.019) 0:01:13.693 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:62 Monday 05 February 2024 04:18:58 +0000 (0:00:00.021) 0:01:13.714 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:80 Monday 05 February 2024 04:18:58 +0000 (0:00:00.039) 0:01:13.754 ******* included: /WORKDIR/git-fix-linger-handlinglwssa1kt/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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:5 Monday 05 February 2024 04:18:58 +0000 (0:00:00.071) 0:01:13.826 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 Monday 05 February 2024 04:18:59 +0000 (0:00:00.286) 0:01:14.113 ******* 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-1707106739.100416-2929-2099051739240/source", "state": "file", "uid": 1000 } TASK [linux-system-roles.podman : Handle registries.conf.d] ******************** task path: /WORKDIR/git-fix-linger-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:83 Monday 05 February 2024 04:18:59 +0000 (0:00:00.625) 0:01:14.738 ******* included: /WORKDIR/git-fix-linger-handlinglwssa1kt/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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:5 Monday 05 February 2024 04:18:59 +0000 (0:00:00.036) 0:01:14.774 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 Monday 05 February 2024 04:18:59 +0000 (0:00:00.213) 0:01:14.988 ******* 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-1707106739.9699268-2952-82298554584696/source", "state": "file", "uid": 1000 } TASK [linux-system-roles.podman : Handle storage.conf] ************************* task path: /WORKDIR/git-fix-linger-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:86 Monday 05 February 2024 04:19:00 +0000 (0:00:00.559) 0:01:15.548 ******* included: /WORKDIR/git-fix-linger-handlinglwssa1kt/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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:5 Monday 05 February 2024 04:19:00 +0000 (0:00:00.036) 0:01:15.585 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 Monday 05 February 2024 04:19:00 +0000 (0:00:00.214) 0:01:15.800 ******* 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-1707106740.780538-2967-65307428154323/source", "state": "file", "uid": 1000 } TASK [linux-system-roles.podman : Handle policy.json] ************************** task path: /WORKDIR/git-fix-linger-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:89 Monday 05 February 2024 04:19:01 +0000 (0:00:00.558) 0:01:16.358 ******* included: /WORKDIR/git-fix-linger-handlinglwssa1kt/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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:6 Monday 05 February 2024 04:19:01 +0000 (0:00:00.037) 0:01:16.395 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:15 Monday 05 February 2024 04:19:01 +0000 (0:00:00.214) 0:01:16.610 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.podman : Get the existing policy.json] **************** task path: /WORKDIR/git-fix-linger-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:20 Monday 05 February 2024 04:19:01 +0000 (0:00:00.203) 0:01:16.814 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:26 Monday 05 February 2024 04:19:01 +0000 (0:00:00.019) 0:01:16.833 ******* 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-1707106741.815621-2987-207064577401583/source", "state": "file", "uid": 1000 } TASK [Manage firewall for specified ports] ************************************* task path: /WORKDIR/git-fix-linger-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:95 Monday 05 February 2024 04:19:02 +0000 (0:00:00.556) 0:01:17.389 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage selinux for specified ports] ************************************** task path: /WORKDIR/git-fix-linger-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:102 Monday 05 February 2024 04:19:02 +0000 (0:00:00.019) 0:01:17.408 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:109 Monday 05 February 2024 04:19:02 +0000 (0:00:00.017) 0:01:17.426 ******* ok: [sut] => { "ansible_facts": { "__podman_cancel_user_linger": [] }, "changed": false } TASK [linux-system-roles.podman : Handle secrets] ****************************** task path: /WORKDIR/git-fix-linger-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:113 Monday 05 February 2024 04:19:02 +0000 (0:00:00.018) 0:01:17.444 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:120 Monday 05 February 2024 04:19:02 +0000 (0:00:00.016) 0:01:17.461 ******* TASK [linux-system-roles.podman : Handle Quadlet specifications] *************** task path: /WORKDIR/git-fix-linger-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:126 Monday 05 February 2024 04:19:02 +0000 (0:00:00.018) 0:01:17.479 ******* TASK [linux-system-roles.podman : Cancel linger] ******************************* task path: /WORKDIR/git-fix-linger-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:132 Monday 05 February 2024 04:19:02 +0000 (0:00:00.016) 0:01:17.496 ******* TASK [Check that files exist and are non-null] ********************************* task path: /WORKDIR/git-fix-linger-handlinglwssa1kt/tests/tests_config_files.yml:83 Monday 05 February 2024 04:19:02 +0000 (0:00:00.041) 0:01:17.538 ******* 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": 1707106739.6146486, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "94370d6e765779f1c58daf02f667b8f0b74d91f6", "ctime": 1707106739.6226482, "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": 1707106739.3636572, "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": "100096456", "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": 1707106740.42662, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "dfb9cd7094a81b3d1bb06512cc9b49a09c75639b", "ctime": 1707106740.4336197, "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": 1707106740.2256272, "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": "649379853", "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": 1707106741.2365916, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d08574b6a1df63dbe1c939ff0bcc7c0b61d03044", "ctime": 1707106741.2445915, "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": 1707106741.0345988, "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": "4129846102", "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": 1707106742.2665555, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6746c079ad563b735fc39f73d4876654b80b0a0d", "ctime": 1707106742.2745552, "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": 1707106742.0605628, "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": "1289283284", "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-handlinglwssa1kt/tests/tests_config_files.yml:91 Monday 05 February 2024 04:19:03 +0000 (0:00:00.816) 0:01:18.355 ******* TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-fix-linger-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:3 Monday 05 February 2024 04:19:03 +0000 (0:00:00.042) 0:01:18.397 ******* included: /WORKDIR/git-fix-linger-handlinglwssa1kt/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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:3 Monday 05 February 2024 04:19:03 +0000 (0:00:00.032) 0:01:18.430 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:12 Monday 05 February 2024 04:19:03 +0000 (0:00:00.023) 0:01:18.453 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:17 Monday 05 February 2024 04:19:03 +0000 (0:00:00.018) 0:01:18.472 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:21 Monday 05 February 2024 04:19:03 +0000 (0:00:00.018) 0:01:18.490 ******* ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__podman_packages": [ "podman", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-fix-linger-handlinglwssa1kt/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-handlinglwssa1kt/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-handlinglwssa1kt/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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:6 Monday 05 February 2024 04:19:03 +0000 (0:00:00.048) 0:01:18.539 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:10 Monday 05 February 2024 04:19:04 +0000 (0:00:01.355) 0:01:19.894 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:14 Monday 05 February 2024 04:19:04 +0000 (0:00:00.019) 0:01:19.914 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Get podman version] ************************** task path: /WORKDIR/git-fix-linger-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:23 Monday 05 February 2024 04:19:04 +0000 (0:00:00.023) 0:01:19.937 ******* ok: [sut] => { "changed": false, "cmd": [ "podman", "--version" ], "delta": "0:00:00.032601", "end": "2024-02-05 04:19:05.083902", "rc": 0, "start": "2024-02-05 04:19:05.051301" } STDOUT: podman version 4.8.3 TASK [linux-system-roles.podman : Set podman version] ************************** task path: /WORKDIR/git-fix-linger-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:28 Monday 05 February 2024 04:19:05 +0000 (0:00:00.233) 0:01:20.170 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:32 Monday 05 February 2024 04:19:05 +0000 (0:00:00.019) 0:01:20.190 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:39 Monday 05 February 2024 04:19:05 +0000 (0:00:00.018) 0:01:20.208 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:56 Monday 05 February 2024 04:19:05 +0000 (0:00:00.032) 0:01:20.240 ******* included: /WORKDIR/git-fix-linger-handlinglwssa1kt/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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:2 Monday 05 February 2024 04:19:05 +0000 (0:00:00.036) 0:01:20.277 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:10 Monday 05 February 2024 04:19:05 +0000 (0:00:00.022) 0:01:20.299 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:17 Monday 05 February 2024 04:19:05 +0000 (0:00:00.023) 0:01:20.322 ******* ok: [sut] => { "ansible_facts": { "__podman_group": "1000" }, "changed": false } TASK [linux-system-roles.podman : Get group information] *********************** task path: /WORKDIR/git-fix-linger-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:28 Monday 05 February 2024 04:19:05 +0000 (0:00:00.024) 0:01:20.347 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:36 Monday 05 February 2024 04:19:05 +0000 (0:00:00.231) 0:01:20.578 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:41 Monday 05 February 2024 04:19:05 +0000 (0:00:00.023) 0:01:20.602 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707106733.9738462, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 32, "charset": "binary", "checksum": "bb5b46ffbafcaa8c4021f3c8b3cb8594f48ef34b", "ctime": 1707106699.7220488, "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": "4222958639", "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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:52 Monday 05 February 2024 04:19:05 +0000 (0:00:00.206) 0:01:20.808 ******* ok: [sut] => { "changed": false, "cmd": [ "getsubids", "user1" ], "delta": "0:00:00.003962", "end": "2024-02-05 04:19:05.932456", "rc": 0, "start": "2024-02-05 04:19:05.928494" } STDOUT: 0: user1 100000 65536 TASK [linux-system-roles.podman : Check group with getsubids] ****************** task path: /WORKDIR/git-fix-linger-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:56 Monday 05 February 2024 04:19:05 +0000 (0:00:00.208) 0:01:21.017 ******* ok: [sut] => { "changed": false, "cmd": [ "getsubids", "-g", "user1" ], "delta": "0:00:00.003994", "end": "2024-02-05 04:19:06.139493", "rc": 0, "start": "2024-02-05 04:19:06.135499" } STDOUT: 0: user1 100000 65536 TASK [linux-system-roles.podman : Check if user is in subuid file] ************* task path: /WORKDIR/git-fix-linger-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:66 Monday 05 February 2024 04:19:06 +0000 (0:00:00.209) 0:01:21.226 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:74 Monday 05 February 2024 04:19:06 +0000 (0:00:00.020) 0:01:21.247 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:81 Monday 05 February 2024 04:19:06 +0000 (0:00:00.019) 0:01:21.266 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:89 Monday 05 February 2024 04:19:06 +0000 (0:00:00.021) 0:01:21.287 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:62 Monday 05 February 2024 04:19:06 +0000 (0:00:00.020) 0:01:21.308 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:80 Monday 05 February 2024 04:19:06 +0000 (0:00:00.050) 0:01:21.358 ******* included: /WORKDIR/git-fix-linger-handlinglwssa1kt/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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:5 Monday 05 February 2024 04:19:06 +0000 (0:00:00.037) 0:01:21.395 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 Monday 05 February 2024 04:19:06 +0000 (0:00:00.227) 0:01:21.623 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:83 Monday 05 February 2024 04:19:07 +0000 (0:00:00.527) 0:01:22.150 ******* included: /WORKDIR/git-fix-linger-handlinglwssa1kt/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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:5 Monday 05 February 2024 04:19:07 +0000 (0:00:00.065) 0:01:22.216 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 Monday 05 February 2024 04:19:07 +0000 (0:00:00.215) 0:01:22.432 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:86 Monday 05 February 2024 04:19:07 +0000 (0:00:00.514) 0:01:22.947 ******* included: /WORKDIR/git-fix-linger-handlinglwssa1kt/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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:5 Monday 05 February 2024 04:19:07 +0000 (0:00:00.036) 0:01:22.983 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 Monday 05 February 2024 04:19:08 +0000 (0:00:00.217) 0:01:23.201 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:89 Monday 05 February 2024 04:19:08 +0000 (0:00:00.497) 0:01:23.698 ******* included: /WORKDIR/git-fix-linger-handlinglwssa1kt/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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:6 Monday 05 February 2024 04:19:08 +0000 (0:00:00.038) 0:01:23.737 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:15 Monday 05 February 2024 04:19:08 +0000 (0:00:00.233) 0:01:23.971 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707106743.2555208, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6746c079ad563b735fc39f73d4876654b80b0a0d", "ctime": 1707106742.2745552, "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": 1707106742.0605628, "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": "1289283284", "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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:20 Monday 05 February 2024 04:19:09 +0000 (0:00:00.211) 0:01:24.183 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:26 Monday 05 February 2024 04:19:09 +0000 (0:00:00.243) 0:01:24.426 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage firewall for specified ports] ************************************* task path: /WORKDIR/git-fix-linger-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:95 Monday 05 February 2024 04:19:09 +0000 (0:00:00.021) 0:01:24.447 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage selinux for specified ports] ************************************** task path: /WORKDIR/git-fix-linger-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:102 Monday 05 February 2024 04:19:09 +0000 (0:00:00.018) 0:01:24.466 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:109 Monday 05 February 2024 04:19:09 +0000 (0:00:00.019) 0:01:24.485 ******* ok: [sut] => { "ansible_facts": { "__podman_cancel_user_linger": [] }, "changed": false } TASK [linux-system-roles.podman : Handle secrets] ****************************** task path: /WORKDIR/git-fix-linger-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:113 Monday 05 February 2024 04:19:09 +0000 (0:00:00.017) 0:01:24.503 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:120 Monday 05 February 2024 04:19:09 +0000 (0:00:00.017) 0:01:24.521 ******* TASK [linux-system-roles.podman : Handle Quadlet specifications] *************** task path: /WORKDIR/git-fix-linger-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:126 Monday 05 February 2024 04:19:09 +0000 (0:00:00.016) 0:01:24.538 ******* TASK [linux-system-roles.podman : Cancel linger] ******************************* task path: /WORKDIR/git-fix-linger-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:132 Monday 05 February 2024 04:19:09 +0000 (0:00:00.016) 0:01:24.555 ******* TASK [Check that files still exist and are non-null] *************************** task path: /WORKDIR/git-fix-linger-handlinglwssa1kt/tests/tests_config_files.yml:98 Monday 05 February 2024 04:19:09 +0000 (0:00:00.016) 0:01:24.571 ******* 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": 1707106742.6605418, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "94370d6e765779f1c58daf02f667b8f0b74d91f6", "ctime": 1707106739.6226482, "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": 1707106739.3636572, "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": "100096456", "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": 1707106742.856535, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "dfb9cd7094a81b3d1bb06512cc9b49a09c75639b", "ctime": 1707106740.4336197, "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": 1707106740.2256272, "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": "649379853", "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": 1707106743.0565279, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d08574b6a1df63dbe1c939ff0bcc7c0b61d03044", "ctime": 1707106741.2445915, "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": 1707106741.0345988, "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": "4129846102", "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": 1707106743.2555208, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6746c079ad563b735fc39f73d4876654b80b0a0d", "ctime": 1707106742.2745552, "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": 1707106742.0605628, "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": "1289283284", "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-handlinglwssa1kt/tests/tests_config_files.yml:106 Monday 05 February 2024 04:19:10 +0000 (0:00:00.807) 0:01:25.378 ******* TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-fix-linger-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:3 Monday 05 February 2024 04:19:10 +0000 (0:00:00.084) 0:01:25.463 ******* included: /WORKDIR/git-fix-linger-handlinglwssa1kt/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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:3 Monday 05 February 2024 04:19:10 +0000 (0:00:00.038) 0:01:25.501 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:12 Monday 05 February 2024 04:19:10 +0000 (0:00:00.029) 0:01:25.531 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:17 Monday 05 February 2024 04:19:10 +0000 (0:00:00.020) 0:01:25.552 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:21 Monday 05 February 2024 04:19:10 +0000 (0:00:00.021) 0:01:25.573 ******* ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__podman_packages": [ "podman", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-fix-linger-handlinglwssa1kt/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-handlinglwssa1kt/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-handlinglwssa1kt/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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:6 Monday 05 February 2024 04:19:10 +0000 (0:00:00.055) 0:01:25.628 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:10 Monday 05 February 2024 04:19:11 +0000 (0:00:01.348) 0:01:26.977 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:14 Monday 05 February 2024 04:19:11 +0000 (0:00:00.018) 0:01:26.996 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Get podman version] ************************** task path: /WORKDIR/git-fix-linger-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:23 Monday 05 February 2024 04:19:11 +0000 (0:00:00.022) 0:01:27.019 ******* ok: [sut] => { "changed": false, "cmd": [ "podman", "--version" ], "delta": "0:00:00.031613", "end": "2024-02-05 04:19:12.165169", "rc": 0, "start": "2024-02-05 04:19:12.133556" } STDOUT: podman version 4.8.3 TASK [linux-system-roles.podman : Set podman version] ************************** task path: /WORKDIR/git-fix-linger-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:28 Monday 05 February 2024 04:19:12 +0000 (0:00:00.230) 0:01:27.250 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:32 Monday 05 February 2024 04:19:12 +0000 (0:00:00.019) 0:01:27.269 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:39 Monday 05 February 2024 04:19:12 +0000 (0:00:00.018) 0:01:27.288 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:56 Monday 05 February 2024 04:19:12 +0000 (0:00:00.032) 0:01:27.320 ******* included: /WORKDIR/git-fix-linger-handlinglwssa1kt/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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:2 Monday 05 February 2024 04:19:12 +0000 (0:00:00.037) 0:01:27.357 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:10 Monday 05 February 2024 04:19:12 +0000 (0:00:00.220) 0:01:27.578 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:17 Monday 05 February 2024 04:19:12 +0000 (0:00:00.043) 0:01:27.621 ******* ok: [sut] => { "ansible_facts": { "__podman_group": "0" }, "changed": false } TASK [linux-system-roles.podman : Get group information] *********************** task path: /WORKDIR/git-fix-linger-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:28 Monday 05 February 2024 04:19:12 +0000 (0:00:00.039) 0:01:27.661 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:36 Monday 05 February 2024 04:19:12 +0000 (0:00:00.210) 0:01:27.872 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:41 Monday 05 February 2024 04:19:12 +0000 (0:00:00.034) 0:01:27.906 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707106733.9738462, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 32, "charset": "binary", "checksum": "bb5b46ffbafcaa8c4021f3c8b3cb8594f48ef34b", "ctime": 1707106699.7220488, "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": "4222958639", "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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:52 Monday 05 February 2024 04:19:13 +0000 (0:00:00.213) 0:01:28.120 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:56 Monday 05 February 2024 04:19:13 +0000 (0:00:00.019) 0:01:28.140 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:66 Monday 05 February 2024 04:19:13 +0000 (0:00:00.020) 0:01:28.160 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:74 Monday 05 February 2024 04:19:13 +0000 (0:00:00.047) 0:01:28.208 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:81 Monday 05 February 2024 04:19:13 +0000 (0:00:00.020) 0:01:28.229 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:89 Monday 05 February 2024 04:19:13 +0000 (0:00:00.022) 0:01:28.251 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:62 Monday 05 February 2024 04:19:13 +0000 (0:00:00.020) 0:01:28.272 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:80 Monday 05 February 2024 04:19:13 +0000 (0:00:00.060) 0:01:28.332 ******* included: /WORKDIR/git-fix-linger-handlinglwssa1kt/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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:5 Monday 05 February 2024 04:19:13 +0000 (0:00:00.040) 0:01:28.372 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 Monday 05 February 2024 04:19:13 +0000 (0:00:00.220) 0:01:28.593 ******* 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-1707106753.5760677-3391-97947812397001/source", "state": "file", "uid": 0 } TASK [linux-system-roles.podman : Handle registries.conf.d] ******************** task path: /WORKDIR/git-fix-linger-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:83 Monday 05 February 2024 04:19:14 +0000 (0:00:00.564) 0:01:29.158 ******* included: /WORKDIR/git-fix-linger-handlinglwssa1kt/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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:5 Monday 05 February 2024 04:19:14 +0000 (0:00:00.035) 0:01:29.194 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 Monday 05 February 2024 04:19:14 +0000 (0:00:00.213) 0:01:29.407 ******* 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-1707106754.3878827-3436-53660823046704/source", "state": "file", "uid": 0 } TASK [linux-system-roles.podman : Handle storage.conf] ************************* task path: /WORKDIR/git-fix-linger-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:86 Monday 05 February 2024 04:19:14 +0000 (0:00:00.558) 0:01:29.966 ******* included: /WORKDIR/git-fix-linger-handlinglwssa1kt/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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:5 Monday 05 February 2024 04:19:14 +0000 (0:00:00.059) 0:01:30.025 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 Monday 05 February 2024 04:19:15 +0000 (0:00:00.216) 0:01:30.242 ******* 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-1707106755.2232258-3451-152404131648879/source", "state": "file", "uid": 0 } TASK [linux-system-roles.podman : Handle policy.json] ************************** task path: /WORKDIR/git-fix-linger-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:89 Monday 05 February 2024 04:19:15 +0000 (0:00:00.578) 0:01:30.820 ******* included: /WORKDIR/git-fix-linger-handlinglwssa1kt/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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:6 Monday 05 February 2024 04:19:15 +0000 (0:00:00.042) 0:01:30.862 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:15 Monday 05 February 2024 04:19:16 +0000 (0:00:00.217) 0:01:31.080 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707106735.0568082, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "a71b1d310c167cdc95c2fc11e7835d5636768f14", "ctime": 1707106700.8640087, "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": "289611229", "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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:20 Monday 05 February 2024 04:19:16 +0000 (0:00:00.214) 0:01:31.294 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:26 Monday 05 February 2024 04:19:16 +0000 (0:00:00.197) 0:01:31.492 ******* 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-1707106756.4764512-3472-259998307824702/source", "state": "file", "uid": 0 } TASK [Manage firewall for specified ports] ************************************* task path: /WORKDIR/git-fix-linger-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:95 Monday 05 February 2024 04:19:17 +0000 (0:00:00.567) 0:01:32.059 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage selinux for specified ports] ************************************** task path: /WORKDIR/git-fix-linger-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:102 Monday 05 February 2024 04:19:17 +0000 (0:00:00.039) 0:01:32.099 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:109 Monday 05 February 2024 04:19:17 +0000 (0:00:00.019) 0:01:32.118 ******* ok: [sut] => { "ansible_facts": { "__podman_cancel_user_linger": [] }, "changed": false } TASK [linux-system-roles.podman : Handle secrets] ****************************** task path: /WORKDIR/git-fix-linger-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:113 Monday 05 February 2024 04:19:17 +0000 (0:00:00.017) 0:01:32.136 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:120 Monday 05 February 2024 04:19:17 +0000 (0:00:00.017) 0:01:32.153 ******* TASK [linux-system-roles.podman : Handle Quadlet specifications] *************** task path: /WORKDIR/git-fix-linger-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:126 Monday 05 February 2024 04:19:17 +0000 (0:00:00.017) 0:01:32.170 ******* TASK [linux-system-roles.podman : Cancel linger] ******************************* task path: /WORKDIR/git-fix-linger-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:132 Monday 05 February 2024 04:19:17 +0000 (0:00:00.017) 0:01:32.187 ******* TASK [Check that files exist and are non-null] ********************************* task path: /WORKDIR/git-fix-linger-handlinglwssa1kt/tests/tests_config_files.yml:113 Monday 05 February 2024 04:19:17 +0000 (0:00:00.016) 0:01:32.204 ******* 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": 1707106754.0331433, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "94370d6e765779f1c58daf02f667b8f0b74d91f6", "ctime": 1707106754.037143, "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": 1707106753.8301504, "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": "707090315", "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": 1707106754.837115, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "dfb9cd7094a81b3d1bb06512cc9b49a09c75639b", "ctime": 1707106754.841115, "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": 1707106754.6371222, "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": "2077860581", "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": 1707106755.696085, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d08574b6a1df63dbe1c939ff0bcc7c0b61d03044", "ctime": 1707106755.697085, "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": 1707106755.493092, "nlink": 1, "path": "/etc/containers/storage.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 109, "uid": 0, "version": "1506964196", "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": 1707106756.9300418, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6746c079ad563b735fc39f73d4876654b80b0a0d", "ctime": 1707106756.9310417, "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": 1707106756.7290487, "nlink": 1, "path": "/etc/containers/policy.json", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 67, "uid": 0, "version": "1052602978", "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-handlinglwssa1kt/tests/tests_config_files.yml:121 Monday 05 February 2024 04:19:17 +0000 (0:00:00.813) 0:01:33.017 ******* TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-fix-linger-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:3 Monday 05 February 2024 04:19:18 +0000 (0:00:00.056) 0:01:33.074 ******* included: /WORKDIR/git-fix-linger-handlinglwssa1kt/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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:3 Monday 05 February 2024 04:19:18 +0000 (0:00:00.035) 0:01:33.110 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:12 Monday 05 February 2024 04:19:18 +0000 (0:00:00.026) 0:01:33.136 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:17 Monday 05 February 2024 04:19:18 +0000 (0:00:00.021) 0:01:33.158 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:21 Monday 05 February 2024 04:19:18 +0000 (0:00:00.020) 0:01:33.179 ******* ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__podman_packages": [ "podman", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-fix-linger-handlinglwssa1kt/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-handlinglwssa1kt/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-handlinglwssa1kt/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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:6 Monday 05 February 2024 04:19:18 +0000 (0:00:00.143) 0:01:33.323 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:10 Monday 05 February 2024 04:19:19 +0000 (0:00:01.352) 0:01:34.676 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:14 Monday 05 February 2024 04:19:19 +0000 (0:00:00.018) 0:01:34.694 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Get podman version] ************************** task path: /WORKDIR/git-fix-linger-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:23 Monday 05 February 2024 04:19:19 +0000 (0:00:00.023) 0:01:34.718 ******* ok: [sut] => { "changed": false, "cmd": [ "podman", "--version" ], "delta": "0:00:00.030575", "end": "2024-02-05 04:19:19.865799", "rc": 0, "start": "2024-02-05 04:19:19.835224" } STDOUT: podman version 4.8.3 STDERR: time="2024-02-05T04:19:19Z" 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:28 Monday 05 February 2024 04:19:19 +0000 (0:00:00.232) 0:01:34.951 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:32 Monday 05 February 2024 04:19:19 +0000 (0:00:00.019) 0:01:34.970 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:39 Monday 05 February 2024 04:19:19 +0000 (0:00:00.017) 0:01:34.988 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:56 Monday 05 February 2024 04:19:19 +0000 (0:00:00.031) 0:01:35.020 ******* included: /WORKDIR/git-fix-linger-handlinglwssa1kt/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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:2 Monday 05 February 2024 04:19:20 +0000 (0:00:00.054) 0:01:35.074 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:10 Monday 05 February 2024 04:19:20 +0000 (0:00:00.024) 0:01:35.098 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:17 Monday 05 February 2024 04:19:20 +0000 (0:00:00.023) 0:01:35.122 ******* ok: [sut] => { "ansible_facts": { "__podman_group": "0" }, "changed": false } TASK [linux-system-roles.podman : Get group information] *********************** task path: /WORKDIR/git-fix-linger-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:28 Monday 05 February 2024 04:19:20 +0000 (0:00:00.024) 0:01:35.147 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:36 Monday 05 February 2024 04:19:20 +0000 (0:00:00.205) 0:01:35.352 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:41 Monday 05 February 2024 04:19:20 +0000 (0:00:00.023) 0:01:35.375 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707106733.9738462, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 32, "charset": "binary", "checksum": "bb5b46ffbafcaa8c4021f3c8b3cb8594f48ef34b", "ctime": 1707106699.7220488, "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": "4222958639", "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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:52 Monday 05 February 2024 04:19:20 +0000 (0:00:00.203) 0:01:35.579 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:56 Monday 05 February 2024 04:19:20 +0000 (0:00:00.019) 0:01:35.599 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:66 Monday 05 February 2024 04:19:20 +0000 (0:00:00.018) 0:01:35.618 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:74 Monday 05 February 2024 04:19:20 +0000 (0:00:00.018) 0:01:35.636 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:81 Monday 05 February 2024 04:19:20 +0000 (0:00:00.018) 0:01:35.654 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:89 Monday 05 February 2024 04:19:20 +0000 (0:00:00.017) 0:01:35.672 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:62 Monday 05 February 2024 04:19:20 +0000 (0:00:00.018) 0:01:35.690 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:80 Monday 05 February 2024 04:19:20 +0000 (0:00:00.038) 0:01:35.729 ******* included: /WORKDIR/git-fix-linger-handlinglwssa1kt/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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:5 Monday 05 February 2024 04:19:20 +0000 (0:00:00.056) 0:01:35.786 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 Monday 05 February 2024 04:19:20 +0000 (0:00:00.214) 0:01:36.000 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:83 Monday 05 February 2024 04:19:21 +0000 (0:00:00.499) 0:01:36.500 ******* included: /WORKDIR/git-fix-linger-handlinglwssa1kt/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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:5 Monday 05 February 2024 04:19:21 +0000 (0:00:00.036) 0:01:36.536 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 Monday 05 February 2024 04:19:21 +0000 (0:00:00.212) 0:01:36.749 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:86 Monday 05 February 2024 04:19:22 +0000 (0:00:00.504) 0:01:37.254 ******* included: /WORKDIR/git-fix-linger-handlinglwssa1kt/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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:5 Monday 05 February 2024 04:19:22 +0000 (0:00:00.036) 0:01:37.290 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 Monday 05 February 2024 04:19:22 +0000 (0:00:00.210) 0:01:37.501 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:89 Monday 05 February 2024 04:19:22 +0000 (0:00:00.515) 0:01:38.017 ******* included: /WORKDIR/git-fix-linger-handlinglwssa1kt/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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:6 Monday 05 February 2024 04:19:22 +0000 (0:00:00.037) 0:01:38.054 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:15 Monday 05 February 2024 04:19:23 +0000 (0:00:00.213) 0:01:38.267 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707106757.9180071, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6746c079ad563b735fc39f73d4876654b80b0a0d", "ctime": 1707106756.9310417, "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": 1707106756.7290487, "nlink": 1, "path": "/etc/containers/policy.json", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 67, "uid": 0, "version": "1052602978", "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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:20 Monday 05 February 2024 04:19:23 +0000 (0:00:00.214) 0:01:38.482 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:26 Monday 05 February 2024 04:19:23 +0000 (0:00:00.199) 0:01:38.682 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage firewall for specified ports] ************************************* task path: /WORKDIR/git-fix-linger-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:95 Monday 05 February 2024 04:19:23 +0000 (0:00:00.021) 0:01:38.703 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage selinux for specified ports] ************************************** task path: /WORKDIR/git-fix-linger-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:102 Monday 05 February 2024 04:19:23 +0000 (0:00:00.018) 0:01:38.722 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:109 Monday 05 February 2024 04:19:23 +0000 (0:00:00.017) 0:01:38.739 ******* ok: [sut] => { "ansible_facts": { "__podman_cancel_user_linger": [] }, "changed": false } TASK [linux-system-roles.podman : Handle secrets] ****************************** task path: /WORKDIR/git-fix-linger-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:113 Monday 05 February 2024 04:19:23 +0000 (0:00:00.018) 0:01:38.758 ******* 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-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:120 Monday 05 February 2024 04:19:23 +0000 (0:00:00.018) 0:01:38.776 ******* TASK [linux-system-roles.podman : Handle Quadlet specifications] *************** task path: /WORKDIR/git-fix-linger-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:126 Monday 05 February 2024 04:19:23 +0000 (0:00:00.019) 0:01:38.795 ******* TASK [linux-system-roles.podman : Cancel linger] ******************************* task path: /WORKDIR/git-fix-linger-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:132 Monday 05 February 2024 04:19:23 +0000 (0:00:00.016) 0:01:38.811 ******* TASK [Check that files still exist and are non-null] *************************** task path: /WORKDIR/git-fix-linger-handlinglwssa1kt/tests/tests_config_files.yml:128 Monday 05 February 2024 04:19:23 +0000 (0:00:00.017) 0:01:38.828 ******* 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": 1707106757.3230278, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "94370d6e765779f1c58daf02f667b8f0b74d91f6", "ctime": 1707106754.037143, "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": 1707106753.8301504, "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": "707090315", "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": 1707106757.524021, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "dfb9cd7094a81b3d1bb06512cc9b49a09c75639b", "ctime": 1707106754.841115, "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": 1707106754.6371222, "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": "2077860581", "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": 1707106757.722014, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d08574b6a1df63dbe1c939ff0bcc7c0b61d03044", "ctime": 1707106755.697085, "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": 1707106755.493092, "nlink": 1, "path": "/etc/containers/storage.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 109, "uid": 0, "version": "1506964196", "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": 1707106757.9180071, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6746c079ad563b735fc39f73d4876654b80b0a0d", "ctime": 1707106756.9310417, "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": 1707106756.7290487, "nlink": 1, "path": "/etc/containers/policy.json", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 67, "uid": 0, "version": "1052602978", "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-handlinglwssa1kt/tests/tests_config_files.yml:136 Monday 05 February 2024 04:19:24 +0000 (0:00:00.855) 0:01:39.684 ******* included: /WORKDIR/git-fix-linger-handlinglwssa1kt/tests/tasks/check_header.yml for sut included: /WORKDIR/git-fix-linger-handlinglwssa1kt/tests/tasks/check_header.yml for sut included: /WORKDIR/git-fix-linger-handlinglwssa1kt/tests/tasks/check_header.yml for sut included: /WORKDIR/git-fix-linger-handlinglwssa1kt/tests/tasks/check_header.yml for sut included: /WORKDIR/git-fix-linger-handlinglwssa1kt/tests/tasks/check_header.yml for sut included: /WORKDIR/git-fix-linger-handlinglwssa1kt/tests/tasks/check_header.yml for sut TASK [Get file] **************************************************************** task path: /WORKDIR/git-fix-linger-handlinglwssa1kt/tests/tasks/check_header.yml:3 Monday 05 February 2024 04:19:24 +0000 (0:00:00.059) 0:01:39.744 ******* 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-handlinglwssa1kt/tests/tasks/check_header.yml:9 Monday 05 February 2024 04:19:24 +0000 (0:00:00.202) 0:01:39.946 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get file] **************************************************************** task path: /WORKDIR/git-fix-linger-handlinglwssa1kt/tests/tasks/check_header.yml:3 Monday 05 February 2024 04:19:24 +0000 (0:00:00.058) 0:01:40.005 ******* 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-handlinglwssa1kt/tests/tasks/check_header.yml:9 Monday 05 February 2024 04:19:25 +0000 (0:00:00.198) 0:01:40.203 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get file] **************************************************************** task path: /WORKDIR/git-fix-linger-handlinglwssa1kt/tests/tasks/check_header.yml:3 Monday 05 February 2024 04:19:25 +0000 (0:00:00.061) 0:01:40.264 ******* 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-handlinglwssa1kt/tests/tasks/check_header.yml:9 Monday 05 February 2024 04:19:25 +0000 (0:00:00.198) 0:01:40.463 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get file] **************************************************************** task path: /WORKDIR/git-fix-linger-handlinglwssa1kt/tests/tasks/check_header.yml:3 Monday 05 February 2024 04:19:25 +0000 (0:00:00.059) 0:01:40.522 ******* 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-handlinglwssa1kt/tests/tasks/check_header.yml:9 Monday 05 February 2024 04:19:25 +0000 (0:00:00.196) 0:01:40.719 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get file] **************************************************************** task path: /WORKDIR/git-fix-linger-handlinglwssa1kt/tests/tasks/check_header.yml:3 Monday 05 February 2024 04:19:25 +0000 (0:00:00.067) 0:01:40.787 ******* 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-handlinglwssa1kt/tests/tasks/check_header.yml:9 Monday 05 February 2024 04:19:25 +0000 (0:00:00.198) 0:01:40.985 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get file] **************************************************************** task path: /WORKDIR/git-fix-linger-handlinglwssa1kt/tests/tasks/check_header.yml:3 Monday 05 February 2024 04:19:26 +0000 (0:00:00.092) 0:01:41.078 ******* 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-handlinglwssa1kt/tests/tasks/check_header.yml:9 Monday 05 February 2024 04:19:26 +0000 (0:00:00.197) 0:01:41.275 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove test config files] ************************************************ task path: /WORKDIR/git-fix-linger-handlinglwssa1kt/tests/tests_config_files.yml:154 Monday 05 February 2024 04:19:26 +0000 (0:00:00.057) 0:01:41.333 ******* 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-handlinglwssa1kt/tests/tests_config_files.yml:160 Monday 05 February 2024 04:19:27 +0000 (0:00:01.534) 0:01:42.868 ******* ok: [sut] => { "changed": false, "cmd": [ "tar", "xfvpP", "/tmp/lsr_podman_config_6tq4ewqj/backup.tar" ], "delta": "0:00:00.003970", "end": "2024-02-05 04:19:27.987055", "rc": 0, "start": "2024-02-05 04:19:27.983085" } STDOUT: /etc/containers/storage.conf /etc/containers/policy.json TASK [Remove temp directory] *************************************************** task path: /WORKDIR/git-fix-linger-handlinglwssa1kt/tests/tests_config_files.yml:165 Monday 05 February 2024 04:19:28 +0000 (0:00:00.204) 0:01:43.072 ******* changed: [sut] => { "changed": true, "path": "/tmp/lsr_podman_config_6tq4ewqj", "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 Monday 05 February 2024 04:19:28 +0000 (0:00:00.194) 0:01:43.266 ******* =============================================================================== linux-system-roles.podman : Ensure required packages are installed ----- 65.31s /WORKDIR/git-fix-linger-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:14 linux-system-roles.podman : Gather the package facts -------------------- 2.73s /WORKDIR/git-fix-linger-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:6 linux-system-roles.podman : Gather the package facts -------------------- 2.70s /WORKDIR/git-fix-linger-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:6 Remove test config files ------------------------------------------------ 1.53s /WORKDIR/git-fix-linger-handlinglwssa1kt/tests/tests_config_files.yml:154 ----- linux-system-roles.podman : Gather the package facts -------------------- 1.44s /WORKDIR/git-fix-linger-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/main.yml:6 Check that files still exist and are non-null --------------------------- 0.86s /WORKDIR/git-fix-linger-handlinglwssa1kt/tests/tests_config_files.yml:128 ----- Check that files exist and are non-null --------------------------------- 0.82s /WORKDIR/git-fix-linger-handlinglwssa1kt/tests/tests_config_files.yml:83 ------ Check that files exist and are non-null --------------------------------- 0.81s /WORKDIR/git-fix-linger-handlinglwssa1kt/tests/tests_config_files.yml:113 ----- Check that files still exist and are non-null --------------------------- 0.81s /WORKDIR/git-fix-linger-handlinglwssa1kt/tests/tests_config_files.yml:98 ------ linux-system-roles.podman : Update container config file ---------------- 0.63s /WORKDIR/git-fix-linger-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 Gathering Facts --------------------------------------------------------- 0.62s /WORKDIR/git-fix-linger-handlinglwssa1kt/tests/tests_config_files.yml:9 ------- linux-system-roles.podman : Update storage config file ------------------ 0.58s /WORKDIR/git-fix-linger-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 linux-system-roles.podman : Write new policy.json file ------------------ 0.57s /WORKDIR/git-fix-linger-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:26 linux-system-roles.podman : Update container config file ---------------- 0.56s /WORKDIR/git-fix-linger-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 linux-system-roles.podman : Update registries config file --------------- 0.56s /WORKDIR/git-fix-linger-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 linux-system-roles.podman : Update registries config file --------------- 0.56s /WORKDIR/git-fix-linger-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 linux-system-roles.podman : Update storage config file ------------------ 0.56s /WORKDIR/git-fix-linger-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 linux-system-roles.podman : Write new policy.json file ------------------ 0.56s /WORKDIR/git-fix-linger-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:26 linux-system-roles.podman : Update container config file ---------------- 0.53s /WORKDIR/git-fix-linger-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 linux-system-roles.podman : Update storage config file ------------------ 0.52s /WORKDIR/git-fix-linger-handlinglwssa1kt/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.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. ---^---^---^---^---^---