# STDOUT: ---v---v---v---v---v--- ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.9/lib/python3.9/site-packages/ansible executable location = /opt/ansible-2.9/bin/ansible-playbook python version = 3.9.18 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] Using /etc/ansible/ansible.cfg as config file Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_config_files.yml *********************************************** 2 plays in /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/tests_config_files.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Include vault variables] ************************************************* task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/tests_config_files.yml:4 Wednesday 10 April 2024 14:23:41 +0000 (0:00:00.012) 0:00:00.012 ******* ok: [sut] => { "ansible_facts": { "mysql_container_root_password": { "__ansible_vault": "$ANSIBLE_VAULT;1.1;AES256\n61333932373230333539663035366431326163363166363036323963623131363530326231303634\n6635326161643165363366323062333334363730376631660a393566366139353861656364656661\n38653463363837336639363032646433666361646535366137303464623261313663643336306465\n6264663730656337310a343962353137386238383064646533366433333437303566656433386233\n34343235326665646661623131643335313236313131353661386338343366316261643634653633\n3832313034366536616531323963333234326461353130303532\n" } }, "ansible_included_var_files": [ "/WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/vars/vault-variables.yml" ], "changed": false } META: ran handlers META: ran handlers PLAY [Ensure that the role can manage its config files] ************************ TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/tests_config_files.yml:9 Wednesday 10 April 2024 14:23:41 +0000 (0:00:00.023) 0:00:00.036 ******* ok: [sut] META: ran handlers TASK [Run the role with no config to get private vars] ************************* task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/tests_config_files.yml:48 Wednesday 10 April 2024 14:23:47 +0000 (0:00:05.840) 0:00:05.877 ******* TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:3 Wednesday 10 April 2024 14:23:47 +0000 (0:00:00.071) 0:00:05.948 ******* included: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/set_vars.yml for sut TASK [linux-system-roles.podman : Ensure ansible_facts used by role] *********** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:3 Wednesday 10 April 2024 14:23:47 +0000 (0:00:00.019) 0:00:05.968 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check if system is ostree] ******************* task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:12 Wednesday 10 April 2024 14:23:47 +0000 (0:00:00.022) 0:00:05.990 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.podman : Set flag to indicate system is ostree] ******* task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:17 Wednesday 10 April 2024 14:23:47 +0000 (0:00:00.279) 0:00:06.269 ******* ok: [sut] => { "ansible_facts": { "__podman_is_ostree": false }, "changed": false } TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:21 Wednesday 10 April 2024 14:23:47 +0000 (0:00:00.022) 0:00:06.291 ******* ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__podman_packages": [ "podman", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=CentOS_8.yml) => { "ansible_facts": { "__podman_packages": [ "crun", "podman", "podman-plugins", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [sut] => (item=CentOS_8.yml) => { "ansible_facts": { "__podman_packages": [ "crun", "podman", "podman-plugins", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [linux-system-roles.podman : Gather the package facts] ******************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:6 Wednesday 10 April 2024 14:23:47 +0000 (0:00:00.043) 0:00:06.335 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.podman : Enable copr if requested] ******************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:10 Wednesday 10 April 2024 14:23:49 +0000 (0:00:01.623) 0:00:07.958 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Ensure required packages are installed] ****** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:14 Wednesday 10 April 2024 14:23:49 +0000 (0:00:00.057) 0:00:08.015 ******* changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: protobuf-c-1.3.0-8.el8.x86_64", "Installed: shadow-utils-subid-2:4.6-22.el8.x86_64", "Installed: libslirp-4.4.0-1.module_el8+804+f131391c.x86_64", "Installed: fuse3-libs-3.3.0-19.el8.x86_64", "Installed: slirp4netns-1.2.3-1.module_el8+951+32019cde.x86_64", "Installed: container-selinux-2:2.229.0-2.module_el8+847+7863d4e6.noarch", "Installed: dnsmasq-2.79-33.el8.x86_64", "Installed: podman-gvproxy-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: runc-1:1.1.12-1.module_el8+885+7da147f3.x86_64", "Installed: fuse-overlayfs-1.13-1.module_el8+804+f131391c.x86_64", "Installed: containers-common-2:1-81.module_el8+968+fbb249c7.x86_64", "Installed: podman-plugins-3:4.9.4-0.1.module_el8+971+3d3df00d.x86_64", "Installed: yajl-2.1.0-12.el8.x86_64", "Installed: podman-3:4.9.4-0.1.module_el8+971+3d3df00d.x86_64", "Installed: fuse-common-3.3.0-19.el8.x86_64", "Installed: libnet-1.1.6-15.el8.x86_64", "Installed: criu-libs-3.18-4.module_el8+804+f131391c.x86_64", "Installed: crun-1.14.3-2.module_el8+968+fbb249c7.x86_64", "Installed: fuse3-3.3.0-19.el8.x86_64", "Installed: podman-catatonit-3:4.9.4-0.1.module_el8+971+3d3df00d.x86_64", "Installed: conmon-3:2.1.10-1.module_el8+804+f131391c.x86_64" ] } TASK [linux-system-roles.podman : Get podman version] ************************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:23 Wednesday 10 April 2024 14:25:04 +0000 (0:01:15.508) 0:01:23.524 ******* ok: [sut] => { "changed": false, "cmd": [ "podman", "--version" ], "delta": "0:00:00.045641", "end": "2024-04-10 14:25:05.117350", "rc": 0, "start": "2024-04-10 14:25:05.071709" } STDOUT: podman version 4.9.4-dev TASK [linux-system-roles.podman : Set podman version] ************************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:29 Wednesday 10 April 2024 14:25:05 +0000 (0:00:00.465) 0:01:23.989 ******* ok: [sut] => { "ansible_facts": { "podman_version": "4.9.4-dev" }, "changed": false } TASK [linux-system-roles.podman : Podman package version must be 4.2 or later] *** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:33 Wednesday 10 April 2024 14:25:05 +0000 (0:00:00.031) 0:01:24.021 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Podman package version must be 4.4 or later for quadlet, secrets] *** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:40 Wednesday 10 April 2024 14:25:05 +0000 (0:00:00.038) 0:01:24.059 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: end_host conditional evaluated to false, continuing execution for sut TASK [linux-system-roles.podman : Check user and group information] ************ task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:57 Wednesday 10 April 2024 14:25:05 +0000 (0:00:00.077) 0:01:24.137 ******* included: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml for sut TASK [linux-system-roles.podman : Get user information] ************************ task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:2 Wednesday 10 April 2024 14:25:05 +0000 (0:00:00.037) 0:01:24.175 ******* ok: [sut] => { "ansible_facts": { "getent_passwd": { "root": [ "x", "0", "0", "root", "/root", "/bin/bash" ] } }, "changed": false } TASK [linux-system-roles.podman : Fail if user does not exist] ***************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:10 Wednesday 10 April 2024 14:25:05 +0000 (0:00:00.352) 0:01:24.527 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set group for podman user] ******************* task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:17 Wednesday 10 April 2024 14:25:05 +0000 (0:00:00.024) 0:01:24.551 ******* ok: [sut] => { "ansible_facts": { "__podman_group": "0" }, "changed": false } TASK [linux-system-roles.podman : Get group information] *********************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:28 Wednesday 10 April 2024 14:25:05 +0000 (0:00:00.027) 0:01:24.578 ******* ok: [sut] => { "ansible_facts": { "getent_group": { "root": [ "x", "0", "" ] } }, "changed": false } TASK [linux-system-roles.podman : Set group name] ****************************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:36 Wednesday 10 April 2024 14:25:05 +0000 (0:00:00.227) 0:01:24.806 ******* ok: [sut] => { "ansible_facts": { "__podman_group_name": "root" }, "changed": false } TASK [linux-system-roles.podman : See if getsubids exists] ********************* task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:41 Wednesday 10 April 2024 14:25:05 +0000 (0:00:00.025) 0:01:24.832 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1700557386.0, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 32, "charset": "binary", "checksum": "bb5b46ffbafcaa8c4021f3c8b3cb8594f48ef34b", "ctime": 1712759070.7054753, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 6887897, "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": "75710751", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [linux-system-roles.podman : Check user with getsubids] ******************* task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:52 Wednesday 10 April 2024 14:25:06 +0000 (0:00:00.242) 0:01:25.074 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check group with getsubids] ****************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:56 Wednesday 10 April 2024 14:25:06 +0000 (0:00:00.019) 0:01:25.094 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check if user is in subuid file] ************* task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:66 Wednesday 10 April 2024 14:25:06 +0000 (0:00:00.020) 0:01:25.115 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Fail if user not in subuid file] ************* task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:74 Wednesday 10 April 2024 14:25:06 +0000 (0:00:00.021) 0:01:25.137 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check if group is in subgid file] ************ task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:81 Wednesday 10 April 2024 14:25:06 +0000 (0:00:00.023) 0:01:25.160 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Fail if group not in subgid file] ************ task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:89 Wednesday 10 April 2024 14:25:06 +0000 (0:00:00.023) 0:01:25.184 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set config file paths] *********************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:63 Wednesday 10 April 2024 14:25:06 +0000 (0:00:00.021) 0:01:25.205 ******* ok: [sut] => { "ansible_facts": { "__podman_container_conf_file": "/etc/containers/containers.conf.d/50-systemroles.conf", "__podman_policy_json_file": "/etc/containers/policy.json", "__podman_registries_conf_file": "/etc/containers/registries.conf.d/50-systemroles.conf", "__podman_storage_conf_file": "/etc/containers/storage.conf" }, "changed": false } TASK [linux-system-roles.podman : Handle container.conf.d] ********************* task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:81 Wednesday 10 April 2024 14:25:06 +0000 (0:00:00.070) 0:01:25.276 ******* included: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml for sut TASK [linux-system-roles.podman : Ensure containers.d exists] ****************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:5 Wednesday 10 April 2024 14:25:06 +0000 (0:00:00.038) 0:01:25.315 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Update container config file] **************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 Wednesday 10 April 2024 14:25:06 +0000 (0:00:00.021) 0:01:25.336 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Handle registries.conf.d] ******************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:84 Wednesday 10 April 2024 14:25:06 +0000 (0:00:00.021) 0:01:25.358 ******* included: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml for sut TASK [linux-system-roles.podman : Ensure registries.d exists] ****************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:5 Wednesday 10 April 2024 14:25:06 +0000 (0:00:00.039) 0:01:25.397 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Update registries config file] *************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 Wednesday 10 April 2024 14:25:06 +0000 (0:00:00.023) 0:01:25.421 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Handle storage.conf] ************************* task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:87 Wednesday 10 April 2024 14:25:06 +0000 (0:00:00.022) 0:01:25.444 ******* included: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml for sut TASK [linux-system-roles.podman : Ensure storage.conf parent dir exists] ******* task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:5 Wednesday 10 April 2024 14:25:06 +0000 (0:00:00.066) 0:01:25.510 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Update storage config file] ****************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 Wednesday 10 April 2024 14:25:06 +0000 (0:00:00.030) 0:01:25.540 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Handle policy.json] ************************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:90 Wednesday 10 April 2024 14:25:06 +0000 (0:00:00.023) 0:01:25.564 ******* included: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml for sut TASK [linux-system-roles.podman : Ensure policy.json parent dir exists] ******** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:6 Wednesday 10 April 2024 14:25:06 +0000 (0:00:00.058) 0:01:25.622 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Stat the policy.json file] ******************* task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:15 Wednesday 10 April 2024 14:25:06 +0000 (0:00:00.026) 0:01:25.648 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Get the existing policy.json] **************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:20 Wednesday 10 April 2024 14:25:06 +0000 (0:00:00.023) 0:01:25.672 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Write new policy.json file] ****************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:26 Wednesday 10 April 2024 14:25:06 +0000 (0:00:00.025) 0:01:25.697 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage firewall for specified ports] ************************************* task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:96 Wednesday 10 April 2024 14:25:06 +0000 (0:00:00.033) 0:01:25.731 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage selinux for specified ports] ************************************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:103 Wednesday 10 April 2024 14:25:06 +0000 (0:00:00.021) 0:01:25.753 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Keep track of users that need to cancel linger] *** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:110 Wednesday 10 April 2024 14:25:06 +0000 (0:00:00.050) 0:01:25.803 ******* ok: [sut] => { "ansible_facts": { "__podman_cancel_user_linger": [] }, "changed": false } TASK [linux-system-roles.podman : Handle secrets] ****************************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:114 Wednesday 10 April 2024 14:25:06 +0000 (0:00:00.020) 0:01:25.824 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.podman : Handle Kubernetes specifications] ************ task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:121 Wednesday 10 April 2024 14:25:07 +0000 (0:00:00.020) 0:01:25.844 ******* TASK [linux-system-roles.podman : Handle Quadlet specifications] *************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:127 Wednesday 10 April 2024 14:25:07 +0000 (0:00:00.019) 0:01:25.864 ******* TASK [linux-system-roles.podman : Cancel linger] ******************************* task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:133 Wednesday 10 April 2024 14:25:07 +0000 (0:00:00.018) 0:01:25.883 ******* TASK [Create temp directory] *************************************************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/tests_config_files.yml:59 Wednesday 10 April 2024 14:25:07 +0000 (0:00:00.019) 0:01:25.902 ******* changed: [sut] => { "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/lsr_podman_config_5m89lwe8", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [Create backup] *********************************************************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/tests_config_files.yml:65 Wednesday 10 April 2024 14:25:07 +0000 (0:00:00.276) 0:01:26.179 ******* ok: [sut] => { "changed": false, "cmd": [ "tar", "--ignore-failed-read", "-c", "-P", "-v", "-p", "-f", "/tmp/lsr_podman_config_5m89lwe8/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.051184", "end": "2024-04-10 14:25:07.591411", "rc": 0, "start": "2024-04-10 14:25:07.540227" } STDOUT: /etc/containers/storage.conf /etc/containers/policy.json STDERR: tar: /etc/containers/containers.conf.d/50-systemroles.conf: Warning: Cannot stat: No such file or directory tar: /etc/containers/registries.conf.d/50-systemroles.conf: Warning: Cannot stat: No such file or directory TASK [Create user] ************************************************************* task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/tests_config_files.yml:72 Wednesday 10 April 2024 14:25:07 +0000 (0:00:00.278) 0:01:26.458 ******* changed: [sut] => { "changed": true, "comment": "", "create_home": true, "group": 1000, "home": "/home/user1", "name": "user1", "shell": "/bin/bash", "state": "present", "system": false, "uid": 1000 } TASK [Run the role with user config] ******************************************* task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/tests_config_files.yml:76 Wednesday 10 April 2024 14:25:08 +0000 (0:00:00.482) 0:01:26.940 ******* TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:3 Wednesday 10 April 2024 14:25:08 +0000 (0:00:00.046) 0:01:26.987 ******* included: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/set_vars.yml for sut TASK [linux-system-roles.podman : Ensure ansible_facts used by role] *********** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:3 Wednesday 10 April 2024 14:25:08 +0000 (0:00:00.035) 0:01:27.022 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check if system is ostree] ******************* task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:12 Wednesday 10 April 2024 14:25:08 +0000 (0:00:00.024) 0:01:27.047 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set flag to indicate system is ostree] ******* task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:17 Wednesday 10 April 2024 14:25:08 +0000 (0:00:00.063) 0:01:27.110 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:21 Wednesday 10 April 2024 14:25:08 +0000 (0:00:00.027) 0:01:27.137 ******* ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__podman_packages": [ "podman", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=CentOS_8.yml) => { "ansible_facts": { "__podman_packages": [ "crun", "podman", "podman-plugins", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [sut] => (item=CentOS_8.yml) => { "ansible_facts": { "__podman_packages": [ "crun", "podman", "podman-plugins", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [linux-system-roles.podman : Gather the package facts] ******************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:6 Wednesday 10 April 2024 14:25:08 +0000 (0:00:00.051) 0:01:27.189 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.podman : Enable copr if requested] ******************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:10 Wednesday 10 April 2024 14:25:09 +0000 (0:00:01.467) 0:01:28.657 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Ensure required packages are installed] ****** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:14 Wednesday 10 April 2024 14:25:09 +0000 (0:00:00.024) 0:01:28.681 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Get podman version] ************************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:23 Wednesday 10 April 2024 14:25:09 +0000 (0:00:00.046) 0:01:28.728 ******* ok: [sut] => { "changed": false, "cmd": [ "podman", "--version" ], "delta": "0:00:00.036074", "end": "2024-04-10 14:25:10.119497", "rc": 0, "start": "2024-04-10 14:25:10.083423" } STDOUT: podman version 4.9.4-dev TASK [linux-system-roles.podman : Set podman version] ************************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:29 Wednesday 10 April 2024 14:25:10 +0000 (0:00:00.261) 0:01:28.989 ******* ok: [sut] => { "ansible_facts": { "podman_version": "4.9.4-dev" }, "changed": false } TASK [linux-system-roles.podman : Podman package version must be 4.2 or later] *** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:33 Wednesday 10 April 2024 14:25:10 +0000 (0:00:00.025) 0:01:29.015 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Podman package version must be 4.4 or later for quadlet, secrets] *** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:40 Wednesday 10 April 2024 14:25:10 +0000 (0:00:00.030) 0:01:29.045 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: end_host conditional evaluated to false, continuing execution for sut TASK [linux-system-roles.podman : Check user and group information] ************ task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:57 Wednesday 10 April 2024 14:25:10 +0000 (0:00:00.069) 0:01:29.115 ******* included: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml for sut TASK [linux-system-roles.podman : Get user information] ************************ task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:2 Wednesday 10 April 2024 14:25:10 +0000 (0:00:00.045) 0:01:29.160 ******* ok: [sut] => { "ansible_facts": { "getent_passwd": { "user1": [ "x", "1000", "1000", "", "/home/user1", "/bin/bash" ] } }, "changed": false } TASK [linux-system-roles.podman : Fail if user does not exist] ***************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:10 Wednesday 10 April 2024 14:25:10 +0000 (0:00:00.240) 0:01:29.400 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set group for podman user] ******************* task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:17 Wednesday 10 April 2024 14:25:10 +0000 (0:00:00.028) 0:01:29.429 ******* ok: [sut] => { "ansible_facts": { "__podman_group": "1000" }, "changed": false } TASK [linux-system-roles.podman : Get group information] *********************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:28 Wednesday 10 April 2024 14:25:10 +0000 (0:00:00.030) 0:01:29.459 ******* ok: [sut] => { "ansible_facts": { "getent_group": { "user1": [ "x", "1000", "" ] } }, "changed": false } TASK [linux-system-roles.podman : Set group name] ****************************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:36 Wednesday 10 April 2024 14:25:10 +0000 (0:00:00.229) 0:01:29.688 ******* ok: [sut] => { "ansible_facts": { "__podman_group_name": "user1" }, "changed": false } TASK [linux-system-roles.podman : See if getsubids exists] ********************* task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:41 Wednesday 10 April 2024 14:25:10 +0000 (0:00:00.026) 0:01:29.715 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1712759106.1895711, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 32, "charset": "binary", "checksum": "bb5b46ffbafcaa8c4021f3c8b3cb8594f48ef34b", "ctime": 1712759070.7054753, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 6887897, "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": "75710751", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [linux-system-roles.podman : Check user with getsubids] ******************* task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:52 Wednesday 10 April 2024 14:25:11 +0000 (0:00:00.228) 0:01:29.944 ******* ok: [sut] => { "changed": false, "cmd": [ "getsubids", "user1" ], "delta": "0:00:00.004254", "end": "2024-04-10 14:25:11.307142", "rc": 0, "start": "2024-04-10 14:25:11.302888" } STDOUT: 0: user1 100000 65536 TASK [linux-system-roles.podman : Check group with getsubids] ****************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:56 Wednesday 10 April 2024 14:25:11 +0000 (0:00:00.229) 0:01:30.174 ******* ok: [sut] => { "changed": false, "cmd": [ "getsubids", "-g", "user1" ], "delta": "0:00:00.004531", "end": "2024-04-10 14:25:11.539775", "rc": 0, "start": "2024-04-10 14:25:11.535244" } STDOUT: 0: user1 100000 65536 TASK [linux-system-roles.podman : Check if user is in subuid file] ************* task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:66 Wednesday 10 April 2024 14:25:11 +0000 (0:00:00.233) 0:01:30.408 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Fail if user not in subuid file] ************* task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:74 Wednesday 10 April 2024 14:25:11 +0000 (0:00:00.023) 0:01:30.431 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check if group is in subgid file] ************ task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:81 Wednesday 10 April 2024 14:25:11 +0000 (0:00:00.020) 0:01:30.452 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Fail if group not in subgid file] ************ task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:89 Wednesday 10 April 2024 14:25:11 +0000 (0:00:00.053) 0:01:30.505 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set config file paths] *********************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:63 Wednesday 10 April 2024 14:25:11 +0000 (0:00:00.024) 0:01:30.530 ******* ok: [sut] => { "ansible_facts": { "__podman_container_conf_file": "/home/user1/.config/containers/containers.conf.d/50-systemroles.conf", "__podman_policy_json_file": "/home/user1/.config/containers/policy.json", "__podman_registries_conf_file": "/home/user1/.config/containers/registries.conf.d/50-systemroles.conf", "__podman_storage_conf_file": "/home/user1/.config/containers/storage.conf" }, "changed": false } TASK [linux-system-roles.podman : Handle container.conf.d] ********************* task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:81 Wednesday 10 April 2024 14:25:11 +0000 (0:00:00.044) 0:01:30.575 ******* included: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml for sut TASK [linux-system-roles.podman : Ensure containers.d exists] ****************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:5 Wednesday 10 April 2024 14:25:11 +0000 (0:00:00.038) 0:01:30.613 ******* changed: [sut] => { "changed": true, "gid": 0, "group": "root", "mode": "0755", "owner": "user1", "path": "/home/user1/.config/containers/containers.conf.d", "secontext": "unconfined_u:object_r:config_home_t:s0", "size": 6, "state": "directory", "uid": 1000 } TASK [linux-system-roles.podman : Update container config file] **************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 Wednesday 10 April 2024 14:25:12 +0000 (0:00:00.294) 0:01:30.908 ******* 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-1712759112.1137302-3255-118865341667550/source", "state": "file", "uid": 1000 } TASK [linux-system-roles.podman : Handle registries.conf.d] ******************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:84 Wednesday 10 April 2024 14:25:12 +0000 (0:00:00.787) 0:01:31.696 ******* included: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml for sut TASK [linux-system-roles.podman : Ensure registries.d exists] ****************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:5 Wednesday 10 April 2024 14:25:12 +0000 (0:00:00.040) 0:01:31.736 ******* changed: [sut] => { "changed": true, "gid": 0, "group": "root", "mode": "0755", "owner": "user1", "path": "/home/user1/.config/containers/registries.conf.d", "secontext": "unconfined_u:object_r:config_home_t:s0", "size": 6, "state": "directory", "uid": 1000 } TASK [linux-system-roles.podman : Update registries config file] *************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 Wednesday 10 April 2024 14:25:13 +0000 (0:00:00.253) 0:01:31.990 ******* 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-1712759113.1958222-3270-89588448326070/source", "state": "file", "uid": 1000 } TASK [linux-system-roles.podman : Handle storage.conf] ************************* task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:87 Wednesday 10 April 2024 14:25:13 +0000 (0:00:00.662) 0:01:32.653 ******* included: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml for sut TASK [linux-system-roles.podman : Ensure storage.conf parent dir exists] ******* task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:5 Wednesday 10 April 2024 14:25:13 +0000 (0:00:00.071) 0:01:32.724 ******* ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "user1", "path": "/home/user1/.config/containers", "secontext": "unconfined_u:object_r:config_home_t:s0", "size": 56, "state": "directory", "uid": 1000 } TASK [linux-system-roles.podman : Update storage config file] ****************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 Wednesday 10 April 2024 14:25:14 +0000 (0:00:00.246) 0:01:32.971 ******* 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-1712759114.1764746-3285-59897967701795/source", "state": "file", "uid": 1000 } TASK [linux-system-roles.podman : Handle policy.json] ************************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:90 Wednesday 10 April 2024 14:25:14 +0000 (0:00:00.646) 0:01:33.617 ******* included: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml for sut TASK [linux-system-roles.podman : Ensure policy.json parent dir exists] ******** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:6 Wednesday 10 April 2024 14:25:14 +0000 (0:00:00.041) 0:01:33.659 ******* ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "user1", "path": "/home/user1/.config/containers", "secontext": "unconfined_u:object_r:config_home_t:s0", "size": 76, "state": "directory", "uid": 1000 } TASK [linux-system-roles.podman : Stat the policy.json file] ******************* task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:15 Wednesday 10 April 2024 14:25:15 +0000 (0:00:00.241) 0:01:33.901 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.podman : Get the existing policy.json] **************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:20 Wednesday 10 April 2024 14:25:15 +0000 (0:00:00.231) 0:01:34.132 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Write new policy.json file] ****************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:26 Wednesday 10 April 2024 14:25:15 +0000 (0:00:00.023) 0:01:34.156 ******* 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-1712759115.3657718-3308-275967391109121/source", "state": "file", "uid": 1000 } TASK [Manage firewall for specified ports] ************************************* task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:96 Wednesday 10 April 2024 14:25:15 +0000 (0:00:00.622) 0:01:34.778 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage selinux for specified ports] ************************************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:103 Wednesday 10 April 2024 14:25:16 +0000 (0:00:00.086) 0:01:34.864 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Keep track of users that need to cancel linger] *** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:110 Wednesday 10 April 2024 14:25:16 +0000 (0:00:00.032) 0:01:34.896 ******* ok: [sut] => { "ansible_facts": { "__podman_cancel_user_linger": [] }, "changed": false } TASK [linux-system-roles.podman : Handle secrets] ****************************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:114 Wednesday 10 April 2024 14:25:16 +0000 (0:00:00.048) 0:01:34.945 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.podman : Handle Kubernetes specifications] ************ task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:121 Wednesday 10 April 2024 14:25:16 +0000 (0:00:00.031) 0:01:34.976 ******* TASK [linux-system-roles.podman : Handle Quadlet specifications] *************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:127 Wednesday 10 April 2024 14:25:16 +0000 (0:00:00.020) 0:01:34.997 ******* TASK [linux-system-roles.podman : Cancel linger] ******************************* task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:133 Wednesday 10 April 2024 14:25:16 +0000 (0:00:00.022) 0:01:35.019 ******* TASK [Check that files exist and are non-null] ********************************* task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/tests_config_files.yml:83 Wednesday 10 April 2024 14:25:16 +0000 (0:00:00.025) 0:01:35.045 ******* 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": 1712759112.7855897, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "94370d6e765779f1c58daf02f667b8f0b74d91f6", "ctime": 1712759112.7935896, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 522190978, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1712759112.4515886, "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": "1875660101", "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": 1712759113.6985922, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "dfb9cd7094a81b3d1bb06512cc9b49a09c75639b", "ctime": 1712759113.7075922, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 14680387, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1712759113.4735916, "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": "1370440482", "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": 1712759114.7075949, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d08574b6a1df63dbe1c939ff0bcc7c0b61d03044", "ctime": 1712759114.715595, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 23068994, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1712759114.4835944, "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": "1528413357", "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": 1712759115.8615983, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6746c079ad563b735fc39f73d4876654b80b0a0d", "ctime": 1712759115.8695982, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 33554881, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1712759115.6355975, "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": "3607509383", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Run the role again with user config] ************************************* task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/tests_config_files.yml:91 Wednesday 10 April 2024 14:25:17 +0000 (0:00:00.917) 0:01:35.963 ******* TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:3 Wednesday 10 April 2024 14:25:17 +0000 (0:00:00.051) 0:01:36.015 ******* included: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/set_vars.yml for sut TASK [linux-system-roles.podman : Ensure ansible_facts used by role] *********** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:3 Wednesday 10 April 2024 14:25:17 +0000 (0:00:00.039) 0:01:36.054 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check if system is ostree] ******************* task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:12 Wednesday 10 April 2024 14:25:17 +0000 (0:00:00.028) 0:01:36.083 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set flag to indicate system is ostree] ******* task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:17 Wednesday 10 April 2024 14:25:17 +0000 (0:00:00.022) 0:01:36.106 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:21 Wednesday 10 April 2024 14:25:17 +0000 (0:00:00.037) 0:01:36.143 ******* ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__podman_packages": [ "podman", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=CentOS_8.yml) => { "ansible_facts": { "__podman_packages": [ "crun", "podman", "podman-plugins", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [sut] => (item=CentOS_8.yml) => { "ansible_facts": { "__podman_packages": [ "crun", "podman", "podman-plugins", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [linux-system-roles.podman : Gather the package facts] ******************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:6 Wednesday 10 April 2024 14:25:17 +0000 (0:00:00.091) 0:01:36.235 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.podman : Enable copr if requested] ******************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:10 Wednesday 10 April 2024 14:25:19 +0000 (0:00:02.358) 0:01:38.593 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Ensure required packages are installed] ****** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:14 Wednesday 10 April 2024 14:25:19 +0000 (0:00:00.027) 0:01:38.621 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Get podman version] ************************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:23 Wednesday 10 April 2024 14:25:19 +0000 (0:00:00.030) 0:01:38.651 ******* ok: [sut] => { "changed": false, "cmd": [ "podman", "--version" ], "delta": "0:00:00.046765", "end": "2024-04-10 14:25:20.141916", "rc": 0, "start": "2024-04-10 14:25:20.095151" } STDOUT: podman version 4.9.4-dev TASK [linux-system-roles.podman : Set podman version] ************************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:29 Wednesday 10 April 2024 14:25:20 +0000 (0:00:00.427) 0:01:39.079 ******* ok: [sut] => { "ansible_facts": { "podman_version": "4.9.4-dev" }, "changed": false } TASK [linux-system-roles.podman : Podman package version must be 4.2 or later] *** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:33 Wednesday 10 April 2024 14:25:20 +0000 (0:00:00.026) 0:01:39.105 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Podman package version must be 4.4 or later for quadlet, secrets] *** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:40 Wednesday 10 April 2024 14:25:20 +0000 (0:00:00.023) 0:01:39.129 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: end_host conditional evaluated to false, continuing execution for sut TASK [linux-system-roles.podman : Check user and group information] ************ task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:57 Wednesday 10 April 2024 14:25:20 +0000 (0:00:00.038) 0:01:39.168 ******* included: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml for sut TASK [linux-system-roles.podman : Get user information] ************************ task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:2 Wednesday 10 April 2024 14:25:20 +0000 (0:00:00.042) 0:01:39.210 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Fail if user does not exist] ***************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:10 Wednesday 10 April 2024 14:25:20 +0000 (0:00:00.028) 0:01:39.239 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set group for podman user] ******************* task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:17 Wednesday 10 April 2024 14:25:20 +0000 (0:00:00.031) 0:01:39.270 ******* ok: [sut] => { "ansible_facts": { "__podman_group": "1000" }, "changed": false } TASK [linux-system-roles.podman : Get group information] *********************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:28 Wednesday 10 April 2024 14:25:20 +0000 (0:00:00.029) 0:01:39.299 ******* ok: [sut] => { "ansible_facts": { "getent_group": { "user1": [ "x", "1000", "" ] } }, "changed": false } TASK [linux-system-roles.podman : Set group name] ****************************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:36 Wednesday 10 April 2024 14:25:20 +0000 (0:00:00.307) 0:01:39.607 ******* ok: [sut] => { "ansible_facts": { "__podman_group_name": "user1" }, "changed": false } TASK [linux-system-roles.podman : See if getsubids exists] ********************* task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:41 Wednesday 10 April 2024 14:25:20 +0000 (0:00:00.026) 0:01:39.633 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1712759106.1895711, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 32, "charset": "binary", "checksum": "bb5b46ffbafcaa8c4021f3c8b3cb8594f48ef34b", "ctime": 1712759070.7054753, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 6887897, "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": "75710751", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [linux-system-roles.podman : Check user with getsubids] ******************* task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:52 Wednesday 10 April 2024 14:25:21 +0000 (0:00:00.229) 0:01:39.863 ******* ok: [sut] => { "changed": false, "cmd": [ "getsubids", "user1" ], "delta": "0:00:00.004394", "end": "2024-04-10 14:25:21.224043", "rc": 0, "start": "2024-04-10 14:25:21.219649" } STDOUT: 0: user1 100000 65536 TASK [linux-system-roles.podman : Check group with getsubids] ****************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:56 Wednesday 10 April 2024 14:25:21 +0000 (0:00:00.237) 0:01:40.100 ******* ok: [sut] => { "changed": false, "cmd": [ "getsubids", "-g", "user1" ], "delta": "0:00:00.004302", "end": "2024-04-10 14:25:21.464538", "rc": 0, "start": "2024-04-10 14:25:21.460236" } STDOUT: 0: user1 100000 65536 TASK [linux-system-roles.podman : Check if user is in subuid file] ************* task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:66 Wednesday 10 April 2024 14:25:21 +0000 (0:00:00.242) 0:01:40.342 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Fail if user not in subuid file] ************* task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:74 Wednesday 10 April 2024 14:25:21 +0000 (0:00:00.095) 0:01:40.437 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check if group is in subgid file] ************ task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:81 Wednesday 10 April 2024 14:25:21 +0000 (0:00:00.034) 0:01:40.472 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Fail if group not in subgid file] ************ task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:89 Wednesday 10 April 2024 14:25:21 +0000 (0:00:00.049) 0:01:40.522 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set config file paths] *********************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:63 Wednesday 10 April 2024 14:25:21 +0000 (0:00:00.034) 0:01:40.556 ******* ok: [sut] => { "ansible_facts": { "__podman_container_conf_file": "/home/user1/.config/containers/containers.conf.d/50-systemroles.conf", "__podman_policy_json_file": "/home/user1/.config/containers/policy.json", "__podman_registries_conf_file": "/home/user1/.config/containers/registries.conf.d/50-systemroles.conf", "__podman_storage_conf_file": "/home/user1/.config/containers/storage.conf" }, "changed": false } TASK [linux-system-roles.podman : Handle container.conf.d] ********************* task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:81 Wednesday 10 April 2024 14:25:21 +0000 (0:00:00.056) 0:01:40.613 ******* included: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml for sut TASK [linux-system-roles.podman : Ensure containers.d exists] ****************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:5 Wednesday 10 April 2024 14:25:21 +0000 (0:00:00.069) 0:01:40.682 ******* ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "user1", "path": "/home/user1/.config/containers/containers.conf.d", "secontext": "unconfined_u:object_r:config_home_t:s0", "size": 33, "state": "directory", "uid": 1000 } TASK [linux-system-roles.podman : Update container config file] **************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 Wednesday 10 April 2024 14:25:22 +0000 (0:00:00.258) 0:01:40.941 ******* ok: [sut] => { "changed": false, "checksum": "94370d6e765779f1c58daf02f667b8f0b74d91f6", "dest": "/home/user1/.config/containers/containers.conf.d/50-systemroles.conf", "gid": 0, "group": "root", "mode": "0644", "owner": "user1", "path": "/home/user1/.config/containers/containers.conf.d/50-systemroles.conf", "secontext": "unconfined_u:object_r:config_home_t:s0", "size": 116, "state": "file", "uid": 1000 } TASK [linux-system-roles.podman : Handle registries.conf.d] ******************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:84 Wednesday 10 April 2024 14:25:22 +0000 (0:00:00.581) 0:01:41.523 ******* included: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml for sut TASK [linux-system-roles.podman : Ensure registries.d exists] ****************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:5 Wednesday 10 April 2024 14:25:22 +0000 (0:00:00.041) 0:01:41.564 ******* ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "user1", "path": "/home/user1/.config/containers/registries.conf.d", "secontext": "unconfined_u:object_r:config_home_t:s0", "size": 33, "state": "directory", "uid": 1000 } TASK [linux-system-roles.podman : Update registries config file] *************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 Wednesday 10 April 2024 14:25:22 +0000 (0:00:00.238) 0:01:41.802 ******* ok: [sut] => { "changed": false, "checksum": "dfb9cd7094a81b3d1bb06512cc9b49a09c75639b", "dest": "/home/user1/.config/containers/registries.conf.d/50-systemroles.conf", "gid": 0, "group": "root", "mode": "0644", "owner": "user1", "path": "/home/user1/.config/containers/registries.conf.d/50-systemroles.conf", "secontext": "unconfined_u:object_r:config_home_t:s0", "size": 225, "state": "file", "uid": 1000 } TASK [linux-system-roles.podman : Handle storage.conf] ************************* task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:87 Wednesday 10 April 2024 14:25:23 +0000 (0:00:00.554) 0:01:42.357 ******* included: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml for sut TASK [linux-system-roles.podman : Ensure storage.conf parent dir exists] ******* task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:5 Wednesday 10 April 2024 14:25:23 +0000 (0:00:00.070) 0:01:42.428 ******* ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "user1", "path": "/home/user1/.config/containers", "secontext": "unconfined_u:object_r:config_home_t:s0", "size": 95, "state": "directory", "uid": 1000 } TASK [linux-system-roles.podman : Update storage config file] ****************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 Wednesday 10 April 2024 14:25:23 +0000 (0:00:00.240) 0:01:42.668 ******* ok: [sut] => { "changed": false, "checksum": "d08574b6a1df63dbe1c939ff0bcc7c0b61d03044", "dest": "/home/user1/.config/containers/storage.conf", "gid": 0, "group": "root", "mode": "0644", "owner": "user1", "path": "/home/user1/.config/containers/storage.conf", "secontext": "unconfined_u:object_r:config_home_t:s0", "size": 109, "state": "file", "uid": 1000 } TASK [linux-system-roles.podman : Handle policy.json] ************************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:90 Wednesday 10 April 2024 14:25:24 +0000 (0:00:00.588) 0:01:43.256 ******* included: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml for sut TASK [linux-system-roles.podman : Ensure policy.json parent dir exists] ******** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:6 Wednesday 10 April 2024 14:25:24 +0000 (0:00:00.050) 0:01:43.307 ******* ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "user1", "path": "/home/user1/.config/containers", "secontext": "unconfined_u:object_r:config_home_t:s0", "size": 95, "state": "directory", "uid": 1000 } TASK [linux-system-roles.podman : Stat the policy.json file] ******************* task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:15 Wednesday 10 April 2024 14:25:24 +0000 (0:00:00.251) 0:01:43.558 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1712759117.0786016, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6746c079ad563b735fc39f73d4876654b80b0a0d", "ctime": 1712759115.8695982, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 33554881, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1712759115.6355975, "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": "3607509383", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.podman : Get the existing policy.json] **************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:20 Wednesday 10 April 2024 14:25:24 +0000 (0:00:00.238) 0:01:43.797 ******* ok: [sut] => { "changed": false, "content": "ewogICAgImRlZmF1bHQiOiB7CiAgICAgICAgInR5cGUiOiAiaW5zZWN1cmVBY2NlcHRBbnl0aGluZyIKICAgIH0KfQ==", "encoding": "base64", "source": "/home/user1/.config/containers/policy.json" } TASK [linux-system-roles.podman : Write new policy.json file] ****************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:26 Wednesday 10 April 2024 14:25:25 +0000 (0:00:00.336) 0:01:44.134 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage firewall for specified ports] ************************************* task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:96 Wednesday 10 April 2024 14:25:25 +0000 (0:00:00.026) 0:01:44.160 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage selinux for specified ports] ************************************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:103 Wednesday 10 April 2024 14:25:25 +0000 (0:00:00.022) 0:01:44.183 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Keep track of users that need to cancel linger] *** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:110 Wednesday 10 April 2024 14:25:25 +0000 (0:00:00.028) 0:01:44.211 ******* ok: [sut] => { "ansible_facts": { "__podman_cancel_user_linger": [] }, "changed": false } TASK [linux-system-roles.podman : Handle secrets] ****************************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:114 Wednesday 10 April 2024 14:25:25 +0000 (0:00:00.026) 0:01:44.237 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.podman : Handle Kubernetes specifications] ************ task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:121 Wednesday 10 April 2024 14:25:25 +0000 (0:00:00.066) 0:01:44.304 ******* TASK [linux-system-roles.podman : Handle Quadlet specifications] *************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:127 Wednesday 10 April 2024 14:25:25 +0000 (0:00:00.065) 0:01:44.369 ******* TASK [linux-system-roles.podman : Cancel linger] ******************************* task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:133 Wednesday 10 April 2024 14:25:25 +0000 (0:00:00.043) 0:01:44.413 ******* TASK [Check that files still exist and are non-null] *************************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/tests_config_files.yml:98 Wednesday 10 April 2024 14:25:25 +0000 (0:00:00.035) 0:01:44.449 ******* 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": 1712759116.4075997, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "94370d6e765779f1c58daf02f667b8f0b74d91f6", "ctime": 1712759112.7935896, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 522190978, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1712759112.4515886, "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": "1875660101", "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": 1712759116.6326003, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "dfb9cd7094a81b3d1bb06512cc9b49a09c75639b", "ctime": 1712759113.7075922, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 14680387, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1712759113.4735916, "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": "1370440482", "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": 1712759116.850601, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d08574b6a1df63dbe1c939ff0bcc7c0b61d03044", "ctime": 1712759114.715595, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 23068994, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1712759114.4835944, "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": "1528413357", "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": 1712759117.0786016, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6746c079ad563b735fc39f73d4876654b80b0a0d", "ctime": 1712759115.8695982, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 33554881, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1712759115.6355975, "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": "3607509383", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Run the role with root config] ******************************************* task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/tests_config_files.yml:106 Wednesday 10 April 2024 14:25:26 +0000 (0:00:00.950) 0:01:45.399 ******* TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:3 Wednesday 10 April 2024 14:25:26 +0000 (0:00:00.086) 0:01:45.486 ******* included: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/set_vars.yml for sut TASK [linux-system-roles.podman : Ensure ansible_facts used by role] *********** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:3 Wednesday 10 April 2024 14:25:26 +0000 (0:00:00.035) 0:01:45.521 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check if system is ostree] ******************* task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:12 Wednesday 10 April 2024 14:25:26 +0000 (0:00:00.027) 0:01:45.549 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set flag to indicate system is ostree] ******* task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:17 Wednesday 10 April 2024 14:25:26 +0000 (0:00:00.021) 0:01:45.570 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:21 Wednesday 10 April 2024 14:25:26 +0000 (0:00:00.023) 0:01:45.593 ******* ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__podman_packages": [ "podman", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=CentOS_8.yml) => { "ansible_facts": { "__podman_packages": [ "crun", "podman", "podman-plugins", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [sut] => (item=CentOS_8.yml) => { "ansible_facts": { "__podman_packages": [ "crun", "podman", "podman-plugins", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [linux-system-roles.podman : Gather the package facts] ******************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:6 Wednesday 10 April 2024 14:25:26 +0000 (0:00:00.053) 0:01:45.647 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.podman : Enable copr if requested] ******************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:10 Wednesday 10 April 2024 14:25:28 +0000 (0:00:01.512) 0:01:47.159 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Ensure required packages are installed] ****** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:14 Wednesday 10 April 2024 14:25:28 +0000 (0:00:00.020) 0:01:47.179 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Get podman version] ************************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:23 Wednesday 10 April 2024 14:25:28 +0000 (0:00:00.025) 0:01:47.205 ******* ok: [sut] => { "changed": false, "cmd": [ "podman", "--version" ], "delta": "0:00:00.033990", "end": "2024-04-10 14:25:28.592450", "rc": 0, "start": "2024-04-10 14:25:28.558460" } STDOUT: podman version 4.9.4-dev TASK [linux-system-roles.podman : Set podman version] ************************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:29 Wednesday 10 April 2024 14:25:28 +0000 (0:00:00.255) 0:01:47.460 ******* ok: [sut] => { "ansible_facts": { "podman_version": "4.9.4-dev" }, "changed": false } TASK [linux-system-roles.podman : Podman package version must be 4.2 or later] *** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:33 Wednesday 10 April 2024 14:25:28 +0000 (0:00:00.021) 0:01:47.482 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Podman package version must be 4.4 or later for quadlet, secrets] *** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:40 Wednesday 10 April 2024 14:25:28 +0000 (0:00:00.020) 0:01:47.502 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: end_host conditional evaluated to false, continuing execution for sut TASK [linux-system-roles.podman : Check user and group information] ************ task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:57 Wednesday 10 April 2024 14:25:28 +0000 (0:00:00.034) 0:01:47.537 ******* included: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml for sut TASK [linux-system-roles.podman : Get user information] ************************ task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:2 Wednesday 10 April 2024 14:25:28 +0000 (0:00:00.039) 0:01:47.576 ******* ok: [sut] => { "ansible_facts": { "getent_passwd": { "root": [ "x", "0", "0", "root", "/root", "/bin/bash" ] } }, "changed": false } TASK [linux-system-roles.podman : Fail if user does not exist] ***************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:10 Wednesday 10 April 2024 14:25:28 +0000 (0:00:00.232) 0:01:47.808 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set group for podman user] ******************* task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:17 Wednesday 10 April 2024 14:25:29 +0000 (0:00:00.033) 0:01:47.842 ******* ok: [sut] => { "ansible_facts": { "__podman_group": "0" }, "changed": false } TASK [linux-system-roles.podman : Get group information] *********************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:28 Wednesday 10 April 2024 14:25:29 +0000 (0:00:00.051) 0:01:47.894 ******* ok: [sut] => { "ansible_facts": { "getent_group": { "root": [ "x", "0", "" ] } }, "changed": false } TASK [linux-system-roles.podman : Set group name] ****************************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:36 Wednesday 10 April 2024 14:25:29 +0000 (0:00:00.247) 0:01:48.142 ******* ok: [sut] => { "ansible_facts": { "__podman_group_name": "root" }, "changed": false } TASK [linux-system-roles.podman : See if getsubids exists] ********************* task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:41 Wednesday 10 April 2024 14:25:29 +0000 (0:00:00.037) 0:01:48.179 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1712759106.1895711, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 32, "charset": "binary", "checksum": "bb5b46ffbafcaa8c4021f3c8b3cb8594f48ef34b", "ctime": 1712759070.7054753, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 6887897, "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": "75710751", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [linux-system-roles.podman : Check user with getsubids] ******************* task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:52 Wednesday 10 April 2024 14:25:29 +0000 (0:00:00.233) 0:01:48.413 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check group with getsubids] ****************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:56 Wednesday 10 April 2024 14:25:29 +0000 (0:00:00.021) 0:01:48.434 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check if user is in subuid file] ************* task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:66 Wednesday 10 April 2024 14:25:29 +0000 (0:00:00.021) 0:01:48.456 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Fail if user not in subuid file] ************* task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:74 Wednesday 10 April 2024 14:25:29 +0000 (0:00:00.021) 0:01:48.477 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check if group is in subgid file] ************ task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:81 Wednesday 10 April 2024 14:25:29 +0000 (0:00:00.021) 0:01:48.499 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Fail if group not in subgid file] ************ task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:89 Wednesday 10 April 2024 14:25:29 +0000 (0:00:00.021) 0:01:48.521 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set config file paths] *********************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:63 Wednesday 10 April 2024 14:25:29 +0000 (0:00:00.020) 0:01:48.542 ******* ok: [sut] => { "ansible_facts": { "__podman_container_conf_file": "/etc/containers/containers.conf.d/50-systemroles.conf", "__podman_policy_json_file": "/etc/containers/policy.json", "__podman_registries_conf_file": "/etc/containers/registries.conf.d/50-systemroles.conf", "__podman_storage_conf_file": "/etc/containers/storage.conf" }, "changed": false } TASK [linux-system-roles.podman : Handle container.conf.d] ********************* task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:81 Wednesday 10 April 2024 14:25:29 +0000 (0:00:00.045) 0:01:48.587 ******* included: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml for sut TASK [linux-system-roles.podman : Ensure containers.d exists] ****************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:5 Wednesday 10 April 2024 14:25:29 +0000 (0:00:00.052) 0:01:48.640 ******* changed: [sut] => { "changed": true, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/containers/containers.conf.d", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [linux-system-roles.podman : Update container config file] **************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 Wednesday 10 April 2024 14:25:30 +0000 (0:00:00.275) 0:01:48.916 ******* 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-1712759130.1213098-3703-277394107067616/source", "state": "file", "uid": 0 } TASK [linux-system-roles.podman : Handle registries.conf.d] ******************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:84 Wednesday 10 April 2024 14:25:30 +0000 (0:00:00.619) 0:01:49.535 ******* included: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml for sut TASK [linux-system-roles.podman : Ensure registries.d exists] ****************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:5 Wednesday 10 April 2024 14:25:30 +0000 (0:00:00.063) 0:01:49.598 ******* ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/containers/registries.conf.d", "secontext": "system_u:object_r:etc_t:s0", "size": 107, "state": "directory", "uid": 0 } TASK [linux-system-roles.podman : Update registries config file] *************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 Wednesday 10 April 2024 14:25:31 +0000 (0:00:00.238) 0:01:49.837 ******* 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-1712759131.0412388-3718-280493504968144/source", "state": "file", "uid": 0 } TASK [linux-system-roles.podman : Handle storage.conf] ************************* task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:87 Wednesday 10 April 2024 14:25:31 +0000 (0:00:00.615) 0:01:50.452 ******* included: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml for sut TASK [linux-system-roles.podman : Ensure storage.conf parent dir exists] ******* task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:5 Wednesday 10 April 2024 14:25:31 +0000 (0:00:00.039) 0:01:50.492 ******* ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/containers", "secontext": "system_u:object_r:etc_t:s0", "size": 179, "state": "directory", "uid": 0 } TASK [linux-system-roles.podman : Update storage config file] ****************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 Wednesday 10 April 2024 14:25:31 +0000 (0:00:00.238) 0:01:50.731 ******* 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-1712759131.9343503-3736-109157765723695/source", "state": "file", "uid": 0 } TASK [linux-system-roles.podman : Handle policy.json] ************************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:90 Wednesday 10 April 2024 14:25:32 +0000 (0:00:00.660) 0:01:51.391 ******* included: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml for sut TASK [linux-system-roles.podman : Ensure policy.json parent dir exists] ******** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:6 Wednesday 10 April 2024 14:25:32 +0000 (0:00:00.041) 0:01:51.433 ******* ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/containers", "secontext": "system_u:object_r:etc_t:s0", "size": 179, "state": "directory", "uid": 0 } TASK [linux-system-roles.podman : Stat the policy.json file] ******************* task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:15 Wednesday 10 April 2024 14:25:32 +0000 (0:00:00.239) 0:01:51.672 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1712759107.589575, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "a71b1d310c167cdc95c2fc11e7835d5636768f14", "ctime": 1712759072.0024788, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 381681985, "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": "3861824732", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.podman : Get the existing policy.json] **************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:20 Wednesday 10 April 2024 14:25:33 +0000 (0:00:00.241) 0:01:51.914 ******* ok: [sut] => { "changed": false, "content": "ewogICAgImRlZmF1bHQiOiBbCiAgICAgICAgewogICAgICAgICAgICAidHlwZSI6ICJpbnNlY3VyZUFjY2VwdEFueXRoaW5nIgogICAgICAgIH0KICAgIF0sCiAgICAidHJhbnNwb3J0cyI6IHsKICAgICAgICAiZG9ja2VyIjogewoJICAgICJyZWdpc3RyeS5hY2Nlc3MucmVkaGF0LmNvbSI6IFsKCQl7CgkJICAgICJ0eXBlIjogInNpZ25lZEJ5IiwKCQkgICAgImtleVR5cGUiOiAiR1BHS2V5cyIsCgkJICAgICJrZXlQYXRocyI6IFsiL2V0Yy9wa2kvcnBtLWdwZy9SUE0tR1BHLUtFWS1yZWRoYXQtcmVsZWFzZSIsICIvZXRjL3BraS9ycG0tZ3BnL1JQTS1HUEctS0VZLXJlZGhhdC1iZXRhIl0KCQl9CgkgICAgXSwKCSAgICAicmVnaXN0cnkucmVkaGF0LmlvIjogWwoJCXsKCQkgICAgInR5cGUiOiAic2lnbmVkQnkiLAoJCSAgICAia2V5VHlwZSI6ICJHUEdLZXlzIiwKCQkgICAgImtleVBhdGhzIjogWyIvZXRjL3BraS9ycG0tZ3BnL1JQTS1HUEctS0VZLXJlZGhhdC1yZWxlYXNlIiwgIi9ldGMvcGtpL3JwbS1ncGcvUlBNLUdQRy1LRVktcmVkaGF0LWJldGEiXQoJCX0KCSAgICBdCgl9LAogICAgICAgICJkb2NrZXItZGFlbW9uIjogewoJICAgICIiOiBbCgkJewoJCSAgICAidHlwZSI6ICJpbnNlY3VyZUFjY2VwdEFueXRoaW5nIgoJCX0KCSAgICBdCgl9CiAgICB9Cn0K", "encoding": "base64", "source": "/etc/containers/policy.json" } TASK [linux-system-roles.podman : Write new policy.json file] ****************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:26 Wednesday 10 April 2024 14:25:33 +0000 (0:00:00.237) 0:01:52.152 ******* 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-1712759133.3649652-3784-252577047246537/source", "state": "file", "uid": 0 } TASK [Manage firewall for specified ports] ************************************* task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:96 Wednesday 10 April 2024 14:25:33 +0000 (0:00:00.652) 0:01:52.804 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage selinux for specified ports] ************************************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:103 Wednesday 10 April 2024 14:25:34 +0000 (0:00:00.043) 0:01:52.847 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Keep track of users that need to cancel linger] *** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:110 Wednesday 10 April 2024 14:25:34 +0000 (0:00:00.023) 0:01:52.871 ******* ok: [sut] => { "ansible_facts": { "__podman_cancel_user_linger": [] }, "changed": false } TASK [linux-system-roles.podman : Handle secrets] ****************************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:114 Wednesday 10 April 2024 14:25:34 +0000 (0:00:00.019) 0:01:52.891 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.podman : Handle Kubernetes specifications] ************ task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:121 Wednesday 10 April 2024 14:25:34 +0000 (0:00:00.026) 0:01:52.917 ******* TASK [linux-system-roles.podman : Handle Quadlet specifications] *************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:127 Wednesday 10 April 2024 14:25:34 +0000 (0:00:00.019) 0:01:52.937 ******* TASK [linux-system-roles.podman : Cancel linger] ******************************* task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:133 Wednesday 10 April 2024 14:25:34 +0000 (0:00:00.020) 0:01:52.957 ******* TASK [Check that files exist and are non-null] ********************************* task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/tests_config_files.yml:113 Wednesday 10 April 2024 14:25:34 +0000 (0:00:00.072) 0:01:53.029 ******* 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": 1712759130.6136394, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "94370d6e765779f1c58daf02f667b8f0b74d91f6", "ctime": 1712759130.6186395, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 115343554, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1712759130.3936388, "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": "2552399102", "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": 1712759131.5396419, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "dfb9cd7094a81b3d1bb06512cc9b49a09c75639b", "ctime": 1712759131.544642, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 123732162, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1712759131.3156414, "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": "157776635", "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": 1712759132.4476445, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d08574b6a1df63dbe1c939ff0bcc7c0b61d03044", "ctime": 1712759132.4486444, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 132120770, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1712759132.227644, "nlink": 1, "path": "/etc/containers/storage.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 109, "uid": 0, "version": "3756621885", "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": 1712759133.8826485, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6746c079ad563b735fc39f73d4876654b80b0a0d", "ctime": 1712759133.8836484, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 144703809, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1712759133.6456478, "nlink": 1, "path": "/etc/containers/policy.json", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 67, "uid": 0, "version": "456411371", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Run the role again with root config] ************************************* task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/tests_config_files.yml:121 Wednesday 10 April 2024 14:25:35 +0000 (0:00:00.896) 0:01:53.926 ******* TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:3 Wednesday 10 April 2024 14:25:35 +0000 (0:00:00.056) 0:01:53.982 ******* included: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/set_vars.yml for sut TASK [linux-system-roles.podman : Ensure ansible_facts used by role] *********** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:3 Wednesday 10 April 2024 14:25:35 +0000 (0:00:00.036) 0:01:54.018 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check if system is ostree] ******************* task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:12 Wednesday 10 April 2024 14:25:35 +0000 (0:00:00.027) 0:01:54.045 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set flag to indicate system is ostree] ******* task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:17 Wednesday 10 April 2024 14:25:35 +0000 (0:00:00.021) 0:01:54.067 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:21 Wednesday 10 April 2024 14:25:35 +0000 (0:00:00.021) 0:01:54.088 ******* ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__podman_packages": [ "podman", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=CentOS_8.yml) => { "ansible_facts": { "__podman_packages": [ "crun", "podman", "podman-plugins", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [sut] => (item=CentOS_8.yml) => { "ansible_facts": { "__podman_packages": [ "crun", "podman", "podman-plugins", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [linux-system-roles.podman : Gather the package facts] ******************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:6 Wednesday 10 April 2024 14:25:35 +0000 (0:00:00.054) 0:01:54.143 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.podman : Enable copr if requested] ******************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:10 Wednesday 10 April 2024 14:25:36 +0000 (0:00:01.463) 0:01:55.607 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Ensure required packages are installed] ****** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:14 Wednesday 10 April 2024 14:25:36 +0000 (0:00:00.020) 0:01:55.627 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Get podman version] ************************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:23 Wednesday 10 April 2024 14:25:36 +0000 (0:00:00.024) 0:01:55.651 ******* ok: [sut] => { "changed": false, "cmd": [ "podman", "--version" ], "delta": "0:00:00.033561", "end": "2024-04-10 14:25:37.037519", "rc": 0, "start": "2024-04-10 14:25:37.003958" } STDOUT: podman version 4.9.4-dev STDERR: time="2024-04-10T14:25:37Z" level=warning msg="The storage 'driver' option should be set in /etc/containers/storage.conf. A driver was picked automatically." TASK [linux-system-roles.podman : Set podman version] ************************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:29 Wednesday 10 April 2024 14:25:37 +0000 (0:00:00.254) 0:01:55.905 ******* ok: [sut] => { "ansible_facts": { "podman_version": "4.9.4-dev" }, "changed": false } TASK [linux-system-roles.podman : Podman package version must be 4.2 or later] *** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:33 Wednesday 10 April 2024 14:25:37 +0000 (0:00:00.024) 0:01:55.929 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Podman package version must be 4.4 or later for quadlet, secrets] *** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:40 Wednesday 10 April 2024 14:25:37 +0000 (0:00:00.020) 0:01:55.950 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: end_host conditional evaluated to false, continuing execution for sut TASK [linux-system-roles.podman : Check user and group information] ************ task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:57 Wednesday 10 April 2024 14:25:37 +0000 (0:00:00.036) 0:01:55.987 ******* included: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml for sut TASK [linux-system-roles.podman : Get user information] ************************ task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:2 Wednesday 10 April 2024 14:25:37 +0000 (0:00:00.038) 0:01:56.025 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Fail if user does not exist] ***************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:10 Wednesday 10 April 2024 14:25:37 +0000 (0:00:00.025) 0:01:56.050 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set group for podman user] ******************* task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:17 Wednesday 10 April 2024 14:25:37 +0000 (0:00:00.027) 0:01:56.078 ******* ok: [sut] => { "ansible_facts": { "__podman_group": "0" }, "changed": false } TASK [linux-system-roles.podman : Get group information] *********************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:28 Wednesday 10 April 2024 14:25:37 +0000 (0:00:00.027) 0:01:56.106 ******* ok: [sut] => { "ansible_facts": { "getent_group": { "root": [ "x", "0", "" ] } }, "changed": false } TASK [linux-system-roles.podman : Set group name] ****************************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:36 Wednesday 10 April 2024 14:25:37 +0000 (0:00:00.263) 0:01:56.369 ******* ok: [sut] => { "ansible_facts": { "__podman_group_name": "root" }, "changed": false } TASK [linux-system-roles.podman : See if getsubids exists] ********************* task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:41 Wednesday 10 April 2024 14:25:37 +0000 (0:00:00.029) 0:01:56.399 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1712759106.1895711, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 32, "charset": "binary", "checksum": "bb5b46ffbafcaa8c4021f3c8b3cb8594f48ef34b", "ctime": 1712759070.7054753, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 6887897, "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": "75710751", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [linux-system-roles.podman : Check user with getsubids] ******************* task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:52 Wednesday 10 April 2024 14:25:37 +0000 (0:00:00.231) 0:01:56.630 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check group with getsubids] ****************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:56 Wednesday 10 April 2024 14:25:37 +0000 (0:00:00.028) 0:01:56.658 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check if user is in subuid file] ************* task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:66 Wednesday 10 April 2024 14:25:37 +0000 (0:00:00.031) 0:01:56.689 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Fail if user not in subuid file] ************* task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:74 Wednesday 10 April 2024 14:25:37 +0000 (0:00:00.029) 0:01:56.719 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check if group is in subgid file] ************ task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:81 Wednesday 10 April 2024 14:25:37 +0000 (0:00:00.022) 0:01:56.741 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Fail if group not in subgid file] ************ task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:89 Wednesday 10 April 2024 14:25:37 +0000 (0:00:00.021) 0:01:56.762 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set config file paths] *********************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:63 Wednesday 10 April 2024 14:25:37 +0000 (0:00:00.036) 0:01:56.799 ******* ok: [sut] => { "ansible_facts": { "__podman_container_conf_file": "/etc/containers/containers.conf.d/50-systemroles.conf", "__podman_policy_json_file": "/etc/containers/policy.json", "__podman_registries_conf_file": "/etc/containers/registries.conf.d/50-systemroles.conf", "__podman_storage_conf_file": "/etc/containers/storage.conf" }, "changed": false } TASK [linux-system-roles.podman : Handle container.conf.d] ********************* task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:81 Wednesday 10 April 2024 14:25:38 +0000 (0:00:00.043) 0:01:56.842 ******* included: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml for sut TASK [linux-system-roles.podman : Ensure containers.d exists] ****************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:5 Wednesday 10 April 2024 14:25:38 +0000 (0:00:00.038) 0:01:56.881 ******* ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/containers/containers.conf.d", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 33, "state": "directory", "uid": 0 } TASK [linux-system-roles.podman : Update container config file] **************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 Wednesday 10 April 2024 14:25:38 +0000 (0:00:00.236) 0:01:57.118 ******* ok: [sut] => { "changed": false, "checksum": "94370d6e765779f1c58daf02f667b8f0b74d91f6", "dest": "/etc/containers/containers.conf.d/50-systemroles.conf", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/etc/containers/containers.conf.d/50-systemroles.conf", "secontext": "system_u:object_r:etc_t:s0", "size": 116, "state": "file", "uid": 0 } TASK [linux-system-roles.podman : Handle registries.conf.d] ******************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:84 Wednesday 10 April 2024 14:25:38 +0000 (0:00:00.591) 0:01:57.709 ******* included: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml for sut TASK [linux-system-roles.podman : Ensure registries.d exists] ****************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:5 Wednesday 10 April 2024 14:25:38 +0000 (0:00:00.039) 0:01:57.748 ******* ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/containers/registries.conf.d", "secontext": "system_u:object_r:etc_t:s0", "size": 134, "state": "directory", "uid": 0 } TASK [linux-system-roles.podman : Update registries config file] *************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 Wednesday 10 April 2024 14:25:39 +0000 (0:00:00.235) 0:01:57.984 ******* ok: [sut] => { "changed": false, "checksum": "dfb9cd7094a81b3d1bb06512cc9b49a09c75639b", "dest": "/etc/containers/registries.conf.d/50-systemroles.conf", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/etc/containers/registries.conf.d/50-systemroles.conf", "secontext": "system_u:object_r:etc_t:s0", "size": 225, "state": "file", "uid": 0 } TASK [linux-system-roles.podman : Handle storage.conf] ************************* task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:87 Wednesday 10 April 2024 14:25:39 +0000 (0:00:00.550) 0:01:58.534 ******* included: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml for sut TASK [linux-system-roles.podman : Ensure storage.conf parent dir exists] ******* task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:5 Wednesday 10 April 2024 14:25:39 +0000 (0:00:00.039) 0:01:58.573 ******* ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/containers", "secontext": "system_u:object_r:etc_t:s0", "size": 179, "state": "directory", "uid": 0 } TASK [linux-system-roles.podman : Update storage config file] ****************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 Wednesday 10 April 2024 14:25:39 +0000 (0:00:00.240) 0:01:58.813 ******* ok: [sut] => { "changed": false, "checksum": "d08574b6a1df63dbe1c939ff0bcc7c0b61d03044", "dest": "/etc/containers/storage.conf", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/etc/containers/storage.conf", "secontext": "system_u:object_r:etc_t:s0", "size": 109, "state": "file", "uid": 0 } TASK [linux-system-roles.podman : Handle policy.json] ************************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:90 Wednesday 10 April 2024 14:25:40 +0000 (0:00:00.552) 0:01:59.366 ******* included: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml for sut TASK [linux-system-roles.podman : Ensure policy.json parent dir exists] ******** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:6 Wednesday 10 April 2024 14:25:40 +0000 (0:00:00.039) 0:01:59.406 ******* ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/containers", "secontext": "system_u:object_r:etc_t:s0", "size": 179, "state": "directory", "uid": 0 } TASK [linux-system-roles.podman : Stat the policy.json file] ******************* task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:15 Wednesday 10 April 2024 14:25:40 +0000 (0:00:00.289) 0:01:59.695 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1712759135.0426517, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6746c079ad563b735fc39f73d4876654b80b0a0d", "ctime": 1712759133.8836484, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 144703809, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1712759133.6456478, "nlink": 1, "path": "/etc/containers/policy.json", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 67, "uid": 0, "version": "456411371", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.podman : Get the existing policy.json] **************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:20 Wednesday 10 April 2024 14:25:41 +0000 (0:00:00.240) 0:01:59.936 ******* ok: [sut] => { "changed": false, "content": "ewogICAgImRlZmF1bHQiOiB7CiAgICAgICAgInR5cGUiOiAiaW5zZWN1cmVBY2NlcHRBbnl0aGluZyIKICAgIH0KfQ==", "encoding": "base64", "source": "/etc/containers/policy.json" } TASK [linux-system-roles.podman : Write new policy.json file] ****************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:26 Wednesday 10 April 2024 14:25:41 +0000 (0:00:00.221) 0:02:00.157 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage firewall for specified ports] ************************************* task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:96 Wednesday 10 April 2024 14:25:41 +0000 (0:00:00.023) 0:02:00.181 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage selinux for specified ports] ************************************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:103 Wednesday 10 April 2024 14:25:41 +0000 (0:00:00.021) 0:02:00.202 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Keep track of users that need to cancel linger] *** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:110 Wednesday 10 April 2024 14:25:41 +0000 (0:00:00.019) 0:02:00.222 ******* ok: [sut] => { "ansible_facts": { "__podman_cancel_user_linger": [] }, "changed": false } TASK [linux-system-roles.podman : Handle secrets] ****************************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:114 Wednesday 10 April 2024 14:25:41 +0000 (0:00:00.019) 0:02:00.242 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.podman : Handle Kubernetes specifications] ************ task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:121 Wednesday 10 April 2024 14:25:41 +0000 (0:00:00.019) 0:02:00.261 ******* TASK [linux-system-roles.podman : Handle Quadlet specifications] *************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:127 Wednesday 10 April 2024 14:25:41 +0000 (0:00:00.019) 0:02:00.281 ******* TASK [linux-system-roles.podman : Cancel linger] ******************************* task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:133 Wednesday 10 April 2024 14:25:41 +0000 (0:00:00.018) 0:02:00.299 ******* TASK [Check that files still exist and are non-null] *************************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/tests_config_files.yml:128 Wednesday 10 April 2024 14:25:41 +0000 (0:00:00.019) 0:02:00.319 ******* 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": 1712759134.38865, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "94370d6e765779f1c58daf02f667b8f0b74d91f6", "ctime": 1712759130.6186395, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 115343554, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1712759130.3936388, "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": "2552399102", "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": 1712759134.6076505, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "dfb9cd7094a81b3d1bb06512cc9b49a09c75639b", "ctime": 1712759131.544642, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 123732162, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1712759131.3156414, "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": "157776635", "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": 1712759134.824651, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d08574b6a1df63dbe1c939ff0bcc7c0b61d03044", "ctime": 1712759132.4486444, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 132120770, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1712759132.227644, "nlink": 1, "path": "/etc/containers/storage.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 109, "uid": 0, "version": "3756621885", "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": 1712759135.0426517, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6746c079ad563b735fc39f73d4876654b80b0a0d", "ctime": 1712759133.8836484, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 144703809, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1712759133.6456478, "nlink": 1, "path": "/etc/containers/policy.json", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 67, "uid": 0, "version": "456411371", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check for ansible_managed, fingerprint in generated files] *************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/tests_config_files.yml:136 Wednesday 10 April 2024 14:25:42 +0000 (0:00:00.905) 0:02:01.224 ******* included: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/tasks/check_header.yml for sut included: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/tasks/check_header.yml for sut included: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/tasks/check_header.yml for sut included: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/tasks/check_header.yml for sut included: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/tasks/check_header.yml for sut included: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/tasks/check_header.yml for sut TASK [Get file] **************************************************************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/tasks/check_header.yml:3 Wednesday 10 April 2024 14:25:42 +0000 (0:00:00.116) 0:02:01.341 ******* ok: [sut] => { "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6cG9kbWFuCgpbY29udGFpbmVyc10KYW5ub3RhdGlvbnMgPSBbICJlbnZpcm9ubWVudD1wcm9kdWN0aW9uIiwgInN0YXR1cz10aWVyMiIsXQo=", "encoding": "base64", "source": "/home/user1/.config/containers/containers.conf.d/50-systemroles.conf" } TASK [Check for presence of ansible managed header, fingerprint] *************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/tasks/check_header.yml:9 Wednesday 10 April 2024 14:25:42 +0000 (0:00:00.234) 0:02:01.575 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get file] **************************************************************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/tasks/check_header.yml:3 Wednesday 10 April 2024 14:25:42 +0000 (0:00:00.095) 0:02:01.671 ******* ok: [sut] => { "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6cG9kbWFuCgp1bnF1YWxpZmllZC1zZWFyY2gtcmVnaXN0cmllcz1bJ3JlZ2lzdHJ5LTEuZXhhbXBsZS5jb20nLCAncmVnaXN0cnktMi5leGFtcGxlLmNvbSddCmNyZWRlbnRpYWwtaGVscGVycz1bJ2NyZWQtaGVscGVyLTEnLCAnY3JlZC1oZWxwZXItMiddClthbGlhc2VzXQpteXJlZ2lzdHJ5PSJyZWdpc3RyeS5leGFtcGxlLmNvbSIK", "encoding": "base64", "source": "/home/user1/.config/containers/registries.conf.d/50-systemroles.conf" } TASK [Check for presence of ansible managed header, fingerprint] *************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/tasks/check_header.yml:9 Wednesday 10 April 2024 14:25:43 +0000 (0:00:00.242) 0:02:01.913 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get file] **************************************************************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/tasks/check_header.yml:3 Wednesday 10 April 2024 14:25:43 +0000 (0:00:00.087) 0:02:02.001 ******* ok: [sut] => { "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6cG9kbWFuCgpbc3RvcmFnZV0KcnVucm9vdD0iL3RtcCIKZ3JhcGhyb290PSIvdmFyL2xpYi9jb250YWluZXJzL3N0b3JhZ2UiCg==", "encoding": "base64", "source": "/home/user1/.config/containers/storage.conf" } TASK [Check for presence of ansible managed header, fingerprint] *************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/tasks/check_header.yml:9 Wednesday 10 April 2024 14:25:43 +0000 (0:00:00.219) 0:02:02.220 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get file] **************************************************************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/tasks/check_header.yml:3 Wednesday 10 April 2024 14:25:43 +0000 (0:00:00.068) 0:02:02.289 ******* ok: [sut] => { "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6cG9kbWFuCgpbY29udGFpbmVyc10KYW5ub3RhdGlvbnMgPSBbICJlbnZpcm9ubWVudD1wcm9kdWN0aW9uIiwgInN0YXR1cz10aWVyMiIsXQo=", "encoding": "base64", "source": "/etc/containers/containers.conf.d/50-systemroles.conf" } TASK [Check for presence of ansible managed header, fingerprint] *************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/tasks/check_header.yml:9 Wednesday 10 April 2024 14:25:43 +0000 (0:00:00.220) 0:02:02.509 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get file] **************************************************************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/tasks/check_header.yml:3 Wednesday 10 April 2024 14:25:43 +0000 (0:00:00.112) 0:02:02.621 ******* ok: [sut] => { "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6cG9kbWFuCgp1bnF1YWxpZmllZC1zZWFyY2gtcmVnaXN0cmllcz1bJ3JlZ2lzdHJ5LTEuZXhhbXBsZS5jb20nLCAncmVnaXN0cnktMi5leGFtcGxlLmNvbSddCmNyZWRlbnRpYWwtaGVscGVycz1bJ2NyZWQtaGVscGVyLTEnLCAnY3JlZC1oZWxwZXItMiddClthbGlhc2VzXQpteXJlZ2lzdHJ5PSJyZWdpc3RyeS5leGFtcGxlLmNvbSIK", "encoding": "base64", "source": "/etc/containers/registries.conf.d/50-systemroles.conf" } TASK [Check for presence of ansible managed header, fingerprint] *************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/tasks/check_header.yml:9 Wednesday 10 April 2024 14:25:44 +0000 (0:00:00.243) 0:02:02.865 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get file] **************************************************************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/tasks/check_header.yml:3 Wednesday 10 April 2024 14:25:44 +0000 (0:00:00.065) 0:02:02.931 ******* ok: [sut] => { "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6cG9kbWFuCgpbc3RvcmFnZV0KcnVucm9vdD0iL3RtcCIKZ3JhcGhyb290PSIvdmFyL2xpYi9jb250YWluZXJzL3N0b3JhZ2UiCg==", "encoding": "base64", "source": "/etc/containers/storage.conf" } TASK [Check for presence of ansible managed header, fingerprint] *************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/tasks/check_header.yml:9 Wednesday 10 April 2024 14:25:44 +0000 (0:00:00.220) 0:02:03.151 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove test config files] ************************************************ task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/tests_config_files.yml:157 Wednesday 10 April 2024 14:25:44 +0000 (0:00:00.210) 0:02:03.362 ******* changed: [sut] => (item=/etc/containers/containers.conf.d/50-systemroles.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/containers/containers.conf.d/50-systemroles.conf", "path": "/etc/containers/containers.conf.d/50-systemroles.conf", "state": "absent" } changed: [sut] => (item=/etc/containers/registries.conf.d/50-systemroles.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/containers/registries.conf.d/50-systemroles.conf", "path": "/etc/containers/registries.conf.d/50-systemroles.conf", "state": "absent" } changed: [sut] => (item=/etc/containers/storage.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/containers/storage.conf", "path": "/etc/containers/storage.conf", "state": "absent" } changed: [sut] => (item=/etc/containers/policy.json) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/containers/policy.json", "path": "/etc/containers/policy.json", "state": "absent" } changed: [sut] => (item=/home/user1/.config/containers/containers.conf.d/50-systemroles.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/home/user1/.config/containers/containers.conf.d/50-systemroles.conf", "path": "/home/user1/.config/containers/containers.conf.d/50-systemroles.conf", "state": "absent" } changed: [sut] => (item=/home/user1/.config/containers/registries.conf.d/50-systemroles.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/home/user1/.config/containers/registries.conf.d/50-systemroles.conf", "path": "/home/user1/.config/containers/registries.conf.d/50-systemroles.conf", "state": "absent" } changed: [sut] => (item=/home/user1/.config/containers/storage.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/home/user1/.config/containers/storage.conf", "path": "/home/user1/.config/containers/storage.conf", "state": "absent" } changed: [sut] => (item=/home/user1/.config/containers/policy.json) => { "ansible_loop_var": "item", "changed": true, "item": "/home/user1/.config/containers/policy.json", "path": "/home/user1/.config/containers/policy.json", "state": "absent" } TASK [Restore system config files] ********************************************* task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/tests_config_files.yml:163 Wednesday 10 April 2024 14:25:46 +0000 (0:00:01.721) 0:02:05.083 ******* ok: [sut] => { "changed": false, "cmd": [ "tar", "xfvpP", "/tmp/lsr_podman_config_5m89lwe8/backup.tar" ], "delta": "0:00:00.004479", "end": "2024-04-10 14:25:46.443930", "rc": 0, "start": "2024-04-10 14:25:46.439451" } STDOUT: /etc/containers/storage.conf /etc/containers/policy.json TASK [Remove temp directory] *************************************************** task path: /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/tests_config_files.yml:168 Wednesday 10 April 2024 14:25:46 +0000 (0:00:00.228) 0:02:05.312 ******* changed: [sut] => { "changed": true, "path": "/tmp/lsr_podman_config_5m89lwe8", "state": "absent" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=157 changed=16 unreachable=0 failed=0 skipped=108 rescued=0 ignored=0 Wednesday 10 April 2024 14:25:46 +0000 (0:00:00.218) 0:02:05.530 ******* =============================================================================== linux-system-roles.podman : Ensure required packages are installed ----- 75.51s /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:14 Gathering Facts --------------------------------------------------------- 5.84s /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/tests_config_files.yml:9 --------- linux-system-roles.podman : Gather the package facts -------------------- 3.83s /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:6 linux-system-roles.podman : Gather the package facts -------------------- 2.98s /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:6 Remove test config files ------------------------------------------------ 1.72s /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/tests_config_files.yml:157 ------- linux-system-roles.podman : Gather the package facts -------------------- 1.62s /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:6 Check that files still exist and are non-null --------------------------- 0.95s /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/tests_config_files.yml:98 -------- Check that files exist and are non-null --------------------------------- 0.92s /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/tests_config_files.yml:83 -------- Check that files still exist and are non-null --------------------------- 0.91s /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/tests_config_files.yml:128 ------- Check that files exist and are non-null --------------------------------- 0.90s /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/tests_config_files.yml:113 ------- linux-system-roles.podman : Update container config file ---------------- 0.79s /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 linux-system-roles.podman : Get podman version -------------------------- 0.69s /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/main.yml:23 linux-system-roles.podman : Update registries config file --------------- 0.66s /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 linux-system-roles.podman : Update storage config file ------------------ 0.66s /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 linux-system-roles.podman : Write new policy.json file ------------------ 0.65s /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:26 linux-system-roles.podman : Update storage config file ------------------ 0.65s /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 linux-system-roles.podman : Write new policy.json file ------------------ 0.62s /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:26 linux-system-roles.podman : Update container config file ---------------- 0.62s /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 linux-system-roles.podman : Update registries config file --------------- 0.62s /WORKDIR/git-fix-cancel-lingerv5z3ber2/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 linux-system-roles.podman : Update container config file ---------------- 0.59s /WORKDIR/git-fix-cancel-lingerv5z3ber2/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. ---^---^---^---^---^---