# 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-kube-cleanup-idempotentz6pzklql/tests/tests_config_files.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Include vault variables] ************************************************* task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/tests_config_files.yml:4 Wednesday 17 April 2024 19:56:06 +0000 (0:00:00.015) 0:00:00.015 ******* 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-kube-cleanup-idempotentz6pzklql/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-kube-cleanup-idempotentz6pzklql/tests/tests_config_files.yml:9 Wednesday 17 April 2024 19:56:06 +0000 (0:00:00.012) 0:00:00.028 ******* ok: [sut] META: ran handlers TASK [Run the role with no config to get private vars] ************************* task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/tests_config_files.yml:48 Wednesday 17 April 2024 19:56:08 +0000 (0:00:02.584) 0:00:02.612 ******* TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:3 Wednesday 17 April 2024 19:56:08 +0000 (0:00:00.086) 0:00:02.698 ******* included: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:3 Wednesday 17 April 2024 19:56:08 +0000 (0:00:00.019) 0:00:02.717 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check if system is ostree] ******************* task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:12 Wednesday 17 April 2024 19:56:09 +0000 (0:00:00.025) 0:00:02.742 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.podman : Set flag to indicate system is ostree] ******* task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:17 Wednesday 17 April 2024 19:56:09 +0000 (0:00:00.303) 0:00:03.046 ******* ok: [sut] => { "ansible_facts": { "__podman_is_ostree": false }, "changed": false } TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:21 Wednesday 17 April 2024 19:56:09 +0000 (0:00:00.028) 0:00:03.074 ******* ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__podman_packages": [ "podman", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-kube-cleanup-idempotentz6pzklql/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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:6 Wednesday 17 April 2024 19:56:09 +0000 (0:00:00.046) 0:00:03.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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:10 Wednesday 17 April 2024 19:56:10 +0000 (0:00:01.188) 0:00:04.309 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Ensure required packages are installed] ****** task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:14 Wednesday 17 April 2024 19:56:10 +0000 (0:00:00.037) 0:00:04.346 ******* changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: criu-3.18-1.fc38.x86_64", "Installed: libslirp-4.7.0-3.fc38.x86_64", "Installed: criu-libs-3.18-1.fc38.x86_64", "Installed: slirp4netns-1.2.2-1.fc38.x86_64", "Installed: shadow-utils-subid-2:4.13-6.fc38.x86_64", "Installed: aardvark-dns-1.10.0-1.fc38.x86_64", "Installed: conmon-2:2.1.10-1.fc38.x86_64", "Installed: qemu-user-static-xtensa-2:7.2.10-1.fc38.x86_64", "Installed: container-selinux-2:2.230.0-1.fc38.noarch", "Installed: fuse-common-3.14.1-1.fc38.x86_64", "Installed: containers-common-4:1-89.fc38.noarch", "Installed: containers-common-extra-4:1-89.fc38.noarch", "Installed: crun-1.14.4-1.fc38.x86_64", "Installed: fuse-overlayfs-1.13-1.fc38.x86_64", "Installed: fuse3-3.14.1-1.fc38.x86_64", "Installed: libnet-1.3-1.fc38.x86_64", "Installed: fuse3-libs-3.14.1-1.fc38.x86_64", "Installed: passt-0^20240326.g4988e2b-1.fc38.x86_64", "Installed: passt-selinux-0^20240326.g4988e2b-1.fc38.noarch", "Installed: qemu-user-static-2:7.2.10-1.fc38.x86_64", "Installed: qemu-user-static-aarch64-2:7.2.10-1.fc38.x86_64", "Installed: qemu-user-static-alpha-2:7.2.10-1.fc38.x86_64", "Installed: qemu-user-static-arm-2:7.2.10-1.fc38.x86_64", "Installed: qemu-user-static-cris-2:7.2.10-1.fc38.x86_64", "Installed: qemu-user-static-hexagon-2:7.2.10-1.fc38.x86_64", "Installed: podman-5:4.9.4-1.fc38.x86_64", "Installed: qemu-user-static-loongarch64-2:7.2.10-1.fc38.x86_64", "Installed: qemu-user-static-m68k-2:7.2.10-1.fc38.x86_64", "Installed: qemu-user-static-microblaze-2:7.2.10-1.fc38.x86_64", "Installed: qemu-user-static-mips-2:7.2.10-1.fc38.x86_64", "Installed: qemu-user-static-nios2-2:7.2.10-1.fc38.x86_64", "Installed: qemu-user-static-or1k-2:7.2.10-1.fc38.x86_64", "Installed: qemu-user-static-ppc-2:7.2.10-1.fc38.x86_64", "Installed: qemu-user-static-riscv-2:7.2.10-1.fc38.x86_64", "Installed: qemu-user-static-s390x-2:7.2.10-1.fc38.x86_64", "Installed: qemu-user-static-sh4-2:7.2.10-1.fc38.x86_64", "Installed: qemu-user-static-sparc-2:7.2.10-1.fc38.x86_64", "Installed: qemu-user-static-x86-2:7.2.10-1.fc38.x86_64", "Installed: gvisor-tap-vsock-6:0.7.3-1.fc38.x86_64", "Installed: gvisor-tap-vsock-gvforwarder-6:0.7.3-1.fc38.x86_64", "Installed: catatonit-0.1.7-14.fc38.x86_64", "Installed: qemu-user-static-hppa-2:7.2.10-1.fc38.x86_64", "Installed: libbsd-0.12.2-1.fc38.x86_64", "Installed: netavark-1.10.3-1.fc38.x86_64", "Installed: yajl-2.1.0-21.fc38.x86_64", "Installed: libmd-1.1.0-1.fc38.x86_64" ] } TASK [linux-system-roles.podman : Get podman version] ************************** task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:23 Wednesday 17 April 2024 19:57:49 +0000 (0:01:38.960) 0:01:43.306 ******* ok: [sut] => { "changed": false, "cmd": [ "podman", "--version" ], "delta": "0:00:00.039124", "end": "2024-04-17 19:57:49.939409", "rc": 0, "start": "2024-04-17 19:57:49.900285" } STDOUT: podman version 4.9.4 TASK [linux-system-roles.podman : Set podman version] ************************** task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:29 Wednesday 17 April 2024 19:57:49 +0000 (0:00:00.394) 0:01:43.701 ******* ok: [sut] => { "ansible_facts": { "podman_version": "4.9.4" }, "changed": false } TASK [linux-system-roles.podman : Podman package version must be 4.2 or later] *** task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:33 Wednesday 17 April 2024 19:57:50 +0000 (0:00:00.037) 0:01:43.739 ******* 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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:40 Wednesday 17 April 2024 19:57:50 +0000 (0:00:00.072) 0:01:43.812 ******* 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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:57 Wednesday 17 April 2024 19:57:50 +0000 (0:00:00.071) 0:01:43.883 ******* included: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:2 Wednesday 17 April 2024 19:57:50 +0000 (0:00:00.048) 0:01:43.932 ******* 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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:10 Wednesday 17 April 2024 19:57:50 +0000 (0:00:00.313) 0:01:44.245 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set group for podman user] ******************* task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:17 Wednesday 17 April 2024 19:57:50 +0000 (0:00:00.030) 0:01:44.276 ******* ok: [sut] => { "ansible_facts": { "__podman_group": "0" }, "changed": false } TASK [linux-system-roles.podman : Get group information] *********************** task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:28 Wednesday 17 April 2024 19:57:50 +0000 (0:00:00.034) 0:01:44.310 ******* ok: [sut] => { "ansible_facts": { "getent_group": { "root": [ "x", "0", "" ] } }, "changed": false } TASK [linux-system-roles.podman : Set group name] ****************************** task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:36 Wednesday 17 April 2024 19:57:50 +0000 (0:00:00.252) 0:01:44.562 ******* ok: [sut] => { "ansible_facts": { "__podman_group_name": "root" }, "changed": false } TASK [linux-system-roles.podman : See if getsubids exists] ********************* task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:41 Wednesday 17 April 2024 19:57:50 +0000 (0:00:00.032) 0:01:44.594 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1678060800.0, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 32, "charset": "binary", "checksum": "02bd4fbb1af303bd528684f8839db549767ee321", "ctime": 1713383816.182933, "dev": 51714, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 203629, "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": "3951854774", "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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:52 Wednesday 17 April 2024 19:57:51 +0000 (0:00:00.251) 0:01:44.846 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check group with getsubids] ****************** task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:57 Wednesday 17 April 2024 19:57:51 +0000 (0:00:00.025) 0:01:44.871 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set user subuid and subgid info] ************* task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:62 Wednesday 17 April 2024 19:57:51 +0000 (0:00:00.025) 0:01:44.897 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Get subuid file] ***************************** task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:82 Wednesday 17 April 2024 19:57:51 +0000 (0:00:00.024) 0:01:44.922 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Get subgid file] ***************************** task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:87 Wednesday 17 April 2024 19:57:51 +0000 (0:00:00.027) 0:01:44.949 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set user subuid and subgid info] ************* task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:92 Wednesday 17 April 2024 19:57:51 +0000 (0:00:00.055) 0:01:45.004 ******* 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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:114 Wednesday 17 April 2024 19:57:51 +0000 (0:00:00.026) 0:01:45.031 ******* 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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:121 Wednesday 17 April 2024 19:57:51 +0000 (0:00:00.027) 0:01:45.058 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set config file paths] *********************** task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:63 Wednesday 17 April 2024 19:57:51 +0000 (0:00:00.026) 0:01:45.084 ******* 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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:81 Wednesday 17 April 2024 19:57:51 +0000 (0:00:00.074) 0:01:45.158 ******* included: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:5 Wednesday 17 April 2024 19:57:51 +0000 (0:00:00.050) 0:01:45.209 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Update container config file] **************** task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 Wednesday 17 April 2024 19:57:51 +0000 (0:00:00.026) 0:01:45.236 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Handle registries.conf.d] ******************** task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:84 Wednesday 17 April 2024 19:57:51 +0000 (0:00:00.025) 0:01:45.261 ******* included: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:5 Wednesday 17 April 2024 19:57:51 +0000 (0:00:00.049) 0:01:45.310 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Update registries config file] *************** task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 Wednesday 17 April 2024 19:57:51 +0000 (0:00:00.024) 0:01:45.335 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Handle storage.conf] ************************* task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:87 Wednesday 17 April 2024 19:57:51 +0000 (0:00:00.025) 0:01:45.361 ******* included: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:5 Wednesday 17 April 2024 19:57:51 +0000 (0:00:00.050) 0:01:45.412 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Update storage config file] ****************** task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 Wednesday 17 April 2024 19:57:51 +0000 (0:00:00.027) 0:01:45.439 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Handle policy.json] ************************** task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:90 Wednesday 17 April 2024 19:57:51 +0000 (0:00:00.025) 0:01:45.465 ******* included: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:6 Wednesday 17 April 2024 19:57:51 +0000 (0:00:00.080) 0:01:45.546 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Stat the policy.json file] ******************* task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:15 Wednesday 17 April 2024 19:57:51 +0000 (0:00:00.027) 0:01:45.573 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Get the existing policy.json] **************** task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:20 Wednesday 17 April 2024 19:57:51 +0000 (0:00:00.032) 0:01:45.606 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Write new policy.json file] ****************** task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:26 Wednesday 17 April 2024 19:57:51 +0000 (0:00:00.026) 0:01:45.633 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage firewall for specified ports] ************************************* task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:96 Wednesday 17 April 2024 19:57:51 +0000 (0:00:00.025) 0:01:45.658 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage selinux for specified ports] ************************************** task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:103 Wednesday 17 April 2024 19:57:51 +0000 (0:00:00.026) 0:01:45.684 ******* 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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:110 Wednesday 17 April 2024 19:57:51 +0000 (0:00:00.024) 0:01:45.709 ******* ok: [sut] => { "ansible_facts": { "__podman_cancel_user_linger": [] }, "changed": false } TASK [linux-system-roles.podman : Handle secrets] ****************************** task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:114 Wednesday 17 April 2024 19:57:52 +0000 (0:00:00.025) 0:01:45.734 ******* 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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:121 Wednesday 17 April 2024 19:57:52 +0000 (0:00:00.024) 0:01:45.759 ******* TASK [linux-system-roles.podman : Handle Quadlet specifications] *************** task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:127 Wednesday 17 April 2024 19:57:52 +0000 (0:00:00.023) 0:01:45.782 ******* TASK [linux-system-roles.podman : Cancel linger] ******************************* task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:133 Wednesday 17 April 2024 19:57:52 +0000 (0:00:00.024) 0:01:45.807 ******* TASK [Create temp directory] *************************************************** task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/tests_config_files.yml:59 Wednesday 17 April 2024 19:57:52 +0000 (0:00:00.025) 0:01:45.832 ******* changed: [sut] => { "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/lsr_podman_config_tjtv6j8k", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 40, "state": "directory", "uid": 0 } TASK [Create backup] *********************************************************** task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/tests_config_files.yml:65 Wednesday 17 April 2024 19:57:52 +0000 (0:00:00.338) 0:01:46.171 ******* ok: [sut] => { "changed": false, "cmd": [ "tar", "--ignore-failed-read", "-c", "-P", "-v", "-p", "-f", "/tmp/lsr_podman_config_tjtv6j8k/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.192641", "end": "2024-04-17 19:57:52.850696", "rc": 0, "start": "2024-04-17 19:57:52.658055" } 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-kube-cleanup-idempotentz6pzklql/tests/tests_config_files.yml:72 Wednesday 17 April 2024 19:57:52 +0000 (0:00:00.438) 0:01:46.609 ******* 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-kube-cleanup-idempotentz6pzklql/tests/tests_config_files.yml:76 Wednesday 17 April 2024 19:57:53 +0000 (0:00:00.559) 0:01:47.169 ******* TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:3 Wednesday 17 April 2024 19:57:53 +0000 (0:00:00.072) 0:01:47.241 ******* included: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:3 Wednesday 17 April 2024 19:57:53 +0000 (0:00:00.042) 0:01:47.284 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check if system is ostree] ******************* task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:12 Wednesday 17 April 2024 19:57:53 +0000 (0:00:00.030) 0:01:47.315 ******* 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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:17 Wednesday 17 April 2024 19:57:53 +0000 (0:00:00.024) 0:01:47.339 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:21 Wednesday 17 April 2024 19:57:53 +0000 (0:00:00.024) 0:01:47.363 ******* ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__podman_packages": [ "podman", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-kube-cleanup-idempotentz6pzklql/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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:6 Wednesday 17 April 2024 19:57:53 +0000 (0:00:00.061) 0:01:47.425 ******* 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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:10 Wednesday 17 April 2024 19:57:54 +0000 (0:00:01.051) 0:01:48.477 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Ensure required packages are installed] ****** task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:14 Wednesday 17 April 2024 19:57:54 +0000 (0:00:00.053) 0:01:48.531 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Get podman version] ************************** task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:23 Wednesday 17 April 2024 19:57:54 +0000 (0:00:00.033) 0:01:48.564 ******* ok: [sut] => { "changed": false, "cmd": [ "podman", "--version" ], "delta": "0:00:00.035903", "end": "2024-04-17 19:57:55.081839", "rc": 0, "start": "2024-04-17 19:57:55.045936" } STDOUT: podman version 4.9.4 TASK [linux-system-roles.podman : Set podman version] ************************** task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:29 Wednesday 17 April 2024 19:57:55 +0000 (0:00:00.275) 0:01:48.840 ******* ok: [sut] => { "ansible_facts": { "podman_version": "4.9.4" }, "changed": false } TASK [linux-system-roles.podman : Podman package version must be 4.2 or later] *** task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:33 Wednesday 17 April 2024 19:57:55 +0000 (0:00:00.025) 0:01:48.866 ******* 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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:40 Wednesday 17 April 2024 19:57:55 +0000 (0:00:00.025) 0:01:48.891 ******* 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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:57 Wednesday 17 April 2024 19:57:55 +0000 (0:00:00.052) 0:01:48.944 ******* included: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:2 Wednesday 17 April 2024 19:57:55 +0000 (0:00:00.050) 0:01:48.995 ******* 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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:10 Wednesday 17 April 2024 19:57:55 +0000 (0:00:00.254) 0:01:49.249 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set group for podman user] ******************* task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:17 Wednesday 17 April 2024 19:57:55 +0000 (0:00:00.032) 0:01:49.281 ******* ok: [sut] => { "ansible_facts": { "__podman_group": "1001" }, "changed": false } TASK [linux-system-roles.podman : Get group information] *********************** task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:28 Wednesday 17 April 2024 19:57:55 +0000 (0:00:00.034) 0:01:49.316 ******* ok: [sut] => { "ansible_facts": { "getent_group": { "user1": [ "x", "1001", "" ] } }, "changed": false } TASK [linux-system-roles.podman : Set group name] ****************************** task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:36 Wednesday 17 April 2024 19:57:55 +0000 (0:00:00.255) 0:01:49.571 ******* ok: [sut] => { "ansible_facts": { "__podman_group_name": "user1" }, "changed": false } TASK [linux-system-roles.podman : See if getsubids exists] ********************* task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:41 Wednesday 17 April 2024 19:57:55 +0000 (0:00:00.033) 0:01:49.604 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1713383871.0791266, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 32, "charset": "binary", "checksum": "02bd4fbb1af303bd528684f8839db549767ee321", "ctime": 1713383816.182933, "dev": 51714, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 203629, "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": "3951854774", "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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:52 Wednesday 17 April 2024 19:57:56 +0000 (0:00:00.245) 0:01:49.850 ******* ok: [sut] => { "changed": false, "cmd": [ "getsubids", "user1" ], "delta": "0:00:00.004917", "end": "2024-04-17 19:57:56.340129", "rc": 0, "start": "2024-04-17 19:57:56.335212" } STDOUT: 0: user1 589824 65536 TASK [linux-system-roles.podman : Check group with getsubids] ****************** task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:57 Wednesday 17 April 2024 19:57:56 +0000 (0:00:00.248) 0:01:50.099 ******* ok: [sut] => { "changed": false, "cmd": [ "getsubids", "-g", "user1" ], "delta": "0:00:00.004992", "end": "2024-04-17 19:57:56.589629", "rc": 0, "start": "2024-04-17 19:57:56.584637" } STDOUT: 0: user1 589824 65536 TASK [linux-system-roles.podman : Set user subuid and subgid info] ************* task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:62 Wednesday 17 April 2024 19:57:56 +0000 (0:00:00.250) 0:01:50.350 ******* ok: [sut] => { "ansible_facts": { "podman_subgid_info": { "user1": { "range": 65536, "start": 589824 } }, "podman_subuid_info": { "user1": { "range": 65536, "start": 589824 } } }, "changed": false } TASK [linux-system-roles.podman : Get subuid file] ***************************** task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:82 Wednesday 17 April 2024 19:57:56 +0000 (0:00:00.036) 0:01:50.387 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Get subgid file] ***************************** task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:87 Wednesday 17 April 2024 19:57:56 +0000 (0:00:00.025) 0:01:50.412 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set user subuid and subgid info] ************* task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:92 Wednesday 17 April 2024 19:57:56 +0000 (0:00:00.024) 0:01:50.436 ******* 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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:114 Wednesday 17 April 2024 19:57:56 +0000 (0:00:00.026) 0:01:50.463 ******* 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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:121 Wednesday 17 April 2024 19:57:56 +0000 (0:00:00.038) 0:01:50.501 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set config file paths] *********************** task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:63 Wednesday 17 April 2024 19:57:56 +0000 (0:00:00.032) 0:01:50.533 ******* 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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:81 Wednesday 17 April 2024 19:57:56 +0000 (0:00:00.068) 0:01:50.602 ******* included: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:5 Wednesday 17 April 2024 19:57:56 +0000 (0:00:00.052) 0:01:50.654 ******* 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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 Wednesday 17 April 2024 19:57:57 +0000 (0:00:00.359) 0:01:51.013 ******* 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-1713383877.3401308-2681-160719303200322/source", "state": "file", "uid": 1001 } TASK [linux-system-roles.podman : Handle registries.conf.d] ******************** task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:84 Wednesday 17 April 2024 19:57:58 +0000 (0:00:00.728) 0:01:51.742 ******* included: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:5 Wednesday 17 April 2024 19:57:58 +0000 (0:00:00.052) 0:01:51.795 ******* 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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 Wednesday 17 April 2024 19:57:58 +0000 (0:00:00.257) 0:01:52.052 ******* 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-1713383878.379637-2696-276692415917690/source", "state": "file", "uid": 1001 } TASK [linux-system-roles.podman : Handle storage.conf] ************************* task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:87 Wednesday 17 April 2024 19:57:58 +0000 (0:00:00.655) 0:01:52.708 ******* included: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:5 Wednesday 17 April 2024 19:57:59 +0000 (0:00:00.065) 0:01:52.774 ******* 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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 Wednesday 17 April 2024 19:57:59 +0000 (0:00:00.259) 0:01:53.034 ******* 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-1713383879.3605838-2711-246671370061723/source", "state": "file", "uid": 1001 } TASK [linux-system-roles.podman : Handle policy.json] ************************** task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:90 Wednesday 17 April 2024 19:57:59 +0000 (0:00:00.681) 0:01:53.715 ******* included: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:6 Wednesday 17 April 2024 19:58:00 +0000 (0:00:00.063) 0:01:53.779 ******* 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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:15 Wednesday 17 April 2024 19:58:00 +0000 (0:00:00.264) 0:01:54.043 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.podman : Get the existing policy.json] **************** task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:20 Wednesday 17 April 2024 19:58:00 +0000 (0:00:00.238) 0:01:54.282 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Write new policy.json file] ****************** task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:26 Wednesday 17 April 2024 19:58:00 +0000 (0:00:00.025) 0:01:54.307 ******* 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-1713383880.6358001-2731-96018269985420/source", "state": "file", "uid": 1001 } TASK [Manage firewall for specified ports] ************************************* task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:96 Wednesday 17 April 2024 19:58:01 +0000 (0:00:00.639) 0:01:54.947 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage selinux for specified ports] ************************************** task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:103 Wednesday 17 April 2024 19:58:01 +0000 (0:00:00.030) 0:01:54.978 ******* 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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:110 Wednesday 17 April 2024 19:58:01 +0000 (0:00:00.027) 0:01:55.005 ******* ok: [sut] => { "ansible_facts": { "__podman_cancel_user_linger": [] }, "changed": false } TASK [linux-system-roles.podman : Handle secrets] ****************************** task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:114 Wednesday 17 April 2024 19:58:01 +0000 (0:00:00.024) 0:01:55.030 ******* 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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:121 Wednesday 17 April 2024 19:58:01 +0000 (0:00:00.026) 0:01:55.056 ******* TASK [linux-system-roles.podman : Handle Quadlet specifications] *************** task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:127 Wednesday 17 April 2024 19:58:01 +0000 (0:00:00.024) 0:01:55.081 ******* TASK [linux-system-roles.podman : Cancel linger] ******************************* task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:133 Wednesday 17 April 2024 19:58:01 +0000 (0:00:00.026) 0:01:55.108 ******* TASK [Check that files exist and are non-null] ********************************* task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/tests_config_files.yml:83 Wednesday 17 April 2024 19:58:01 +0000 (0:00:00.069) 0:01:55.177 ******* 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": 1713383877.947151, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "94370d6e765779f1c58daf02f667b8f0b74d91f6", "ctime": 1713383877.9521508, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262491, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1713383877.6261497, "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": "548688520", "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": 1713383878.9141543, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "dfb9cd7094a81b3d1bb06512cc9b49a09c75639b", "ctime": 1713383878.9191542, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262493, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1713383878.6781535, "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": "2781598652", "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": 1713383879.8911576, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d08574b6a1df63dbe1c939ff0bcc7c0b61d03044", "ctime": 1713383879.8951578, "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": 1713383879.6551569, "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": "3191270777", "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": 1713383881.149162, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6746c079ad563b735fc39f73d4876654b80b0a0d", "ctime": 1713383881.152162, "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": "application/json", "mode": "0644", "mtime": 1713383880.9151614, "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": "509152799", "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-kube-cleanup-idempotentz6pzklql/tests/tests_config_files.yml:91 Wednesday 17 April 2024 19:58:02 +0000 (0:00:00.984) 0:01:56.162 ******* TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:3 Wednesday 17 April 2024 19:58:02 +0000 (0:00:00.066) 0:01:56.228 ******* included: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:3 Wednesday 17 April 2024 19:58:02 +0000 (0:00:00.049) 0:01:56.278 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check if system is ostree] ******************* task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:12 Wednesday 17 April 2024 19:58:02 +0000 (0:00:00.033) 0:01:56.311 ******* 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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:17 Wednesday 17 April 2024 19:58:02 +0000 (0:00:00.032) 0:01:56.344 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:21 Wednesday 17 April 2024 19:58:02 +0000 (0:00:00.024) 0:01:56.369 ******* ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__podman_packages": [ "podman", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-kube-cleanup-idempotentz6pzklql/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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:6 Wednesday 17 April 2024 19:58:02 +0000 (0:00:00.062) 0:01:56.431 ******* 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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:10 Wednesday 17 April 2024 19:58:03 +0000 (0:00:01.092) 0:01:57.524 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Ensure required packages are installed] ****** task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:14 Wednesday 17 April 2024 19:58:03 +0000 (0:00:00.024) 0:01:57.549 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Get podman version] ************************** task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:23 Wednesday 17 April 2024 19:58:03 +0000 (0:00:00.041) 0:01:57.590 ******* ok: [sut] => { "changed": false, "cmd": [ "podman", "--version" ], "delta": "0:00:00.036888", "end": "2024-04-17 19:58:04.114291", "rc": 0, "start": "2024-04-17 19:58:04.077403" } STDOUT: podman version 4.9.4 TASK [linux-system-roles.podman : Set podman version] ************************** task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:29 Wednesday 17 April 2024 19:58:04 +0000 (0:00:00.283) 0:01:57.874 ******* ok: [sut] => { "ansible_facts": { "podman_version": "4.9.4" }, "changed": false } TASK [linux-system-roles.podman : Podman package version must be 4.2 or later] *** task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:33 Wednesday 17 April 2024 19:58:04 +0000 (0:00:00.027) 0:01:57.901 ******* 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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:40 Wednesday 17 April 2024 19:58:04 +0000 (0:00:00.024) 0:01:57.926 ******* 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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:57 Wednesday 17 April 2024 19:58:04 +0000 (0:00:00.043) 0:01:57.970 ******* included: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:2 Wednesday 17 April 2024 19:58:04 +0000 (0:00:00.049) 0:01:58.020 ******* 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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:10 Wednesday 17 April 2024 19:58:04 +0000 (0:00:00.032) 0:01:58.052 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set group for podman user] ******************* task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:17 Wednesday 17 April 2024 19:58:04 +0000 (0:00:00.033) 0:01:58.086 ******* ok: [sut] => { "ansible_facts": { "__podman_group": "1001" }, "changed": false } TASK [linux-system-roles.podman : Get group information] *********************** task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:28 Wednesday 17 April 2024 19:58:04 +0000 (0:00:00.034) 0:01:58.120 ******* ok: [sut] => { "ansible_facts": { "getent_group": { "user1": [ "x", "1001", "" ] } }, "changed": false } TASK [linux-system-roles.podman : Set group name] ****************************** task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:36 Wednesday 17 April 2024 19:58:04 +0000 (0:00:00.289) 0:01:58.410 ******* ok: [sut] => { "ansible_facts": { "__podman_group_name": "user1" }, "changed": false } TASK [linux-system-roles.podman : See if getsubids exists] ********************* task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:41 Wednesday 17 April 2024 19:58:04 +0000 (0:00:00.031) 0:01:58.441 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1713383871.0791266, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 32, "charset": "binary", "checksum": "02bd4fbb1af303bd528684f8839db549767ee321", "ctime": 1713383816.182933, "dev": 51714, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 203629, "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": "3951854774", "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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:52 Wednesday 17 April 2024 19:58:04 +0000 (0:00:00.252) 0:01:58.693 ******* ok: [sut] => { "changed": false, "cmd": [ "getsubids", "user1" ], "delta": "0:00:00.004825", "end": "2024-04-17 19:58:05.188613", "rc": 0, "start": "2024-04-17 19:58:05.183788" } STDOUT: 0: user1 589824 65536 TASK [linux-system-roles.podman : Check group with getsubids] ****************** task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:57 Wednesday 17 April 2024 19:58:05 +0000 (0:00:00.255) 0:01:58.948 ******* ok: [sut] => { "changed": false, "cmd": [ "getsubids", "-g", "user1" ], "delta": "0:00:00.004951", "end": "2024-04-17 19:58:05.441813", "rc": 0, "start": "2024-04-17 19:58:05.436862" } STDOUT: 0: user1 589824 65536 TASK [linux-system-roles.podman : Set user subuid and subgid info] ************* task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:62 Wednesday 17 April 2024 19:58:05 +0000 (0:00:00.253) 0:01:59.202 ******* ok: [sut] => { "ansible_facts": { "podman_subgid_info": { "user1": { "range": 65536, "start": 589824 } }, "podman_subuid_info": { "user1": { "range": 65536, "start": 589824 } } }, "changed": false } TASK [linux-system-roles.podman : Get subuid file] ***************************** task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:82 Wednesday 17 April 2024 19:58:05 +0000 (0:00:00.038) 0:01:59.240 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Get subgid file] ***************************** task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:87 Wednesday 17 April 2024 19:58:05 +0000 (0:00:00.024) 0:01:59.264 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set user subuid and subgid info] ************* task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:92 Wednesday 17 April 2024 19:58:05 +0000 (0:00:00.024) 0:01:59.288 ******* 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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:114 Wednesday 17 April 2024 19:58:05 +0000 (0:00:00.025) 0:01:59.314 ******* 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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:121 Wednesday 17 April 2024 19:58:05 +0000 (0:00:00.025) 0:01:59.339 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set config file paths] *********************** task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:63 Wednesday 17 April 2024 19:58:05 +0000 (0:00:00.026) 0:01:59.366 ******* 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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:81 Wednesday 17 April 2024 19:58:05 +0000 (0:00:00.064) 0:01:59.430 ******* included: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:5 Wednesday 17 April 2024 19:58:05 +0000 (0:00:00.093) 0:01:59.523 ******* 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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 Wednesday 17 April 2024 19:58:06 +0000 (0:00:00.261) 0:01:59.785 ******* 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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:84 Wednesday 17 April 2024 19:58:06 +0000 (0:00:00.605) 0:02:00.390 ******* included: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:5 Wednesday 17 April 2024 19:58:06 +0000 (0:00:00.046) 0:02:00.436 ******* 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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 Wednesday 17 April 2024 19:58:06 +0000 (0:00:00.259) 0:02:00.696 ******* 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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:87 Wednesday 17 April 2024 19:58:07 +0000 (0:00:00.600) 0:02:01.297 ******* included: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:5 Wednesday 17 April 2024 19:58:07 +0000 (0:00:00.054) 0:02:01.351 ******* 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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 Wednesday 17 April 2024 19:58:07 +0000 (0:00:00.259) 0:02:01.611 ******* 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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:90 Wednesday 17 April 2024 19:58:08 +0000 (0:00:00.598) 0:02:02.209 ******* included: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:6 Wednesday 17 April 2024 19:58:08 +0000 (0:00:00.052) 0:02:02.262 ******* 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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:15 Wednesday 17 April 2024 19:58:08 +0000 (0:00:00.259) 0:02:02.521 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1713383882.3851664, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6746c079ad563b735fc39f73d4876654b80b0a0d", "ctime": 1713383881.152162, "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": "application/json", "mode": "0644", "mtime": 1713383880.9151614, "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": "509152799", "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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:20 Wednesday 17 April 2024 19:58:09 +0000 (0:00:00.251) 0:02:02.773 ******* 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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:26 Wednesday 17 April 2024 19:58:09 +0000 (0:00:00.349) 0:02:03.122 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage firewall for specified ports] ************************************* task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:96 Wednesday 17 April 2024 19:58:09 +0000 (0:00:00.029) 0:02:03.151 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage selinux for specified ports] ************************************** task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:103 Wednesday 17 April 2024 19:58:09 +0000 (0:00:00.026) 0:02:03.178 ******* 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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:110 Wednesday 17 April 2024 19:58:09 +0000 (0:00:00.025) 0:02:03.203 ******* ok: [sut] => { "ansible_facts": { "__podman_cancel_user_linger": [] }, "changed": false } TASK [linux-system-roles.podman : Handle secrets] ****************************** task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:114 Wednesday 17 April 2024 19:58:09 +0000 (0:00:00.025) 0:02:03.229 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.podman : Handle Kubernetes specifications] ************ task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:121 Wednesday 17 April 2024 19:58:09 +0000 (0:00:00.026) 0:02:03.256 ******* TASK [linux-system-roles.podman : Handle Quadlet specifications] *************** task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:127 Wednesday 17 April 2024 19:58:09 +0000 (0:00:00.024) 0:02:03.281 ******* TASK [linux-system-roles.podman : Cancel linger] ******************************* task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:133 Wednesday 17 April 2024 19:58:09 +0000 (0:00:00.056) 0:02:03.337 ******* TASK [Check that files still exist and are non-null] *************************** task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/tests_config_files.yml:98 Wednesday 17 April 2024 19:58:09 +0000 (0:00:00.025) 0:02:03.362 ******* 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": 1713383881.666164, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "94370d6e765779f1c58daf02f667b8f0b74d91f6", "ctime": 1713383877.9521508, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262491, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1713383877.6261497, "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": "548688520", "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": 1713383881.9051647, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "dfb9cd7094a81b3d1bb06512cc9b49a09c75639b", "ctime": 1713383878.9191542, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262493, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1713383878.6781535, "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": "2781598652", "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": 1713383882.1461656, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d08574b6a1df63dbe1c939ff0bcc7c0b61d03044", "ctime": 1713383879.8951578, "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": 1713383879.6551569, "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": "3191270777", "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": 1713383882.3851664, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6746c079ad563b735fc39f73d4876654b80b0a0d", "ctime": 1713383881.152162, "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": "application/json", "mode": "0644", "mtime": 1713383880.9151614, "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": "509152799", "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-kube-cleanup-idempotentz6pzklql/tests/tests_config_files.yml:106 Wednesday 17 April 2024 19:58:10 +0000 (0:00:00.973) 0:02:04.336 ******* TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:3 Wednesday 17 April 2024 19:58:10 +0000 (0:00:00.084) 0:02:04.420 ******* included: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:3 Wednesday 17 April 2024 19:58:10 +0000 (0:00:00.049) 0:02:04.469 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check if system is ostree] ******************* task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:12 Wednesday 17 April 2024 19:58:10 +0000 (0:00:00.033) 0:02:04.502 ******* 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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:17 Wednesday 17 April 2024 19:58:10 +0000 (0:00:00.027) 0:02:04.530 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:21 Wednesday 17 April 2024 19:58:10 +0000 (0:00:00.025) 0:02:04.555 ******* ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__podman_packages": [ "podman", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-kube-cleanup-idempotentz6pzklql/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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:6 Wednesday 17 April 2024 19:58:10 +0000 (0:00:00.063) 0:02:04.619 ******* 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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:10 Wednesday 17 April 2024 19:58:11 +0000 (0:00:01.080) 0:02:05.699 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Ensure required packages are installed] ****** task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:14 Wednesday 17 April 2024 19:58:12 +0000 (0:00:00.024) 0:02:05.724 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Get podman version] ************************** task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:23 Wednesday 17 April 2024 19:58:12 +0000 (0:00:00.028) 0:02:05.753 ******* ok: [sut] => { "changed": false, "cmd": [ "podman", "--version" ], "delta": "0:00:00.034872", "end": "2024-04-17 19:58:12.271572", "rc": 0, "start": "2024-04-17 19:58:12.236700" } STDOUT: podman version 4.9.4 TASK [linux-system-roles.podman : Set podman version] ************************** task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:29 Wednesday 17 April 2024 19:58:12 +0000 (0:00:00.277) 0:02:06.030 ******* ok: [sut] => { "ansible_facts": { "podman_version": "4.9.4" }, "changed": false } TASK [linux-system-roles.podman : Podman package version must be 4.2 or later] *** task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:33 Wednesday 17 April 2024 19:58:12 +0000 (0:00:00.026) 0:02:06.056 ******* 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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:40 Wednesday 17 April 2024 19:58:12 +0000 (0:00:00.025) 0:02:06.082 ******* 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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:57 Wednesday 17 April 2024 19:58:12 +0000 (0:00:00.042) 0:02:06.124 ******* included: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:2 Wednesday 17 April 2024 19:58:12 +0000 (0:00:00.050) 0:02:06.175 ******* 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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:10 Wednesday 17 April 2024 19:58:12 +0000 (0:00:00.289) 0:02:06.464 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set group for podman user] ******************* task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:17 Wednesday 17 April 2024 19:58:12 +0000 (0:00:00.033) 0:02:06.498 ******* ok: [sut] => { "ansible_facts": { "__podman_group": "0" }, "changed": false } TASK [linux-system-roles.podman : Get group information] *********************** task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:28 Wednesday 17 April 2024 19:58:12 +0000 (0:00:00.035) 0:02:06.533 ******* ok: [sut] => { "ansible_facts": { "getent_group": { "root": [ "x", "0", "" ] } }, "changed": false } TASK [linux-system-roles.podman : Set group name] ****************************** task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:36 Wednesday 17 April 2024 19:58:13 +0000 (0:00:00.261) 0:02:06.795 ******* ok: [sut] => { "ansible_facts": { "__podman_group_name": "root" }, "changed": false } TASK [linux-system-roles.podman : See if getsubids exists] ********************* task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:41 Wednesday 17 April 2024 19:58:13 +0000 (0:00:00.032) 0:02:06.827 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1713383871.0791266, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 32, "charset": "binary", "checksum": "02bd4fbb1af303bd528684f8839db549767ee321", "ctime": 1713383816.182933, "dev": 51714, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 203629, "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": "3951854774", "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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:52 Wednesday 17 April 2024 19:58:13 +0000 (0:00:00.256) 0:02:07.084 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check group with getsubids] ****************** task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:57 Wednesday 17 April 2024 19:58:13 +0000 (0:00:00.027) 0:02:07.112 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set user subuid and subgid info] ************* task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:62 Wednesday 17 April 2024 19:58:13 +0000 (0:00:00.028) 0:02:07.140 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Get subuid file] ***************************** task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:82 Wednesday 17 April 2024 19:58:13 +0000 (0:00:00.027) 0:02:07.168 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Get subgid file] ***************************** task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:87 Wednesday 17 April 2024 19:58:13 +0000 (0:00:00.027) 0:02:07.195 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set user subuid and subgid info] ************* task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:92 Wednesday 17 April 2024 19:58:13 +0000 (0:00:00.028) 0:02:07.224 ******* 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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:114 Wednesday 17 April 2024 19:58:13 +0000 (0:00:00.025) 0:02:07.249 ******* 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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:121 Wednesday 17 April 2024 19:58:13 +0000 (0:00:00.025) 0:02:07.274 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set config file paths] *********************** task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:63 Wednesday 17 April 2024 19:58:13 +0000 (0:00:00.026) 0:02:07.301 ******* 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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:81 Wednesday 17 April 2024 19:58:13 +0000 (0:00:00.053) 0:02:07.354 ******* included: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:5 Wednesday 17 April 2024 19:58:13 +0000 (0:00:00.082) 0:02:07.437 ******* 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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 Wednesday 17 April 2024 19:58:13 +0000 (0:00:00.267) 0:02:07.704 ******* 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-1713383894.0296907-2962-179915399945795/source", "state": "file", "uid": 0 } TASK [linux-system-roles.podman : Handle registries.conf.d] ******************** task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:84 Wednesday 17 April 2024 19:58:14 +0000 (0:00:00.667) 0:02:08.372 ******* included: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:5 Wednesday 17 April 2024 19:58:14 +0000 (0:00:00.051) 0:02:08.423 ******* 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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 Wednesday 17 April 2024 19:58:14 +0000 (0:00:00.282) 0:02:08.706 ******* 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-1713383895.0392601-2977-112813436405370/source", "state": "file", "uid": 0 } TASK [linux-system-roles.podman : Handle storage.conf] ************************* task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:87 Wednesday 17 April 2024 19:58:15 +0000 (0:00:00.678) 0:02:09.384 ******* included: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:5 Wednesday 17 April 2024 19:58:15 +0000 (0:00:00.066) 0:02:09.451 ******* 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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 Wednesday 17 April 2024 19:58:16 +0000 (0:00:00.306) 0:02:09.757 ******* 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-1713383896.0844295-2992-247731875275231/source", "state": "file", "uid": 0 } TASK [linux-system-roles.podman : Handle policy.json] ************************** task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:90 Wednesday 17 April 2024 19:58:16 +0000 (0:00:00.667) 0:02:10.425 ******* included: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:6 Wednesday 17 April 2024 19:58:16 +0000 (0:00:00.060) 0:02:10.485 ******* 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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:15 Wednesday 17 April 2024 19:58:17 +0000 (0:00:00.266) 0:02:10.752 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1713383872.8491328, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "2b9c515bda676f0ab6d58bcc6e44be4375b5922b", "ctime": 1713383816.0349324, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262425, "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": "4271446473", "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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:20 Wednesday 17 April 2024 19:58:17 +0000 (0:00:00.258) 0:02:11.010 ******* 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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:26 Wednesday 17 April 2024 19:58:17 +0000 (0:00:00.239) 0:02:11.249 ******* 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-1713383897.579462-3013-62476617494089/source", "state": "file", "uid": 0 } TASK [Manage firewall for specified ports] ************************************* task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:96 Wednesday 17 April 2024 19:58:18 +0000 (0:00:00.662) 0:02:11.912 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage selinux for specified ports] ************************************** task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:103 Wednesday 17 April 2024 19:58:18 +0000 (0:00:00.024) 0:02:11.937 ******* 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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:110 Wednesday 17 April 2024 19:58:18 +0000 (0:00:00.023) 0:02:11.960 ******* ok: [sut] => { "ansible_facts": { "__podman_cancel_user_linger": [] }, "changed": false } TASK [linux-system-roles.podman : Handle secrets] ****************************** task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:114 Wednesday 17 April 2024 19:58:18 +0000 (0:00:00.047) 0:02:12.008 ******* 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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:121 Wednesday 17 April 2024 19:58:18 +0000 (0:00:00.023) 0:02:12.032 ******* TASK [linux-system-roles.podman : Handle Quadlet specifications] *************** task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:127 Wednesday 17 April 2024 19:58:18 +0000 (0:00:00.022) 0:02:12.054 ******* TASK [linux-system-roles.podman : Cancel linger] ******************************* task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:133 Wednesday 17 April 2024 19:58:18 +0000 (0:00:00.023) 0:02:12.078 ******* TASK [Check that files exist and are non-null] ********************************* task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/tests_config_files.yml:113 Wednesday 17 April 2024 19:58:18 +0000 (0:00:00.024) 0:02:12.102 ******* 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": 1713383894.5732095, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "94370d6e765779f1c58daf02f667b8f0b74d91f6", "ctime": 1713383894.5802095, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262497, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1713383894.3332086, "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": "3510905515", "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": 1713383895.585213, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "dfb9cd7094a81b3d1bb06512cc9b49a09c75639b", "ctime": 1713383895.592213, "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": 1713383895.3452122, "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": "810958137", "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": 1713383896.6212165, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d08574b6a1df63dbe1c939ff0bcc7c0b61d03044", "ctime": 1713383896.6292167, "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": 1713383896.3852158, "nlink": 1, "path": "/etc/containers/storage.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 109, "uid": 0, "version": "2846942678", "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": 1713383898.116222, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6746c079ad563b735fc39f73d4876654b80b0a0d", "ctime": 1713383898.1172218, "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": "application/json", "mode": "0644", "mtime": 1713383897.882221, "nlink": 1, "path": "/etc/containers/policy.json", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 67, "uid": 0, "version": "3773846020", "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-kube-cleanup-idempotentz6pzklql/tests/tests_config_files.yml:121 Wednesday 17 April 2024 19:58:19 +0000 (0:00:00.973) 0:02:13.075 ******* TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:3 Wednesday 17 April 2024 19:58:19 +0000 (0:00:00.074) 0:02:13.150 ******* included: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:3 Wednesday 17 April 2024 19:58:19 +0000 (0:00:00.048) 0:02:13.199 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check if system is ostree] ******************* task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:12 Wednesday 17 April 2024 19:58:19 +0000 (0:00:00.031) 0:02:13.230 ******* 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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:17 Wednesday 17 April 2024 19:58:19 +0000 (0:00:00.023) 0:02:13.254 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:21 Wednesday 17 April 2024 19:58:19 +0000 (0:00:00.024) 0:02:13.278 ******* ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__podman_packages": [ "podman", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-kube-cleanup-idempotentz6pzklql/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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:6 Wednesday 17 April 2024 19:58:19 +0000 (0:00:00.113) 0:02:13.391 ******* 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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:10 Wednesday 17 April 2024 19:58:20 +0000 (0:00:01.060) 0:02:14.452 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Ensure required packages are installed] ****** task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:14 Wednesday 17 April 2024 19:58:20 +0000 (0:00:00.027) 0:02:14.480 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Get podman version] ************************** task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:23 Wednesday 17 April 2024 19:58:20 +0000 (0:00:00.032) 0:02:14.512 ******* ok: [sut] => { "changed": false, "cmd": [ "podman", "--version" ], "delta": "0:00:00.035770", "end": "2024-04-17 19:58:21.034186", "rc": 0, "start": "2024-04-17 19:58:20.998416" } STDOUT: podman version 4.9.4 STDERR: time="2024-04-17T19:58:21Z" 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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:29 Wednesday 17 April 2024 19:58:21 +0000 (0:00:00.282) 0:02:14.795 ******* ok: [sut] => { "ansible_facts": { "podman_version": "4.9.4" }, "changed": false } TASK [linux-system-roles.podman : Podman package version must be 4.2 or later] *** task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:33 Wednesday 17 April 2024 19:58:21 +0000 (0:00:00.025) 0:02:14.820 ******* 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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:40 Wednesday 17 April 2024 19:58:21 +0000 (0:00:00.022) 0:02:14.842 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: end_host conditional evaluated to false, continuing execution for sut TASK [linux-system-roles.podman : Check user and group information] ************ task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:57 Wednesday 17 April 2024 19:58:21 +0000 (0:00:00.040) 0:02:14.883 ******* included: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:2 Wednesday 17 April 2024 19:58:21 +0000 (0:00:00.069) 0:02:14.953 ******* 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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:10 Wednesday 17 April 2024 19:58:21 +0000 (0:00:00.034) 0:02:14.987 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set group for podman user] ******************* task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:17 Wednesday 17 April 2024 19:58:21 +0000 (0:00:00.033) 0:02:15.021 ******* ok: [sut] => { "ansible_facts": { "__podman_group": "0" }, "changed": false } TASK [linux-system-roles.podman : Get group information] *********************** task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:28 Wednesday 17 April 2024 19:58:21 +0000 (0:00:00.036) 0:02:15.058 ******* ok: [sut] => { "ansible_facts": { "getent_group": { "root": [ "x", "0", "" ] } }, "changed": false } TASK [linux-system-roles.podman : Set group name] ****************************** task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:36 Wednesday 17 April 2024 19:58:21 +0000 (0:00:00.260) 0:02:15.318 ******* ok: [sut] => { "ansible_facts": { "__podman_group_name": "root" }, "changed": false } TASK [linux-system-roles.podman : See if getsubids exists] ********************* task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:41 Wednesday 17 April 2024 19:58:21 +0000 (0:00:00.039) 0:02:15.357 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1713383871.0791266, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 32, "charset": "binary", "checksum": "02bd4fbb1af303bd528684f8839db549767ee321", "ctime": 1713383816.182933, "dev": 51714, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 203629, "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": "3951854774", "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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:52 Wednesday 17 April 2024 19:58:21 +0000 (0:00:00.256) 0:02:15.614 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check group with getsubids] ****************** task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:57 Wednesday 17 April 2024 19:58:21 +0000 (0:00:00.029) 0:02:15.644 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set user subuid and subgid info] ************* task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:62 Wednesday 17 April 2024 19:58:21 +0000 (0:00:00.026) 0:02:15.671 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Get subuid file] ***************************** task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:82 Wednesday 17 April 2024 19:58:21 +0000 (0:00:00.025) 0:02:15.696 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Get subgid file] ***************************** task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:87 Wednesday 17 April 2024 19:58:22 +0000 (0:00:00.025) 0:02:15.722 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set user subuid and subgid info] ************* task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:92 Wednesday 17 April 2024 19:58:22 +0000 (0:00:00.024) 0:02:15.747 ******* 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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:114 Wednesday 17 April 2024 19:58:22 +0000 (0:00:00.029) 0:02:15.776 ******* 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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:121 Wednesday 17 April 2024 19:58:22 +0000 (0:00:00.027) 0:02:15.804 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set config file paths] *********************** task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:63 Wednesday 17 April 2024 19:58:22 +0000 (0:00:00.032) 0:02:15.836 ******* 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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:81 Wednesday 17 April 2024 19:58:22 +0000 (0:00:00.112) 0:02:15.949 ******* included: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:5 Wednesday 17 April 2024 19:58:22 +0000 (0:00:00.053) 0:02:16.002 ******* 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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 Wednesday 17 April 2024 19:58:22 +0000 (0:00:00.268) 0:02:16.271 ******* 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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:84 Wednesday 17 April 2024 19:58:23 +0000 (0:00:00.610) 0:02:16.882 ******* included: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:5 Wednesday 17 April 2024 19:58:23 +0000 (0:00:00.048) 0:02:16.931 ******* 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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 Wednesday 17 April 2024 19:58:23 +0000 (0:00:00.261) 0:02:17.192 ******* 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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:87 Wednesday 17 April 2024 19:58:24 +0000 (0:00:00.604) 0:02:17.797 ******* included: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:5 Wednesday 17 April 2024 19:58:24 +0000 (0:00:00.080) 0:02:17.878 ******* 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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 Wednesday 17 April 2024 19:58:24 +0000 (0:00:00.263) 0:02:18.141 ******* 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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:90 Wednesday 17 April 2024 19:58:25 +0000 (0:00:00.610) 0:02:18.751 ******* included: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:6 Wednesday 17 April 2024 19:58:25 +0000 (0:00:00.079) 0:02:18.831 ******* 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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:15 Wednesday 17 April 2024 19:58:25 +0000 (0:00:00.264) 0:02:19.095 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1713383899.303226, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6746c079ad563b735fc39f73d4876654b80b0a0d", "ctime": 1713383898.1172218, "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": "application/json", "mode": "0644", "mtime": 1713383897.882221, "nlink": 1, "path": "/etc/containers/policy.json", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 67, "uid": 0, "version": "3773846020", "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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:20 Wednesday 17 April 2024 19:58:25 +0000 (0:00:00.255) 0:02:19.351 ******* 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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:26 Wednesday 17 April 2024 19:58:25 +0000 (0:00:00.238) 0:02:19.590 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage firewall for specified ports] ************************************* task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:96 Wednesday 17 April 2024 19:58:25 +0000 (0:00:00.039) 0:02:19.630 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage selinux for specified ports] ************************************** task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:103 Wednesday 17 April 2024 19:58:25 +0000 (0:00:00.029) 0:02:19.659 ******* 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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:110 Wednesday 17 April 2024 19:58:25 +0000 (0:00:00.027) 0:02:19.687 ******* ok: [sut] => { "ansible_facts": { "__podman_cancel_user_linger": [] }, "changed": false } TASK [linux-system-roles.podman : Handle secrets] ****************************** task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:114 Wednesday 17 April 2024 19:58:26 +0000 (0:00:00.069) 0:02:19.756 ******* 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-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:121 Wednesday 17 April 2024 19:58:26 +0000 (0:00:00.038) 0:02:19.794 ******* TASK [linux-system-roles.podman : Handle Quadlet specifications] *************** task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:127 Wednesday 17 April 2024 19:58:26 +0000 (0:00:00.033) 0:02:19.828 ******* TASK [linux-system-roles.podman : Cancel linger] ******************************* task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:133 Wednesday 17 April 2024 19:58:26 +0000 (0:00:00.032) 0:02:19.860 ******* TASK [Check that files still exist and are non-null] *************************** task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/tests_config_files.yml:128 Wednesday 17 April 2024 19:58:26 +0000 (0:00:00.027) 0:02:19.888 ******* 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": 1713383898.5922236, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "94370d6e765779f1c58daf02f667b8f0b74d91f6", "ctime": 1713383894.5802095, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262497, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1713383894.3332086, "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": "3510905515", "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": 1713383898.8272245, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "dfb9cd7094a81b3d1bb06512cc9b49a09c75639b", "ctime": 1713383895.592213, "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": 1713383895.3452122, "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": "810958137", "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": 1713383899.0652251, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d08574b6a1df63dbe1c939ff0bcc7c0b61d03044", "ctime": 1713383896.6292167, "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": 1713383896.3852158, "nlink": 1, "path": "/etc/containers/storage.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 109, "uid": 0, "version": "2846942678", "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": 1713383899.303226, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6746c079ad563b735fc39f73d4876654b80b0a0d", "ctime": 1713383898.1172218, "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": "application/json", "mode": "0644", "mtime": 1713383897.882221, "nlink": 1, "path": "/etc/containers/policy.json", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 67, "uid": 0, "version": "3773846020", "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-kube-cleanup-idempotentz6pzklql/tests/tests_config_files.yml:136 Wednesday 17 April 2024 19:58:27 +0000 (0:00:00.979) 0:02:20.867 ******* included: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/tasks/check_header.yml for sut included: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/tasks/check_header.yml for sut included: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/tasks/check_header.yml for sut included: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/tasks/check_header.yml for sut included: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/tasks/check_header.yml for sut included: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/tasks/check_header.yml for sut TASK [Get file] **************************************************************** task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/tasks/check_header.yml:3 Wednesday 17 April 2024 19:58:27 +0000 (0:00:00.091) 0:02:20.959 ******* 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-kube-cleanup-idempotentz6pzklql/tests/tasks/check_header.yml:9 Wednesday 17 April 2024 19:58:27 +0000 (0:00:00.247) 0:02:21.206 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get file] **************************************************************** task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/tasks/check_header.yml:3 Wednesday 17 April 2024 19:58:27 +0000 (0:00:00.093) 0:02:21.300 ******* 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-kube-cleanup-idempotentz6pzklql/tests/tasks/check_header.yml:9 Wednesday 17 April 2024 19:58:27 +0000 (0:00:00.239) 0:02:21.540 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get file] **************************************************************** task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/tasks/check_header.yml:3 Wednesday 17 April 2024 19:58:27 +0000 (0:00:00.151) 0:02:21.691 ******* 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-kube-cleanup-idempotentz6pzklql/tests/tasks/check_header.yml:9 Wednesday 17 April 2024 19:58:28 +0000 (0:00:00.242) 0:02:21.934 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get file] **************************************************************** task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/tasks/check_header.yml:3 Wednesday 17 April 2024 19:58:28 +0000 (0:00:00.081) 0:02:22.016 ******* 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-kube-cleanup-idempotentz6pzklql/tests/tasks/check_header.yml:9 Wednesday 17 April 2024 19:58:28 +0000 (0:00:00.238) 0:02:22.254 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get file] **************************************************************** task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/tasks/check_header.yml:3 Wednesday 17 April 2024 19:58:28 +0000 (0:00:00.081) 0:02:22.336 ******* 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-kube-cleanup-idempotentz6pzklql/tests/tasks/check_header.yml:9 Wednesday 17 April 2024 19:58:28 +0000 (0:00:00.238) 0:02:22.575 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get file] **************************************************************** task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/tasks/check_header.yml:3 Wednesday 17 April 2024 19:58:28 +0000 (0:00:00.082) 0:02:22.657 ******* 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-kube-cleanup-idempotentz6pzklql/tests/tasks/check_header.yml:9 Wednesday 17 April 2024 19:58:29 +0000 (0:00:00.239) 0:02:22.896 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove test config files] ************************************************ task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/tests_config_files.yml:157 Wednesday 17 April 2024 19:58:29 +0000 (0:00:00.082) 0:02:22.979 ******* 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-kube-cleanup-idempotentz6pzklql/tests/tests_config_files.yml:163 Wednesday 17 April 2024 19:58:31 +0000 (0:00:01.848) 0:02:24.827 ******* ok: [sut] => { "changed": false, "cmd": [ "tar", "xfvpP", "/tmp/lsr_podman_config_tjtv6j8k/backup.tar" ], "delta": "0:00:00.004818", "end": "2024-04-17 19:58:31.315166", "rc": 0, "start": "2024-04-17 19:58:31.310348" } STDOUT: /etc/containers/policy.json TASK [Remove temp directory] *************************************************** task path: /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/tests_config_files.yml:168 Wednesday 17 April 2024 19:58:31 +0000 (0:00:00.249) 0:02:25.077 ******* changed: [sut] => { "changed": true, "path": "/tmp/lsr_podman_config_tjtv6j8k", "state": "absent" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=159 changed=16 unreachable=0 failed=0 skipped=116 rescued=0 ignored=0 Wednesday 17 April 2024 19:58:31 +0000 (0:00:00.236) 0:02:25.313 ******* =============================================================================== linux-system-roles.podman : Ensure required packages are installed ----- 98.96s /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:14 Gathering Facts --------------------------------------------------------- 2.58s /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/tests_config_files.yml:9 --- linux-system-roles.podman : Gather the package facts -------------------- 2.14s /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:6 linux-system-roles.podman : Gather the package facts -------------------- 2.14s /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:6 Remove test config files ------------------------------------------------ 1.85s /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/tests_config_files.yml:157 - linux-system-roles.podman : Gather the package facts -------------------- 1.19s /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/main.yml:6 Check that files exist and are non-null --------------------------------- 0.98s /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/tests_config_files.yml:83 -- Check that files still exist and are non-null --------------------------- 0.98s /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/tests_config_files.yml:128 - Check that files still exist and are non-null --------------------------- 0.97s /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/tests_config_files.yml:98 -- Check that files exist and are non-null --------------------------------- 0.97s /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/tests_config_files.yml:113 - linux-system-roles.podman : Update container config file ---------------- 0.73s /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 linux-system-roles.podman : Update storage config file ------------------ 0.68s /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 linux-system-roles.podman : Update registries config file --------------- 0.68s /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 linux-system-roles.podman : Update storage config file ------------------ 0.67s /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 linux-system-roles.podman : Update container config file ---------------- 0.67s /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 linux-system-roles.podman : Write new policy.json file ------------------ 0.66s /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:26 linux-system-roles.podman : Update registries config file --------------- 0.66s /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 linux-system-roles.podman : Write new policy.json file ------------------ 0.64s /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:26 linux-system-roles.podman : Update storage config file ------------------ 0.61s /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 linux-system-roles.podman : Update container config file ---------------- 0.61s /WORKDIR/git-kube-cleanup-idempotentz6pzklql/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: Distribution fedora 38 on host sut should use /usr/bin/python3, but is using /usr/bin/python for backward compatibility with prior Ansible releases. A future Ansible release will default to using the discovered platform python for this host. See https://docs.ansible.com/ansible/ 2.9/reference_appendices/interpreter_discovery.html for more information. This feature will be removed in version 2.12. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. [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. ---^---^---^---^---^---