# 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-handlingohxd4jtr/tests/tests_config_files.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Include vault variables] ************************************************* task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/tests_config_files.yml:4 Tuesday 06 February 2024 15:54:23 +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-handlingohxd4jtr/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-handlingohxd4jtr/tests/tests_config_files.yml:9 Tuesday 06 February 2024 15:54:23 +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-handlingohxd4jtr/tests/tests_config_files.yml:48 Tuesday 06 February 2024 15:54:25 +0000 (0:00:01.684) 0:00:01.706 ****** TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:3 Tuesday 06 February 2024 15:54:25 +0000 (0:00:00.069) 0:00:01.776 ****** included: /WORKDIR/git-fix-linger-handlingohxd4jtr/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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:3 Tuesday 06 February 2024 15:54:25 +0000 (0:00:00.014) 0:00:01.790 ****** 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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:12 Tuesday 06 February 2024 15:54:25 +0000 (0:00:00.017) 0:00:01.807 ****** 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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:17 Tuesday 06 February 2024 15:54:25 +0000 (0:00:00.262) 0:00:02.070 ****** 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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:21 Tuesday 06 February 2024 15:54:25 +0000 (0:00:00.019) 0:00:02.090 ****** ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__podman_packages": [ "podman", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [sut] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_38.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_38.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_38.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_38.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Gather the package facts] ******************** task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:6 Tuesday 06 February 2024 15:54:25 +0000 (0:00:00.030) 0:00:02.120 ****** 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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:10 Tuesday 06 February 2024 15:54:26 +0000 (0:00:01.049) 0:00:03.170 ****** 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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:14 Tuesday 06 February 2024 15:54:26 +0000 (0:00:00.026) 0:00:03.197 ****** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: catatonit-0.1.7-14.fc38.x86_64", "Installed: podman-5:4.8.3-1.fc38.x86_64", "Installed: criu-3.18-1.fc38.x86_64", "Installed: criu-libs-3.18-1.fc38.x86_64", "Installed: netavark-1.9.0-1.fc38.x86_64", "Installed: slirp4netns-1.2.2-1.fc38.x86_64", "Installed: conmon-2:2.1.8-2.fc38.x86_64", "Installed: libnet-1.3-1.fc38.x86_64", "Installed: qemu-user-static-xtensa-2:7.2.7-1.fc38.x86_64", "Installed: container-selinux-2:2.228.1-1.fc38.noarch", "Installed: crun-1.12-1.fc38.x86_64", "Installed: containers-common-4:1-89.fc38.noarch", "Installed: containers-common-extra-4:1-89.fc38.noarch", "Installed: qemu-user-static-2:7.2.7-1.fc38.x86_64", "Installed: qemu-user-static-aarch64-2:7.2.7-1.fc38.x86_64", "Installed: qemu-user-static-alpha-2:7.2.7-1.fc38.x86_64", "Installed: passt-0^20231230.gf091893-1.fc38.x86_64", "Installed: passt-selinux-0^20231230.gf091893-1.fc38.noarch", "Installed: qemu-user-static-arm-2:7.2.7-1.fc38.x86_64", "Installed: qemu-user-static-cris-2:7.2.7-1.fc38.x86_64", "Installed: qemu-user-static-hexagon-2:7.2.7-1.fc38.x86_64", "Installed: qemu-user-static-hppa-2:7.2.7-1.fc38.x86_64", "Installed: qemu-user-static-loongarch64-2:7.2.7-1.fc38.x86_64", "Installed: qemu-user-static-m68k-2:7.2.7-1.fc38.x86_64", "Installed: qemu-user-static-microblaze-2:7.2.7-1.fc38.x86_64", "Installed: qemu-user-static-mips-2:7.2.7-1.fc38.x86_64", "Installed: qemu-user-static-nios2-2:7.2.7-1.fc38.x86_64", "Installed: qemu-user-static-or1k-2:7.2.7-1.fc38.x86_64", "Installed: qemu-user-static-ppc-2:7.2.7-1.fc38.x86_64", "Installed: qemu-user-static-riscv-2:7.2.7-1.fc38.x86_64", "Installed: qemu-user-static-s390x-2:7.2.7-1.fc38.x86_64", "Installed: qemu-user-static-sh4-2:7.2.7-1.fc38.x86_64", "Installed: libslirp-4.7.0-3.fc38.x86_64", "Installed: aardvark-dns-1.9.0-1.fc38.x86_64", "Installed: qemu-user-static-sparc-2:7.2.7-1.fc38.x86_64", "Installed: qemu-user-static-x86-2:7.2.7-1.fc38.x86_64", "Installed: shadow-utils-subid-2:4.13-6.fc38.x86_64", "Installed: libbsd-0.11.7-4.fc38.x86_64", "Installed: yajl-2.1.0-21.fc38.x86_64", "Installed: fuse-common-3.14.1-1.fc38.x86_64", "Installed: fuse-overlayfs-1.12-1.fc38.x86_64", "Installed: fuse3-3.14.1-1.fc38.x86_64", "Installed: fuse3-libs-3.14.1-1.fc38.x86_64", "Installed: gvisor-tap-vsock-6:0.7.2-1.fc38.x86_64", "Installed: gvisor-tap-vsock-gvforwarder-6:0.7.2-1.fc38.x86_64", "Installed: libmd-1.1.0-1.fc38.x86_64" ] } TASK [linux-system-roles.podman : Get podman version] ************************** task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:23 Tuesday 06 February 2024 15:55:56 +0000 (0:01:29.568) 0:01:32.765 ****** ok: [sut] => { "changed": false, "cmd": [ "podman", "--version" ], "delta": "0:00:00.057423", "end": "2024-02-06 15:55:56.530297", "rc": 0, "start": "2024-02-06 15:55:56.472874" } STDOUT: podman version 4.8.3 TASK [linux-system-roles.podman : Set podman version] ************************** task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:28 Tuesday 06 February 2024 15:55:56 +0000 (0:00:00.378) 0:01:33.143 ****** 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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:32 Tuesday 06 February 2024 15:55:56 +0000 (0:00:00.028) 0:01:33.171 ****** 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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:39 Tuesday 06 February 2024 15:55:56 +0000 (0:00:00.046) 0:01:33.218 ****** 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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:56 Tuesday 06 February 2024 15:55:56 +0000 (0:00:00.049) 0:01:33.268 ****** included: /WORKDIR/git-fix-linger-handlingohxd4jtr/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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:2 Tuesday 06 February 2024 15:55:56 +0000 (0:00:00.034) 0:01:33.302 ****** ok: [sut] => { "ansible_facts": { "getent_passwd": { "root": [ "x", "0", "0", "Super User", "/root", "/bin/bash" ] } }, "changed": false } TASK [linux-system-roles.podman : Fail if user does not exist] ***************** task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:10 Tuesday 06 February 2024 15:55:57 +0000 (0:00:00.286) 0:01:33.589 ****** 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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:17 Tuesday 06 February 2024 15:55:57 +0000 (0:00:00.024) 0:01:33.614 ****** ok: [sut] => { "ansible_facts": { "__podman_group": "0" }, "changed": false } TASK [linux-system-roles.podman : Get group information] *********************** task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:28 Tuesday 06 February 2024 15:55:57 +0000 (0:00:00.037) 0:01:33.651 ****** 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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:36 Tuesday 06 February 2024 15:55:57 +0000 (0:00:00.226) 0:01:33.877 ****** 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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:41 Tuesday 06 February 2024 15:55:57 +0000 (0:00:00.023) 0:01:33.900 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1678060800.0, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 32, "charset": "binary", "checksum": "02bd4fbb1af303bd528684f8839db549767ee321", "ctime": 1707234914.699213, "dev": 51714, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 203308, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "application/x-pie-executable", "mode": "0755", "mtime": 1678060800.0, "nlink": 1, "path": "/usr/bin/getsubids", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 15984, "uid": 0, "version": "2226500853", "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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:52 Tuesday 06 February 2024 15:55:57 +0000 (0:00:00.221) 0:01:34.122 ****** 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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:56 Tuesday 06 February 2024 15:55:57 +0000 (0:00:00.018) 0:01:34.141 ****** 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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:66 Tuesday 06 February 2024 15:55:57 +0000 (0:00:00.018) 0:01:34.160 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Fail if user not in subuid file] ************* task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:74 Tuesday 06 February 2024 15:55:57 +0000 (0:00:00.017) 0:01:34.177 ****** 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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:81 Tuesday 06 February 2024 15:55:57 +0000 (0:00:00.017) 0:01:34.195 ****** 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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:89 Tuesday 06 February 2024 15:55:57 +0000 (0:00:00.017) 0:01:34.213 ****** 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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:62 Tuesday 06 February 2024 15:55:57 +0000 (0:00:00.034) 0:01:34.248 ****** 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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:80 Tuesday 06 February 2024 15:55:57 +0000 (0:00:00.040) 0:01:34.289 ****** included: /WORKDIR/git-fix-linger-handlingohxd4jtr/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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:5 Tuesday 06 February 2024 15:55:57 +0000 (0:00:00.036) 0:01:34.325 ****** 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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 Tuesday 06 February 2024 15:55:57 +0000 (0:00:00.020) 0:01:34.345 ****** 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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:83 Tuesday 06 February 2024 15:55:57 +0000 (0:00:00.019) 0:01:34.364 ****** included: /WORKDIR/git-fix-linger-handlingohxd4jtr/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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:5 Tuesday 06 February 2024 15:55:57 +0000 (0:00:00.036) 0:01:34.401 ****** 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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 Tuesday 06 February 2024 15:55:57 +0000 (0:00:00.019) 0:01:34.420 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Handle storage.conf] ************************* task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:86 Tuesday 06 February 2024 15:55:57 +0000 (0:00:00.019) 0:01:34.439 ****** included: /WORKDIR/git-fix-linger-handlingohxd4jtr/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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:5 Tuesday 06 February 2024 15:55:57 +0000 (0:00:00.035) 0:01:34.475 ****** 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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 Tuesday 06 February 2024 15:55:57 +0000 (0:00:00.019) 0:01:34.495 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Handle policy.json] ************************** task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:89 Tuesday 06 February 2024 15:55:57 +0000 (0:00:00.017) 0:01:34.513 ****** included: /WORKDIR/git-fix-linger-handlingohxd4jtr/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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:6 Tuesday 06 February 2024 15:55:57 +0000 (0:00:00.036) 0:01:34.549 ****** 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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:15 Tuesday 06 February 2024 15:55:57 +0000 (0:00:00.018) 0:01:34.568 ****** 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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:20 Tuesday 06 February 2024 15:55:58 +0000 (0:00:00.018) 0:01:34.586 ****** 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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:26 Tuesday 06 February 2024 15:55:58 +0000 (0:00:00.038) 0:01:34.625 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage firewall for specified ports] ************************************* task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:95 Tuesday 06 February 2024 15:55:58 +0000 (0:00:00.019) 0:01:34.645 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage selinux for specified ports] ************************************** task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:102 Tuesday 06 February 2024 15:55:58 +0000 (0:00:00.017) 0:01:34.662 ****** 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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:109 Tuesday 06 February 2024 15:55:58 +0000 (0:00:00.018) 0:01:34.680 ****** ok: [sut] => { "ansible_facts": { "__podman_cancel_user_linger": [] }, "changed": false } TASK [linux-system-roles.podman : Handle secrets] ****************************** task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:113 Tuesday 06 February 2024 15:55:58 +0000 (0:00:00.017) 0:01:34.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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:120 Tuesday 06 February 2024 15:55:58 +0000 (0:00:00.018) 0:01:34.716 ****** TASK [linux-system-roles.podman : Handle Quadlet specifications] *************** task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:126 Tuesday 06 February 2024 15:55:58 +0000 (0:00:00.018) 0:01:34.735 ****** TASK [linux-system-roles.podman : Cancel linger] ******************************* task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:132 Tuesday 06 February 2024 15:55:58 +0000 (0:00:00.017) 0:01:34.752 ****** TASK [Create temp directory] *************************************************** task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/tests_config_files.yml:59 Tuesday 06 February 2024 15:55:58 +0000 (0:00:00.017) 0:01:34.770 ****** changed: [sut] => { "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/lsr_podman_config_v71xgd36", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 40, "state": "directory", "uid": 0 } TASK [Create backup] *********************************************************** task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/tests_config_files.yml:65 Tuesday 06 February 2024 15:55:58 +0000 (0:00:00.290) 0:01:35.061 ****** ok: [sut] => { "changed": false, "cmd": [ "tar", "--ignore-failed-read", "-c", "-P", "-v", "-p", "-f", "/tmp/lsr_podman_config_v71xgd36/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.083606", "end": "2024-02-06 15:55:58.754192", "rc": 0, "start": "2024-02-06 15:55:58.670586" } STDOUT: /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 tar: /etc/containers/storage.conf: Warning: Cannot stat: No such file or directory TASK [Create user] ************************************************************* task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/tests_config_files.yml:72 Tuesday 06 February 2024 15:55:58 +0000 (0:00:00.335) 0:01:35.396 ****** changed: [sut] => { "changed": true, "comment": "", "create_home": true, "group": 1001, "home": "/home/user1", "name": "user1", "shell": "/bin/bash", "state": "present", "system": false, "uid": 1001 } TASK [Run the role with user config] ******************************************* task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/tests_config_files.yml:76 Tuesday 06 February 2024 15:55:59 +0000 (0:00:00.517) 0:01:35.913 ****** TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:3 Tuesday 06 February 2024 15:55:59 +0000 (0:00:00.042) 0:01:35.955 ****** included: /WORKDIR/git-fix-linger-handlingohxd4jtr/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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:3 Tuesday 06 February 2024 15:55:59 +0000 (0:00:00.056) 0:01:36.012 ****** 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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:12 Tuesday 06 February 2024 15:55:59 +0000 (0:00:00.024) 0:01:36.036 ****** 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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:17 Tuesday 06 February 2024 15:55:59 +0000 (0:00:00.018) 0:01:36.054 ****** 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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:21 Tuesday 06 February 2024 15:55:59 +0000 (0:00:00.017) 0:01:36.072 ****** ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__podman_packages": [ "podman", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [sut] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_38.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_38.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_38.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_38.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Gather the package facts] ******************** task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:6 Tuesday 06 February 2024 15:55:59 +0000 (0:00:00.046) 0:01:36.119 ****** 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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:10 Tuesday 06 February 2024 15:56:00 +0000 (0:00:00.975) 0:01:37.094 ****** 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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:14 Tuesday 06 February 2024 15:56:00 +0000 (0:00:00.036) 0:01:37.130 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Get podman version] ************************** task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:23 Tuesday 06 February 2024 15:56:00 +0000 (0:00:00.025) 0:01:37.156 ****** ok: [sut] => { "changed": false, "cmd": [ "podman", "--version" ], "delta": "0:00:00.036696", "end": "2024-02-06 15:56:00.825857", "rc": 0, "start": "2024-02-06 15:56:00.789161" } STDOUT: podman version 4.8.3 TASK [linux-system-roles.podman : Set podman version] ************************** task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:28 Tuesday 06 February 2024 15:56:00 +0000 (0:00:00.286) 0:01:37.442 ****** 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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:32 Tuesday 06 February 2024 15:56:00 +0000 (0:00:00.021) 0:01:37.464 ****** 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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:39 Tuesday 06 February 2024 15:56:00 +0000 (0:00:00.041) 0:01:37.505 ****** 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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:56 Tuesday 06 February 2024 15:56:00 +0000 (0:00:00.033) 0:01:37.539 ****** included: /WORKDIR/git-fix-linger-handlingohxd4jtr/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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:2 Tuesday 06 February 2024 15:56:00 +0000 (0:00:00.036) 0:01:37.575 ****** ok: [sut] => { "ansible_facts": { "getent_passwd": { "user1": [ "x", "1001", "1001", "", "/home/user1", "/bin/bash" ] } }, "changed": false } TASK [linux-system-roles.podman : Fail if user does not exist] ***************** task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:10 Tuesday 06 February 2024 15:56:01 +0000 (0:00:00.233) 0:01:37.809 ****** 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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:17 Tuesday 06 February 2024 15:56:01 +0000 (0:00:00.024) 0:01:37.833 ****** ok: [sut] => { "ansible_facts": { "__podman_group": "1001" }, "changed": false } TASK [linux-system-roles.podman : Get group information] *********************** task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:28 Tuesday 06 February 2024 15:56:01 +0000 (0:00:00.025) 0:01:37.859 ****** ok: [sut] => { "ansible_facts": { "getent_group": { "user1": [ "x", "1001", "" ] } }, "changed": false } TASK [linux-system-roles.podman : Set group name] ****************************** task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:36 Tuesday 06 February 2024 15:56:01 +0000 (0:00:00.231) 0:01:38.091 ****** 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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:41 Tuesday 06 February 2024 15:56:01 +0000 (0:00:00.035) 0:01:38.126 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707234957.5049968, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 32, "charset": "binary", "checksum": "02bd4fbb1af303bd528684f8839db549767ee321", "ctime": 1707234914.699213, "dev": 51714, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 203308, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "application/x-pie-executable", "mode": "0755", "mtime": 1678060800.0, "nlink": 1, "path": "/usr/bin/getsubids", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 15984, "uid": 0, "version": "2226500853", "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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:52 Tuesday 06 February 2024 15:56:01 +0000 (0:00:00.236) 0:01:38.363 ****** ok: [sut] => { "changed": false, "cmd": [ "getsubids", "user1" ], "delta": "0:00:00.004419", "end": "2024-02-06 15:56:01.985360", "rc": 0, "start": "2024-02-06 15:56:01.980941" } STDOUT: 0: user1 589824 65536 TASK [linux-system-roles.podman : Check group with getsubids] ****************** task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:56 Tuesday 06 February 2024 15:56:02 +0000 (0:00:00.234) 0:01:38.597 ****** ok: [sut] => { "changed": false, "cmd": [ "getsubids", "-g", "user1" ], "delta": "0:00:00.004586", "end": "2024-02-06 15:56:02.214239", "rc": 0, "start": "2024-02-06 15:56:02.209653" } STDOUT: 0: user1 589824 65536 TASK [linux-system-roles.podman : Check if user is in subuid file] ************* task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:66 Tuesday 06 February 2024 15:56:02 +0000 (0:00:00.235) 0:01:38.833 ****** 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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:74 Tuesday 06 February 2024 15:56:02 +0000 (0:00:00.020) 0:01:38.854 ****** 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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:81 Tuesday 06 February 2024 15:56:02 +0000 (0:00:00.043) 0:01:38.897 ****** 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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:89 Tuesday 06 February 2024 15:56:02 +0000 (0:00:00.022) 0:01:38.919 ****** 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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:62 Tuesday 06 February 2024 15:56:02 +0000 (0:00:00.019) 0:01:38.939 ****** 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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:80 Tuesday 06 February 2024 15:56:02 +0000 (0:00:00.040) 0:01:38.979 ****** included: /WORKDIR/git-fix-linger-handlingohxd4jtr/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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:5 Tuesday 06 February 2024 15:56:02 +0000 (0:00:00.035) 0:01:39.015 ****** 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": 4096, "state": "directory", "uid": 1001 } TASK [linux-system-roles.podman : Update container config file] **************** task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 Tuesday 06 February 2024 15:56:02 +0000 (0:00:00.277) 0:01:39.293 ****** 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-1707234962.7574162-3008-103275921279144/source", "state": "file", "uid": 1001 } TASK [linux-system-roles.podman : Handle registries.conf.d] ******************** task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:83 Tuesday 06 February 2024 15:56:03 +0000 (0:00:00.757) 0:01:40.050 ****** included: /WORKDIR/git-fix-linger-handlingohxd4jtr/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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:5 Tuesday 06 February 2024 15:56:03 +0000 (0:00:00.042) 0:01:40.093 ****** 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": 4096, "state": "directory", "uid": 1001 } TASK [linux-system-roles.podman : Update registries config file] *************** task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 Tuesday 06 February 2024 15:56:03 +0000 (0:00:00.239) 0:01:40.333 ****** 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-1707234963.7937543-3042-88923817547855/source", "state": "file", "uid": 1001 } TASK [linux-system-roles.podman : Handle storage.conf] ************************* task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:86 Tuesday 06 February 2024 15:56:04 +0000 (0:00:00.678) 0:01:41.012 ****** included: /WORKDIR/git-fix-linger-handlingohxd4jtr/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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:5 Tuesday 06 February 2024 15:56:04 +0000 (0:00:00.078) 0:01:41.090 ****** 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": 4096, "state": "directory", "uid": 1001 } TASK [linux-system-roles.podman : Update storage config file] ****************** task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 Tuesday 06 February 2024 15:56:04 +0000 (0:00:00.238) 0:01:41.329 ****** 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-1707234964.7911055-3067-36471042154781/source", "state": "file", "uid": 1001 } TASK [linux-system-roles.podman : Handle policy.json] ************************** task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:89 Tuesday 06 February 2024 15:56:05 +0000 (0:00:00.587) 0:01:41.916 ****** included: /WORKDIR/git-fix-linger-handlingohxd4jtr/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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:6 Tuesday 06 February 2024 15:56:05 +0000 (0:00:00.043) 0:01:41.959 ****** 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": 4096, "state": "directory", "uid": 1001 } TASK [linux-system-roles.podman : Stat the policy.json file] ******************* task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:15 Tuesday 06 February 2024 15:56:05 +0000 (0:00:00.250) 0:01:42.210 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.podman : Get the existing policy.json] **************** task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:20 Tuesday 06 February 2024 15:56:05 +0000 (0:00:00.211) 0:01:42.421 ****** 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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:26 Tuesday 06 February 2024 15:56:05 +0000 (0:00:00.021) 0:01:42.443 ****** 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-1707234965.9155197-3116-110807403649272/source", "state": "file", "uid": 1001 } TASK [Manage firewall for specified ports] ************************************* task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:95 Tuesday 06 February 2024 15:56:06 +0000 (0:00:00.602) 0:01:43.046 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage selinux for specified ports] ************************************** task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:102 Tuesday 06 February 2024 15:56:06 +0000 (0:00:00.021) 0:01:43.067 ****** 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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:109 Tuesday 06 February 2024 15:56:06 +0000 (0:00:00.060) 0:01:43.128 ****** ok: [sut] => { "ansible_facts": { "__podman_cancel_user_linger": [] }, "changed": false } TASK [linux-system-roles.podman : Handle secrets] ****************************** task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:113 Tuesday 06 February 2024 15:56:06 +0000 (0:00:00.028) 0:01:43.157 ****** 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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:120 Tuesday 06 February 2024 15:56:06 +0000 (0:00:00.023) 0:01:43.181 ****** TASK [linux-system-roles.podman : Handle Quadlet specifications] *************** task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:126 Tuesday 06 February 2024 15:56:06 +0000 (0:00:00.019) 0:01:43.200 ****** TASK [linux-system-roles.podman : Cancel linger] ******************************* task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:132 Tuesday 06 February 2024 15:56:06 +0000 (0:00:00.020) 0:01:43.221 ****** TASK [Check that files exist and are non-null] ********************************* task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/tests_config_files.yml:83 Tuesday 06 February 2024 15:56:06 +0000 (0:00:00.028) 0:01:43.249 ****** ok: [sut] => (item=/home/user1/.config/containers/containers.conf.d/50-systemroles.conf) => { "ansible_loop_var": "item", "changed": false, "failed_when_result": false, "item": "/home/user1/.config/containers/containers.conf.d/50-systemroles.conf", "stat": { "atime": 1707234963.399967, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "94370d6e765779f1c58daf02f667b8f0b74d91f6", "ctime": 1707234963.403967, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262492, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1707234963.0519688, "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": 1001, "version": "680119494", "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": 1707234964.3369622, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "dfb9cd7094a81b3d1bb06512cc9b49a09c75639b", "ctime": 1707234964.3409622, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262494, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1707234964.1099634, "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": 1001, "version": "3776443529", "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": 1707234965.2649574, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d08574b6a1df63dbe1c939ff0bcc7c0b61d03044", "ctime": 1707234965.2679574, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262495, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1707234965.0529585, "nlink": 1, "path": "/home/user1/.config/containers/storage.conf", "pw_name": "user1", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 109, "uid": 1001, "version": "313751821", "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": 1707234966.4029517, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6746c079ad563b735fc39f73d4876654b80b0a0d", "ctime": 1707234966.4069517, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262496, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "application/json", "mode": "0644", "mtime": 1707234966.188953, "nlink": 1, "path": "/home/user1/.config/containers/policy.json", "pw_name": "user1", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 67, "uid": 1001, "version": "3171400522", "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-handlingohxd4jtr/tests/tests_config_files.yml:91 Tuesday 06 February 2024 15:56:07 +0000 (0:00:00.906) 0:01:44.156 ****** TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:3 Tuesday 06 February 2024 15:56:07 +0000 (0:00:00.053) 0:01:44.210 ****** included: /WORKDIR/git-fix-linger-handlingohxd4jtr/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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:3 Tuesday 06 February 2024 15:56:07 +0000 (0:00:00.058) 0:01:44.269 ****** 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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:12 Tuesday 06 February 2024 15:56:07 +0000 (0:00:00.028) 0:01:44.297 ****** 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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:17 Tuesday 06 February 2024 15:56:07 +0000 (0:00:00.022) 0:01:44.320 ****** 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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:21 Tuesday 06 February 2024 15:56:07 +0000 (0:00:00.023) 0:01:44.343 ****** ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__podman_packages": [ "podman", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [sut] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_38.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_38.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_38.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_38.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Gather the package facts] ******************** task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:6 Tuesday 06 February 2024 15:56:07 +0000 (0:00:00.068) 0:01:44.412 ****** 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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:10 Tuesday 06 February 2024 15:56:08 +0000 (0:00:00.997) 0:01:45.409 ****** 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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:14 Tuesday 06 February 2024 15:56:08 +0000 (0:00:00.020) 0:01:45.430 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Get podman version] ************************** task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:23 Tuesday 06 February 2024 15:56:08 +0000 (0:00:00.025) 0:01:45.456 ****** ok: [sut] => { "changed": false, "cmd": [ "podman", "--version" ], "delta": "0:00:00.032334", "end": "2024-02-06 15:56:09.091205", "rc": 0, "start": "2024-02-06 15:56:09.058871" } STDOUT: podman version 4.8.3 TASK [linux-system-roles.podman : Set podman version] ************************** task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:28 Tuesday 06 February 2024 15:56:09 +0000 (0:00:00.246) 0:01:45.702 ****** 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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:32 Tuesday 06 February 2024 15:56:09 +0000 (0:00:00.021) 0:01:45.723 ****** 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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:39 Tuesday 06 February 2024 15:56:09 +0000 (0:00:00.018) 0:01:45.742 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: end_host conditional evaluated to false, continuing execution for sut TASK [linux-system-roles.podman : Check user and group information] ************ task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:56 Tuesday 06 February 2024 15:56:09 +0000 (0:00:00.033) 0:01:45.775 ****** included: /WORKDIR/git-fix-linger-handlingohxd4jtr/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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:2 Tuesday 06 February 2024 15:56:09 +0000 (0:00:00.036) 0:01:45.812 ****** 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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:10 Tuesday 06 February 2024 15:56:09 +0000 (0:00:00.027) 0:01:45.839 ****** 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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:17 Tuesday 06 February 2024 15:56:09 +0000 (0:00:00.069) 0:01:45.908 ****** ok: [sut] => { "ansible_facts": { "__podman_group": "1001" }, "changed": false } TASK [linux-system-roles.podman : Get group information] *********************** task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:28 Tuesday 06 February 2024 15:56:09 +0000 (0:00:00.027) 0:01:45.936 ****** ok: [sut] => { "ansible_facts": { "getent_group": { "user1": [ "x", "1001", "" ] } }, "changed": false } TASK [linux-system-roles.podman : Set group name] ****************************** task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:36 Tuesday 06 February 2024 15:56:09 +0000 (0:00:00.229) 0:01:46.165 ****** 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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:41 Tuesday 06 February 2024 15:56:09 +0000 (0:00:00.027) 0:01:46.193 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707234957.5049968, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 32, "charset": "binary", "checksum": "02bd4fbb1af303bd528684f8839db549767ee321", "ctime": 1707234914.699213, "dev": 51714, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 203308, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "application/x-pie-executable", "mode": "0755", "mtime": 1678060800.0, "nlink": 1, "path": "/usr/bin/getsubids", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 15984, "uid": 0, "version": "2226500853", "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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:52 Tuesday 06 February 2024 15:56:09 +0000 (0:00:00.224) 0:01:46.418 ****** ok: [sut] => { "changed": false, "cmd": [ "getsubids", "user1" ], "delta": "0:00:00.004444", "end": "2024-02-06 15:56:10.033486", "rc": 0, "start": "2024-02-06 15:56:10.029042" } STDOUT: 0: user1 589824 65536 TASK [linux-system-roles.podman : Check group with getsubids] ****************** task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:56 Tuesday 06 February 2024 15:56:10 +0000 (0:00:00.228) 0:01:46.646 ****** ok: [sut] => { "changed": false, "cmd": [ "getsubids", "-g", "user1" ], "delta": "0:00:00.004512", "end": "2024-02-06 15:56:10.266656", "rc": 0, "start": "2024-02-06 15:56:10.262144" } STDOUT: 0: user1 589824 65536 TASK [linux-system-roles.podman : Check if user is in subuid file] ************* task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:66 Tuesday 06 February 2024 15:56:10 +0000 (0:00:00.232) 0:01:46.879 ****** 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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:74 Tuesday 06 February 2024 15:56:10 +0000 (0:00:00.026) 0:01:46.905 ****** 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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:81 Tuesday 06 February 2024 15:56:10 +0000 (0:00:00.038) 0:01:46.944 ****** 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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:89 Tuesday 06 February 2024 15:56:10 +0000 (0:00:00.053) 0:01:46.997 ****** 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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:62 Tuesday 06 February 2024 15:56:10 +0000 (0:00:00.030) 0:01:47.028 ****** 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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:80 Tuesday 06 February 2024 15:56:10 +0000 (0:00:00.050) 0:01:47.078 ****** included: /WORKDIR/git-fix-linger-handlingohxd4jtr/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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:5 Tuesday 06 February 2024 15:56:10 +0000 (0:00:00.041) 0:01:47.120 ****** 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": 4096, "state": "directory", "uid": 1001 } TASK [linux-system-roles.podman : Update container config file] **************** task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 Tuesday 06 February 2024 15:56:10 +0000 (0:00:00.275) 0:01:47.395 ****** 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": 1001 } TASK [linux-system-roles.podman : Handle registries.conf.d] ******************** task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:83 Tuesday 06 February 2024 15:56:11 +0000 (0:00:00.587) 0:01:47.983 ****** included: /WORKDIR/git-fix-linger-handlingohxd4jtr/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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:5 Tuesday 06 February 2024 15:56:11 +0000 (0:00:00.045) 0:01:48.028 ****** 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": 4096, "state": "directory", "uid": 1001 } TASK [linux-system-roles.podman : Update registries config file] *************** task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 Tuesday 06 February 2024 15:56:11 +0000 (0:00:00.232) 0:01:48.261 ****** 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": 1001 } TASK [linux-system-roles.podman : Handle storage.conf] ************************* task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:86 Tuesday 06 February 2024 15:56:12 +0000 (0:00:00.570) 0:01:48.831 ****** included: /WORKDIR/git-fix-linger-handlingohxd4jtr/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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:5 Tuesday 06 February 2024 15:56:12 +0000 (0:00:00.038) 0:01:48.870 ****** 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": 4096, "state": "directory", "uid": 1001 } TASK [linux-system-roles.podman : Update storage config file] ****************** task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 Tuesday 06 February 2024 15:56:12 +0000 (0:00:00.228) 0:01:49.098 ****** 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": 1001 } TASK [linux-system-roles.podman : Handle policy.json] ************************** task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:89 Tuesday 06 February 2024 15:56:13 +0000 (0:00:00.530) 0:01:49.629 ****** included: /WORKDIR/git-fix-linger-handlingohxd4jtr/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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:6 Tuesday 06 February 2024 15:56:13 +0000 (0:00:00.058) 0:01:49.688 ****** 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": 4096, "state": "directory", "uid": 1001 } TASK [linux-system-roles.podman : Stat the policy.json file] ******************* task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:15 Tuesday 06 February 2024 15:56:13 +0000 (0:00:00.227) 0:01:49.915 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707234967.532946, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6746c079ad563b735fc39f73d4876654b80b0a0d", "ctime": 1707234966.4069517, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262496, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "application/json", "mode": "0644", "mtime": 1707234966.188953, "nlink": 1, "path": "/home/user1/.config/containers/policy.json", "pw_name": "user1", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 67, "uid": 1001, "version": "3171400522", "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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:20 Tuesday 06 February 2024 15:56:13 +0000 (0:00:00.229) 0:01:50.145 ****** 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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:26 Tuesday 06 February 2024 15:56:13 +0000 (0:00:00.261) 0:01:50.406 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage firewall for specified ports] ************************************* task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:95 Tuesday 06 February 2024 15:56:13 +0000 (0:00:00.026) 0:01:50.433 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage selinux for specified ports] ************************************** task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:102 Tuesday 06 February 2024 15:56:13 +0000 (0:00:00.024) 0:01:50.457 ****** 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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:109 Tuesday 06 February 2024 15:56:13 +0000 (0:00:00.021) 0:01:50.478 ****** ok: [sut] => { "ansible_facts": { "__podman_cancel_user_linger": [] }, "changed": false } TASK [linux-system-roles.podman : Handle secrets] ****************************** task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:113 Tuesday 06 February 2024 15:56:13 +0000 (0:00:00.019) 0:01:50.497 ****** 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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:120 Tuesday 06 February 2024 15:56:13 +0000 (0:00:00.018) 0:01:50.516 ****** TASK [linux-system-roles.podman : Handle Quadlet specifications] *************** task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:126 Tuesday 06 February 2024 15:56:13 +0000 (0:00:00.017) 0:01:50.533 ****** TASK [linux-system-roles.podman : Cancel linger] ******************************* task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:132 Tuesday 06 February 2024 15:56:13 +0000 (0:00:00.018) 0:01:50.552 ****** TASK [Check that files still exist and are non-null] *************************** task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/tests_config_files.yml:98 Tuesday 06 February 2024 15:56:13 +0000 (0:00:00.019) 0:01:50.571 ****** ok: [sut] => (item=/home/user1/.config/containers/containers.conf.d/50-systemroles.conf) => { "ansible_loop_var": "item", "changed": false, "failed_when_result": false, "item": "/home/user1/.config/containers/containers.conf.d/50-systemroles.conf", "stat": { "atime": 1707234966.8649495, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "94370d6e765779f1c58daf02f667b8f0b74d91f6", "ctime": 1707234963.403967, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262492, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1707234963.0519688, "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": 1001, "version": "680119494", "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": 1707234967.0859482, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "dfb9cd7094a81b3d1bb06512cc9b49a09c75639b", "ctime": 1707234964.3409622, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262494, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1707234964.1099634, "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": 1001, "version": "3776443529", "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": 1707234967.3179471, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d08574b6a1df63dbe1c939ff0bcc7c0b61d03044", "ctime": 1707234965.2679574, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262495, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1707234965.0529585, "nlink": 1, "path": "/home/user1/.config/containers/storage.conf", "pw_name": "user1", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 109, "uid": 1001, "version": "313751821", "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": 1707234967.532946, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6746c079ad563b735fc39f73d4876654b80b0a0d", "ctime": 1707234966.4069517, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262496, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "application/json", "mode": "0644", "mtime": 1707234966.188953, "nlink": 1, "path": "/home/user1/.config/containers/policy.json", "pw_name": "user1", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 67, "uid": 1001, "version": "3171400522", "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-handlingohxd4jtr/tests/tests_config_files.yml:106 Tuesday 06 February 2024 15:56:14 +0000 (0:00:00.891) 0:01:51.463 ****** TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:3 Tuesday 06 February 2024 15:56:14 +0000 (0:00:00.074) 0:01:51.537 ****** included: /WORKDIR/git-fix-linger-handlingohxd4jtr/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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:3 Tuesday 06 February 2024 15:56:15 +0000 (0:00:00.046) 0:01:51.584 ****** 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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:12 Tuesday 06 February 2024 15:56:15 +0000 (0:00:00.041) 0:01:51.625 ****** 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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:17 Tuesday 06 February 2024 15:56:15 +0000 (0:00:00.026) 0:01:51.652 ****** 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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:21 Tuesday 06 February 2024 15:56:15 +0000 (0:00:00.038) 0:01:51.691 ****** ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__podman_packages": [ "podman", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [sut] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_38.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_38.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_38.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_38.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Gather the package facts] ******************** task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:6 Tuesday 06 February 2024 15:56:15 +0000 (0:00:00.054) 0:01:51.745 ****** 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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:10 Tuesday 06 February 2024 15:56:16 +0000 (0:00:01.010) 0:01:52.756 ****** 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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:14 Tuesday 06 February 2024 15:56:16 +0000 (0:00:00.026) 0:01:52.782 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Get podman version] ************************** task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:23 Tuesday 06 February 2024 15:56:16 +0000 (0:00:00.035) 0:01:52.818 ****** ok: [sut] => { "changed": false, "cmd": [ "podman", "--version" ], "delta": "0:00:00.033159", "end": "2024-02-06 15:56:16.453371", "rc": 0, "start": "2024-02-06 15:56:16.420212" } STDOUT: podman version 4.8.3 TASK [linux-system-roles.podman : Set podman version] ************************** task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:28 Tuesday 06 February 2024 15:56:16 +0000 (0:00:00.246) 0:01:53.064 ****** 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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:32 Tuesday 06 February 2024 15:56:16 +0000 (0:00:00.020) 0:01:53.085 ****** 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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:39 Tuesday 06 February 2024 15:56:16 +0000 (0:00:00.020) 0:01:53.105 ****** 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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:56 Tuesday 06 February 2024 15:56:16 +0000 (0:00:00.034) 0:01:53.139 ****** included: /WORKDIR/git-fix-linger-handlingohxd4jtr/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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:2 Tuesday 06 February 2024 15:56:16 +0000 (0:00:00.042) 0:01:53.181 ****** ok: [sut] => { "ansible_facts": { "getent_passwd": { "root": [ "x", "0", "0", "Super User", "/root", "/bin/bash" ] } }, "changed": false } TASK [linux-system-roles.podman : Fail if user does not exist] ***************** task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:10 Tuesday 06 February 2024 15:56:16 +0000 (0:00:00.230) 0:01:53.412 ****** 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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:17 Tuesday 06 February 2024 15:56:16 +0000 (0:00:00.024) 0:01:53.436 ****** ok: [sut] => { "ansible_facts": { "__podman_group": "0" }, "changed": false } TASK [linux-system-roles.podman : Get group information] *********************** task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:28 Tuesday 06 February 2024 15:56:16 +0000 (0:00:00.027) 0:01:53.464 ****** 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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:36 Tuesday 06 February 2024 15:56:17 +0000 (0:00:00.240) 0:01:53.704 ****** 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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:41 Tuesday 06 February 2024 15:56:17 +0000 (0:00:00.026) 0:01:53.731 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707234957.5049968, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 32, "charset": "binary", "checksum": "02bd4fbb1af303bd528684f8839db549767ee321", "ctime": 1707234914.699213, "dev": 51714, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 203308, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "application/x-pie-executable", "mode": "0755", "mtime": 1678060800.0, "nlink": 1, "path": "/usr/bin/getsubids", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 15984, "uid": 0, "version": "2226500853", "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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:52 Tuesday 06 February 2024 15:56:17 +0000 (0:00:00.227) 0:01:53.958 ****** 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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:56 Tuesday 06 February 2024 15:56:17 +0000 (0:00:00.064) 0:01:54.023 ****** 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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:66 Tuesday 06 February 2024 15:56:17 +0000 (0:00:00.051) 0:01:54.074 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Fail if user not in subuid file] ************* task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:74 Tuesday 06 February 2024 15:56:17 +0000 (0:00:00.027) 0:01:54.102 ****** 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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:81 Tuesday 06 February 2024 15:56:17 +0000 (0:00:00.026) 0:01:54.129 ****** 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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:89 Tuesday 06 February 2024 15:56:17 +0000 (0:00:00.023) 0:01:54.152 ****** 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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:62 Tuesday 06 February 2024 15:56:17 +0000 (0:00:00.058) 0:01:54.210 ****** 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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:80 Tuesday 06 February 2024 15:56:17 +0000 (0:00:00.068) 0:01:54.278 ****** included: /WORKDIR/git-fix-linger-handlingohxd4jtr/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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:5 Tuesday 06 February 2024 15:56:17 +0000 (0:00:00.044) 0:01:54.323 ****** 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": 4096, "state": "directory", "uid": 0 } TASK [linux-system-roles.podman : Update container config file] **************** task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 Tuesday 06 February 2024 15:56:17 +0000 (0:00:00.253) 0:01:54.576 ****** 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-1707234978.0379238-3470-12302557318518/source", "state": "file", "uid": 0 } TASK [linux-system-roles.podman : Handle registries.conf.d] ******************** task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:83 Tuesday 06 February 2024 15:56:18 +0000 (0:00:00.626) 0:01:55.202 ****** included: /WORKDIR/git-fix-linger-handlingohxd4jtr/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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:5 Tuesday 06 February 2024 15:56:18 +0000 (0:00:00.037) 0:01:55.240 ****** 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": 4096, "state": "directory", "uid": 0 } TASK [linux-system-roles.podman : Update registries config file] *************** task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 Tuesday 06 February 2024 15:56:18 +0000 (0:00:00.256) 0:01:55.497 ****** 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-1707234978.9587138-3499-272836485889555/source", "state": "file", "uid": 0 } TASK [linux-system-roles.podman : Handle storage.conf] ************************* task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:86 Tuesday 06 February 2024 15:56:19 +0000 (0:00:00.618) 0:01:56.115 ****** included: /WORKDIR/git-fix-linger-handlingohxd4jtr/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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:5 Tuesday 06 February 2024 15:56:19 +0000 (0:00:00.037) 0:01:56.153 ****** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/containers", "secontext": "system_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [linux-system-roles.podman : Update storage config file] ****************** task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 Tuesday 06 February 2024 15:56:19 +0000 (0:00:00.234) 0:01:56.387 ****** 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-1707234979.8475266-3514-183612644373901/source", "state": "file", "uid": 0 } TASK [linux-system-roles.podman : Handle policy.json] ************************** task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:89 Tuesday 06 February 2024 15:56:20 +0000 (0:00:00.585) 0:01:56.972 ****** included: /WORKDIR/git-fix-linger-handlingohxd4jtr/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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:6 Tuesday 06 February 2024 15:56:20 +0000 (0:00:00.038) 0:01:57.011 ****** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/containers", "secontext": "system_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [linux-system-roles.podman : Stat the policy.json file] ******************* task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:15 Tuesday 06 February 2024 15:56:20 +0000 (0:00:00.241) 0:01:57.252 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707234958.7529905, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "2b9c515bda676f0ab6d58bcc6e44be4375b5922b", "ctime": 1707234914.5612137, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262426, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "application/json", "mode": "0644", "mtime": 1681257600.0, "nlink": 1, "path": "/etc/containers/policy.json", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 569, "uid": 0, "version": "2253601368", "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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:20 Tuesday 06 February 2024 15:56:20 +0000 (0:00:00.240) 0:01:57.492 ****** ok: [sut] => { "changed": false, "content": "ewogICAgImRlZmF1bHQiOiBbCiAgICAgICAgewogICAgICAgICAgICAidHlwZSI6ICJpbnNlY3VyZUFjY2VwdEFueXRoaW5nIgogICAgICAgIH0KICAgIF0sCiAgICAidHJhbnNwb3J0cyI6IHsKICAgICAgICAiZG9ja2VyIjogewoJICAgICJyZWdpc3RyeS5hY2Nlc3MucmVkaGF0LmNvbSI6IFsKCQl7CgkJICAgICJ0eXBlIjogInNpZ25lZEJ5IiwKCQkgICAgImtleVR5cGUiOiAiR1BHS2V5cyIsCgkJICAgICJrZXlQYXRoIjogIi9ldGMvcGtpL3JwbS1ncGcvUlBNLUdQRy1LRVktcmVkaGF0LXJlbGVhc2UiCgkJfQoJICAgIF0sCgkgICAgInJlZ2lzdHJ5LnJlZGhhdC5pbyI6IFsKCQl7CgkJICAgICJ0eXBlIjogInNpZ25lZEJ5IiwKCQkgICAgImtleVR5cGUiOiAiR1BHS2V5cyIsCgkJICAgICJrZXlQYXRoIjogIi9ldGMvcGtpL3JwbS1ncGcvUlBNLUdQRy1LRVktcmVkaGF0LXJlbGVhc2UiCgkJfQoJICAgIF0KCX0sCiAgICAgICAgImRvY2tlci1kYWVtb24iOiB7CgkgICAgIiI6IFsKCQl7CgkJICAgICJ0eXBlIjogImluc2VjdXJlQWNjZXB0QW55dGhpbmciCgkJfQoJICAgIF0KCX0KICAgIH0KfQo=", "encoding": "base64", "source": "/etc/containers/policy.json" } TASK [linux-system-roles.podman : Write new policy.json file] ****************** task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:26 Tuesday 06 February 2024 15:56:21 +0000 (0:00:00.219) 0:01:57.712 ****** 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-1707234981.1780815-3535-270915488283427/source", "state": "file", "uid": 0 } TASK [Manage firewall for specified ports] ************************************* task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:95 Tuesday 06 February 2024 15:56:21 +0000 (0:00:00.592) 0:01:58.304 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage selinux for specified ports] ************************************** task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:102 Tuesday 06 February 2024 15:56:21 +0000 (0:00:00.020) 0:01:58.324 ****** 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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:109 Tuesday 06 February 2024 15:56:21 +0000 (0:00:00.020) 0:01:58.345 ****** ok: [sut] => { "ansible_facts": { "__podman_cancel_user_linger": [] }, "changed": false } TASK [linux-system-roles.podman : Handle secrets] ****************************** task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:113 Tuesday 06 February 2024 15:56:21 +0000 (0:00:00.019) 0:01:58.365 ****** 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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:120 Tuesday 06 February 2024 15:56:21 +0000 (0:00:00.020) 0:01:58.385 ****** TASK [linux-system-roles.podman : Handle Quadlet specifications] *************** task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:126 Tuesday 06 February 2024 15:56:21 +0000 (0:00:00.018) 0:01:58.404 ****** TASK [linux-system-roles.podman : Cancel linger] ******************************* task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:132 Tuesday 06 February 2024 15:56:21 +0000 (0:00:00.025) 0:01:58.429 ****** TASK [Check that files exist and are non-null] ********************************* task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/tests_config_files.yml:113 Tuesday 06 February 2024 15:56:21 +0000 (0:00:00.020) 0:01:58.449 ****** 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": 1707234978.5568902, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "94370d6e765779f1c58daf02f667b8f0b74d91f6", "ctime": 1707234978.5628903, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262498, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1707234978.3398914, "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": "960810939", "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": 1707234979.4698856, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "dfb9cd7094a81b3d1bb06512cc9b49a09c75639b", "ctime": 1707234979.4758856, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262499, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1707234979.2538867, "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": "4224651497", "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": 1707234980.3258812, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d08574b6a1df63dbe1c939ff0bcc7c0b61d03044", "ctime": 1707234980.3318813, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262500, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1707234980.1148825, "nlink": 1, "path": "/etc/containers/storage.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 109, "uid": 0, "version": "3608413950", "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": 1707234981.6578746, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6746c079ad563b735fc39f73d4876654b80b0a0d", "ctime": 1707234981.6588745, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262501, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "application/json", "mode": "0644", "mtime": 1707234981.4448757, "nlink": 1, "path": "/etc/containers/policy.json", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 67, "uid": 0, "version": "3090228202", "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-handlingohxd4jtr/tests/tests_config_files.yml:121 Tuesday 06 February 2024 15:56:22 +0000 (0:00:00.903) 0:01:59.352 ****** TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:3 Tuesday 06 February 2024 15:56:22 +0000 (0:00:00.059) 0:01:59.412 ****** included: /WORKDIR/git-fix-linger-handlingohxd4jtr/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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:3 Tuesday 06 February 2024 15:56:22 +0000 (0:00:00.061) 0:01:59.473 ****** 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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:12 Tuesday 06 February 2024 15:56:22 +0000 (0:00:00.027) 0:01:59.500 ****** 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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:17 Tuesday 06 February 2024 15:56:22 +0000 (0:00:00.021) 0:01:59.521 ****** 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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:21 Tuesday 06 February 2024 15:56:22 +0000 (0:00:00.024) 0:01:59.545 ****** ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__podman_packages": [ "podman", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [sut] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_38.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_38.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_38.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_38.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Gather the package facts] ******************** task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:6 Tuesday 06 February 2024 15:56:23 +0000 (0:00:00.053) 0:01:59.598 ****** 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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:10 Tuesday 06 February 2024 15:56:24 +0000 (0:00:01.035) 0:02:00.634 ****** 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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:14 Tuesday 06 February 2024 15:56:24 +0000 (0:00:00.038) 0:02:00.673 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Get podman version] ************************** task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:23 Tuesday 06 February 2024 15:56:24 +0000 (0:00:00.059) 0:02:00.733 ****** ok: [sut] => { "changed": false, "cmd": [ "podman", "--version" ], "delta": "0:00:00.035637", "end": "2024-02-06 15:56:24.387568", "rc": 0, "start": "2024-02-06 15:56:24.351931" } STDOUT: podman version 4.8.3 STDERR: time="2024-02-06T15:56:24Z" 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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:28 Tuesday 06 February 2024 15:56:24 +0000 (0:00:00.289) 0:02:01.022 ****** 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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:32 Tuesday 06 February 2024 15:56:24 +0000 (0:00:00.022) 0:02:01.044 ****** 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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:39 Tuesday 06 February 2024 15:56:24 +0000 (0:00:00.032) 0:02:01.077 ****** 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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:56 Tuesday 06 February 2024 15:56:24 +0000 (0:00:00.072) 0:02:01.150 ****** included: /WORKDIR/git-fix-linger-handlingohxd4jtr/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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:2 Tuesday 06 February 2024 15:56:24 +0000 (0:00:00.039) 0:02:01.190 ****** 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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:10 Tuesday 06 February 2024 15:56:24 +0000 (0:00:00.049) 0:02:01.239 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set group for podman user] ******************* task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:17 Tuesday 06 February 2024 15:56:24 +0000 (0:00:00.028) 0:02:01.268 ****** ok: [sut] => { "ansible_facts": { "__podman_group": "0" }, "changed": false } TASK [linux-system-roles.podman : Get group information] *********************** task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:28 Tuesday 06 February 2024 15:56:24 +0000 (0:00:00.029) 0:02:01.297 ****** 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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:36 Tuesday 06 February 2024 15:56:24 +0000 (0:00:00.244) 0:02:01.542 ****** 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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:41 Tuesday 06 February 2024 15:56:24 +0000 (0:00:00.027) 0:02:01.569 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707234957.5049968, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 32, "charset": "binary", "checksum": "02bd4fbb1af303bd528684f8839db549767ee321", "ctime": 1707234914.699213, "dev": 51714, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 203308, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "application/x-pie-executable", "mode": "0755", "mtime": 1678060800.0, "nlink": 1, "path": "/usr/bin/getsubids", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 15984, "uid": 0, "version": "2226500853", "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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:52 Tuesday 06 February 2024 15:56:25 +0000 (0:00:00.225) 0:02:01.795 ****** 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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:56 Tuesday 06 February 2024 15:56:25 +0000 (0:00:00.032) 0:02:01.827 ****** 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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:66 Tuesday 06 February 2024 15:56:25 +0000 (0:00:00.023) 0:02:01.851 ****** 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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:74 Tuesday 06 February 2024 15:56:25 +0000 (0:00:00.024) 0:02:01.875 ****** 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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:81 Tuesday 06 February 2024 15:56:25 +0000 (0:00:00.035) 0:02:01.910 ****** 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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:89 Tuesday 06 February 2024 15:56:25 +0000 (0:00:00.031) 0:02:01.942 ****** 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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:62 Tuesday 06 February 2024 15:56:25 +0000 (0:00:00.021) 0:02:01.963 ****** 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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:80 Tuesday 06 February 2024 15:56:25 +0000 (0:00:00.101) 0:02:02.065 ****** included: /WORKDIR/git-fix-linger-handlingohxd4jtr/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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:5 Tuesday 06 February 2024 15:56:25 +0000 (0:00:00.037) 0:02:02.103 ****** 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": 4096, "state": "directory", "uid": 0 } TASK [linux-system-roles.podman : Update container config file] **************** task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 Tuesday 06 February 2024 15:56:25 +0000 (0:00:00.233) 0:02:02.336 ****** 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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:83 Tuesday 06 February 2024 15:56:26 +0000 (0:00:00.552) 0:02:02.889 ****** included: /WORKDIR/git-fix-linger-handlingohxd4jtr/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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:5 Tuesday 06 February 2024 15:56:26 +0000 (0:00:00.039) 0:02:02.928 ****** 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": 4096, "state": "directory", "uid": 0 } TASK [linux-system-roles.podman : Update registries config file] *************** task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 Tuesday 06 February 2024 15:56:26 +0000 (0:00:00.236) 0:02:03.165 ****** 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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:86 Tuesday 06 February 2024 15:56:27 +0000 (0:00:00.560) 0:02:03.726 ****** included: /WORKDIR/git-fix-linger-handlingohxd4jtr/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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:5 Tuesday 06 February 2024 15:56:27 +0000 (0:00:00.041) 0:02:03.767 ****** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/containers", "secontext": "system_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [linux-system-roles.podman : Update storage config file] ****************** task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 Tuesday 06 February 2024 15:56:27 +0000 (0:00:00.269) 0:02:04.036 ****** 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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:89 Tuesday 06 February 2024 15:56:28 +0000 (0:00:00.646) 0:02:04.683 ****** included: /WORKDIR/git-fix-linger-handlingohxd4jtr/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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:6 Tuesday 06 February 2024 15:56:28 +0000 (0:00:00.041) 0:02:04.724 ****** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/containers", "secontext": "system_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [linux-system-roles.podman : Stat the policy.json file] ******************* task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:15 Tuesday 06 February 2024 15:56:28 +0000 (0:00:00.231) 0:02:04.955 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707234982.7258692, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6746c079ad563b735fc39f73d4876654b80b0a0d", "ctime": 1707234981.6588745, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262501, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "application/json", "mode": "0644", "mtime": 1707234981.4448757, "nlink": 1, "path": "/etc/containers/policy.json", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 67, "uid": 0, "version": "3090228202", "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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:20 Tuesday 06 February 2024 15:56:28 +0000 (0:00:00.228) 0:02:05.184 ****** 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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:26 Tuesday 06 February 2024 15:56:28 +0000 (0:00:00.214) 0:02:05.398 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage firewall for specified ports] ************************************* task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:95 Tuesday 06 February 2024 15:56:28 +0000 (0:00:00.024) 0:02:05.422 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage selinux for specified ports] ************************************** task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:102 Tuesday 06 February 2024 15:56:28 +0000 (0:00:00.026) 0:02:05.449 ****** 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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:109 Tuesday 06 February 2024 15:56:28 +0000 (0:00:00.022) 0:02:05.471 ****** ok: [sut] => { "ansible_facts": { "__podman_cancel_user_linger": [] }, "changed": false } TASK [linux-system-roles.podman : Handle secrets] ****************************** task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:113 Tuesday 06 February 2024 15:56:28 +0000 (0:00:00.022) 0:02:05.494 ****** 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-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:120 Tuesday 06 February 2024 15:56:28 +0000 (0:00:00.022) 0:02:05.516 ****** TASK [linux-system-roles.podman : Handle Quadlet specifications] *************** task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:126 Tuesday 06 February 2024 15:56:28 +0000 (0:00:00.033) 0:02:05.550 ****** TASK [linux-system-roles.podman : Cancel linger] ******************************* task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:132 Tuesday 06 February 2024 15:56:28 +0000 (0:00:00.025) 0:02:05.575 ****** TASK [Check that files still exist and are non-null] *************************** task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/tests_config_files.yml:128 Tuesday 06 February 2024 15:56:29 +0000 (0:00:00.021) 0:02:05.597 ****** 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": 1707234982.0618725, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "94370d6e765779f1c58daf02f667b8f0b74d91f6", "ctime": 1707234978.5628903, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262498, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1707234978.3398914, "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": "960810939", "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": 1707234982.2888713, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "dfb9cd7094a81b3d1bb06512cc9b49a09c75639b", "ctime": 1707234979.4758856, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262499, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1707234979.2538867, "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": "4224651497", "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": 1707234982.5048704, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d08574b6a1df63dbe1c939ff0bcc7c0b61d03044", "ctime": 1707234980.3318813, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262500, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1707234980.1148825, "nlink": 1, "path": "/etc/containers/storage.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 109, "uid": 0, "version": "3608413950", "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": 1707234982.7258692, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6746c079ad563b735fc39f73d4876654b80b0a0d", "ctime": 1707234981.6588745, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262501, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "application/json", "mode": "0644", "mtime": 1707234981.4448757, "nlink": 1, "path": "/etc/containers/policy.json", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 67, "uid": 0, "version": "3090228202", "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-handlingohxd4jtr/tests/tests_config_files.yml:136 Tuesday 06 February 2024 15:56:29 +0000 (0:00:00.895) 0:02:06.492 ****** included: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/tasks/check_header.yml for sut included: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/tasks/check_header.yml for sut included: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/tasks/check_header.yml for sut included: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/tasks/check_header.yml for sut included: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/tasks/check_header.yml for sut included: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/tasks/check_header.yml for sut TASK [Get file] **************************************************************** task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/tasks/check_header.yml:3 Tuesday 06 February 2024 15:56:29 +0000 (0:00:00.064) 0:02:06.557 ****** 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-handlingohxd4jtr/tests/tasks/check_header.yml:9 Tuesday 06 February 2024 15:56:30 +0000 (0:00:00.222) 0:02:06.779 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get file] **************************************************************** task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/tasks/check_header.yml:3 Tuesday 06 February 2024 15:56:30 +0000 (0:00:00.061) 0:02:06.841 ****** 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-handlingohxd4jtr/tests/tasks/check_header.yml:9 Tuesday 06 February 2024 15:56:30 +0000 (0:00:00.219) 0:02:07.060 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get file] **************************************************************** task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/tasks/check_header.yml:3 Tuesday 06 February 2024 15:56:30 +0000 (0:00:00.071) 0:02:07.132 ****** 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-handlingohxd4jtr/tests/tasks/check_header.yml:9 Tuesday 06 February 2024 15:56:30 +0000 (0:00:00.223) 0:02:07.356 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get file] **************************************************************** task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/tasks/check_header.yml:3 Tuesday 06 February 2024 15:56:30 +0000 (0:00:00.083) 0:02:07.439 ****** 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-handlingohxd4jtr/tests/tasks/check_header.yml:9 Tuesday 06 February 2024 15:56:31 +0000 (0:00:00.259) 0:02:07.699 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get file] **************************************************************** task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/tasks/check_header.yml:3 Tuesday 06 February 2024 15:56:31 +0000 (0:00:00.125) 0:02:07.825 ****** 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-handlingohxd4jtr/tests/tasks/check_header.yml:9 Tuesday 06 February 2024 15:56:31 +0000 (0:00:00.275) 0:02:08.100 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get file] **************************************************************** task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/tasks/check_header.yml:3 Tuesday 06 February 2024 15:56:31 +0000 (0:00:00.156) 0:02:08.257 ****** 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-handlingohxd4jtr/tests/tasks/check_header.yml:9 Tuesday 06 February 2024 15:56:31 +0000 (0:00:00.221) 0:02:08.479 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove test config files] ************************************************ task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/tests_config_files.yml:157 Tuesday 06 February 2024 15:56:31 +0000 (0:00:00.061) 0:02:08.541 ****** 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-handlingohxd4jtr/tests/tests_config_files.yml:163 Tuesday 06 February 2024 15:56:33 +0000 (0:00:01.675) 0:02:10.216 ****** ok: [sut] => { "changed": false, "cmd": [ "tar", "xfvpP", "/tmp/lsr_podman_config_v71xgd36/backup.tar" ], "delta": "0:00:00.004239", "end": "2024-02-06 15:56:33.832017", "rc": 0, "start": "2024-02-06 15:56:33.827778" } STDOUT: /etc/containers/policy.json TASK [Remove temp directory] *************************************************** task path: /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/tests_config_files.yml:168 Tuesday 06 February 2024 15:56:33 +0000 (0:00:00.226) 0:02:10.442 ****** changed: [sut] => { "changed": true, "path": "/tmp/lsr_podman_config_v71xgd36", "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:56:34 +0000 (0:00:00.216) 0:02:10.659 ****** =============================================================================== linux-system-roles.podman : Ensure required packages are installed ----- 89.57s /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:14 linux-system-roles.podman : Gather the package facts -------------------- 2.05s /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:6 linux-system-roles.podman : Gather the package facts -------------------- 1.97s /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:6 Gathering Facts --------------------------------------------------------- 1.68s /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/tests_config_files.yml:9 ------- Remove test config files ------------------------------------------------ 1.68s /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/tests_config_files.yml:157 ----- linux-system-roles.podman : Gather the package facts -------------------- 1.05s /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/main.yml:6 Check that files exist and are non-null --------------------------------- 0.91s /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/tests_config_files.yml:83 ------ Check that files exist and are non-null --------------------------------- 0.90s /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/tests_config_files.yml:113 ----- Check that files still exist and are non-null --------------------------- 0.90s /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/tests_config_files.yml:128 ----- Check that files still exist and are non-null --------------------------- 0.89s /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/tests_config_files.yml:98 ------ linux-system-roles.podman : Update container config file ---------------- 0.76s /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 linux-system-roles.podman : Update registries config file --------------- 0.68s /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 linux-system-roles.podman : Update storage config file ------------------ 0.65s /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 linux-system-roles.podman : Update container config file ---------------- 0.63s /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 linux-system-roles.podman : Update registries config file --------------- 0.62s /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 linux-system-roles.podman : Write new policy.json file ------------------ 0.60s /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:26 linux-system-roles.podman : Write new policy.json file ------------------ 0.59s /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:26 linux-system-roles.podman : Update storage config file ------------------ 0.59s /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 linux-system-roles.podman : Update container config file ---------------- 0.59s /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 linux-system-roles.podman : Update storage config file ------------------ 0.59s /WORKDIR/git-fix-linger-handlingohxd4jtr/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the unarchive module rather than running 'tar'. If you need to use command because unarchive is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---