# STDOUT: ---v---v---v---v---v--- ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.9/lib/python3.9/site-packages/ansible executable location = /opt/ansible-2.9/bin/ansible-playbook python version = 3.9.18 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] Using /etc/ansible/ansible.cfg as config file Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_config_files.yml *********************************************** 2 plays in /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/tests_config_files.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Include vault variables] ************************************************* task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/tests_config_files.yml:4 Tuesday 06 February 2024 15:55:07 +0000 (0:00:00.011) 0:00:00.011 ****** ok: [sut] => { "ansible_facts": { "mysql_container_root_password": { "__ansible_vault": "$ANSIBLE_VAULT;1.1;AES256\n61333932373230333539663035366431326163363166363036323963623131363530326231303634\n6635326161643165363366323062333334363730376631660a393566366139353861656364656661\n38653463363837336639363032646433666361646535366137303464623261313663643336306465\n6264663730656337310a343962353137386238383064646533366433333437303566656433386233\n34343235326665646661623131643335313236313131353661386338343366316261643634653633\n3832313034366536616531323963333234326461353130303532\n" } }, "ansible_included_var_files": [ "/WORKDIR/git-fix-linger-handlingjx2lwu55/tests/vars/vault-variables.yml" ], "changed": false } META: ran handlers META: ran handlers PLAY [Ensure that the role can manage its config files] ************************ TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/tests_config_files.yml:9 Tuesday 06 February 2024 15:55:07 +0000 (0:00:00.009) 0:00:00.021 ****** ok: [sut] META: ran handlers TASK [Run the role with no config to get private vars] ************************* task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/tests_config_files.yml:48 Tuesday 06 February 2024 15:55:08 +0000 (0:00:00.669) 0:00:00.691 ****** TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:3 Tuesday 06 February 2024 15:55:08 +0000 (0:00:00.069) 0:00:00.761 ****** included: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/set_vars.yml for sut TASK [linux-system-roles.podman : Ensure ansible_facts used by role] *********** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:3 Tuesday 06 February 2024 15:55:08 +0000 (0:00:00.015) 0:00:00.776 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check if system is ostree] ******************* task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:12 Tuesday 06 February 2024 15:55:08 +0000 (0:00:00.020) 0:00:00.797 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.podman : Set flag to indicate system is ostree] ******* task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:17 Tuesday 06 February 2024 15:55:08 +0000 (0:00:00.283) 0:00:01.080 ****** ok: [sut] => { "ansible_facts": { "__podman_is_ostree": false }, "changed": false } TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:21 Tuesday 06 February 2024 15:55:08 +0000 (0:00:00.020) 0:00:01.100 ****** ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__podman_packages": [ "podman", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=CentOS_8.yml) => { "ansible_facts": { "__podman_packages": [ "crun", "podman", "podman-plugins", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [sut] => (item=CentOS_8.yml) => { "ansible_facts": { "__podman_packages": [ "crun", "podman", "podman-plugins", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [linux-system-roles.podman : Gather the package facts] ******************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:6 Tuesday 06 February 2024 15:55:08 +0000 (0:00:00.035) 0:00:01.135 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.podman : Enable copr if requested] ******************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:10 Tuesday 06 February 2024 15:55:10 +0000 (0:00:01.589) 0:00:02.725 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Ensure required packages are installed] ****** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:14 Tuesday 06 February 2024 15:55:10 +0000 (0:00:00.026) 0:00:02.751 ****** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: runc-1:1.1.11-1.module_el8+804+f131391c.x86_64", "Installed: shadow-utils-subid-2:4.6-22.el8.x86_64", "Installed: containernetworking-plugins-1:1.4.0-1.module_el8+804+f131391c.x86_64", "Installed: fuse3-3.3.0-17.el8.x86_64", "Installed: podman-gvproxy-3:4.8.3-1.module_el8+804+f131391c.x86_64", "Installed: criu-3.18-4.module_el8+804+f131391c.x86_64", "Installed: containers-common-2:1-58.module_el8+804+f131391c.x86_64", "Installed: fuse3-libs-3.3.0-17.el8.x86_64", "Installed: libnet-1.1.6-15.el8.x86_64", "Installed: criu-libs-3.18-4.module_el8+804+f131391c.x86_64", "Installed: podman-plugins-3:4.8.3-1.module_el8+804+f131391c.x86_64", "Installed: container-selinux-2:2.227.0-1.module_el8+804+f131391c.noarch", "Installed: crun-1.12-1.module_el8+804+f131391c.x86_64", "Installed: podman-3:4.8.3-1.module_el8+804+f131391c.x86_64", "Installed: slirp4netns-1.2.2-1.module_el8+804+f131391c.x86_64", "Installed: conmon-3:2.1.10-1.module_el8+804+f131391c.x86_64", "Installed: libslirp-4.4.0-1.module_el8+804+f131391c.x86_64", "Installed: podman-catatonit-3:4.8.3-1.module_el8+804+f131391c.x86_64", "Installed: protobuf-c-1.3.0-8.el8.x86_64", "Installed: dnsmasq-2.79-32.el8.x86_64", "Installed: fuse-common-3.3.0-17.el8.x86_64", "Installed: fuse-overlayfs-1.13-1.module_el8+804+f131391c.x86_64", "Installed: yajl-2.1.0-12.el8.x86_64" ] } TASK [linux-system-roles.podman : Get podman version] ************************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:23 Tuesday 06 February 2024 15:56:21 +0000 (0:01:11.791) 0:01:14.543 ****** ok: [sut] => { "changed": false, "cmd": [ "podman", "--version" ], "delta": "0:00:00.039120", "end": "2024-02-06 15:56:22.256700", "rc": 0, "start": "2024-02-06 15:56:22.217580" } STDOUT: podman version 4.8.3 TASK [linux-system-roles.podman : Set podman version] ************************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:28 Tuesday 06 February 2024 15:56:22 +0000 (0:00:00.379) 0:01:14.923 ****** ok: [sut] => { "ansible_facts": { "podman_version": "4.8.3" }, "changed": false } TASK [linux-system-roles.podman : Podman package version must be 4.2 or later] *** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:32 Tuesday 06 February 2024 15:56:22 +0000 (0:00:00.027) 0:01:14.950 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Podman package version must be 4.4 or later for quadlet, secrets] *** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:39 Tuesday 06 February 2024 15:56:22 +0000 (0:00:00.031) 0:01:14.982 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: end_host conditional evaluated to false, continuing execution for sut TASK [linux-system-roles.podman : Check user and group information] ************ task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:56 Tuesday 06 February 2024 15:56:22 +0000 (0:00:00.063) 0:01:15.045 ****** included: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml for sut TASK [linux-system-roles.podman : Get user information] ************************ task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:2 Tuesday 06 February 2024 15:56:22 +0000 (0:00:00.036) 0:01:15.082 ****** ok: [sut] => { "ansible_facts": { "getent_passwd": { "root": [ "x", "0", "0", "root", "/root", "/bin/bash" ] } }, "changed": false } TASK [linux-system-roles.podman : Fail if user does not exist] ***************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:10 Tuesday 06 February 2024 15:56:22 +0000 (0:00:00.280) 0:01:15.363 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set group for podman user] ******************* task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:17 Tuesday 06 February 2024 15:56:22 +0000 (0:00:00.022) 0:01:15.385 ****** ok: [sut] => { "ansible_facts": { "__podman_group": "0" }, "changed": false } TASK [linux-system-roles.podman : Get group information] *********************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:28 Tuesday 06 February 2024 15:56:22 +0000 (0:00:00.024) 0:01:15.410 ****** ok: [sut] => { "ansible_facts": { "getent_group": { "root": [ "x", "0", "" ] } }, "changed": false } TASK [linux-system-roles.podman : Set group name] ****************************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:36 Tuesday 06 February 2024 15:56:23 +0000 (0:00:00.252) 0:01:15.663 ****** ok: [sut] => { "ansible_facts": { "__podman_group_name": "root" }, "changed": false } TASK [linux-system-roles.podman : See if getsubids exists] ********************* task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:41 Tuesday 06 February 2024 15:56:23 +0000 (0:00:00.034) 0:01:15.697 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1700557386.0, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 32, "charset": "binary", "checksum": "bb5b46ffbafcaa8c4021f3c8b3cb8594f48ef34b", "ctime": 1707234947.5798032, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 6774528, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "application/x-sharedlib", "mode": "0755", "mtime": 1700557386.0, "nlink": 1, "path": "/usr/bin/getsubids", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 12640, "uid": 0, "version": "2927420373", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [linux-system-roles.podman : Check user with getsubids] ******************* task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:52 Tuesday 06 February 2024 15:56:23 +0000 (0:00:00.260) 0:01:15.957 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check group with getsubids] ****************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:56 Tuesday 06 February 2024 15:56:23 +0000 (0:00:00.019) 0:01:15.977 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check if user is in subuid file] ************* task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:66 Tuesday 06 February 2024 15:56:23 +0000 (0:00:00.019) 0:01:15.996 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Fail if user not in subuid file] ************* task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:74 Tuesday 06 February 2024 15:56:23 +0000 (0:00:00.020) 0:01:16.017 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check if group is in subgid file] ************ task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:81 Tuesday 06 February 2024 15:56:23 +0000 (0:00:00.021) 0:01:16.038 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Fail if group not in subgid file] ************ task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:89 Tuesday 06 February 2024 15:56:23 +0000 (0:00:00.019) 0:01:16.058 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set config file paths] *********************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:62 Tuesday 06 February 2024 15:56:23 +0000 (0:00:00.019) 0:01:16.077 ****** ok: [sut] => { "ansible_facts": { "__podman_container_conf_file": "/etc/containers/containers.conf.d/50-systemroles.conf", "__podman_policy_json_file": "/etc/containers/policy.json", "__podman_registries_conf_file": "/etc/containers/registries.conf.d/50-systemroles.conf", "__podman_storage_conf_file": "/etc/containers/storage.conf" }, "changed": false } TASK [linux-system-roles.podman : Handle container.conf.d] ********************* task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:80 Tuesday 06 February 2024 15:56:23 +0000 (0:00:00.039) 0:01:16.117 ****** included: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml for sut TASK [linux-system-roles.podman : Ensure containers.d exists] ****************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:5 Tuesday 06 February 2024 15:56:23 +0000 (0:00:00.057) 0:01:16.175 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Update container config file] **************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 Tuesday 06 February 2024 15:56:23 +0000 (0:00:00.019) 0:01:16.194 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Handle registries.conf.d] ******************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:83 Tuesday 06 February 2024 15:56:23 +0000 (0:00:00.021) 0:01:16.216 ****** included: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml for sut TASK [linux-system-roles.podman : Ensure registries.d exists] ****************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:5 Tuesday 06 February 2024 15:56:23 +0000 (0:00:00.035) 0:01:16.251 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Update registries config file] *************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 Tuesday 06 February 2024 15:56:23 +0000 (0:00:00.034) 0:01:16.286 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Handle storage.conf] ************************* task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:86 Tuesday 06 February 2024 15:56:23 +0000 (0:00:00.019) 0:01:16.305 ****** included: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml for sut TASK [linux-system-roles.podman : Ensure storage.conf parent dir exists] ******* task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:5 Tuesday 06 February 2024 15:56:23 +0000 (0:00:00.060) 0:01:16.366 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Update storage config file] ****************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 Tuesday 06 February 2024 15:56:23 +0000 (0:00:00.032) 0:01:16.398 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Handle policy.json] ************************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:89 Tuesday 06 February 2024 15:56:23 +0000 (0:00:00.034) 0:01:16.433 ****** included: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml for sut TASK [linux-system-roles.podman : Ensure policy.json parent dir exists] ******** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:6 Tuesday 06 February 2024 15:56:23 +0000 (0:00:00.055) 0:01:16.488 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Stat the policy.json file] ******************* task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:15 Tuesday 06 February 2024 15:56:23 +0000 (0:00:00.027) 0:01:16.516 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Get the existing policy.json] **************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:20 Tuesday 06 February 2024 15:56:23 +0000 (0:00:00.020) 0:01:16.536 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Write new policy.json file] ****************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:26 Tuesday 06 February 2024 15:56:23 +0000 (0:00:00.040) 0:01:16.576 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage firewall for specified ports] ************************************* task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:95 Tuesday 06 February 2024 15:56:23 +0000 (0:00:00.022) 0:01:16.598 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage selinux for specified ports] ************************************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:102 Tuesday 06 February 2024 15:56:23 +0000 (0:00:00.021) 0:01:16.619 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Keep track of users that need to cancel linger] *** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:109 Tuesday 06 February 2024 15:56:24 +0000 (0:00:00.052) 0:01:16.671 ****** ok: [sut] => { "ansible_facts": { "__podman_cancel_user_linger": [] }, "changed": false } TASK [linux-system-roles.podman : Handle secrets] ****************************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:113 Tuesday 06 February 2024 15:56:24 +0000 (0:00:00.027) 0:01:16.698 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.podman : Handle Kubernetes specifications] ************ task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:120 Tuesday 06 February 2024 15:56:24 +0000 (0:00:00.050) 0:01:16.749 ****** TASK [linux-system-roles.podman : Handle Quadlet specifications] *************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:126 Tuesday 06 February 2024 15:56:24 +0000 (0:00:00.036) 0:01:16.786 ****** TASK [linux-system-roles.podman : Cancel linger] ******************************* task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:132 Tuesday 06 February 2024 15:56:24 +0000 (0:00:00.028) 0:01:16.814 ****** TASK [Create temp directory] *************************************************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/tests_config_files.yml:59 Tuesday 06 February 2024 15:56:24 +0000 (0:00:00.019) 0:01:16.834 ****** changed: [sut] => { "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/lsr_podman_config_2lv387si", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [Create backup] *********************************************************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/tests_config_files.yml:65 Tuesday 06 February 2024 15:56:24 +0000 (0:00:00.306) 0:01:17.141 ****** ok: [sut] => { "changed": false, "cmd": [ "tar", "--ignore-failed-read", "-c", "-P", "-v", "-p", "-f", "/tmp/lsr_podman_config_2lv387si/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.009146", "end": "2024-02-06 15:56:24.715914", "rc": 0, "start": "2024-02-06 15:56:24.706768" } STDOUT: /etc/containers/storage.conf /etc/containers/policy.json STDERR: tar: /etc/containers/containers.conf.d/50-systemroles.conf: Warning: Cannot stat: No such file or directory tar: /etc/containers/registries.conf.d/50-systemroles.conf: Warning: Cannot stat: No such file or directory TASK [Create user] ************************************************************* task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/tests_config_files.yml:72 Tuesday 06 February 2024 15:56:24 +0000 (0:00:00.252) 0:01:17.393 ****** changed: [sut] => { "changed": true, "comment": "", "create_home": true, "group": 1000, "home": "/home/user1", "name": "user1", "shell": "/bin/bash", "state": "present", "system": false, "uid": 1000 } TASK [Run the role with user config] ******************************************* task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/tests_config_files.yml:76 Tuesday 06 February 2024 15:56:25 +0000 (0:00:00.492) 0:01:17.886 ****** TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:3 Tuesday 06 February 2024 15:56:25 +0000 (0:00:00.072) 0:01:17.958 ****** included: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/set_vars.yml for sut TASK [linux-system-roles.podman : Ensure ansible_facts used by role] *********** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:3 Tuesday 06 February 2024 15:56:25 +0000 (0:00:00.039) 0:01:17.997 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check if system is ostree] ******************* task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:12 Tuesday 06 February 2024 15:56:25 +0000 (0:00:00.022) 0:01:18.020 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set flag to indicate system is ostree] ******* task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:17 Tuesday 06 February 2024 15:56:25 +0000 (0:00:00.023) 0:01:18.043 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:21 Tuesday 06 February 2024 15:56:25 +0000 (0:00:00.019) 0:01:18.063 ****** ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__podman_packages": [ "podman", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=CentOS_8.yml) => { "ansible_facts": { "__podman_packages": [ "crun", "podman", "podman-plugins", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [sut] => (item=CentOS_8.yml) => { "ansible_facts": { "__podman_packages": [ "crun", "podman", "podman-plugins", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [linux-system-roles.podman : Gather the package facts] ******************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:6 Tuesday 06 February 2024 15:56:25 +0000 (0:00:00.109) 0:01:18.172 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.podman : Enable copr if requested] ******************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:10 Tuesday 06 February 2024 15:56:27 +0000 (0:00:01.489) 0:01:19.661 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Ensure required packages are installed] ****** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:14 Tuesday 06 February 2024 15:56:27 +0000 (0:00:00.037) 0:01:19.699 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Get podman version] ************************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:23 Tuesday 06 February 2024 15:56:27 +0000 (0:00:00.057) 0:01:19.756 ****** ok: [sut] => { "changed": false, "cmd": [ "podman", "--version" ], "delta": "0:00:00.036258", "end": "2024-02-06 15:56:27.355222", "rc": 0, "start": "2024-02-06 15:56:27.318964" } STDOUT: podman version 4.8.3 TASK [linux-system-roles.podman : Set podman version] ************************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:28 Tuesday 06 February 2024 15:56:27 +0000 (0:00:00.277) 0:01:20.034 ****** ok: [sut] => { "ansible_facts": { "podman_version": "4.8.3" }, "changed": false } TASK [linux-system-roles.podman : Podman package version must be 4.2 or later] *** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:32 Tuesday 06 February 2024 15:56:27 +0000 (0:00:00.025) 0:01:20.059 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Podman package version must be 4.4 or later for quadlet, secrets] *** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:39 Tuesday 06 February 2024 15:56:27 +0000 (0:00:00.048) 0:01:20.108 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: end_host conditional evaluated to false, continuing execution for sut TASK [linux-system-roles.podman : Check user and group information] ************ task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:56 Tuesday 06 February 2024 15:56:27 +0000 (0:00:00.073) 0:01:20.182 ****** included: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml for sut TASK [linux-system-roles.podman : Get user information] ************************ task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:2 Tuesday 06 February 2024 15:56:27 +0000 (0:00:00.081) 0:01:20.264 ****** ok: [sut] => { "ansible_facts": { "getent_passwd": { "user1": [ "x", "1000", "1000", "", "/home/user1", "/bin/bash" ] } }, "changed": false } TASK [linux-system-roles.podman : Fail if user does not exist] ***************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:10 Tuesday 06 February 2024 15:56:27 +0000 (0:00:00.271) 0:01:20.536 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set group for podman user] ******************* task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:17 Tuesday 06 February 2024 15:56:27 +0000 (0:00:00.036) 0:01:20.572 ****** ok: [sut] => { "ansible_facts": { "__podman_group": "1000" }, "changed": false } TASK [linux-system-roles.podman : Get group information] *********************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:28 Tuesday 06 February 2024 15:56:27 +0000 (0:00:00.044) 0:01:20.617 ****** ok: [sut] => { "ansible_facts": { "getent_group": { "user1": [ "x", "1000", "" ] } }, "changed": false } TASK [linux-system-roles.podman : Set group name] ****************************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:36 Tuesday 06 February 2024 15:56:28 +0000 (0:00:00.240) 0:01:20.858 ****** ok: [sut] => { "ansible_facts": { "__podman_group_name": "user1" }, "changed": false } TASK [linux-system-roles.podman : See if getsubids exists] ********************* task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:41 Tuesday 06 February 2024 15:56:28 +0000 (0:00:00.025) 0:01:20.883 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707234983.2787871, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 32, "charset": "binary", "checksum": "bb5b46ffbafcaa8c4021f3c8b3cb8594f48ef34b", "ctime": 1707234947.5798032, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 6774528, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "application/x-sharedlib", "mode": "0755", "mtime": 1700557386.0, "nlink": 1, "path": "/usr/bin/getsubids", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 12640, "uid": 0, "version": "2927420373", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [linux-system-roles.podman : Check user with getsubids] ******************* task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:52 Tuesday 06 February 2024 15:56:28 +0000 (0:00:00.237) 0:01:21.121 ****** ok: [sut] => { "changed": false, "cmd": [ "getsubids", "user1" ], "delta": "0:00:00.004447", "end": "2024-02-06 15:56:28.685840", "rc": 0, "start": "2024-02-06 15:56:28.681393" } STDOUT: 0: user1 100000 65536 TASK [linux-system-roles.podman : Check group with getsubids] ****************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:56 Tuesday 06 February 2024 15:56:28 +0000 (0:00:00.230) 0:01:21.352 ****** ok: [sut] => { "changed": false, "cmd": [ "getsubids", "-g", "user1" ], "delta": "0:00:00.004407", "end": "2024-02-06 15:56:28.916742", "rc": 0, "start": "2024-02-06 15:56:28.912335" } STDOUT: 0: user1 100000 65536 TASK [linux-system-roles.podman : Check if user is in subuid file] ************* task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:66 Tuesday 06 February 2024 15:56:28 +0000 (0:00:00.234) 0:01:21.587 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Fail if user not in subuid file] ************* task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:74 Tuesday 06 February 2024 15:56:28 +0000 (0:00:00.023) 0:01:21.610 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check if group is in subgid file] ************ task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:81 Tuesday 06 February 2024 15:56:28 +0000 (0:00:00.022) 0:01:21.632 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Fail if group not in subgid file] ************ task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:89 Tuesday 06 February 2024 15:56:29 +0000 (0:00:00.023) 0:01:21.656 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set config file paths] *********************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:62 Tuesday 06 February 2024 15:56:29 +0000 (0:00:00.022) 0:01:21.678 ****** ok: [sut] => { "ansible_facts": { "__podman_container_conf_file": "/home/user1/.config/containers/containers.conf.d/50-systemroles.conf", "__podman_policy_json_file": "/home/user1/.config/containers/policy.json", "__podman_registries_conf_file": "/home/user1/.config/containers/registries.conf.d/50-systemroles.conf", "__podman_storage_conf_file": "/home/user1/.config/containers/storage.conf" }, "changed": false } TASK [linux-system-roles.podman : Handle container.conf.d] ********************* task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:80 Tuesday 06 February 2024 15:56:29 +0000 (0:00:00.044) 0:01:21.722 ****** included: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml for sut TASK [linux-system-roles.podman : Ensure containers.d exists] ****************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:5 Tuesday 06 February 2024 15:56:29 +0000 (0:00:00.062) 0:01:21.785 ****** changed: [sut] => { "changed": true, "gid": 0, "group": "root", "mode": "0755", "owner": "user1", "path": "/home/user1/.config/containers/containers.conf.d", "secontext": "unconfined_u:object_r:config_home_t:s0", "size": 6, "state": "directory", "uid": 1000 } TASK [linux-system-roles.podman : Update container config file] **************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 Tuesday 06 February 2024 15:56:29 +0000 (0:00:00.293) 0:01:22.078 ****** 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-1707234989.4893188-3196-210689967078750/source", "state": "file", "uid": 1000 } TASK [linux-system-roles.podman : Handle registries.conf.d] ******************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:83 Tuesday 06 February 2024 15:56:30 +0000 (0:00:00.724) 0:01:22.803 ****** included: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml for sut TASK [linux-system-roles.podman : Ensure registries.d exists] ****************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:5 Tuesday 06 February 2024 15:56:30 +0000 (0:00:00.041) 0:01:22.845 ****** changed: [sut] => { "changed": true, "gid": 0, "group": "root", "mode": "0755", "owner": "user1", "path": "/home/user1/.config/containers/registries.conf.d", "secontext": "unconfined_u:object_r:config_home_t:s0", "size": 6, "state": "directory", "uid": 1000 } TASK [linux-system-roles.podman : Update registries config file] *************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 Tuesday 06 February 2024 15:56:30 +0000 (0:00:00.244) 0:01:23.089 ****** 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-1707234990.5083063-3216-37101890179652/source", "state": "file", "uid": 1000 } TASK [linux-system-roles.podman : Handle storage.conf] ************************* task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:86 Tuesday 06 February 2024 15:56:31 +0000 (0:00:00.716) 0:01:23.806 ****** included: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml for sut TASK [linux-system-roles.podman : Ensure storage.conf parent dir exists] ******* task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:5 Tuesday 06 February 2024 15:56:31 +0000 (0:00:00.045) 0:01:23.851 ****** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "user1", "path": "/home/user1/.config/containers", "secontext": "unconfined_u:object_r:config_home_t:s0", "size": 56, "state": "directory", "uid": 1000 } TASK [linux-system-roles.podman : Update storage config file] ****************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 Tuesday 06 February 2024 15:56:31 +0000 (0:00:00.270) 0:01:24.122 ****** 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-1707234991.5700397-3231-107938034398380/source", "state": "file", "uid": 1000 } TASK [linux-system-roles.podman : Handle policy.json] ************************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:89 Tuesday 06 February 2024 15:56:32 +0000 (0:00:00.698) 0:01:24.820 ****** included: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml for sut TASK [linux-system-roles.podman : Ensure policy.json parent dir exists] ******** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:6 Tuesday 06 February 2024 15:56:32 +0000 (0:00:00.038) 0:01:24.859 ****** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "user1", "path": "/home/user1/.config/containers", "secontext": "unconfined_u:object_r:config_home_t:s0", "size": 76, "state": "directory", "uid": 1000 } TASK [linux-system-roles.podman : Stat the policy.json file] ******************* task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:15 Tuesday 06 February 2024 15:56:32 +0000 (0:00:00.237) 0:01:25.097 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.podman : Get the existing policy.json] **************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:20 Tuesday 06 February 2024 15:56:32 +0000 (0:00:00.228) 0:01:25.325 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Write new policy.json file] ****************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:26 Tuesday 06 February 2024 15:56:32 +0000 (0:00:00.021) 0:01:25.346 ****** 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-1707234992.7537453-3254-114157334934221/source", "state": "file", "uid": 1000 } TASK [Manage firewall for specified ports] ************************************* task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:95 Tuesday 06 February 2024 15:56:33 +0000 (0:00:00.643) 0:01:25.990 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage selinux for specified ports] ************************************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:102 Tuesday 06 February 2024 15:56:33 +0000 (0:00:00.019) 0:01:26.010 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Keep track of users that need to cancel linger] *** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:109 Tuesday 06 February 2024 15:56:33 +0000 (0:00:00.018) 0:01:26.028 ****** ok: [sut] => { "ansible_facts": { "__podman_cancel_user_linger": [] }, "changed": false } TASK [linux-system-roles.podman : Handle secrets] ****************************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:113 Tuesday 06 February 2024 15:56:33 +0000 (0:00:00.017) 0:01:26.046 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.podman : Handle Kubernetes specifications] ************ task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:120 Tuesday 06 February 2024 15:56:33 +0000 (0:00:00.017) 0:01:26.063 ****** TASK [linux-system-roles.podman : Handle Quadlet specifications] *************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:126 Tuesday 06 February 2024 15:56:33 +0000 (0:00:00.018) 0:01:26.081 ****** TASK [linux-system-roles.podman : Cancel linger] ******************************* task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:132 Tuesday 06 February 2024 15:56:33 +0000 (0:00:00.018) 0:01:26.100 ****** TASK [Check that files exist and are non-null] ********************************* task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/tests_config_files.yml:83 Tuesday 06 February 2024 15:56:33 +0000 (0:00:00.016) 0:01:26.116 ****** 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": 1707234990.0897846, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "94370d6e765779f1c58daf02f667b8f0b74d91f6", "ctime": 1707234990.0987844, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 497025345, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1707234989.7897847, "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": "1588706995", "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": 1707234991.0637841, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "dfb9cd7094a81b3d1bb06512cc9b49a09c75639b", "ctime": 1707234991.0727842, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 507511046, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1707234990.8207843, "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": "813335806", "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": 1707234992.1147838, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d08574b6a1df63dbe1c939ff0bcc7c0b61d03044", "ctime": 1707234992.1237838, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 515899713, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1707234991.887784, "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": "3315562313", "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": 1707234993.2837834, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6746c079ad563b735fc39f73d4876654b80b0a0d", "ctime": 1707234993.2917833, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 1135474, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1707234993.0397835, "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": "2465150716", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Run the role again with user config] ************************************* task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/tests_config_files.yml:91 Tuesday 06 February 2024 15:56:34 +0000 (0:00:00.913) 0:01:27.030 ****** TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:3 Tuesday 06 February 2024 15:56:34 +0000 (0:00:00.044) 0:01:27.074 ****** included: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/set_vars.yml for sut TASK [linux-system-roles.podman : Ensure ansible_facts used by role] *********** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:3 Tuesday 06 February 2024 15:56:34 +0000 (0:00:00.033) 0:01:27.108 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check if system is ostree] ******************* task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:12 Tuesday 06 February 2024 15:56:34 +0000 (0:00:00.024) 0:01:27.132 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set flag to indicate system is ostree] ******* task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:17 Tuesday 06 February 2024 15:56:34 +0000 (0:00:00.017) 0:01:27.150 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:21 Tuesday 06 February 2024 15:56:34 +0000 (0:00:00.018) 0:01:27.168 ****** ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__podman_packages": [ "podman", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=CentOS_8.yml) => { "ansible_facts": { "__podman_packages": [ "crun", "podman", "podman-plugins", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [sut] => (item=CentOS_8.yml) => { "ansible_facts": { "__podman_packages": [ "crun", "podman", "podman-plugins", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [linux-system-roles.podman : Gather the package facts] ******************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:6 Tuesday 06 February 2024 15:56:34 +0000 (0:00:00.047) 0:01:27.216 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.podman : Enable copr if requested] ******************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:10 Tuesday 06 February 2024 15:56:36 +0000 (0:00:01.467) 0:01:28.683 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Ensure required packages are installed] ****** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:14 Tuesday 06 February 2024 15:56:36 +0000 (0:00:00.022) 0:01:28.705 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Get podman version] ************************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:23 Tuesday 06 February 2024 15:56:36 +0000 (0:00:00.026) 0:01:28.732 ****** ok: [sut] => { "changed": false, "cmd": [ "podman", "--version" ], "delta": "0:00:00.035157", "end": "2024-02-06 15:56:36.323481", "rc": 0, "start": "2024-02-06 15:56:36.288324" } STDOUT: podman version 4.8.3 TASK [linux-system-roles.podman : Set podman version] ************************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:28 Tuesday 06 February 2024 15:56:36 +0000 (0:00:00.258) 0:01:28.990 ****** ok: [sut] => { "ansible_facts": { "podman_version": "4.8.3" }, "changed": false } TASK [linux-system-roles.podman : Podman package version must be 4.2 or later] *** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:32 Tuesday 06 February 2024 15:56:36 +0000 (0:00:00.021) 0:01:29.012 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Podman package version must be 4.4 or later for quadlet, secrets] *** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:39 Tuesday 06 February 2024 15:56:36 +0000 (0:00:00.020) 0:01:29.032 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: end_host conditional evaluated to false, continuing execution for sut TASK [linux-system-roles.podman : Check user and group information] ************ task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:56 Tuesday 06 February 2024 15:56:36 +0000 (0:00:00.036) 0:01:29.068 ****** included: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml for sut TASK [linux-system-roles.podman : Get user information] ************************ task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:2 Tuesday 06 February 2024 15:56:36 +0000 (0:00:00.046) 0:01:29.115 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Fail if user does not exist] ***************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:10 Tuesday 06 February 2024 15:56:36 +0000 (0:00:00.025) 0:01:29.141 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set group for podman user] ******************* task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:17 Tuesday 06 February 2024 15:56:36 +0000 (0:00:00.023) 0:01:29.164 ****** ok: [sut] => { "ansible_facts": { "__podman_group": "1000" }, "changed": false } TASK [linux-system-roles.podman : Get group information] *********************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:28 Tuesday 06 February 2024 15:56:36 +0000 (0:00:00.026) 0:01:29.191 ****** ok: [sut] => { "ansible_facts": { "getent_group": { "user1": [ "x", "1000", "" ] } }, "changed": false } TASK [linux-system-roles.podman : Set group name] ****************************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:36 Tuesday 06 February 2024 15:56:36 +0000 (0:00:00.243) 0:01:29.435 ****** ok: [sut] => { "ansible_facts": { "__podman_group_name": "user1" }, "changed": false } TASK [linux-system-roles.podman : See if getsubids exists] ********************* task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:41 Tuesday 06 February 2024 15:56:36 +0000 (0:00:00.025) 0:01:29.460 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707234983.2787871, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 32, "charset": "binary", "checksum": "bb5b46ffbafcaa8c4021f3c8b3cb8594f48ef34b", "ctime": 1707234947.5798032, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 6774528, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "application/x-sharedlib", "mode": "0755", "mtime": 1700557386.0, "nlink": 1, "path": "/usr/bin/getsubids", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 12640, "uid": 0, "version": "2927420373", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [linux-system-roles.podman : Check user with getsubids] ******************* task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:52 Tuesday 06 February 2024 15:56:37 +0000 (0:00:00.232) 0:01:29.693 ****** ok: [sut] => { "changed": false, "cmd": [ "getsubids", "user1" ], "delta": "0:00:00.004443", "end": "2024-02-06 15:56:37.262400", "rc": 0, "start": "2024-02-06 15:56:37.257957" } STDOUT: 0: user1 100000 65536 TASK [linux-system-roles.podman : Check group with getsubids] ****************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:56 Tuesday 06 February 2024 15:56:37 +0000 (0:00:00.237) 0:01:29.931 ****** ok: [sut] => { "changed": false, "cmd": [ "getsubids", "-g", "user1" ], "delta": "0:00:00.004731", "end": "2024-02-06 15:56:37.499737", "rc": 0, "start": "2024-02-06 15:56:37.495006" } STDOUT: 0: user1 100000 65536 TASK [linux-system-roles.podman : Check if user is in subuid file] ************* task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:66 Tuesday 06 February 2024 15:56:37 +0000 (0:00:00.235) 0:01:30.166 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Fail if user not in subuid file] ************* task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:74 Tuesday 06 February 2024 15:56:37 +0000 (0:00:00.019) 0:01:30.186 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check if group is in subgid file] ************ task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:81 Tuesday 06 February 2024 15:56:37 +0000 (0:00:00.019) 0:01:30.205 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Fail if group not in subgid file] ************ task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:89 Tuesday 06 February 2024 15:56:37 +0000 (0:00:00.018) 0:01:30.223 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set config file paths] *********************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:62 Tuesday 06 February 2024 15:56:37 +0000 (0:00:00.018) 0:01:30.241 ****** ok: [sut] => { "ansible_facts": { "__podman_container_conf_file": "/home/user1/.config/containers/containers.conf.d/50-systemroles.conf", "__podman_policy_json_file": "/home/user1/.config/containers/policy.json", "__podman_registries_conf_file": "/home/user1/.config/containers/registries.conf.d/50-systemroles.conf", "__podman_storage_conf_file": "/home/user1/.config/containers/storage.conf" }, "changed": false } TASK [linux-system-roles.podman : Handle container.conf.d] ********************* task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:80 Tuesday 06 February 2024 15:56:37 +0000 (0:00:00.039) 0:01:30.281 ****** included: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml for sut TASK [linux-system-roles.podman : Ensure containers.d exists] ****************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:5 Tuesday 06 February 2024 15:56:37 +0000 (0:00:00.034) 0:01:30.315 ****** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "user1", "path": "/home/user1/.config/containers/containers.conf.d", "secontext": "unconfined_u:object_r:config_home_t:s0", "size": 33, "state": "directory", "uid": 1000 } TASK [linux-system-roles.podman : Update container config file] **************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 Tuesday 06 February 2024 15:56:37 +0000 (0:00:00.236) 0:01:30.552 ****** ok: [sut] => { "changed": false, "checksum": "94370d6e765779f1c58daf02f667b8f0b74d91f6", "dest": "/home/user1/.config/containers/containers.conf.d/50-systemroles.conf", "gid": 0, "group": "root", "mode": "0644", "owner": "user1", "path": "/home/user1/.config/containers/containers.conf.d/50-systemroles.conf", "secontext": "unconfined_u:object_r:config_home_t:s0", "size": 116, "state": "file", "uid": 1000 } TASK [linux-system-roles.podman : Handle registries.conf.d] ******************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:83 Tuesday 06 February 2024 15:56:38 +0000 (0:00:00.601) 0:01:31.153 ****** included: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml for sut TASK [linux-system-roles.podman : Ensure registries.d exists] ****************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:5 Tuesday 06 February 2024 15:56:38 +0000 (0:00:00.045) 0:01:31.199 ****** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "user1", "path": "/home/user1/.config/containers/registries.conf.d", "secontext": "unconfined_u:object_r:config_home_t:s0", "size": 33, "state": "directory", "uid": 1000 } TASK [linux-system-roles.podman : Update registries config file] *************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 Tuesday 06 February 2024 15:56:38 +0000 (0:00:00.245) 0:01:31.444 ****** ok: [sut] => { "changed": false, "checksum": "dfb9cd7094a81b3d1bb06512cc9b49a09c75639b", "dest": "/home/user1/.config/containers/registries.conf.d/50-systemroles.conf", "gid": 0, "group": "root", "mode": "0644", "owner": "user1", "path": "/home/user1/.config/containers/registries.conf.d/50-systemroles.conf", "secontext": "unconfined_u:object_r:config_home_t:s0", "size": 225, "state": "file", "uid": 1000 } TASK [linux-system-roles.podman : Handle storage.conf] ************************* task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:86 Tuesday 06 February 2024 15:56:39 +0000 (0:00:00.569) 0:01:32.013 ****** included: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml for sut TASK [linux-system-roles.podman : Ensure storage.conf parent dir exists] ******* task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:5 Tuesday 06 February 2024 15:56:39 +0000 (0:00:00.042) 0:01:32.055 ****** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "user1", "path": "/home/user1/.config/containers", "secontext": "unconfined_u:object_r:config_home_t:s0", "size": 95, "state": "directory", "uid": 1000 } TASK [linux-system-roles.podman : Update storage config file] ****************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 Tuesday 06 February 2024 15:56:39 +0000 (0:00:00.254) 0:01:32.310 ****** ok: [sut] => { "changed": false, "checksum": "d08574b6a1df63dbe1c939ff0bcc7c0b61d03044", "dest": "/home/user1/.config/containers/storage.conf", "gid": 0, "group": "root", "mode": "0644", "owner": "user1", "path": "/home/user1/.config/containers/storage.conf", "secontext": "unconfined_u:object_r:config_home_t:s0", "size": 109, "state": "file", "uid": 1000 } TASK [linux-system-roles.podman : Handle policy.json] ************************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:89 Tuesday 06 February 2024 15:56:40 +0000 (0:00:00.604) 0:01:32.915 ****** included: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml for sut TASK [linux-system-roles.podman : Ensure policy.json parent dir exists] ******** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:6 Tuesday 06 February 2024 15:56:40 +0000 (0:00:00.040) 0:01:32.955 ****** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "user1", "path": "/home/user1/.config/containers", "secontext": "unconfined_u:object_r:config_home_t:s0", "size": 95, "state": "directory", "uid": 1000 } TASK [linux-system-roles.podman : Stat the policy.json file] ******************* task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:15 Tuesday 06 February 2024 15:56:40 +0000 (0:00:00.263) 0:01:33.218 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707234994.347783, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6746c079ad563b735fc39f73d4876654b80b0a0d", "ctime": 1707234993.2917833, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 1135474, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1707234993.0397835, "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": "2465150716", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.podman : Get the existing policy.json] **************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:20 Tuesday 06 February 2024 15:56:40 +0000 (0:00:00.236) 0:01:33.455 ****** ok: [sut] => { "changed": false, "content": "ewogICAgImRlZmF1bHQiOiB7CiAgICAgICAgInR5cGUiOiAiaW5zZWN1cmVBY2NlcHRBbnl0aGluZyIKICAgIH0KfQ==", "encoding": "base64", "source": "/home/user1/.config/containers/policy.json" } TASK [linux-system-roles.podman : Write new policy.json file] ****************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:26 Tuesday 06 February 2024 15:56:41 +0000 (0:00:00.272) 0:01:33.727 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage firewall for specified ports] ************************************* task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:95 Tuesday 06 February 2024 15:56:41 +0000 (0:00:00.021) 0:01:33.749 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage selinux for specified ports] ************************************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:102 Tuesday 06 February 2024 15:56:41 +0000 (0:00:00.019) 0:01:33.768 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Keep track of users that need to cancel linger] *** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:109 Tuesday 06 February 2024 15:56:41 +0000 (0:00:00.017) 0:01:33.786 ****** ok: [sut] => { "ansible_facts": { "__podman_cancel_user_linger": [] }, "changed": false } TASK [linux-system-roles.podman : Handle secrets] ****************************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:113 Tuesday 06 February 2024 15:56:41 +0000 (0:00:00.018) 0:01:33.804 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.podman : Handle Kubernetes specifications] ************ task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:120 Tuesday 06 February 2024 15:56:41 +0000 (0:00:00.016) 0:01:33.821 ****** TASK [linux-system-roles.podman : Handle Quadlet specifications] *************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:126 Tuesday 06 February 2024 15:56:41 +0000 (0:00:00.017) 0:01:33.838 ****** TASK [linux-system-roles.podman : Cancel linger] ******************************* task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:132 Tuesday 06 February 2024 15:56:41 +0000 (0:00:00.017) 0:01:33.855 ****** TASK [Check that files still exist and are non-null] *************************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/tests_config_files.yml:98 Tuesday 06 February 2024 15:56:41 +0000 (0:00:00.016) 0:01:33.872 ****** 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": 1707234993.679783, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "94370d6e765779f1c58daf02f667b8f0b74d91f6", "ctime": 1707234990.0987844, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 497025345, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1707234989.7897847, "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": "1588706995", "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": 1707234993.903783, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "dfb9cd7094a81b3d1bb06512cc9b49a09c75639b", "ctime": 1707234991.0727842, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 507511046, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1707234990.8207843, "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": "813335806", "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": 1707234994.127783, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d08574b6a1df63dbe1c939ff0bcc7c0b61d03044", "ctime": 1707234992.1237838, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 515899713, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1707234991.887784, "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": "3315562313", "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": 1707234994.347783, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6746c079ad563b735fc39f73d4876654b80b0a0d", "ctime": 1707234993.2917833, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 1135474, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1707234993.0397835, "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": "2465150716", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Run the role with root config] ******************************************* task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/tests_config_files.yml:106 Tuesday 06 February 2024 15:56:42 +0000 (0:00:00.911) 0:01:34.784 ****** TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:3 Tuesday 06 February 2024 15:56:42 +0000 (0:00:00.090) 0:01:34.875 ****** included: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/set_vars.yml for sut TASK [linux-system-roles.podman : Ensure ansible_facts used by role] *********** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:3 Tuesday 06 February 2024 15:56:42 +0000 (0:00:00.033) 0:01:34.908 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check if system is ostree] ******************* task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:12 Tuesday 06 February 2024 15:56:42 +0000 (0:00:00.024) 0:01:34.933 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set flag to indicate system is ostree] ******* task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:17 Tuesday 06 February 2024 15:56:42 +0000 (0:00:00.018) 0:01:34.951 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:21 Tuesday 06 February 2024 15:56:42 +0000 (0:00:00.018) 0:01:34.970 ****** ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__podman_packages": [ "podman", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=CentOS_8.yml) => { "ansible_facts": { "__podman_packages": [ "crun", "podman", "podman-plugins", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [sut] => (item=CentOS_8.yml) => { "ansible_facts": { "__podman_packages": [ "crun", "podman", "podman-plugins", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [linux-system-roles.podman : Gather the package facts] ******************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:6 Tuesday 06 February 2024 15:56:42 +0000 (0:00:00.047) 0:01:35.018 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.podman : Enable copr if requested] ******************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:10 Tuesday 06 February 2024 15:56:43 +0000 (0:00:01.464) 0:01:36.482 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Ensure required packages are installed] ****** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:14 Tuesday 06 February 2024 15:56:43 +0000 (0:00:00.043) 0:01:36.526 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Get podman version] ************************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:23 Tuesday 06 February 2024 15:56:43 +0000 (0:00:00.022) 0:01:36.549 ****** ok: [sut] => { "changed": false, "cmd": [ "podman", "--version" ], "delta": "0:00:00.032386", "end": "2024-02-06 15:56:44.135390", "rc": 0, "start": "2024-02-06 15:56:44.103004" } STDOUT: podman version 4.8.3 TASK [linux-system-roles.podman : Set podman version] ************************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:28 Tuesday 06 February 2024 15:56:44 +0000 (0:00:00.251) 0:01:36.801 ****** ok: [sut] => { "ansible_facts": { "podman_version": "4.8.3" }, "changed": false } TASK [linux-system-roles.podman : Podman package version must be 4.2 or later] *** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:32 Tuesday 06 February 2024 15:56:44 +0000 (0:00:00.021) 0:01:36.823 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Podman package version must be 4.4 or later for quadlet, secrets] *** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:39 Tuesday 06 February 2024 15:56:44 +0000 (0:00:00.019) 0:01:36.842 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: end_host conditional evaluated to false, continuing execution for sut TASK [linux-system-roles.podman : Check user and group information] ************ task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:56 Tuesday 06 February 2024 15:56:44 +0000 (0:00:00.031) 0:01:36.874 ****** included: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml for sut TASK [linux-system-roles.podman : Get user information] ************************ task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:2 Tuesday 06 February 2024 15:56:44 +0000 (0:00:00.034) 0:01:36.909 ****** ok: [sut] => { "ansible_facts": { "getent_passwd": { "root": [ "x", "0", "0", "root", "/root", "/bin/bash" ] } }, "changed": false } TASK [linux-system-roles.podman : Fail if user does not exist] ***************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:10 Tuesday 06 February 2024 15:56:44 +0000 (0:00:00.232) 0:01:37.141 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set group for podman user] ******************* task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:17 Tuesday 06 February 2024 15:56:44 +0000 (0:00:00.023) 0:01:37.165 ****** ok: [sut] => { "ansible_facts": { "__podman_group": "0" }, "changed": false } TASK [linux-system-roles.podman : Get group information] *********************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:28 Tuesday 06 February 2024 15:56:44 +0000 (0:00:00.025) 0:01:37.191 ****** ok: [sut] => { "ansible_facts": { "getent_group": { "root": [ "x", "0", "" ] } }, "changed": false } TASK [linux-system-roles.podman : Set group name] ****************************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:36 Tuesday 06 February 2024 15:56:44 +0000 (0:00:00.231) 0:01:37.422 ****** ok: [sut] => { "ansible_facts": { "__podman_group_name": "root" }, "changed": false } TASK [linux-system-roles.podman : See if getsubids exists] ********************* task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:41 Tuesday 06 February 2024 15:56:44 +0000 (0:00:00.023) 0:01:37.446 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707234983.2787871, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 32, "charset": "binary", "checksum": "bb5b46ffbafcaa8c4021f3c8b3cb8594f48ef34b", "ctime": 1707234947.5798032, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 6774528, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "application/x-sharedlib", "mode": "0755", "mtime": 1700557386.0, "nlink": 1, "path": "/usr/bin/getsubids", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 12640, "uid": 0, "version": "2927420373", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [linux-system-roles.podman : Check user with getsubids] ******************* task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:52 Tuesday 06 February 2024 15:56:45 +0000 (0:00:00.230) 0:01:37.677 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check group with getsubids] ****************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:56 Tuesday 06 February 2024 15:56:45 +0000 (0:00:00.051) 0:01:37.728 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check if user is in subuid file] ************* task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:66 Tuesday 06 February 2024 15:56:45 +0000 (0:00:00.020) 0:01:37.749 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Fail if user not in subuid file] ************* task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:74 Tuesday 06 February 2024 15:56:45 +0000 (0:00:00.025) 0:01:37.774 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check if group is in subgid file] ************ task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:81 Tuesday 06 February 2024 15:56:45 +0000 (0:00:00.020) 0:01:37.794 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Fail if group not in subgid file] ************ task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:89 Tuesday 06 February 2024 15:56:45 +0000 (0:00:00.018) 0:01:37.813 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set config file paths] *********************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:62 Tuesday 06 February 2024 15:56:45 +0000 (0:00:00.018) 0:01:37.831 ****** ok: [sut] => { "ansible_facts": { "__podman_container_conf_file": "/etc/containers/containers.conf.d/50-systemroles.conf", "__podman_policy_json_file": "/etc/containers/policy.json", "__podman_registries_conf_file": "/etc/containers/registries.conf.d/50-systemroles.conf", "__podman_storage_conf_file": "/etc/containers/storage.conf" }, "changed": false } TASK [linux-system-roles.podman : Handle container.conf.d] ********************* task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:80 Tuesday 06 February 2024 15:56:45 +0000 (0:00:00.040) 0:01:37.871 ****** included: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml for sut TASK [linux-system-roles.podman : Ensure containers.d exists] ****************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:5 Tuesday 06 February 2024 15:56:45 +0000 (0:00:00.035) 0:01:37.907 ****** changed: [sut] => { "changed": true, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/containers/containers.conf.d", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [linux-system-roles.podman : Update container config file] **************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 Tuesday 06 February 2024 15:56:45 +0000 (0:00:00.238) 0:01:38.146 ****** 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-1707235005.5521894-3636-222158778644836/source", "state": "file", "uid": 0 } TASK [linux-system-roles.podman : Handle registries.conf.d] ******************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:83 Tuesday 06 February 2024 15:56:46 +0000 (0:00:00.635) 0:01:38.782 ****** included: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml for sut TASK [linux-system-roles.podman : Ensure registries.d exists] ****************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:5 Tuesday 06 February 2024 15:56:46 +0000 (0:00:00.036) 0:01:38.818 ****** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/containers/registries.conf.d", "secontext": "system_u:object_r:etc_t:s0", "size": 107, "state": "directory", "uid": 0 } TASK [linux-system-roles.podman : Update registries config file] *************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 Tuesday 06 February 2024 15:56:46 +0000 (0:00:00.238) 0:01:39.057 ****** 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-1707235006.4862964-3681-64823505876587/source", "state": "file", "uid": 0 } TASK [linux-system-roles.podman : Handle storage.conf] ************************* task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:86 Tuesday 06 February 2024 15:56:47 +0000 (0:00:00.705) 0:01:39.763 ****** included: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml for sut TASK [linux-system-roles.podman : Ensure storage.conf parent dir exists] ******* task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:5 Tuesday 06 February 2024 15:56:47 +0000 (0:00:00.078) 0:01:39.841 ****** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/containers", "secontext": "system_u:object_r:etc_t:s0", "size": 179, "state": "directory", "uid": 0 } TASK [linux-system-roles.podman : Update storage config file] ****************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 Tuesday 06 February 2024 15:56:47 +0000 (0:00:00.250) 0:01:40.091 ****** 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-1707235007.5051787-3734-23662783772844/source", "state": "file", "uid": 0 } TASK [linux-system-roles.podman : Handle policy.json] ************************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:89 Tuesday 06 February 2024 15:56:48 +0000 (0:00:00.690) 0:01:40.781 ****** included: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml for sut TASK [linux-system-roles.podman : Ensure policy.json parent dir exists] ******** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:6 Tuesday 06 February 2024 15:56:48 +0000 (0:00:00.041) 0:01:40.823 ****** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/containers", "secontext": "system_u:object_r:etc_t:s0", "size": 179, "state": "directory", "uid": 0 } TASK [linux-system-roles.podman : Stat the policy.json file] ******************* task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:15 Tuesday 06 February 2024 15:56:48 +0000 (0:00:00.244) 0:01:41.067 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707234984.7147865, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "a71b1d310c167cdc95c2fc11e7835d5636768f14", "ctime": 1707234948.8278024, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 390070593, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1704462717.0, "nlink": 1, "path": "/etc/containers/policy.json", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 663, "uid": 0, "version": "2869300322", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.podman : Get the existing policy.json] **************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:20 Tuesday 06 February 2024 15:56:48 +0000 (0:00:00.240) 0:01:41.307 ****** ok: [sut] => { "changed": false, "content": "ewogICAgImRlZmF1bHQiOiBbCiAgICAgICAgewogICAgICAgICAgICAidHlwZSI6ICJpbnNlY3VyZUFjY2VwdEFueXRoaW5nIgogICAgICAgIH0KICAgIF0sCiAgICAidHJhbnNwb3J0cyI6IHsKICAgICAgICAiZG9ja2VyIjogewoJICAgICJyZWdpc3RyeS5hY2Nlc3MucmVkaGF0LmNvbSI6IFsKCQl7CgkJICAgICJ0eXBlIjogInNpZ25lZEJ5IiwKCQkgICAgImtleVR5cGUiOiAiR1BHS2V5cyIsCgkJICAgICJrZXlQYXRocyI6IFsiL2V0Yy9wa2kvcnBtLWdwZy9SUE0tR1BHLUtFWS1yZWRoYXQtcmVsZWFzZSIsICIvZXRjL3BraS9ycG0tZ3BnL1JQTS1HUEctS0VZLXJlZGhhdC1iZXRhIl0KCQl9CgkgICAgXSwKCSAgICAicmVnaXN0cnkucmVkaGF0LmlvIjogWwoJCXsKCQkgICAgInR5cGUiOiAic2lnbmVkQnkiLAoJCSAgICAia2V5VHlwZSI6ICJHUEdLZXlzIiwKCQkgICAgImtleVBhdGhzIjogWyIvZXRjL3BraS9ycG0tZ3BnL1JQTS1HUEctS0VZLXJlZGhhdC1yZWxlYXNlIiwgIi9ldGMvcGtpL3JwbS1ncGcvUlBNLUdQRy1LRVktcmVkaGF0LWJldGEiXQoJCX0KCSAgICBdCgl9LAogICAgICAgICJkb2NrZXItZGFlbW9uIjogewoJICAgICIiOiBbCgkJewoJCSAgICAidHlwZSI6ICJpbnNlY3VyZUFjY2VwdEFueXRoaW5nIgoJCX0KCSAgICBdCgl9CiAgICB9Cn0K", "encoding": "base64", "source": "/etc/containers/policy.json" } TASK [linux-system-roles.podman : Write new policy.json file] ****************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:26 Tuesday 06 February 2024 15:56:48 +0000 (0:00:00.220) 0:01:41.528 ****** 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-1707235008.935012-3755-77314826261708/source", "state": "file", "uid": 0 } TASK [Manage firewall for specified ports] ************************************* task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:95 Tuesday 06 February 2024 15:56:49 +0000 (0:00:00.649) 0:01:42.177 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage selinux for specified ports] ************************************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:102 Tuesday 06 February 2024 15:56:49 +0000 (0:00:00.020) 0:01:42.198 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Keep track of users that need to cancel linger] *** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:109 Tuesday 06 February 2024 15:56:49 +0000 (0:00:00.034) 0:01:42.233 ****** ok: [sut] => { "ansible_facts": { "__podman_cancel_user_linger": [] }, "changed": false } TASK [linux-system-roles.podman : Handle secrets] ****************************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:113 Tuesday 06 February 2024 15:56:49 +0000 (0:00:00.025) 0:01:42.258 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.podman : Handle Kubernetes specifications] ************ task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:120 Tuesday 06 February 2024 15:56:49 +0000 (0:00:00.019) 0:01:42.278 ****** TASK [linux-system-roles.podman : Handle Quadlet specifications] *************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:126 Tuesday 06 February 2024 15:56:49 +0000 (0:00:00.019) 0:01:42.298 ****** TASK [linux-system-roles.podman : Cancel linger] ******************************* task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:132 Tuesday 06 February 2024 15:56:49 +0000 (0:00:00.020) 0:01:42.318 ****** TASK [Check that files exist and are non-null] ********************************* task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/tests_config_files.yml:113 Tuesday 06 February 2024 15:56:49 +0000 (0:00:00.022) 0:01:42.341 ****** 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": 1707235006.0727787, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "94370d6e765779f1c58daf02f667b8f0b74d91f6", "ctime": 1707235006.0777786, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 81789249, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1707235005.8477786, "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": "2501439567", "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": 1707235007.0157783, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "dfb9cd7094a81b3d1bb06512cc9b49a09c75639b", "ctime": 1707235007.0197783, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 90177857, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1707235006.7847784, "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": "4117031417", "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": 1707235008.0497777, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d08574b6a1df63dbe1c939ff0bcc7c0b61d03044", "ctime": 1707235008.050778, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 98566529, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1707235007.8177779, "nlink": 1, "path": "/etc/containers/storage.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 109, "uid": 0, "version": "258375005", "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": 1707235009.4557774, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6746c079ad563b735fc39f73d4876654b80b0a0d", "ctime": 1707235009.4567773, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 111149377, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1707235009.2297773, "nlink": 1, "path": "/etc/containers/policy.json", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 67, "uid": 0, "version": "794921130", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Run the role again with root config] ************************************* task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/tests_config_files.yml:121 Tuesday 06 February 2024 15:56:50 +0000 (0:00:00.905) 0:01:43.247 ****** TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:3 Tuesday 06 February 2024 15:56:50 +0000 (0:00:00.057) 0:01:43.305 ****** included: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/set_vars.yml for sut TASK [linux-system-roles.podman : Ensure ansible_facts used by role] *********** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:3 Tuesday 06 February 2024 15:56:50 +0000 (0:00:00.087) 0:01:43.392 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check if system is ostree] ******************* task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:12 Tuesday 06 February 2024 15:56:50 +0000 (0:00:00.024) 0:01:43.417 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set flag to indicate system is ostree] ******* task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:17 Tuesday 06 February 2024 15:56:50 +0000 (0:00:00.018) 0:01:43.436 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:21 Tuesday 06 February 2024 15:56:50 +0000 (0:00:00.024) 0:01:43.460 ****** ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__podman_packages": [ "podman", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=CentOS_8.yml) => { "ansible_facts": { "__podman_packages": [ "crun", "podman", "podman-plugins", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [sut] => (item=CentOS_8.yml) => { "ansible_facts": { "__podman_packages": [ "crun", "podman", "podman-plugins", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [linux-system-roles.podman : Gather the package facts] ******************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:6 Tuesday 06 February 2024 15:56:50 +0000 (0:00:00.050) 0:01:43.511 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.podman : Enable copr if requested] ******************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:10 Tuesday 06 February 2024 15:56:52 +0000 (0:00:01.492) 0:01:45.004 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Ensure required packages are installed] ****** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:14 Tuesday 06 February 2024 15:56:52 +0000 (0:00:00.034) 0:01:45.039 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Get podman version] ************************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:23 Tuesday 06 February 2024 15:56:52 +0000 (0:00:00.027) 0:01:45.066 ****** ok: [sut] => { "changed": false, "cmd": [ "podman", "--version" ], "delta": "0:00:00.031959", "end": "2024-02-06 15:56:52.654140", "rc": 0, "start": "2024-02-06 15:56:52.622181" } STDOUT: podman version 4.8.3 STDERR: time="2024-02-06T15:56:52Z" level=warning msg="The storage 'driver' option should be set in /etc/containers/storage.conf. A driver was picked automatically." TASK [linux-system-roles.podman : Set podman version] ************************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:28 Tuesday 06 February 2024 15:56:52 +0000 (0:00:00.260) 0:01:45.327 ****** ok: [sut] => { "ansible_facts": { "podman_version": "4.8.3" }, "changed": false } TASK [linux-system-roles.podman : Podman package version must be 4.2 or later] *** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:32 Tuesday 06 February 2024 15:56:52 +0000 (0:00:00.039) 0:01:45.367 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Podman package version must be 4.4 or later for quadlet, secrets] *** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:39 Tuesday 06 February 2024 15:56:52 +0000 (0:00:00.070) 0:01:45.437 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: end_host conditional evaluated to false, continuing execution for sut TASK [linux-system-roles.podman : Check user and group information] ************ task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:56 Tuesday 06 February 2024 15:56:52 +0000 (0:00:00.035) 0:01:45.473 ****** included: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml for sut TASK [linux-system-roles.podman : Get user information] ************************ task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:2 Tuesday 06 February 2024 15:56:52 +0000 (0:00:00.037) 0:01:45.510 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Fail if user does not exist] ***************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:10 Tuesday 06 February 2024 15:56:52 +0000 (0:00:00.040) 0:01:45.551 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set group for podman user] ******************* task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:17 Tuesday 06 February 2024 15:56:52 +0000 (0:00:00.029) 0:01:45.580 ****** ok: [sut] => { "ansible_facts": { "__podman_group": "0" }, "changed": false } TASK [linux-system-roles.podman : Get group information] *********************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:28 Tuesday 06 February 2024 15:56:52 +0000 (0:00:00.028) 0:01:45.609 ****** ok: [sut] => { "ansible_facts": { "getent_group": { "root": [ "x", "0", "" ] } }, "changed": false } TASK [linux-system-roles.podman : Set group name] ****************************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:36 Tuesday 06 February 2024 15:56:53 +0000 (0:00:00.247) 0:01:45.856 ****** ok: [sut] => { "ansible_facts": { "__podman_group_name": "root" }, "changed": false } TASK [linux-system-roles.podman : See if getsubids exists] ********************* task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:41 Tuesday 06 February 2024 15:56:53 +0000 (0:00:00.026) 0:01:45.883 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707234983.2787871, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 32, "charset": "binary", "checksum": "bb5b46ffbafcaa8c4021f3c8b3cb8594f48ef34b", "ctime": 1707234947.5798032, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 6774528, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "application/x-sharedlib", "mode": "0755", "mtime": 1700557386.0, "nlink": 1, "path": "/usr/bin/getsubids", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 12640, "uid": 0, "version": "2927420373", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [linux-system-roles.podman : Check user with getsubids] ******************* task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:52 Tuesday 06 February 2024 15:56:53 +0000 (0:00:00.252) 0:01:46.135 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check group with getsubids] ****************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:56 Tuesday 06 February 2024 15:56:53 +0000 (0:00:00.036) 0:01:46.171 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check if user is in subuid file] ************* task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:66 Tuesday 06 February 2024 15:56:53 +0000 (0:00:00.020) 0:01:46.192 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Fail if user not in subuid file] ************* task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:74 Tuesday 06 February 2024 15:56:53 +0000 (0:00:00.020) 0:01:46.212 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check if group is in subgid file] ************ task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:81 Tuesday 06 February 2024 15:56:53 +0000 (0:00:00.025) 0:01:46.238 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Fail if group not in subgid file] ************ task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:89 Tuesday 06 February 2024 15:56:53 +0000 (0:00:00.025) 0:01:46.263 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set config file paths] *********************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:62 Tuesday 06 February 2024 15:56:53 +0000 (0:00:00.022) 0:01:46.286 ****** ok: [sut] => { "ansible_facts": { "__podman_container_conf_file": "/etc/containers/containers.conf.d/50-systemroles.conf", "__podman_policy_json_file": "/etc/containers/policy.json", "__podman_registries_conf_file": "/etc/containers/registries.conf.d/50-systemroles.conf", "__podman_storage_conf_file": "/etc/containers/storage.conf" }, "changed": false } TASK [linux-system-roles.podman : Handle container.conf.d] ********************* task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:80 Tuesday 06 February 2024 15:56:53 +0000 (0:00:00.088) 0:01:46.375 ****** included: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml for sut TASK [linux-system-roles.podman : Ensure containers.d exists] ****************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:5 Tuesday 06 February 2024 15:56:53 +0000 (0:00:00.046) 0:01:46.421 ****** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/containers/containers.conf.d", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 33, "state": "directory", "uid": 0 } TASK [linux-system-roles.podman : Update container config file] **************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 Tuesday 06 February 2024 15:56:54 +0000 (0:00:00.239) 0:01:46.661 ****** ok: [sut] => { "changed": false, "checksum": "94370d6e765779f1c58daf02f667b8f0b74d91f6", "dest": "/etc/containers/containers.conf.d/50-systemroles.conf", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/etc/containers/containers.conf.d/50-systemroles.conf", "secontext": "system_u:object_r:etc_t:s0", "size": 116, "state": "file", "uid": 0 } TASK [linux-system-roles.podman : Handle registries.conf.d] ******************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:83 Tuesday 06 February 2024 15:56:54 +0000 (0:00:00.586) 0:01:47.247 ****** included: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml for sut TASK [linux-system-roles.podman : Ensure registries.d exists] ****************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:5 Tuesday 06 February 2024 15:56:54 +0000 (0:00:00.036) 0:01:47.283 ****** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/containers/registries.conf.d", "secontext": "system_u:object_r:etc_t:s0", "size": 134, "state": "directory", "uid": 0 } TASK [linux-system-roles.podman : Update registries config file] *************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 Tuesday 06 February 2024 15:56:54 +0000 (0:00:00.238) 0:01:47.521 ****** ok: [sut] => { "changed": false, "checksum": "dfb9cd7094a81b3d1bb06512cc9b49a09c75639b", "dest": "/etc/containers/registries.conf.d/50-systemroles.conf", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/etc/containers/registries.conf.d/50-systemroles.conf", "secontext": "system_u:object_r:etc_t:s0", "size": 225, "state": "file", "uid": 0 } TASK [linux-system-roles.podman : Handle storage.conf] ************************* task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:86 Tuesday 06 February 2024 15:56:55 +0000 (0:00:00.555) 0:01:48.077 ****** included: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml for sut TASK [linux-system-roles.podman : Ensure storage.conf parent dir exists] ******* task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:5 Tuesday 06 February 2024 15:56:55 +0000 (0:00:00.036) 0:01:48.113 ****** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/containers", "secontext": "system_u:object_r:etc_t:s0", "size": 179, "state": "directory", "uid": 0 } TASK [linux-system-roles.podman : Update storage config file] ****************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 Tuesday 06 February 2024 15:56:55 +0000 (0:00:00.246) 0:01:48.360 ****** ok: [sut] => { "changed": false, "checksum": "d08574b6a1df63dbe1c939ff0bcc7c0b61d03044", "dest": "/etc/containers/storage.conf", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/etc/containers/storage.conf", "secontext": "system_u:object_r:etc_t:s0", "size": 109, "state": "file", "uid": 0 } TASK [linux-system-roles.podman : Handle policy.json] ************************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:89 Tuesday 06 February 2024 15:56:56 +0000 (0:00:00.553) 0:01:48.913 ****** included: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml for sut TASK [linux-system-roles.podman : Ensure policy.json parent dir exists] ******** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:6 Tuesday 06 February 2024 15:56:56 +0000 (0:00:00.037) 0:01:48.951 ****** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/containers", "secontext": "system_u:object_r:etc_t:s0", "size": 179, "state": "directory", "uid": 0 } TASK [linux-system-roles.podman : Stat the policy.json file] ******************* task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:15 Tuesday 06 February 2024 15:56:56 +0000 (0:00:00.242) 0:01:49.193 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707235010.563777, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6746c079ad563b735fc39f73d4876654b80b0a0d", "ctime": 1707235009.4567773, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 111149377, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1707235009.2297773, "nlink": 1, "path": "/etc/containers/policy.json", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 67, "uid": 0, "version": "794921130", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.podman : Get the existing policy.json] **************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:20 Tuesday 06 February 2024 15:56:56 +0000 (0:00:00.250) 0:01:49.444 ****** ok: [sut] => { "changed": false, "content": "ewogICAgImRlZmF1bHQiOiB7CiAgICAgICAgInR5cGUiOiAiaW5zZWN1cmVBY2NlcHRBbnl0aGluZyIKICAgIH0KfQ==", "encoding": "base64", "source": "/etc/containers/policy.json" } TASK [linux-system-roles.podman : Write new policy.json file] ****************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:26 Tuesday 06 February 2024 15:56:57 +0000 (0:00:00.231) 0:01:49.675 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage firewall for specified ports] ************************************* task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:95 Tuesday 06 February 2024 15:56:57 +0000 (0:00:00.023) 0:01:49.698 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage selinux for specified ports] ************************************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:102 Tuesday 06 February 2024 15:56:57 +0000 (0:00:00.019) 0:01:49.718 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Keep track of users that need to cancel linger] *** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:109 Tuesday 06 February 2024 15:56:57 +0000 (0:00:00.020) 0:01:49.738 ****** ok: [sut] => { "ansible_facts": { "__podman_cancel_user_linger": [] }, "changed": false } TASK [linux-system-roles.podman : Handle secrets] ****************************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:113 Tuesday 06 February 2024 15:56:57 +0000 (0:00:00.019) 0:01:49.758 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.podman : Handle Kubernetes specifications] ************ task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:120 Tuesday 06 February 2024 15:56:57 +0000 (0:00:00.019) 0:01:49.777 ****** TASK [linux-system-roles.podman : Handle Quadlet specifications] *************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:126 Tuesday 06 February 2024 15:56:57 +0000 (0:00:00.019) 0:01:49.797 ****** TASK [linux-system-roles.podman : Cancel linger] ******************************* task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:132 Tuesday 06 February 2024 15:56:57 +0000 (0:00:00.047) 0:01:49.844 ****** TASK [Check that files still exist and are non-null] *************************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/tests_config_files.yml:128 Tuesday 06 February 2024 15:56:57 +0000 (0:00:00.021) 0:01:49.866 ****** 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": 1707235009.897777, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "94370d6e765779f1c58daf02f667b8f0b74d91f6", "ctime": 1707235006.0777786, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 81789249, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1707235005.8477786, "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": "2501439567", "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": 1707235010.124777, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "dfb9cd7094a81b3d1bb06512cc9b49a09c75639b", "ctime": 1707235007.0197783, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 90177857, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1707235006.7847784, "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": "4117031417", "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": 1707235010.344777, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d08574b6a1df63dbe1c939ff0bcc7c0b61d03044", "ctime": 1707235008.050778, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 98566529, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1707235007.8177779, "nlink": 1, "path": "/etc/containers/storage.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 109, "uid": 0, "version": "258375005", "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": 1707235010.563777, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6746c079ad563b735fc39f73d4876654b80b0a0d", "ctime": 1707235009.4567773, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 111149377, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1707235009.2297773, "nlink": 1, "path": "/etc/containers/policy.json", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 67, "uid": 0, "version": "794921130", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check for ansible_managed, fingerprint in generated files] *************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/tests_config_files.yml:136 Tuesday 06 February 2024 15:56:58 +0000 (0:00:00.914) 0:01:50.780 ****** included: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/tasks/check_header.yml for sut included: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/tasks/check_header.yml for sut included: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/tasks/check_header.yml for sut included: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/tasks/check_header.yml for sut included: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/tasks/check_header.yml for sut included: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/tasks/check_header.yml for sut TASK [Get file] **************************************************************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/tasks/check_header.yml:3 Tuesday 06 February 2024 15:56:58 +0000 (0:00:00.090) 0:01:50.870 ****** ok: [sut] => { "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6cG9kbWFuCgpbY29udGFpbmVyc10KYW5ub3RhdGlvbnMgPSBbICJlbnZpcm9ubWVudD1wcm9kdWN0aW9uIiwgInN0YXR1cz10aWVyMiIsXQo=", "encoding": "base64", "source": "/home/user1/.config/containers/containers.conf.d/50-systemroles.conf" } TASK [Check for presence of ansible managed header, fingerprint] *************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/tasks/check_header.yml:9 Tuesday 06 February 2024 15:56:58 +0000 (0:00:00.247) 0:01:51.118 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get file] **************************************************************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/tasks/check_header.yml:3 Tuesday 06 February 2024 15:56:58 +0000 (0:00:00.081) 0:01:51.199 ****** ok: [sut] => { "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6cG9kbWFuCgp1bnF1YWxpZmllZC1zZWFyY2gtcmVnaXN0cmllcz1bJ3JlZ2lzdHJ5LTEuZXhhbXBsZS5jb20nLCAncmVnaXN0cnktMi5leGFtcGxlLmNvbSddCmNyZWRlbnRpYWwtaGVscGVycz1bJ2NyZWQtaGVscGVyLTEnLCAnY3JlZC1oZWxwZXItMiddClthbGlhc2VzXQpteXJlZ2lzdHJ5PSJyZWdpc3RyeS5leGFtcGxlLmNvbSIK", "encoding": "base64", "source": "/home/user1/.config/containers/registries.conf.d/50-systemroles.conf" } TASK [Check for presence of ansible managed header, fingerprint] *************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/tasks/check_header.yml:9 Tuesday 06 February 2024 15:56:58 +0000 (0:00:00.223) 0:01:51.423 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get file] **************************************************************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/tasks/check_header.yml:3 Tuesday 06 February 2024 15:56:58 +0000 (0:00:00.071) 0:01:51.494 ****** ok: [sut] => { "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6cG9kbWFuCgpbc3RvcmFnZV0KcnVucm9vdD0iL3RtcCIKZ3JhcGhyb290PSIvdmFyL2xpYi9jb250YWluZXJzL3N0b3JhZ2UiCg==", "encoding": "base64", "source": "/home/user1/.config/containers/storage.conf" } TASK [Check for presence of ansible managed header, fingerprint] *************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/tasks/check_header.yml:9 Tuesday 06 February 2024 15:56:59 +0000 (0:00:00.220) 0:01:51.714 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get file] **************************************************************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/tasks/check_header.yml:3 Tuesday 06 February 2024 15:56:59 +0000 (0:00:00.059) 0:01:51.774 ****** ok: [sut] => { "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6cG9kbWFuCgpbY29udGFpbmVyc10KYW5ub3RhdGlvbnMgPSBbICJlbnZpcm9ubWVudD1wcm9kdWN0aW9uIiwgInN0YXR1cz10aWVyMiIsXQo=", "encoding": "base64", "source": "/etc/containers/containers.conf.d/50-systemroles.conf" } TASK [Check for presence of ansible managed header, fingerprint] *************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/tasks/check_header.yml:9 Tuesday 06 February 2024 15:56:59 +0000 (0:00:00.235) 0:01:52.009 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get file] **************************************************************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/tasks/check_header.yml:3 Tuesday 06 February 2024 15:56:59 +0000 (0:00:00.127) 0:01:52.137 ****** ok: [sut] => { "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6cG9kbWFuCgp1bnF1YWxpZmllZC1zZWFyY2gtcmVnaXN0cmllcz1bJ3JlZ2lzdHJ5LTEuZXhhbXBsZS5jb20nLCAncmVnaXN0cnktMi5leGFtcGxlLmNvbSddCmNyZWRlbnRpYWwtaGVscGVycz1bJ2NyZWQtaGVscGVyLTEnLCAnY3JlZC1oZWxwZXItMiddClthbGlhc2VzXQpteXJlZ2lzdHJ5PSJyZWdpc3RyeS5leGFtcGxlLmNvbSIK", "encoding": "base64", "source": "/etc/containers/registries.conf.d/50-systemroles.conf" } TASK [Check for presence of ansible managed header, fingerprint] *************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/tasks/check_header.yml:9 Tuesday 06 February 2024 15:56:59 +0000 (0:00:00.220) 0:01:52.357 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get file] **************************************************************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/tasks/check_header.yml:3 Tuesday 06 February 2024 15:56:59 +0000 (0:00:00.059) 0:01:52.417 ****** ok: [sut] => { "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6cG9kbWFuCgpbc3RvcmFnZV0KcnVucm9vdD0iL3RtcCIKZ3JhcGhyb290PSIvdmFyL2xpYi9jb250YWluZXJzL3N0b3JhZ2UiCg==", "encoding": "base64", "source": "/etc/containers/storage.conf" } TASK [Check for presence of ansible managed header, fingerprint] *************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/tasks/check_header.yml:9 Tuesday 06 February 2024 15:57:00 +0000 (0:00:00.219) 0:01:52.636 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove test config files] ************************************************ task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/tests_config_files.yml:157 Tuesday 06 February 2024 15:57:00 +0000 (0:00:00.064) 0:01:52.700 ****** changed: [sut] => (item=/etc/containers/containers.conf.d/50-systemroles.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/containers/containers.conf.d/50-systemroles.conf", "path": "/etc/containers/containers.conf.d/50-systemroles.conf", "state": "absent" } changed: [sut] => (item=/etc/containers/registries.conf.d/50-systemroles.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/containers/registries.conf.d/50-systemroles.conf", "path": "/etc/containers/registries.conf.d/50-systemroles.conf", "state": "absent" } changed: [sut] => (item=/etc/containers/storage.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/containers/storage.conf", "path": "/etc/containers/storage.conf", "state": "absent" } changed: [sut] => (item=/etc/containers/policy.json) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/containers/policy.json", "path": "/etc/containers/policy.json", "state": "absent" } changed: [sut] => (item=/home/user1/.config/containers/containers.conf.d/50-systemroles.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/home/user1/.config/containers/containers.conf.d/50-systemroles.conf", "path": "/home/user1/.config/containers/containers.conf.d/50-systemroles.conf", "state": "absent" } changed: [sut] => (item=/home/user1/.config/containers/registries.conf.d/50-systemroles.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/home/user1/.config/containers/registries.conf.d/50-systemroles.conf", "path": "/home/user1/.config/containers/registries.conf.d/50-systemroles.conf", "state": "absent" } changed: [sut] => (item=/home/user1/.config/containers/storage.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/home/user1/.config/containers/storage.conf", "path": "/home/user1/.config/containers/storage.conf", "state": "absent" } changed: [sut] => (item=/home/user1/.config/containers/policy.json) => { "ansible_loop_var": "item", "changed": true, "item": "/home/user1/.config/containers/policy.json", "path": "/home/user1/.config/containers/policy.json", "state": "absent" } TASK [Restore system config files] ********************************************* task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/tests_config_files.yml:163 Tuesday 06 February 2024 15:57:01 +0000 (0:00:01.717) 0:01:54.418 ****** ok: [sut] => { "changed": false, "cmd": [ "tar", "xfvpP", "/tmp/lsr_podman_config_2lv387si/backup.tar" ], "delta": "0:00:00.004552", "end": "2024-02-06 15:57:01.979257", "rc": 0, "start": "2024-02-06 15:57:01.974705" } STDOUT: /etc/containers/storage.conf /etc/containers/policy.json TASK [Remove temp directory] *************************************************** task path: /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/tests_config_files.yml:168 Tuesday 06 February 2024 15:57:02 +0000 (0:00:00.228) 0:01:54.646 ****** changed: [sut] => { "changed": true, "path": "/tmp/lsr_podman_config_2lv387si", "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 Tuesday 06 February 2024 15:57:02 +0000 (0:00:00.215) 0:01:54.861 ****** =============================================================================== linux-system-roles.podman : Ensure required packages are installed ----- 71.79s /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:14 linux-system-roles.podman : Gather the package facts -------------------- 2.96s /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:6 linux-system-roles.podman : Gather the package facts -------------------- 2.96s /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:6 Remove test config files ------------------------------------------------ 1.72s /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/tests_config_files.yml:157 ----- linux-system-roles.podman : Gather the package facts -------------------- 1.59s /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/main.yml:6 Check that files still exist and are non-null --------------------------- 0.91s /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/tests_config_files.yml:128 ----- Check that files exist and are non-null --------------------------------- 0.91s /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/tests_config_files.yml:83 ------ Check that files still exist and are non-null --------------------------- 0.91s /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/tests_config_files.yml:98 ------ Check that files exist and are non-null --------------------------------- 0.91s /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/tests_config_files.yml:113 ----- linux-system-roles.podman : Update container config file ---------------- 0.72s /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 linux-system-roles.podman : Update registries config file --------------- 0.72s /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 linux-system-roles.podman : Update registries config file --------------- 0.71s /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 linux-system-roles.podman : Update storage config file ------------------ 0.70s /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 linux-system-roles.podman : Update storage config file ------------------ 0.69s /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 Gathering Facts --------------------------------------------------------- 0.67s /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/tests_config_files.yml:9 ------- linux-system-roles.podman : Write new policy.json file ------------------ 0.65s /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:26 linux-system-roles.podman : Write new policy.json file ------------------ 0.64s /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:26 linux-system-roles.podman : Update container config file ---------------- 0.64s /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 linux-system-roles.podman : Update storage config file ------------------ 0.60s /WORKDIR/git-fix-linger-handlingjx2lwu55/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 linux-system-roles.podman : Update container config file ---------------- 0.60s /WORKDIR/git-fix-linger-handlingjx2lwu55/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. ---^---^---^---^---^---