# 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-handle-quadlet-cleanup2p0cngi4/tests/tests_config_files.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Include vault variables] ************************************************* task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/tests_config_files.yml:4 Friday 19 July 2024 20:54:17 +0000 (0:00:00.013) 0:00:00.013 *********** ok: [sut] => { "ansible_facts": { "__podman_test_password": { "__ansible_vault": "$ANSIBLE_VAULT;1.1;AES256\n35383939616163653333633431363463313831383037386236646138333162396161356130303461\n3932623930643263313563336163316337643562333936360a363538636631313039343233383732\n38666530383538656639363465313230343533386130303833336434303438333161656262346562\n3362626538613031640a663330613638366132356534363534353239616666653466353961323533\n6565\n" }, "mysql_container_root_password": { "__ansible_vault": "$ANSIBLE_VAULT;1.1;AES256\n61333932373230333539663035366431326163363166363036323963623131363530326231303634\n6635326161643165363366323062333334363730376631660a393566366139353861656364656661\n38653463363837336639363032646433666361646535366137303464623261313663643336306465\n6264663730656337310a343962353137386238383064646533366433333437303566656433386233\n34343235326665646661623131643335313236313131353661386338343366316261643634653633\n3832313034366536616531323963333234326461353130303532\n" } }, "ansible_included_var_files": [ "/WORKDIR/git-handle-quadlet-cleanup2p0cngi4/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-handle-quadlet-cleanup2p0cngi4/tests/tests_config_files.yml:9 Friday 19 July 2024 20:54:17 +0000 (0:00:00.013) 0:00:00.026 *********** ok: [sut] META: ran handlers TASK [Run the role with no config to get private vars] ************************* task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/tests_config_files.yml:48 Friday 19 July 2024 20:54:17 +0000 (0:00:00.747) 0:00:00.774 *********** TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:3 Friday 19 July 2024 20:54:18 +0000 (0:00:00.125) 0:00:00.900 *********** included: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:3 Friday 19 July 2024 20:54:18 +0000 (0:00:00.018) 0:00:00.919 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check if system is ostree] ******************* task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:12 Friday 19 July 2024 20:54:18 +0000 (0:00:00.029) 0:00:00.948 *********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.podman : Set flag to indicate system is ostree] ******* task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:17 Friday 19 July 2024 20:54:18 +0000 (0:00:00.313) 0:00:01.261 *********** ok: [sut] => { "ansible_facts": { "__podman_is_ostree": false }, "changed": false } TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:21 Friday 19 July 2024 20:54:18 +0000 (0:00:00.052) 0:00:01.314 *********** ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__podman_packages": [ "podman", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-handle-quadlet-cleanup2p0cngi4/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-handle-quadlet-cleanup2p0cngi4/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-handle-quadlet-cleanup2p0cngi4/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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:6 Friday 19 July 2024 20:54:18 +0000 (0:00:00.059) 0:00:01.373 *********** 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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:10 Friday 19 July 2024 20:54:20 +0000 (0:00:01.436) 0:00:02.810 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Ensure required packages are installed] ****** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:14 Friday 19 July 2024 20:54:20 +0000 (0:00:00.031) 0:00:02.841 *********** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: conmon-3:2.1.10-1.module_el8+804+f131391c.x86_64", "Installed: shadow-utils-subid-2:4.6-22.el8.x86_64", "Installed: podman-gvproxy-3:4.9.4-0.1.module_el8+971+3d3df00d.x86_64", "Installed: libnet-1.1.6-15.el8.x86_64", "Installed: runc-1:1.1.12-1.module_el8+885+7da147f3.x86_64", "Installed: container-selinux-2:2.229.0-2.module_el8+847+7863d4e6.noarch", "Installed: dnsmasq-2.79-33.el8.x86_64", "Installed: yajl-2.1.0-12.el8.x86_64", "Installed: podman-plugins-3:4.9.4-0.1.module_el8+971+3d3df00d.x86_64", "Installed: fuse-common-3.3.0-19.el8.x86_64", "Installed: podman-3:4.9.4-0.1.module_el8+971+3d3df00d.x86_64", "Installed: containernetworking-plugins-1:1.4.0-2.module_el8+974+0c52b299.x86_64", "Installed: criu-3.18-4.module_el8+804+f131391c.x86_64", "Installed: libslirp-4.4.0-1.module_el8+804+f131391c.x86_64", "Installed: fuse3-3.3.0-19.el8.x86_64", "Installed: containers-common-2:1-81.module_el8+968+fbb249c7.x86_64", "Installed: fuse-overlayfs-1.13-1.module_el8+804+f131391c.x86_64", "Installed: podman-catatonit-3:4.9.4-0.1.module_el8+971+3d3df00d.x86_64", "Installed: criu-libs-3.18-4.module_el8+804+f131391c.x86_64", "Installed: protobuf-c-1.3.0-8.el8.x86_64", "Installed: slirp4netns-1.2.3-1.module_el8+951+32019cde.x86_64", "Installed: fuse3-libs-3.3.0-19.el8.x86_64", "Installed: crun-1.14.3-2.module_el8+968+fbb249c7.x86_64" ] } TASK [linux-system-roles.podman : Get podman version] ************************** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:23 Friday 19 July 2024 20:55:20 +0000 (0:01:00.442) 0:01:03.283 *********** ok: [sut] => { "changed": false, "cmd": [ "podman", "--version" ], "delta": "0:00:00.041229", "end": "2024-07-19 20:55:20.858372", "rc": 0, "start": "2024-07-19 20:55:20.817143" } STDOUT: podman version 4.9.4-dev TASK [linux-system-roles.podman : Set podman version] ************************** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:29 Friday 19 July 2024 20:55:20 +0000 (0:00:00.391) 0:01:03.675 *********** ok: [sut] => { "ansible_facts": { "podman_version": "4.9.4-dev" }, "changed": false } TASK [linux-system-roles.podman : Podman package version must be 4.2 or later] *** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:33 Friday 19 July 2024 20:55:20 +0000 (0:00:00.030) 0:01:03.705 *********** 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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:40 Friday 19 July 2024 20:55:20 +0000 (0:00:00.037) 0:01:03.742 *********** 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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:57 Friday 19 July 2024 20:55:21 +0000 (0:00:00.077) 0:01:03.820 *********** included: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:2 Friday 19 July 2024 20:55:21 +0000 (0:00:00.046) 0:01:03.867 *********** 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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:10 Friday 19 July 2024 20:55:21 +0000 (0:00:00.244) 0:01:04.112 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set group for podman user] ******************* task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:17 Friday 19 July 2024 20:55:21 +0000 (0:00:00.025) 0:01:04.137 *********** ok: [sut] => { "ansible_facts": { "__podman_group": "0" }, "changed": false } TASK [linux-system-roles.podman : Get group information] *********************** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:29 Friday 19 July 2024 20:55:21 +0000 (0:00:00.033) 0:01:04.170 *********** ok: [sut] => { "ansible_facts": { "getent_group": { "root": [ "x", "0", "" ] } }, "changed": false } TASK [linux-system-roles.podman : Set group name] ****************************** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:37 Friday 19 July 2024 20:55:21 +0000 (0:00:00.190) 0:01:04.361 *********** ok: [sut] => { "ansible_facts": { "__podman_group_name": "root" }, "changed": false } TASK [linux-system-roles.podman : See if getsubids exists] ********************* task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:42 Friday 19 July 2024 20:55:21 +0000 (0:00:00.035) 0:01:04.396 *********** ok: [sut] => { "changed": false, "stat": { "atime": 1700557386.0, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 32, "charset": "binary", "checksum": "bb5b46ffbafcaa8c4021f3c8b3cb8594f48ef34b", "ctime": 1721422488.0524428, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 6884000, "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": "4197451673", "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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:53 Friday 19 July 2024 20:55:21 +0000 (0:00:00.195) 0:01:04.592 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check group with getsubids] ****************** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:58 Friday 19 July 2024 20:55:21 +0000 (0:00:00.021) 0:01:04.613 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set user subuid and subgid info] ************* task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:63 Friday 19 July 2024 20:55:21 +0000 (0:00:00.021) 0:01:04.635 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Get subuid file] ***************************** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:83 Friday 19 July 2024 20:55:21 +0000 (0:00:00.020) 0:01:04.655 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Get subgid file] ***************************** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:88 Friday 19 July 2024 20:55:21 +0000 (0:00:00.020) 0:01:04.676 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set user subuid and subgid info] ************* task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:93 Friday 19 July 2024 20:55:21 +0000 (0:00:00.021) 0:01:04.697 *********** 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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:115 Friday 19 July 2024 20:55:21 +0000 (0:00:00.019) 0:01:04.717 *********** 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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:122 Friday 19 July 2024 20:55:21 +0000 (0:00:00.019) 0:01:04.736 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set config file paths] *********************** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:63 Friday 19 July 2024 20:55:21 +0000 (0:00:00.045) 0:01:04.782 *********** 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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:81 Friday 19 July 2024 20:55:22 +0000 (0:00:00.041) 0:01:04.823 *********** included: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:5 Friday 19 July 2024 20:55:22 +0000 (0:00:00.040) 0:01:04.864 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Update container config file] **************** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 Friday 19 July 2024 20:55:22 +0000 (0:00:00.021) 0:01:04.885 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Handle registries.conf.d] ******************** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:84 Friday 19 July 2024 20:55:22 +0000 (0:00:00.030) 0:01:04.915 *********** included: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:5 Friday 19 July 2024 20:55:22 +0000 (0:00:00.055) 0:01:04.971 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Update registries config file] *************** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 Friday 19 July 2024 20:55:22 +0000 (0:00:00.020) 0:01:04.991 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Handle storage.conf] ************************* task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:87 Friday 19 July 2024 20:55:22 +0000 (0:00:00.020) 0:01:05.012 *********** included: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:5 Friday 19 July 2024 20:55:22 +0000 (0:00:00.041) 0:01:05.053 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Update storage config file] ****************** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 Friday 19 July 2024 20:55:22 +0000 (0:00:00.019) 0:01:05.073 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Handle policy.json] ************************** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:90 Friday 19 July 2024 20:55:22 +0000 (0:00:00.019) 0:01:05.092 *********** included: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:6 Friday 19 July 2024 20:55:22 +0000 (0:00:00.040) 0:01:05.132 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Stat the policy.json file] ******************* task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:15 Friday 19 July 2024 20:55:22 +0000 (0:00:00.020) 0:01:05.152 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Get the existing policy.json] **************** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:20 Friday 19 July 2024 20:55:22 +0000 (0:00:00.023) 0:01:05.176 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Write new policy.json file] ****************** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:26 Friday 19 July 2024 20:55:22 +0000 (0:00:00.022) 0:01:05.198 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage firewall for specified ports] ************************************* task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:96 Friday 19 July 2024 20:55:22 +0000 (0:00:00.058) 0:01:05.257 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage selinux for specified ports] ************************************** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:103 Friday 19 July 2024 20:55:22 +0000 (0:00:00.022) 0:01:05.279 *********** 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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:110 Friday 19 July 2024 20:55:22 +0000 (0:00:00.020) 0:01:05.300 *********** ok: [sut] => { "ansible_facts": { "__podman_cancel_user_linger": [] }, "changed": false } TASK [linux-system-roles.podman : Handle certs.d files - present] ************** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:114 Friday 19 July 2024 20:55:22 +0000 (0:00:00.021) 0:01:05.322 *********** 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 credential files - present] *********** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:123 Friday 19 July 2024 20:55:22 +0000 (0:00:00.032) 0:01:05.354 *********** 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 secrets] ****************************** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:132 Friday 19 July 2024 20:55:22 +0000 (0:00:00.024) 0:01:05.378 *********** 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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:139 Friday 19 July 2024 20:55:22 +0000 (0:00:00.021) 0:01:05.400 *********** 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 Quadlet specifications] *************** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:146 Friday 19 July 2024 20:55:22 +0000 (0:00:00.023) 0:01:05.424 *********** 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 : Cancel linger] ******************************* task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:153 Friday 19 July 2024 20:55:22 +0000 (0:00:00.022) 0:01:05.446 *********** TASK [linux-system-roles.podman : Handle credential files - absent] ************ task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:159 Friday 19 July 2024 20:55:22 +0000 (0:00:00.021) 0:01:05.467 *********** 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 certs.d files - absent] *************** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:168 Friday 19 July 2024 20:55:22 +0000 (0:00:00.032) 0:01:05.500 *********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Create temp directory] *************************************************** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/tests_config_files.yml:59 Friday 19 July 2024 20:55:22 +0000 (0:00:00.023) 0:01:05.524 *********** changed: [sut] => { "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/lsr_podman_config_1fk5l8sp", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [Create backup] *********************************************************** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/tests_config_files.yml:65 Friday 19 July 2024 20:55:23 +0000 (0:00:00.297) 0:01:05.821 *********** ok: [sut] => { "changed": false, "cmd": [ "tar", "--ignore-failed-read", "-c", "-P", "-v", "-p", "-f", "/tmp/lsr_podman_config_1fk5l8sp/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.007452", "end": "2024-07-19 20:55:23.200793", "rc": 0, "start": "2024-07-19 20:55:23.193341" } 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-handle-quadlet-cleanup2p0cngi4/tests/tests_config_files.yml:72 Friday 19 July 2024 20:55:23 +0000 (0:00:00.212) 0:01:06.034 *********** 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-handle-quadlet-cleanup2p0cngi4/tests/tests_config_files.yml:76 Friday 19 July 2024 20:55:23 +0000 (0:00:00.578) 0:01:06.613 *********** TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:3 Friday 19 July 2024 20:55:23 +0000 (0:00:00.083) 0:01:06.697 *********** included: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:3 Friday 19 July 2024 20:55:23 +0000 (0:00:00.036) 0:01:06.734 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check if system is ostree] ******************* task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:12 Friday 19 July 2024 20:55:23 +0000 (0:00:00.025) 0:01:06.759 *********** 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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:17 Friday 19 July 2024 20:55:23 +0000 (0:00:00.020) 0:01:06.779 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:21 Friday 19 July 2024 20:55:24 +0000 (0:00:00.022) 0:01:06.802 *********** ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__podman_packages": [ "podman", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-handle-quadlet-cleanup2p0cngi4/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-handle-quadlet-cleanup2p0cngi4/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-handle-quadlet-cleanup2p0cngi4/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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:6 Friday 19 July 2024 20:55:24 +0000 (0:00:00.053) 0:01:06.855 *********** 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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:10 Friday 19 July 2024 20:55:25 +0000 (0:00:01.264) 0:01:08.119 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Ensure required packages are installed] ****** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:14 Friday 19 July 2024 20:55:25 +0000 (0:00:00.021) 0:01:08.141 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Get podman version] ************************** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:23 Friday 19 July 2024 20:55:25 +0000 (0:00:00.029) 0:01:08.170 *********** ok: [sut] => { "changed": false, "cmd": [ "podman", "--version" ], "delta": "0:00:00.027894", "end": "2024-07-19 20:55:25.571004", "rc": 0, "start": "2024-07-19 20:55:25.543110" } STDOUT: podman version 4.9.4-dev TASK [linux-system-roles.podman : Set podman version] ************************** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:29 Friday 19 July 2024 20:55:25 +0000 (0:00:00.247) 0:01:08.417 *********** ok: [sut] => { "ansible_facts": { "podman_version": "4.9.4-dev" }, "changed": false } TASK [linux-system-roles.podman : Podman package version must be 4.2 or later] *** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:33 Friday 19 July 2024 20:55:25 +0000 (0:00:00.023) 0:01:08.441 *********** 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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:40 Friday 19 July 2024 20:55:25 +0000 (0:00:00.020) 0:01:08.462 *********** 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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:57 Friday 19 July 2024 20:55:25 +0000 (0:00:00.037) 0:01:08.499 *********** included: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:2 Friday 19 July 2024 20:55:25 +0000 (0:00:00.042) 0:01:08.542 *********** 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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:10 Friday 19 July 2024 20:55:25 +0000 (0:00:00.226) 0:01:08.769 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set group for podman user] ******************* task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:17 Friday 19 July 2024 20:55:26 +0000 (0:00:00.025) 0:01:08.794 *********** ok: [sut] => { "ansible_facts": { "__podman_group": "1000" }, "changed": false } TASK [linux-system-roles.podman : Get group information] *********************** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:29 Friday 19 July 2024 20:55:26 +0000 (0:00:00.029) 0:01:08.824 *********** ok: [sut] => { "ansible_facts": { "getent_group": { "user1": [ "x", "1000", "" ] } }, "changed": false } TASK [linux-system-roles.podman : Set group name] ****************************** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:37 Friday 19 July 2024 20:55:26 +0000 (0:00:00.194) 0:01:09.018 *********** ok: [sut] => { "ansible_facts": { "__podman_group_name": "user1" }, "changed": false } TASK [linux-system-roles.podman : See if getsubids exists] ********************* task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:42 Friday 19 July 2024 20:55:26 +0000 (0:00:00.040) 0:01:09.059 *********** ok: [sut] => { "changed": false, "stat": { "atime": 1721422521.7624338, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 32, "charset": "binary", "checksum": "bb5b46ffbafcaa8c4021f3c8b3cb8594f48ef34b", "ctime": 1721422488.0524428, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 6884000, "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": "4197451673", "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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:53 Friday 19 July 2024 20:55:26 +0000 (0:00:00.189) 0:01:09.248 *********** ok: [sut] => { "changed": false, "cmd": [ "getsubids", "user1" ], "delta": "0:00:00.003236", "end": "2024-07-19 20:55:26.621631", "rc": 0, "start": "2024-07-19 20:55:26.618395" } STDOUT: 0: user1 100000 65536 TASK [linux-system-roles.podman : Check group with getsubids] ****************** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:58 Friday 19 July 2024 20:55:26 +0000 (0:00:00.190) 0:01:09.438 *********** ok: [sut] => { "changed": false, "cmd": [ "getsubids", "-g", "user1" ], "delta": "0:00:00.003004", "end": "2024-07-19 20:55:26.812279", "rc": 0, "start": "2024-07-19 20:55:26.809275" } STDOUT: 0: user1 100000 65536 TASK [linux-system-roles.podman : Set user subuid and subgid info] ************* task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:63 Friday 19 July 2024 20:55:26 +0000 (0:00:00.186) 0:01:09.625 *********** ok: [sut] => { "ansible_facts": { "podman_subgid_info": { "user1": { "range": 65536, "start": 100000 } }, "podman_subuid_info": { "user1": { "range": 65536, "start": 100000 } } }, "changed": false } TASK [linux-system-roles.podman : Get subuid file] ***************************** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:83 Friday 19 July 2024 20:55:26 +0000 (0:00:00.064) 0:01:09.689 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Get subgid file] ***************************** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:88 Friday 19 July 2024 20:55:26 +0000 (0:00:00.027) 0:01:09.717 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set user subuid and subgid info] ************* task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:93 Friday 19 July 2024 20:55:26 +0000 (0:00:00.021) 0:01:09.739 *********** 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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:115 Friday 19 July 2024 20:55:26 +0000 (0:00:00.021) 0:01:09.760 *********** 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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:122 Friday 19 July 2024 20:55:26 +0000 (0:00:00.020) 0:01:09.781 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set config file paths] *********************** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:63 Friday 19 July 2024 20:55:27 +0000 (0:00:00.023) 0:01:09.804 *********** 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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:81 Friday 19 July 2024 20:55:27 +0000 (0:00:00.055) 0:01:09.860 *********** included: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:5 Friday 19 July 2024 20:55:27 +0000 (0:00:00.040) 0:01:09.901 *********** 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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 Friday 19 July 2024 20:55:27 +0000 (0:00:00.300) 0:01:10.201 *********** 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-1721422527.4532409-2760-155391330051207/source", "state": "file", "uid": 1000 } TASK [linux-system-roles.podman : Handle registries.conf.d] ******************** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:84 Friday 19 July 2024 20:55:28 +0000 (0:00:00.616) 0:01:10.818 *********** included: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:5 Friday 19 July 2024 20:55:28 +0000 (0:00:00.041) 0:01:10.859 *********** 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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 Friday 19 July 2024 20:55:28 +0000 (0:00:00.204) 0:01:11.064 *********** 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-1721422528.3203554-2775-85315490703205/source", "state": "file", "uid": 1000 } TASK [linux-system-roles.podman : Handle storage.conf] ************************* task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:87 Friday 19 July 2024 20:55:28 +0000 (0:00:00.509) 0:01:11.574 *********** included: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:5 Friday 19 July 2024 20:55:28 +0000 (0:00:00.050) 0:01:11.624 *********** 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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 Friday 19 July 2024 20:55:29 +0000 (0:00:00.199) 0:01:11.824 *********** 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-1721422529.0768006-2803-262787407252850/source", "state": "file", "uid": 1000 } TASK [linux-system-roles.podman : Handle policy.json] ************************** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:90 Friday 19 July 2024 20:55:29 +0000 (0:00:00.509) 0:01:12.333 *********** included: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:6 Friday 19 July 2024 20:55:29 +0000 (0:00:00.043) 0:01:12.376 *********** 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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:15 Friday 19 July 2024 20:55:29 +0000 (0:00:00.195) 0:01:12.572 *********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.podman : Get the existing policy.json] **************** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:20 Friday 19 July 2024 20:55:29 +0000 (0:00:00.180) 0:01:12.752 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Write new policy.json file] ****************** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:26 Friday 19 July 2024 20:55:29 +0000 (0:00:00.022) 0:01:12.775 *********** 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-1721422530.0277002-2826-88258932081861/source", "state": "file", "uid": 1000 } TASK [Manage firewall for specified ports] ************************************* task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:96 Friday 19 July 2024 20:55:30 +0000 (0:00:00.515) 0:01:13.290 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage selinux for specified ports] ************************************** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:103 Friday 19 July 2024 20:55:30 +0000 (0:00:00.021) 0:01:13.311 *********** 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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:110 Friday 19 July 2024 20:55:30 +0000 (0:00:00.022) 0:01:13.334 *********** ok: [sut] => { "ansible_facts": { "__podman_cancel_user_linger": [] }, "changed": false } TASK [linux-system-roles.podman : Handle certs.d files - present] ************** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:114 Friday 19 July 2024 20:55:30 +0000 (0:00:00.019) 0:01:13.353 *********** 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 credential files - present] *********** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:123 Friday 19 July 2024 20:55:30 +0000 (0:00:00.020) 0:01:13.374 *********** 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 secrets] ****************************** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:132 Friday 19 July 2024 20:55:30 +0000 (0:00:00.020) 0:01:13.394 *********** 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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:139 Friday 19 July 2024 20:55:30 +0000 (0:00:00.021) 0:01:13.416 *********** 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 Quadlet specifications] *************** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:146 Friday 19 July 2024 20:55:30 +0000 (0:00:00.032) 0:01:13.449 *********** 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 : Cancel linger] ******************************* task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:153 Friday 19 July 2024 20:55:30 +0000 (0:00:00.028) 0:01:13.477 *********** TASK [linux-system-roles.podman : Handle credential files - absent] ************ task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:159 Friday 19 July 2024 20:55:30 +0000 (0:00:00.021) 0:01:13.498 *********** 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 certs.d files - absent] *************** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:168 Friday 19 July 2024 20:55:30 +0000 (0:00:00.019) 0:01:13.517 *********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Check that files exist and are non-null] ********************************* task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/tests_config_files.yml:83 Friday 19 July 2024 20:55:30 +0000 (0:00:00.020) 0:01:13.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": 1721422527.963432, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "94370d6e765779f1c58daf02f667b8f0b74d91f6", "ctime": 1721422527.970432, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 224395459, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1721422527.6714323, "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": "1191290526", "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": 1721422528.717432, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "dfb9cd7094a81b3d1bb06512cc9b49a09c75639b", "ctime": 1721422528.724432, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 234881218, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1721422528.539432, "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": "1247392320", "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": 1721422529.4854317, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d08574b6a1df63dbe1c939ff0bcc7c0b61d03044", "ctime": 1721422529.4914317, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 243269954, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1721422529.3034317, "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": "2596987178", "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": 1721422530.4114316, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6746c079ad563b735fc39f73d4876654b80b0a0d", "ctime": 1721422530.4174314, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 253755777, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1721422530.2354314, "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": "367001431", "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-handle-quadlet-cleanup2p0cngi4/tests/tests_config_files.yml:91 Friday 19 July 2024 20:55:31 +0000 (0:00:00.716) 0:01:14.254 *********** TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:3 Friday 19 July 2024 20:55:31 +0000 (0:00:00.050) 0:01:14.305 *********** included: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:3 Friday 19 July 2024 20:55:31 +0000 (0:00:00.076) 0:01:14.382 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check if system is ostree] ******************* task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:12 Friday 19 July 2024 20:55:31 +0000 (0:00:00.027) 0:01:14.409 *********** 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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:17 Friday 19 July 2024 20:55:31 +0000 (0:00:00.020) 0:01:14.429 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:21 Friday 19 July 2024 20:55:31 +0000 (0:00:00.020) 0:01:14.450 *********** ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__podman_packages": [ "podman", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-handle-quadlet-cleanup2p0cngi4/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-handle-quadlet-cleanup2p0cngi4/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-handle-quadlet-cleanup2p0cngi4/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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:6 Friday 19 July 2024 20:55:31 +0000 (0:00:00.049) 0:01:14.499 *********** 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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:10 Friday 19 July 2024 20:55:32 +0000 (0:00:01.221) 0:01:15.720 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Ensure required packages are installed] ****** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:14 Friday 19 July 2024 20:55:32 +0000 (0:00:00.021) 0:01:15.742 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Get podman version] ************************** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:23 Friday 19 July 2024 20:55:32 +0000 (0:00:00.027) 0:01:15.769 *********** ok: [sut] => { "changed": false, "cmd": [ "podman", "--version" ], "delta": "0:00:00.025618", "end": "2024-07-19 20:55:33.169760", "rc": 0, "start": "2024-07-19 20:55:33.144142" } STDOUT: podman version 4.9.4-dev TASK [linux-system-roles.podman : Set podman version] ************************** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:29 Friday 19 July 2024 20:55:33 +0000 (0:00:00.214) 0:01:15.984 *********** ok: [sut] => { "ansible_facts": { "podman_version": "4.9.4-dev" }, "changed": false } TASK [linux-system-roles.podman : Podman package version must be 4.2 or later] *** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:33 Friday 19 July 2024 20:55:33 +0000 (0:00:00.021) 0:01:16.006 *********** 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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:40 Friday 19 July 2024 20:55:33 +0000 (0:00:00.049) 0:01:16.055 *********** 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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:57 Friday 19 July 2024 20:55:33 +0000 (0:00:00.038) 0:01:16.094 *********** included: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:2 Friday 19 July 2024 20:55:33 +0000 (0:00:00.046) 0:01:16.140 *********** 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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:10 Friday 19 July 2024 20:55:33 +0000 (0:00:00.037) 0:01:16.178 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set group for podman user] ******************* task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:17 Friday 19 July 2024 20:55:33 +0000 (0:00:00.030) 0:01:16.208 *********** ok: [sut] => { "ansible_facts": { "__podman_group": "1000" }, "changed": false } TASK [linux-system-roles.podman : Get group information] *********************** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:29 Friday 19 July 2024 20:55:33 +0000 (0:00:00.026) 0:01:16.235 *********** ok: [sut] => { "ansible_facts": { "getent_group": { "user1": [ "x", "1000", "" ] } }, "changed": false } TASK [linux-system-roles.podman : Set group name] ****************************** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:37 Friday 19 July 2024 20:55:33 +0000 (0:00:00.183) 0:01:16.418 *********** ok: [sut] => { "ansible_facts": { "__podman_group_name": "user1" }, "changed": false } TASK [linux-system-roles.podman : See if getsubids exists] ********************* task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:42 Friday 19 July 2024 20:55:33 +0000 (0:00:00.026) 0:01:16.444 *********** ok: [sut] => { "changed": false, "stat": { "atime": 1721422521.7624338, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 32, "charset": "binary", "checksum": "bb5b46ffbafcaa8c4021f3c8b3cb8594f48ef34b", "ctime": 1721422488.0524428, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 6884000, "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": "4197451673", "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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:53 Friday 19 July 2024 20:55:33 +0000 (0:00:00.186) 0:01:16.631 *********** ok: [sut] => { "changed": false, "cmd": [ "getsubids", "user1" ], "delta": "0:00:00.003005", "end": "2024-07-19 20:55:34.000981", "rc": 0, "start": "2024-07-19 20:55:33.997976" } STDOUT: 0: user1 100000 65536 TASK [linux-system-roles.podman : Check group with getsubids] ****************** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:58 Friday 19 July 2024 20:55:34 +0000 (0:00:00.183) 0:01:16.814 *********** ok: [sut] => { "changed": false, "cmd": [ "getsubids", "-g", "user1" ], "delta": "0:00:00.003084", "end": "2024-07-19 20:55:34.186078", "rc": 0, "start": "2024-07-19 20:55:34.182994" } STDOUT: 0: user1 100000 65536 TASK [linux-system-roles.podman : Set user subuid and subgid info] ************* task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:63 Friday 19 July 2024 20:55:34 +0000 (0:00:00.187) 0:01:17.001 *********** ok: [sut] => { "ansible_facts": { "podman_subgid_info": { "user1": { "range": 65536, "start": 100000 } }, "podman_subuid_info": { "user1": { "range": 65536, "start": 100000 } } }, "changed": false } TASK [linux-system-roles.podman : Get subuid file] ***************************** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:83 Friday 19 July 2024 20:55:34 +0000 (0:00:00.030) 0:01:17.032 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Get subgid file] ***************************** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:88 Friday 19 July 2024 20:55:34 +0000 (0:00:00.022) 0:01:17.054 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set user subuid and subgid info] ************* task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:93 Friday 19 July 2024 20:55:34 +0000 (0:00:00.019) 0:01:17.074 *********** 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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:115 Friday 19 July 2024 20:55:34 +0000 (0:00:00.047) 0:01:17.122 *********** 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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:122 Friday 19 July 2024 20:55:34 +0000 (0:00:00.021) 0:01:17.143 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set config file paths] *********************** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:63 Friday 19 July 2024 20:55:34 +0000 (0:00:00.030) 0:01:17.173 *********** 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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:81 Friday 19 July 2024 20:55:34 +0000 (0:00:00.045) 0:01:17.219 *********** included: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:5 Friday 19 July 2024 20:55:34 +0000 (0:00:00.040) 0:01:17.259 *********** 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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 Friday 19 July 2024 20:55:34 +0000 (0:00:00.193) 0:01:17.453 *********** 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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:84 Friday 19 July 2024 20:55:35 +0000 (0:00:00.442) 0:01:17.895 *********** included: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:5 Friday 19 July 2024 20:55:35 +0000 (0:00:00.039) 0:01:17.934 *********** 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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 Friday 19 July 2024 20:55:35 +0000 (0:00:00.188) 0:01:18.123 *********** 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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:87 Friday 19 July 2024 20:55:35 +0000 (0:00:00.440) 0:01:18.564 *********** included: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:5 Friday 19 July 2024 20:55:35 +0000 (0:00:00.062) 0:01:18.626 *********** 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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 Friday 19 July 2024 20:55:36 +0000 (0:00:00.194) 0:01:18.820 *********** 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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:90 Friday 19 July 2024 20:55:36 +0000 (0:00:00.455) 0:01:19.276 *********** included: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:6 Friday 19 July 2024 20:55:36 +0000 (0:00:00.041) 0:01:19.318 *********** 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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:15 Friday 19 July 2024 20:55:36 +0000 (0:00:00.194) 0:01:19.513 *********** ok: [sut] => { "changed": false, "stat": { "atime": 1721422531.4284313, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6746c079ad563b735fc39f73d4876654b80b0a0d", "ctime": 1721422530.4174314, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 253755777, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1721422530.2354314, "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": "367001431", "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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:20 Friday 19 July 2024 20:55:36 +0000 (0:00:00.190) 0:01:19.703 *********** 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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:26 Friday 19 July 2024 20:55:37 +0000 (0:00:00.271) 0:01:19.974 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage firewall for specified ports] ************************************* task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:96 Friday 19 July 2024 20:55:37 +0000 (0:00:00.023) 0:01:19.998 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage selinux for specified ports] ************************************** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:103 Friday 19 July 2024 20:55:37 +0000 (0:00:00.020) 0:01:20.019 *********** 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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:110 Friday 19 July 2024 20:55:37 +0000 (0:00:00.022) 0:01:20.042 *********** ok: [sut] => { "ansible_facts": { "__podman_cancel_user_linger": [] }, "changed": false } TASK [linux-system-roles.podman : Handle certs.d files - present] ************** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:114 Friday 19 July 2024 20:55:37 +0000 (0:00:00.019) 0:01:20.061 *********** 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 credential files - present] *********** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:123 Friday 19 July 2024 20:55:37 +0000 (0:00:00.018) 0:01:20.080 *********** 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 secrets] ****************************** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:132 Friday 19 July 2024 20:55:37 +0000 (0:00:00.049) 0:01:20.129 *********** 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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:139 Friday 19 July 2024 20:55:37 +0000 (0:00:00.018) 0:01:20.148 *********** 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 Quadlet specifications] *************** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:146 Friday 19 July 2024 20:55:37 +0000 (0:00:00.019) 0:01:20.168 *********** 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 : Cancel linger] ******************************* task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:153 Friday 19 July 2024 20:55:37 +0000 (0:00:00.019) 0:01:20.188 *********** TASK [linux-system-roles.podman : Handle credential files - absent] ************ task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:159 Friday 19 July 2024 20:55:37 +0000 (0:00:00.020) 0:01:20.208 *********** 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 certs.d files - absent] *************** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:168 Friday 19 July 2024 20:55:37 +0000 (0:00:00.020) 0:01:20.229 *********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Check that files still exist and are non-null] *************************** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/tests_config_files.yml:98 Friday 19 July 2024 20:55:37 +0000 (0:00:00.020) 0:01:20.249 *********** 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": 1721422530.9114313, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "94370d6e765779f1c58daf02f667b8f0b74d91f6", "ctime": 1721422527.970432, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 224395459, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1721422527.6714323, "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": "1191290526", "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": 1721422531.0824313, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "dfb9cd7094a81b3d1bb06512cc9b49a09c75639b", "ctime": 1721422528.724432, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 234881218, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1721422528.539432, "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": "1247392320", "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": 1721422531.2514312, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d08574b6a1df63dbe1c939ff0bcc7c0b61d03044", "ctime": 1721422529.4914317, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 243269954, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1721422529.3034317, "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": "2596987178", "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": 1721422531.4284313, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6746c079ad563b735fc39f73d4876654b80b0a0d", "ctime": 1721422530.4174314, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 253755777, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1721422530.2354314, "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": "367001431", "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-handle-quadlet-cleanup2p0cngi4/tests/tests_config_files.yml:106 Friday 19 July 2024 20:55:38 +0000 (0:00:00.725) 0:01:20.974 *********** TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:3 Friday 19 July 2024 20:55:38 +0000 (0:00:00.061) 0:01:21.035 *********** included: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:3 Friday 19 July 2024 20:55:38 +0000 (0:00:00.036) 0:01:21.072 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check if system is ostree] ******************* task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:12 Friday 19 July 2024 20:55:38 +0000 (0:00:00.024) 0:01:21.097 *********** 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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:17 Friday 19 July 2024 20:55:38 +0000 (0:00:00.020) 0:01:21.117 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:21 Friday 19 July 2024 20:55:38 +0000 (0:00:00.020) 0:01:21.138 *********** ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__podman_packages": [ "podman", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-handle-quadlet-cleanup2p0cngi4/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-handle-quadlet-cleanup2p0cngi4/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-handle-quadlet-cleanup2p0cngi4/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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:6 Friday 19 July 2024 20:55:38 +0000 (0:00:00.161) 0:01:21.299 *********** 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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:10 Friday 19 July 2024 20:55:39 +0000 (0:00:01.234) 0:01:22.534 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Ensure required packages are installed] ****** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:14 Friday 19 July 2024 20:55:39 +0000 (0:00:00.020) 0:01:22.554 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Get podman version] ************************** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:23 Friday 19 July 2024 20:55:39 +0000 (0:00:00.025) 0:01:22.580 *********** ok: [sut] => { "changed": false, "cmd": [ "podman", "--version" ], "delta": "0:00:00.030286", "end": "2024-07-19 20:55:39.977593", "rc": 0, "start": "2024-07-19 20:55:39.947307" } STDOUT: podman version 4.9.4-dev TASK [linux-system-roles.podman : Set podman version] ************************** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:29 Friday 19 July 2024 20:55:40 +0000 (0:00:00.211) 0:01:22.792 *********** ok: [sut] => { "ansible_facts": { "podman_version": "4.9.4-dev" }, "changed": false } TASK [linux-system-roles.podman : Podman package version must be 4.2 or later] *** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:33 Friday 19 July 2024 20:55:40 +0000 (0:00:00.022) 0:01:22.814 *********** 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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:40 Friday 19 July 2024 20:55:40 +0000 (0:00:00.021) 0:01:22.835 *********** 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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:57 Friday 19 July 2024 20:55:40 +0000 (0:00:00.034) 0:01:22.870 *********** included: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:2 Friday 19 July 2024 20:55:40 +0000 (0:00:00.065) 0:01:22.935 *********** 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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:10 Friday 19 July 2024 20:55:40 +0000 (0:00:00.190) 0:01:23.125 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set group for podman user] ******************* task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:17 Friday 19 July 2024 20:55:40 +0000 (0:00:00.026) 0:01:23.152 *********** ok: [sut] => { "ansible_facts": { "__podman_group": "0" }, "changed": false } TASK [linux-system-roles.podman : Get group information] *********************** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:29 Friday 19 July 2024 20:55:40 +0000 (0:00:00.030) 0:01:23.183 *********** ok: [sut] => { "ansible_facts": { "getent_group": { "root": [ "x", "0", "" ] } }, "changed": false } TASK [linux-system-roles.podman : Set group name] ****************************** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:37 Friday 19 July 2024 20:55:40 +0000 (0:00:00.189) 0:01:23.372 *********** ok: [sut] => { "ansible_facts": { "__podman_group_name": "root" }, "changed": false } TASK [linux-system-roles.podman : See if getsubids exists] ********************* task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:42 Friday 19 July 2024 20:55:40 +0000 (0:00:00.026) 0:01:23.398 *********** ok: [sut] => { "changed": false, "stat": { "atime": 1721422521.7624338, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 32, "charset": "binary", "checksum": "bb5b46ffbafcaa8c4021f3c8b3cb8594f48ef34b", "ctime": 1721422488.0524428, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 6884000, "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": "4197451673", "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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:53 Friday 19 July 2024 20:55:40 +0000 (0:00:00.187) 0:01:23.586 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check group with getsubids] ****************** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:58 Friday 19 July 2024 20:55:40 +0000 (0:00:00.021) 0:01:23.607 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set user subuid and subgid info] ************* task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:63 Friday 19 July 2024 20:55:40 +0000 (0:00:00.022) 0:01:23.630 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Get subuid file] ***************************** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:83 Friday 19 July 2024 20:55:40 +0000 (0:00:00.020) 0:01:23.650 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Get subgid file] ***************************** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:88 Friday 19 July 2024 20:55:40 +0000 (0:00:00.020) 0:01:23.671 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set user subuid and subgid info] ************* task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:93 Friday 19 July 2024 20:55:40 +0000 (0:00:00.020) 0:01:23.691 *********** 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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:115 Friday 19 July 2024 20:55:40 +0000 (0:00:00.021) 0:01:23.713 *********** 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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:122 Friday 19 July 2024 20:55:40 +0000 (0:00:00.020) 0:01:23.733 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set config file paths] *********************** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:63 Friday 19 July 2024 20:55:40 +0000 (0:00:00.020) 0:01:23.753 *********** 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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:81 Friday 19 July 2024 20:55:41 +0000 (0:00:00.045) 0:01:23.799 *********** included: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:5 Friday 19 July 2024 20:55:41 +0000 (0:00:00.078) 0:01:23.878 *********** 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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 Friday 19 July 2024 20:55:41 +0000 (0:00:00.199) 0:01:24.078 *********** 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-1721422541.3297946-3269-71873411383563/source", "state": "file", "uid": 0 } TASK [linux-system-roles.podman : Handle registries.conf.d] ******************** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:84 Friday 19 July 2024 20:55:41 +0000 (0:00:00.494) 0:01:24.572 *********** included: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:5 Friday 19 July 2024 20:55:41 +0000 (0:00:00.042) 0:01:24.614 *********** 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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 Friday 19 July 2024 20:55:42 +0000 (0:00:00.190) 0:01:24.805 *********** 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-1721422542.055193-3289-34580390041435/source", "state": "file", "uid": 0 } TASK [linux-system-roles.podman : Handle storage.conf] ************************* task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:87 Friday 19 July 2024 20:55:42 +0000 (0:00:00.511) 0:01:25.317 *********** included: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:5 Friday 19 July 2024 20:55:42 +0000 (0:00:00.043) 0:01:25.360 *********** 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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 Friday 19 July 2024 20:55:42 +0000 (0:00:00.196) 0:01:25.556 *********** 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-1721422542.8076565-3307-82263814570245/source", "state": "file", "uid": 0 } TASK [linux-system-roles.podman : Handle policy.json] ************************** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:90 Friday 19 July 2024 20:55:43 +0000 (0:00:00.508) 0:01:26.064 *********** included: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:6 Friday 19 July 2024 20:55:43 +0000 (0:00:00.039) 0:01:26.103 *********** 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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:15 Friday 19 July 2024 20:55:43 +0000 (0:00:00.192) 0:01:26.296 *********** ok: [sut] => { "changed": false, "stat": { "atime": 1721422523.1994333, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "a71b1d310c167cdc95c2fc11e7835d5636768f14", "ctime": 1721422489.3064425, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 117440897, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1708358882.0, "nlink": 1, "path": "/etc/containers/policy.json", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 663, "uid": 0, "version": "924944232", "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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:20 Friday 19 July 2024 20:55:43 +0000 (0:00:00.187) 0:01:26.484 *********** 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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:26 Friday 19 July 2024 20:55:43 +0000 (0:00:00.181) 0:01:26.665 *********** 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-1721422543.924608-3328-169762795573217/source", "state": "file", "uid": 0 } TASK [Manage firewall for specified ports] ************************************* task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:96 Friday 19 July 2024 20:55:44 +0000 (0:00:00.509) 0:01:27.175 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage selinux for specified ports] ************************************** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:103 Friday 19 July 2024 20:55:44 +0000 (0:00:00.022) 0:01:27.197 *********** 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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:110 Friday 19 July 2024 20:55:44 +0000 (0:00:00.021) 0:01:27.219 *********** ok: [sut] => { "ansible_facts": { "__podman_cancel_user_linger": [] }, "changed": false } TASK [linux-system-roles.podman : Handle certs.d files - present] ************** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:114 Friday 19 July 2024 20:55:44 +0000 (0:00:00.020) 0:01:27.239 *********** 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 credential files - present] *********** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:123 Friday 19 July 2024 20:55:44 +0000 (0:00:00.019) 0:01:27.258 *********** 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 secrets] ****************************** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:132 Friday 19 July 2024 20:55:44 +0000 (0:00:00.019) 0:01:27.277 *********** 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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:139 Friday 19 July 2024 20:55:44 +0000 (0:00:00.020) 0:01:27.298 *********** 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 Quadlet specifications] *************** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:146 Friday 19 July 2024 20:55:44 +0000 (0:00:00.019) 0:01:27.317 *********** 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 : Cancel linger] ******************************* task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:153 Friday 19 July 2024 20:55:44 +0000 (0:00:00.054) 0:01:27.372 *********** TASK [linux-system-roles.podman : Handle credential files - absent] ************ task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:159 Friday 19 July 2024 20:55:44 +0000 (0:00:00.020) 0:01:27.392 *********** 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 certs.d files - absent] *************** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:168 Friday 19 July 2024 20:55:44 +0000 (0:00:00.019) 0:01:27.412 *********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Check that files exist and are non-null] ********************************* task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/tests_config_files.yml:113 Friday 19 July 2024 20:55:44 +0000 (0:00:00.020) 0:01:27.432 *********** 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": 1721422541.7264285, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "94370d6e765779f1c58daf02f667b8f0b74d91f6", "ctime": 1721422541.7294285, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 335544514, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1721422541.5524285, "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": "3594779112", "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": 1721422542.4564283, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "dfb9cd7094a81b3d1bb06512cc9b49a09c75639b", "ctime": 1721422542.4604282, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 343933122, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1721422542.2734282, "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": "2338179804", "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": 1721422543.213428, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d08574b6a1df63dbe1c939ff0bcc7c0b61d03044", "ctime": 1721422543.216428, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 352321730, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1721422543.0404282, "nlink": 1, "path": "/etc/containers/storage.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 109, "uid": 0, "version": "2255443984", "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": 1721422544.3264277, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6746c079ad563b735fc39f73d4876654b80b0a0d", "ctime": 1721422544.3264277, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 364904579, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1721422544.1484277, "nlink": 1, "path": "/etc/containers/policy.json", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 67, "uid": 0, "version": "2025857953", "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-handle-quadlet-cleanup2p0cngi4/tests/tests_config_files.yml:121 Friday 19 July 2024 20:55:45 +0000 (0:00:00.714) 0:01:28.146 *********** TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:3 Friday 19 July 2024 20:55:45 +0000 (0:00:00.076) 0:01:28.223 *********** included: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:3 Friday 19 July 2024 20:55:45 +0000 (0:00:00.039) 0:01:28.263 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check if system is ostree] ******************* task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:12 Friday 19 July 2024 20:55:45 +0000 (0:00:00.032) 0:01:28.295 *********** 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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:17 Friday 19 July 2024 20:55:45 +0000 (0:00:00.042) 0:01:28.338 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:21 Friday 19 July 2024 20:55:45 +0000 (0:00:00.031) 0:01:28.369 *********** ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__podman_packages": [ "podman", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-handle-quadlet-cleanup2p0cngi4/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-handle-quadlet-cleanup2p0cngi4/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-handle-quadlet-cleanup2p0cngi4/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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:6 Friday 19 July 2024 20:55:45 +0000 (0:00:00.069) 0:01:28.439 *********** 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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:10 Friday 19 July 2024 20:55:46 +0000 (0:00:01.287) 0:01:29.726 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Ensure required packages are installed] ****** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:14 Friday 19 July 2024 20:55:46 +0000 (0:00:00.022) 0:01:29.748 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Get podman version] ************************** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:23 Friday 19 July 2024 20:55:46 +0000 (0:00:00.030) 0:01:29.779 *********** ok: [sut] => { "changed": false, "cmd": [ "podman", "--version" ], "delta": "0:00:00.024700", "end": "2024-07-19 20:55:47.171122", "rc": 0, "start": "2024-07-19 20:55:47.146422" } STDOUT: podman version 4.9.4-dev STDERR: time="2024-07-19T20:55:47Z" 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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:29 Friday 19 July 2024 20:55:47 +0000 (0:00:00.206) 0:01:29.985 *********** ok: [sut] => { "ansible_facts": { "podman_version": "4.9.4-dev" }, "changed": false } TASK [linux-system-roles.podman : Podman package version must be 4.2 or later] *** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:33 Friday 19 July 2024 20:55:47 +0000 (0:00:00.022) 0:01:30.008 *********** 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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:40 Friday 19 July 2024 20:55:47 +0000 (0:00:00.023) 0:01:30.031 *********** 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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:57 Friday 19 July 2024 20:55:47 +0000 (0:00:00.039) 0:01:30.071 *********** included: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:2 Friday 19 July 2024 20:55:47 +0000 (0:00:00.068) 0:01:30.140 *********** 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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:10 Friday 19 July 2024 20:55:47 +0000 (0:00:00.029) 0:01:30.170 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set group for podman user] ******************* task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:17 Friday 19 July 2024 20:55:47 +0000 (0:00:00.025) 0:01:30.195 *********** ok: [sut] => { "ansible_facts": { "__podman_group": "0" }, "changed": false } TASK [linux-system-roles.podman : Get group information] *********************** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:29 Friday 19 July 2024 20:55:47 +0000 (0:00:00.066) 0:01:30.262 *********** ok: [sut] => { "ansible_facts": { "getent_group": { "root": [ "x", "0", "" ] } }, "changed": false } TASK [linux-system-roles.podman : Set group name] ****************************** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:37 Friday 19 July 2024 20:55:47 +0000 (0:00:00.189) 0:01:30.452 *********** ok: [sut] => { "ansible_facts": { "__podman_group_name": "root" }, "changed": false } TASK [linux-system-roles.podman : See if getsubids exists] ********************* task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:42 Friday 19 July 2024 20:55:47 +0000 (0:00:00.026) 0:01:30.478 *********** ok: [sut] => { "changed": false, "stat": { "atime": 1721422521.7624338, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 32, "charset": "binary", "checksum": "bb5b46ffbafcaa8c4021f3c8b3cb8594f48ef34b", "ctime": 1721422488.0524428, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 6884000, "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": "4197451673", "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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:53 Friday 19 July 2024 20:55:47 +0000 (0:00:00.188) 0:01:30.667 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check group with getsubids] ****************** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:58 Friday 19 July 2024 20:55:47 +0000 (0:00:00.020) 0:01:30.688 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set user subuid and subgid info] ************* task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:63 Friday 19 July 2024 20:55:47 +0000 (0:00:00.021) 0:01:30.709 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Get subuid file] ***************************** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:83 Friday 19 July 2024 20:55:47 +0000 (0:00:00.020) 0:01:30.730 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Get subgid file] ***************************** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:88 Friday 19 July 2024 20:55:47 +0000 (0:00:00.021) 0:01:30.751 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set user subuid and subgid info] ************* task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:93 Friday 19 July 2024 20:55:47 +0000 (0:00:00.023) 0:01:30.775 *********** 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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:115 Friday 19 July 2024 20:55:48 +0000 (0:00:00.023) 0:01:30.798 *********** 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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:122 Friday 19 July 2024 20:55:48 +0000 (0:00:00.020) 0:01:30.819 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set config file paths] *********************** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:63 Friday 19 July 2024 20:55:48 +0000 (0:00:00.021) 0:01:30.841 *********** 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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:81 Friday 19 July 2024 20:55:48 +0000 (0:00:00.044) 0:01:30.885 *********** included: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:5 Friday 19 July 2024 20:55:48 +0000 (0:00:00.039) 0:01:30.925 *********** 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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 Friday 19 July 2024 20:55:48 +0000 (0:00:00.193) 0:01:31.119 *********** 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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:84 Friday 19 July 2024 20:55:48 +0000 (0:00:00.450) 0:01:31.570 *********** included: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:5 Friday 19 July 2024 20:55:48 +0000 (0:00:00.058) 0:01:31.628 *********** 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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 Friday 19 July 2024 20:55:49 +0000 (0:00:00.194) 0:01:31.823 *********** 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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:87 Friday 19 July 2024 20:55:49 +0000 (0:00:00.445) 0:01:32.269 *********** included: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:5 Friday 19 July 2024 20:55:49 +0000 (0:00:00.041) 0:01:32.311 *********** 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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 Friday 19 July 2024 20:55:49 +0000 (0:00:00.201) 0:01:32.512 *********** 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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:90 Friday 19 July 2024 20:55:50 +0000 (0:00:00.524) 0:01:33.037 *********** included: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:6 Friday 19 July 2024 20:55:50 +0000 (0:00:00.114) 0:01:33.152 *********** 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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:15 Friday 19 July 2024 20:55:50 +0000 (0:00:00.222) 0:01:33.375 *********** ok: [sut] => { "changed": false, "stat": { "atime": 1721422545.3174274, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6746c079ad563b735fc39f73d4876654b80b0a0d", "ctime": 1721422544.3264277, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 364904579, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1721422544.1484277, "nlink": 1, "path": "/etc/containers/policy.json", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 67, "uid": 0, "version": "2025857953", "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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:20 Friday 19 July 2024 20:55:50 +0000 (0:00:00.207) 0:01:33.583 *********** 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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:26 Friday 19 July 2024 20:55:50 +0000 (0:00:00.185) 0:01:33.768 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage firewall for specified ports] ************************************* task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:96 Friday 19 July 2024 20:55:51 +0000 (0:00:00.023) 0:01:33.792 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage selinux for specified ports] ************************************** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:103 Friday 19 July 2024 20:55:51 +0000 (0:00:00.020) 0:01:33.812 *********** 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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:110 Friday 19 July 2024 20:55:51 +0000 (0:00:00.021) 0:01:33.833 *********** ok: [sut] => { "ansible_facts": { "__podman_cancel_user_linger": [] }, "changed": false } TASK [linux-system-roles.podman : Handle certs.d files - present] ************** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:114 Friday 19 July 2024 20:55:51 +0000 (0:00:00.019) 0:01:33.853 *********** 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 credential files - present] *********** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:123 Friday 19 July 2024 20:55:51 +0000 (0:00:00.020) 0:01:33.873 *********** 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 secrets] ****************************** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:132 Friday 19 July 2024 20:55:51 +0000 (0:00:00.020) 0:01:33.893 *********** 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-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:139 Friday 19 July 2024 20:55:51 +0000 (0:00:00.022) 0:01:33.916 *********** 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 Quadlet specifications] *************** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:146 Friday 19 July 2024 20:55:51 +0000 (0:00:00.023) 0:01:33.940 *********** 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 : Cancel linger] ******************************* task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:153 Friday 19 July 2024 20:55:51 +0000 (0:00:00.023) 0:01:33.963 *********** TASK [linux-system-roles.podman : Handle credential files - absent] ************ task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:159 Friday 19 July 2024 20:55:51 +0000 (0:00:00.019) 0:01:33.983 *********** 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 certs.d files - absent] *************** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:168 Friday 19 July 2024 20:55:51 +0000 (0:00:00.019) 0:01:34.003 *********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Check that files still exist and are non-null] *************************** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/tests_config_files.yml:128 Friday 19 July 2024 20:55:51 +0000 (0:00:00.019) 0:01:34.022 *********** 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": 1721422544.8024275, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "94370d6e765779f1c58daf02f667b8f0b74d91f6", "ctime": 1721422541.7294285, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 335544514, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1721422541.5524285, "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": "3594779112", "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": 1721422544.9704275, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "dfb9cd7094a81b3d1bb06512cc9b49a09c75639b", "ctime": 1721422542.4604282, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 343933122, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1721422542.2734282, "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": "2338179804", "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": 1721422545.1414275, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d08574b6a1df63dbe1c939ff0bcc7c0b61d03044", "ctime": 1721422543.216428, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 352321730, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1721422543.0404282, "nlink": 1, "path": "/etc/containers/storage.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 109, "uid": 0, "version": "2255443984", "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": 1721422545.3174274, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6746c079ad563b735fc39f73d4876654b80b0a0d", "ctime": 1721422544.3264277, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 364904579, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1721422544.1484277, "nlink": 1, "path": "/etc/containers/policy.json", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 67, "uid": 0, "version": "2025857953", "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-handle-quadlet-cleanup2p0cngi4/tests/tests_config_files.yml:136 Friday 19 July 2024 20:55:51 +0000 (0:00:00.735) 0:01:34.758 *********** included: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/tasks/check_header.yml for sut included: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/tasks/check_header.yml for sut included: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/tasks/check_header.yml for sut included: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/tasks/check_header.yml for sut included: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/tasks/check_header.yml for sut included: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/tasks/check_header.yml for sut TASK [Get file] **************************************************************** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/tasks/check_header.yml:3 Friday 19 July 2024 20:55:52 +0000 (0:00:00.119) 0:01:34.878 *********** 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-handle-quadlet-cleanup2p0cngi4/tests/tasks/check_header.yml:9 Friday 19 July 2024 20:55:52 +0000 (0:00:00.184) 0:01:35.062 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get file] **************************************************************** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/tasks/check_header.yml:3 Friday 19 July 2024 20:55:52 +0000 (0:00:00.059) 0:01:35.122 *********** 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-handle-quadlet-cleanup2p0cngi4/tests/tasks/check_header.yml:9 Friday 19 July 2024 20:55:52 +0000 (0:00:00.177) 0:01:35.299 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get file] **************************************************************** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/tasks/check_header.yml:3 Friday 19 July 2024 20:55:52 +0000 (0:00:00.059) 0:01:35.359 *********** 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-handle-quadlet-cleanup2p0cngi4/tests/tasks/check_header.yml:9 Friday 19 July 2024 20:55:52 +0000 (0:00:00.180) 0:01:35.540 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get file] **************************************************************** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/tasks/check_header.yml:3 Friday 19 July 2024 20:55:52 +0000 (0:00:00.063) 0:01:35.603 *********** 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-handle-quadlet-cleanup2p0cngi4/tests/tasks/check_header.yml:9 Friday 19 July 2024 20:55:53 +0000 (0:00:00.186) 0:01:35.790 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get file] **************************************************************** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/tasks/check_header.yml:3 Friday 19 July 2024 20:55:53 +0000 (0:00:00.062) 0:01:35.853 *********** 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-handle-quadlet-cleanup2p0cngi4/tests/tasks/check_header.yml:9 Friday 19 July 2024 20:55:53 +0000 (0:00:00.181) 0:01:36.035 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get file] **************************************************************** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/tasks/check_header.yml:3 Friday 19 July 2024 20:55:53 +0000 (0:00:00.084) 0:01:36.119 *********** 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-handle-quadlet-cleanup2p0cngi4/tests/tasks/check_header.yml:9 Friday 19 July 2024 20:55:53 +0000 (0:00:00.182) 0:01:36.301 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove test config files] ************************************************ task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/tests_config_files.yml:157 Friday 19 July 2024 20:55:53 +0000 (0:00:00.106) 0:01:36.408 *********** 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-handle-quadlet-cleanup2p0cngi4/tests/tests_config_files.yml:163 Friday 19 July 2024 20:55:55 +0000 (0:00:01.413) 0:01:37.822 *********** ok: [sut] => { "changed": false, "cmd": [ "tar", "xfvpP", "/tmp/lsr_podman_config_1fk5l8sp/backup.tar" ], "delta": "0:00:00.003516", "end": "2024-07-19 20:55:55.195265", "rc": 0, "start": "2024-07-19 20:55:55.191749" } STDOUT: /etc/containers/storage.conf /etc/containers/policy.json TASK [Remove temp directory] *************************************************** task path: /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/tests_config_files.yml:168 Friday 19 July 2024 20:55:55 +0000 (0:00:00.189) 0:01:38.011 *********** changed: [sut] => { "changed": true, "path": "/tmp/lsr_podman_config_1fk5l8sp", "state": "absent" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=159 changed=16 unreachable=0 failed=0 skipped=136 rescued=0 ignored=0 Friday 19 July 2024 20:55:55 +0000 (0:00:00.174) 0:01:38.186 *********** =============================================================================== linux-system-roles.podman : Ensure required packages are installed ----- 60.44s /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:14 linux-system-roles.podman : Gather the package facts -------------------- 2.52s /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:6 linux-system-roles.podman : Gather the package facts -------------------- 2.49s /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:6 linux-system-roles.podman : Gather the package facts -------------------- 1.44s /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/main.yml:6 Remove test config files ------------------------------------------------ 1.41s /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/tests_config_files.yml:157 -- Gathering Facts --------------------------------------------------------- 0.75s /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/tests_config_files.yml:9 ---- Check that files still exist and are non-null --------------------------- 0.74s /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/tests_config_files.yml:128 -- Check that files still exist and are non-null --------------------------- 0.73s /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/tests_config_files.yml:98 --- Check that files exist and are non-null --------------------------------- 0.72s /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/tests_config_files.yml:83 --- Check that files exist and are non-null --------------------------------- 0.71s /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/tests_config_files.yml:113 -- linux-system-roles.podman : Update container config file ---------------- 0.62s /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 Create user ------------------------------------------------------------- 0.58s /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/tests_config_files.yml:72 --- linux-system-roles.podman : Update storage config file ------------------ 0.52s /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 linux-system-roles.podman : Write new policy.json file ------------------ 0.52s /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:26 linux-system-roles.podman : Update registries config file --------------- 0.51s /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 linux-system-roles.podman : Update registries config file --------------- 0.51s /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 linux-system-roles.podman : Write new policy.json file ------------------ 0.51s /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:26 linux-system-roles.podman : Update storage config file ------------------ 0.51s /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 linux-system-roles.podman : Update storage config file ------------------ 0.51s /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 linux-system-roles.podman : Update container config file ---------------- 0.49s /WORKDIR/git-handle-quadlet-cleanup2p0cngi4/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the unarchive module rather than running 'tar'. If you need to use command because unarchive is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---