# STDOUT: ---v---v---v---v---v--- ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.9/lib/python3.9/site-packages/ansible executable location = /opt/ansible-2.9/bin/ansible-playbook python version = 3.9.18 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] Using /etc/ansible/ansible.cfg as config file Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_config_files.yml *********************************************** 2 plays in /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/tests_config_files.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Include vault variables] ************************************************* task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/tests_config_files.yml:4 Tuesday 06 February 2024 01:29:51 +0000 (0:00:00.012) 0:00:00.012 ****** ok: [sut] => { "ansible_facts": { "mysql_container_root_password": { "__ansible_vault": "$ANSIBLE_VAULT;1.1;AES256\n61333932373230333539663035366431326163363166363036323963623131363530326231303634\n6635326161643165363366323062333334363730376631660a393566366139353861656364656661\n38653463363837336639363032646433666361646535366137303464623261313663643336306465\n6264663730656337310a343962353137386238383064646533366433333437303566656433386233\n34343235326665646661623131643335313236313131353661386338343366316261643634653633\n3832313034366536616531323963333234326461353130303532\n" } }, "ansible_included_var_files": [ "/WORKDIR/git-fix-linger-handlingb3qnkijs/tests/vars/vault-variables.yml" ], "changed": false } META: ran handlers META: ran handlers PLAY [Ensure that the role can manage its config files] ************************ TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/tests_config_files.yml:9 Tuesday 06 February 2024 01:29:51 +0000 (0:00:00.010) 0:00:00.022 ****** ok: [sut] META: ran handlers TASK [Run the role with no config to get private vars] ************************* task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/tests_config_files.yml:48 Tuesday 06 February 2024 01:29:53 +0000 (0:00:01.859) 0:00:01.881 ****** TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:3 Tuesday 06 February 2024 01:29:53 +0000 (0:00:00.069) 0:00:01.950 ****** included: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/set_vars.yml for sut TASK [linux-system-roles.podman : Ensure ansible_facts used by role] *********** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:3 Tuesday 06 February 2024 01:29:53 +0000 (0:00:00.014) 0:00:01.964 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check if system is ostree] ******************* task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:12 Tuesday 06 February 2024 01:29:53 +0000 (0:00:00.018) 0:00:01.983 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.podman : Set flag to indicate system is ostree] ******* task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:17 Tuesday 06 February 2024 01:29:53 +0000 (0:00:00.271) 0:00:02.255 ****** ok: [sut] => { "ansible_facts": { "__podman_is_ostree": false }, "changed": false } TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:21 Tuesday 06 February 2024 01:29:53 +0000 (0:00:00.020) 0:00:02.275 ****** ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__podman_packages": [ "podman", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [sut] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_38.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_38.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_38.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_38.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Gather the package facts] ******************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:6 Tuesday 06 February 2024 01:29:53 +0000 (0:00:00.031) 0:00:02.307 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.podman : Enable copr if requested] ******************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:10 Tuesday 06 February 2024 01:29:54 +0000 (0:00:01.028) 0:00:03.336 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Ensure required packages are installed] ****** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:14 Tuesday 06 February 2024 01:29:54 +0000 (0:00:00.027) 0:00:03.363 ****** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: catatonit-0.1.7-14.fc38.x86_64", "Installed: podman-5:4.8.3-1.fc38.x86_64", "Installed: criu-3.18-1.fc38.x86_64", "Installed: netavark-1.9.0-1.fc38.x86_64", "Installed: criu-libs-3.18-1.fc38.x86_64", "Installed: slirp4netns-1.2.2-1.fc38.x86_64", "Installed: libnet-1.3-1.fc38.x86_64", "Installed: qemu-user-static-2:7.2.7-1.fc38.x86_64", "Installed: qemu-user-static-aarch64-2:7.2.7-1.fc38.x86_64", "Installed: qemu-user-static-alpha-2:7.2.7-1.fc38.x86_64", "Installed: qemu-user-static-arm-2:7.2.7-1.fc38.x86_64", "Installed: conmon-2:2.1.8-2.fc38.x86_64", "Installed: qemu-user-static-cris-2:7.2.7-1.fc38.x86_64", "Installed: qemu-user-static-hexagon-2:7.2.7-1.fc38.x86_64", "Installed: passt-0^20231230.gf091893-1.fc38.x86_64", "Installed: container-selinux-2:2.228.1-1.fc38.noarch", "Installed: crun-1.12-1.fc38.x86_64", "Installed: containers-common-4:1-89.fc38.noarch", "Installed: containers-common-extra-4:1-89.fc38.noarch", "Installed: passt-selinux-0^20231230.gf091893-1.fc38.noarch", "Installed: qemu-user-static-hppa-2:7.2.7-1.fc38.x86_64", "Installed: qemu-user-static-loongarch64-2:7.2.7-1.fc38.x86_64", "Installed: qemu-user-static-m68k-2:7.2.7-1.fc38.x86_64", "Installed: qemu-user-static-microblaze-2:7.2.7-1.fc38.x86_64", "Installed: qemu-user-static-mips-2:7.2.7-1.fc38.x86_64", "Installed: qemu-user-static-nios2-2:7.2.7-1.fc38.x86_64", "Installed: qemu-user-static-or1k-2:7.2.7-1.fc38.x86_64", "Installed: qemu-user-static-ppc-2:7.2.7-1.fc38.x86_64", "Installed: qemu-user-static-riscv-2:7.2.7-1.fc38.x86_64", "Installed: qemu-user-static-s390x-2:7.2.7-1.fc38.x86_64", "Installed: qemu-user-static-sh4-2:7.2.7-1.fc38.x86_64", "Installed: qemu-user-static-sparc-2:7.2.7-1.fc38.x86_64", "Installed: qemu-user-static-x86-2:7.2.7-1.fc38.x86_64", "Installed: qemu-user-static-xtensa-2:7.2.7-1.fc38.x86_64", "Installed: libslirp-4.7.0-3.fc38.x86_64", "Installed: aardvark-dns-1.9.0-1.fc38.x86_64", "Installed: yajl-2.1.0-21.fc38.x86_64", "Installed: shadow-utils-subid-2:4.13-6.fc38.x86_64", "Installed: libbsd-0.11.7-4.fc38.x86_64", "Installed: fuse-common-3.14.1-1.fc38.x86_64", "Installed: fuse-overlayfs-1.12-1.fc38.x86_64", "Installed: fuse3-3.14.1-1.fc38.x86_64", "Installed: fuse3-libs-3.14.1-1.fc38.x86_64", "Installed: gvisor-tap-vsock-6:0.7.2-1.fc38.x86_64", "Installed: gvisor-tap-vsock-gvforwarder-6:0.7.2-1.fc38.x86_64", "Installed: libmd-1.1.0-1.fc38.x86_64" ] } TASK [linux-system-roles.podman : Get podman version] ************************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:23 Tuesday 06 February 2024 01:31:17 +0000 (0:01:23.057) 0:01:26.421 ****** ok: [sut] => { "changed": false, "cmd": [ "podman", "--version" ], "delta": "0:00:00.042623", "end": "2024-02-06 01:31:18.213698", "rc": 0, "start": "2024-02-06 01:31:18.171075" } STDOUT: podman version 4.8.3 TASK [linux-system-roles.podman : Set podman version] ************************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:28 Tuesday 06 February 2024 01:31:18 +0000 (0:00:00.369) 0:01:26.790 ****** ok: [sut] => { "ansible_facts": { "podman_version": "4.8.3" }, "changed": false } TASK [linux-system-roles.podman : Podman package version must be 4.2 or later] *** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:32 Tuesday 06 February 2024 01:31:18 +0000 (0:00:00.040) 0:01:26.831 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Podman package version must be 4.4 or later for quadlet, secrets] *** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:39 Tuesday 06 February 2024 01:31:18 +0000 (0:00:00.087) 0:01:26.919 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: end_host conditional evaluated to false, continuing execution for sut TASK [linux-system-roles.podman : Check user and group information] ************ task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:56 Tuesday 06 February 2024 01:31:18 +0000 (0:00:00.053) 0:01:26.972 ****** included: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml for sut TASK [linux-system-roles.podman : Get user information] ************************ task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:2 Tuesday 06 February 2024 01:31:18 +0000 (0:00:00.037) 0:01:27.010 ****** ok: [sut] => { "ansible_facts": { "getent_passwd": { "root": [ "x", "0", "0", "Super User", "/root", "/bin/bash" ] } }, "changed": false } TASK [linux-system-roles.podman : Fail if user does not exist] ***************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:10 Tuesday 06 February 2024 01:31:18 +0000 (0:00:00.268) 0:01:27.279 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set group for podman user] ******************* task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:17 Tuesday 06 February 2024 01:31:18 +0000 (0:00:00.024) 0:01:27.303 ****** ok: [sut] => { "ansible_facts": { "__podman_group": "0" }, "changed": false } TASK [linux-system-roles.podman : Get group information] *********************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:28 Tuesday 06 February 2024 01:31:18 +0000 (0:00:00.036) 0:01:27.339 ****** ok: [sut] => { "ansible_facts": { "getent_group": { "root": [ "x", "0", "" ] } }, "changed": false } TASK [linux-system-roles.podman : Set group name] ****************************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:36 Tuesday 06 February 2024 01:31:19 +0000 (0:00:00.227) 0:01:27.567 ****** ok: [sut] => { "ansible_facts": { "__podman_group_name": "root" }, "changed": false } TASK [linux-system-roles.podman : See if getsubids exists] ********************* task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:41 Tuesday 06 February 2024 01:31:19 +0000 (0:00:00.026) 0:01:27.593 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1678060800.0, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 32, "charset": "binary", "checksum": "02bd4fbb1af303bd528684f8839db549767ee321", "ctime": 1707183040.0843556, "dev": 51714, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 203308, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "application/x-pie-executable", "mode": "0755", "mtime": 1678060800.0, "nlink": 1, "path": "/usr/bin/getsubids", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 15984, "uid": 0, "version": "1348119560", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [linux-system-roles.podman : Check user with getsubids] ******************* task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:52 Tuesday 06 February 2024 01:31:19 +0000 (0:00:00.213) 0:01:27.806 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check group with getsubids] ****************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:56 Tuesday 06 February 2024 01:31:19 +0000 (0:00:00.019) 0:01:27.826 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check if user is in subuid file] ************* task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:66 Tuesday 06 February 2024 01:31:19 +0000 (0:00:00.019) 0:01:27.845 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Fail if user not in subuid file] ************* task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:74 Tuesday 06 February 2024 01:31:19 +0000 (0:00:00.017) 0:01:27.863 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check if group is in subgid file] ************ task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:81 Tuesday 06 February 2024 01:31:19 +0000 (0:00:00.019) 0:01:27.882 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Fail if group not in subgid file] ************ task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:89 Tuesday 06 February 2024 01:31:19 +0000 (0:00:00.017) 0:01:27.900 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set config file paths] *********************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:62 Tuesday 06 February 2024 01:31:19 +0000 (0:00:00.037) 0:01:27.938 ****** ok: [sut] => { "ansible_facts": { "__podman_container_conf_file": "/etc/containers/containers.conf.d/50-systemroles.conf", "__podman_policy_json_file": "/etc/containers/policy.json", "__podman_registries_conf_file": "/etc/containers/registries.conf.d/50-systemroles.conf", "__podman_storage_conf_file": "/etc/containers/storage.conf" }, "changed": false } TASK [linux-system-roles.podman : Handle container.conf.d] ********************* task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:80 Tuesday 06 February 2024 01:31:19 +0000 (0:00:00.040) 0:01:27.978 ****** included: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml for sut TASK [linux-system-roles.podman : Ensure containers.d exists] ****************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:5 Tuesday 06 February 2024 01:31:19 +0000 (0:00:00.034) 0:01:28.013 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Update container config file] **************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 Tuesday 06 February 2024 01:31:19 +0000 (0:00:00.019) 0:01:28.032 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Handle registries.conf.d] ******************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:83 Tuesday 06 February 2024 01:31:19 +0000 (0:00:00.018) 0:01:28.050 ****** included: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml for sut TASK [linux-system-roles.podman : Ensure registries.d exists] ****************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:5 Tuesday 06 February 2024 01:31:19 +0000 (0:00:00.035) 0:01:28.086 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Update registries config file] *************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 Tuesday 06 February 2024 01:31:19 +0000 (0:00:00.017) 0:01:28.103 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Handle storage.conf] ************************* task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:86 Tuesday 06 February 2024 01:31:19 +0000 (0:00:00.017) 0:01:28.121 ****** included: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml for sut TASK [linux-system-roles.podman : Ensure storage.conf parent dir exists] ******* task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:5 Tuesday 06 February 2024 01:31:19 +0000 (0:00:00.035) 0:01:28.156 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Update storage config file] ****************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 Tuesday 06 February 2024 01:31:19 +0000 (0:00:00.017) 0:01:28.174 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Handle policy.json] ************************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:89 Tuesday 06 February 2024 01:31:19 +0000 (0:00:00.017) 0:01:28.192 ****** included: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml for sut TASK [linux-system-roles.podman : Ensure policy.json parent dir exists] ******** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:6 Tuesday 06 February 2024 01:31:19 +0000 (0:00:00.036) 0:01:28.228 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Stat the policy.json file] ******************* task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:15 Tuesday 06 February 2024 01:31:19 +0000 (0:00:00.021) 0:01:28.250 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Get the existing policy.json] **************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:20 Tuesday 06 February 2024 01:31:19 +0000 (0:00:00.021) 0:01:28.271 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Write new policy.json file] ****************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:26 Tuesday 06 February 2024 01:31:19 +0000 (0:00:00.063) 0:01:28.335 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage firewall for specified ports] ************************************* task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:95 Tuesday 06 February 2024 01:31:19 +0000 (0:00:00.020) 0:01:28.356 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage selinux for specified ports] ************************************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:102 Tuesday 06 February 2024 01:31:19 +0000 (0:00:00.023) 0:01:28.380 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Keep track of users that need to cancel linger] *** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:109 Tuesday 06 February 2024 01:31:19 +0000 (0:00:00.020) 0:01:28.400 ****** ok: [sut] => { "ansible_facts": { "__podman_cancel_user_linger": [] }, "changed": false } TASK [linux-system-roles.podman : Handle secrets] ****************************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:113 Tuesday 06 February 2024 01:31:19 +0000 (0:00:00.017) 0:01:28.418 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.podman : Handle Kubernetes specifications] ************ task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:120 Tuesday 06 February 2024 01:31:19 +0000 (0:00:00.018) 0:01:28.436 ****** TASK [linux-system-roles.podman : Handle Quadlet specifications] *************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:126 Tuesday 06 February 2024 01:31:19 +0000 (0:00:00.017) 0:01:28.453 ****** TASK [linux-system-roles.podman : Cancel linger] ******************************* task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:132 Tuesday 06 February 2024 01:31:19 +0000 (0:00:00.016) 0:01:28.470 ****** TASK [Create temp directory] *************************************************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/tests_config_files.yml:59 Tuesday 06 February 2024 01:31:19 +0000 (0:00:00.016) 0:01:28.487 ****** changed: [sut] => { "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/lsr_podman_config_duydktbt", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 40, "state": "directory", "uid": 0 } TASK [Create backup] *********************************************************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/tests_config_files.yml:65 Tuesday 06 February 2024 01:31:20 +0000 (0:00:00.279) 0:01:28.767 ****** ok: [sut] => { "changed": false, "cmd": [ "tar", "--ignore-failed-read", "-c", "-P", "-v", "-p", "-f", "/tmp/lsr_podman_config_duydktbt/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.098492", "end": "2024-02-06 01:31:20.511650", "rc": 0, "start": "2024-02-06 01:31:20.413158" } STDOUT: /etc/containers/policy.json STDERR: tar: /etc/containers/containers.conf.d/50-systemroles.conf: Warning: Cannot stat: No such file or directory tar: /etc/containers/registries.conf.d/50-systemroles.conf: Warning: Cannot stat: No such file or directory tar: /etc/containers/storage.conf: Warning: Cannot stat: No such file or directory TASK [Create user] ************************************************************* task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/tests_config_files.yml:72 Tuesday 06 February 2024 01:31:20 +0000 (0:00:00.320) 0:01:29.087 ****** changed: [sut] => { "changed": true, "comment": "", "create_home": true, "group": 1001, "home": "/home/user1", "name": "user1", "shell": "/bin/bash", "state": "present", "system": false, "uid": 1001 } TASK [Run the role with user config] ******************************************* task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/tests_config_files.yml:76 Tuesday 06 February 2024 01:31:20 +0000 (0:00:00.442) 0:01:29.529 ****** TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:3 Tuesday 06 February 2024 01:31:21 +0000 (0:00:00.042) 0:01:29.571 ****** included: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/set_vars.yml for sut TASK [linux-system-roles.podman : Ensure ansible_facts used by role] *********** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:3 Tuesday 06 February 2024 01:31:21 +0000 (0:00:00.055) 0:01:29.626 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check if system is ostree] ******************* task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:12 Tuesday 06 February 2024 01:31:21 +0000 (0:00:00.023) 0:01:29.650 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set flag to indicate system is ostree] ******* task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:17 Tuesday 06 February 2024 01:31:21 +0000 (0:00:00.020) 0:01:29.671 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:21 Tuesday 06 February 2024 01:31:21 +0000 (0:00:00.017) 0:01:29.688 ****** ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__podman_packages": [ "podman", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [sut] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_38.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_38.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_38.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_38.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Gather the package facts] ******************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:6 Tuesday 06 February 2024 01:31:21 +0000 (0:00:00.049) 0:01:29.738 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.podman : Enable copr if requested] ******************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:10 Tuesday 06 February 2024 01:31:22 +0000 (0:00:00.932) 0:01:30.671 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Ensure required packages are installed] ****** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:14 Tuesday 06 February 2024 01:31:22 +0000 (0:00:00.020) 0:01:30.691 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Get podman version] ************************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:23 Tuesday 06 February 2024 01:31:22 +0000 (0:00:00.025) 0:01:30.717 ****** ok: [sut] => { "changed": false, "cmd": [ "podman", "--version" ], "delta": "0:00:00.032628", "end": "2024-02-06 01:31:22.382180", "rc": 0, "start": "2024-02-06 01:31:22.349552" } STDOUT: podman version 4.8.3 TASK [linux-system-roles.podman : Set podman version] ************************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:28 Tuesday 06 February 2024 01:31:22 +0000 (0:00:00.243) 0:01:30.961 ****** ok: [sut] => { "ansible_facts": { "podman_version": "4.8.3" }, "changed": false } TASK [linux-system-roles.podman : Podman package version must be 4.2 or later] *** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:32 Tuesday 06 February 2024 01:31:22 +0000 (0:00:00.051) 0:01:31.013 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Podman package version must be 4.4 or later for quadlet, secrets] *** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:39 Tuesday 06 February 2024 01:31:22 +0000 (0:00:00.022) 0:01:31.035 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: end_host conditional evaluated to false, continuing execution for sut TASK [linux-system-roles.podman : Check user and group information] ************ task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:56 Tuesday 06 February 2024 01:31:22 +0000 (0:00:00.035) 0:01:31.071 ****** included: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml for sut TASK [linux-system-roles.podman : Get user information] ************************ task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:2 Tuesday 06 February 2024 01:31:22 +0000 (0:00:00.042) 0:01:31.114 ****** ok: [sut] => { "ansible_facts": { "getent_passwd": { "user1": [ "x", "1001", "1001", "", "/home/user1", "/bin/bash" ] } }, "changed": false } TASK [linux-system-roles.podman : Fail if user does not exist] ***************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:10 Tuesday 06 February 2024 01:31:22 +0000 (0:00:00.241) 0:01:31.355 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set group for podman user] ******************* task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:17 Tuesday 06 February 2024 01:31:22 +0000 (0:00:00.025) 0:01:31.380 ****** ok: [sut] => { "ansible_facts": { "__podman_group": "1001" }, "changed": false } TASK [linux-system-roles.podman : Get group information] *********************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:28 Tuesday 06 February 2024 01:31:22 +0000 (0:00:00.027) 0:01:31.408 ****** ok: [sut] => { "ansible_facts": { "getent_group": { "user1": [ "x", "1001", "" ] } }, "changed": false } TASK [linux-system-roles.podman : Set group name] ****************************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:36 Tuesday 06 February 2024 01:31:23 +0000 (0:00:00.222) 0:01:31.630 ****** ok: [sut] => { "ansible_facts": { "__podman_group_name": "user1" }, "changed": false } TASK [linux-system-roles.podman : See if getsubids exists] ********************* task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:41 Tuesday 06 February 2024 01:31:23 +0000 (0:00:00.024) 0:01:31.655 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707183079.224132, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 32, "charset": "binary", "checksum": "02bd4fbb1af303bd528684f8839db549767ee321", "ctime": 1707183040.0843556, "dev": 51714, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 203308, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "application/x-pie-executable", "mode": "0755", "mtime": 1678060800.0, "nlink": 1, "path": "/usr/bin/getsubids", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 15984, "uid": 0, "version": "1348119560", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [linux-system-roles.podman : Check user with getsubids] ******************* task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:52 Tuesday 06 February 2024 01:31:23 +0000 (0:00:00.231) 0:01:31.887 ****** ok: [sut] => { "changed": false, "cmd": [ "getsubids", "user1" ], "delta": "0:00:00.004171", "end": "2024-02-06 01:31:23.526576", "rc": 0, "start": "2024-02-06 01:31:23.522405" } STDOUT: 0: user1 589824 65536 TASK [linux-system-roles.podman : Check group with getsubids] ****************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:56 Tuesday 06 February 2024 01:31:23 +0000 (0:00:00.220) 0:01:32.108 ****** ok: [sut] => { "changed": false, "cmd": [ "getsubids", "-g", "user1" ], "delta": "0:00:00.004125", "end": "2024-02-06 01:31:23.747778", "rc": 0, "start": "2024-02-06 01:31:23.743653" } STDOUT: 0: user1 589824 65536 TASK [linux-system-roles.podman : Check if user is in subuid file] ************* task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:66 Tuesday 06 February 2024 01:31:23 +0000 (0:00:00.221) 0:01:32.329 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Fail if user not in subuid file] ************* task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:74 Tuesday 06 February 2024 01:31:23 +0000 (0:00:00.050) 0:01:32.380 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check if group is in subgid file] ************ task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:81 Tuesday 06 February 2024 01:31:23 +0000 (0:00:00.021) 0:01:32.402 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Fail if group not in subgid file] ************ task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:89 Tuesday 06 February 2024 01:31:23 +0000 (0:00:00.019) 0:01:32.421 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set config file paths] *********************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:62 Tuesday 06 February 2024 01:31:23 +0000 (0:00:00.018) 0:01:32.440 ****** ok: [sut] => { "ansible_facts": { "__podman_container_conf_file": "/home/user1/.config/containers/containers.conf.d/50-systemroles.conf", "__podman_policy_json_file": "/home/user1/.config/containers/policy.json", "__podman_registries_conf_file": "/home/user1/.config/containers/registries.conf.d/50-systemroles.conf", "__podman_storage_conf_file": "/home/user1/.config/containers/storage.conf" }, "changed": false } TASK [linux-system-roles.podman : Handle container.conf.d] ********************* task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:80 Tuesday 06 February 2024 01:31:23 +0000 (0:00:00.041) 0:01:32.482 ****** included: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml for sut TASK [linux-system-roles.podman : Ensure containers.d exists] ****************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:5 Tuesday 06 February 2024 01:31:23 +0000 (0:00:00.036) 0:01:32.518 ****** changed: [sut] => { "changed": true, "gid": 0, "group": "root", "mode": "0755", "owner": "user1", "path": "/home/user1/.config/containers/containers.conf.d", "secontext": "unconfined_u:object_r:config_home_t:s0", "size": 4096, "state": "directory", "uid": 1001 } TASK [linux-system-roles.podman : Update container config file] **************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 Tuesday 06 February 2024 01:31:24 +0000 (0:00:00.275) 0:01:32.793 ****** 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-1707183084.2856505-2907-60142555296995/source", "state": "file", "uid": 1001 } TASK [linux-system-roles.podman : Handle registries.conf.d] ******************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:83 Tuesday 06 February 2024 01:31:24 +0000 (0:00:00.682) 0:01:33.475 ****** included: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml for sut TASK [linux-system-roles.podman : Ensure registries.d exists] ****************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:5 Tuesday 06 February 2024 01:31:24 +0000 (0:00:00.038) 0:01:33.514 ****** changed: [sut] => { "changed": true, "gid": 0, "group": "root", "mode": "0755", "owner": "user1", "path": "/home/user1/.config/containers/registries.conf.d", "secontext": "unconfined_u:object_r:config_home_t:s0", "size": 4096, "state": "directory", "uid": 1001 } TASK [linux-system-roles.podman : Update registries config file] *************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 Tuesday 06 February 2024 01:31:25 +0000 (0:00:00.217) 0:01:33.732 ****** 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-1707183085.223759-2922-54424341167531/source", "state": "file", "uid": 1001 } TASK [linux-system-roles.podman : Handle storage.conf] ************************* task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:86 Tuesday 06 February 2024 01:31:25 +0000 (0:00:00.556) 0:01:34.288 ****** included: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml for sut TASK [linux-system-roles.podman : Ensure storage.conf parent dir exists] ******* task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:5 Tuesday 06 February 2024 01:31:25 +0000 (0:00:00.038) 0:01:34.326 ****** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "user1", "path": "/home/user1/.config/containers", "secontext": "unconfined_u:object_r:config_home_t:s0", "size": 4096, "state": "directory", "uid": 1001 } TASK [linux-system-roles.podman : Update storage config file] ****************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 Tuesday 06 February 2024 01:31:26 +0000 (0:00:00.223) 0:01:34.550 ****** 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-1707183086.0423748-2937-158735297421502/source", "state": "file", "uid": 1001 } TASK [linux-system-roles.podman : Handle policy.json] ************************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:89 Tuesday 06 February 2024 01:31:26 +0000 (0:00:00.559) 0:01:35.109 ****** included: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml for sut TASK [linux-system-roles.podman : Ensure policy.json parent dir exists] ******** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:6 Tuesday 06 February 2024 01:31:26 +0000 (0:00:00.037) 0:01:35.147 ****** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "user1", "path": "/home/user1/.config/containers", "secontext": "unconfined_u:object_r:config_home_t:s0", "size": 4096, "state": "directory", "uid": 1001 } TASK [linux-system-roles.podman : Stat the policy.json file] ******************* task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:15 Tuesday 06 February 2024 01:31:26 +0000 (0:00:00.217) 0:01:35.365 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.podman : Get the existing policy.json] **************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:20 Tuesday 06 February 2024 01:31:27 +0000 (0:00:00.206) 0:01:35.571 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Write new policy.json file] ****************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:26 Tuesday 06 February 2024 01:31:27 +0000 (0:00:00.020) 0:01:35.592 ****** 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-1707183087.085619-2957-178009441055863/source", "state": "file", "uid": 1001 } TASK [Manage firewall for specified ports] ************************************* task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:95 Tuesday 06 February 2024 01:31:27 +0000 (0:00:00.597) 0:01:36.189 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage selinux for specified ports] ************************************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:102 Tuesday 06 February 2024 01:31:27 +0000 (0:00:00.021) 0:01:36.210 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Keep track of users that need to cancel linger] *** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:109 Tuesday 06 February 2024 01:31:27 +0000 (0:00:00.021) 0:01:36.231 ****** ok: [sut] => { "ansible_facts": { "__podman_cancel_user_linger": [] }, "changed": false } TASK [linux-system-roles.podman : Handle secrets] ****************************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:113 Tuesday 06 February 2024 01:31:27 +0000 (0:00:00.020) 0:01:36.252 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.podman : Handle Kubernetes specifications] ************ task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:120 Tuesday 06 February 2024 01:31:27 +0000 (0:00:00.019) 0:01:36.271 ****** TASK [linux-system-roles.podman : Handle Quadlet specifications] *************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:126 Tuesday 06 February 2024 01:31:27 +0000 (0:00:00.022) 0:01:36.294 ****** TASK [linux-system-roles.podman : Cancel linger] ******************************* task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:132 Tuesday 06 February 2024 01:31:27 +0000 (0:00:00.029) 0:01:36.324 ****** TASK [Check that files exist and are non-null] ********************************* task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/tests_config_files.yml:83 Tuesday 06 February 2024 01:31:27 +0000 (0:00:00.020) 0:01:36.344 ****** 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": 1707183084.8680997, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "94370d6e765779f1c58daf02f667b8f0b74d91f6", "ctime": 1707183084.8720996, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262492, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1707183084.5471015, "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": "128019774", "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": 1707183085.683095, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "dfb9cd7094a81b3d1bb06512cc9b49a09c75639b", "ctime": 1707183085.687095, "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": 1707183085.4790962, "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": "621613742", "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": 1707183086.50209, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d08574b6a1df63dbe1c939ff0bcc7c0b61d03044", "ctime": 1707183086.50509, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262495, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1707183086.2980912, "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": "3773167853", "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": 1707183087.5590837, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6746c079ad563b735fc39f73d4876654b80b0a0d", "ctime": 1707183087.5630836, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262496, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "application/json", "mode": "0644", "mtime": 1707183087.3430848, "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": "555883614", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Run the role again with user config] ************************************* task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/tests_config_files.yml:91 Tuesday 06 February 2024 01:31:28 +0000 (0:00:00.822) 0:01:37.167 ****** TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:3 Tuesday 06 February 2024 01:31:28 +0000 (0:00:00.046) 0:01:37.214 ****** included: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/set_vars.yml for sut TASK [linux-system-roles.podman : Ensure ansible_facts used by role] *********** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:3 Tuesday 06 February 2024 01:31:28 +0000 (0:00:00.034) 0:01:37.249 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check if system is ostree] ******************* task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:12 Tuesday 06 February 2024 01:31:28 +0000 (0:00:00.024) 0:01:37.273 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set flag to indicate system is ostree] ******* task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:17 Tuesday 06 February 2024 01:31:28 +0000 (0:00:00.051) 0:01:37.325 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:21 Tuesday 06 February 2024 01:31:28 +0000 (0:00:00.020) 0:01:37.346 ****** ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__podman_packages": [ "podman", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [sut] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_38.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_38.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_38.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_38.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Gather the package facts] ******************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:6 Tuesday 06 February 2024 01:31:28 +0000 (0:00:00.049) 0:01:37.395 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.podman : Enable copr if requested] ******************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:10 Tuesday 06 February 2024 01:31:29 +0000 (0:00:00.921) 0:01:38.317 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Ensure required packages are installed] ****** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:14 Tuesday 06 February 2024 01:31:29 +0000 (0:00:00.018) 0:01:38.335 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Get podman version] ************************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:23 Tuesday 06 February 2024 01:31:29 +0000 (0:00:00.024) 0:01:38.360 ****** ok: [sut] => { "changed": false, "cmd": [ "podman", "--version" ], "delta": "0:00:00.032069", "end": "2024-02-06 01:31:30.022272", "rc": 0, "start": "2024-02-06 01:31:29.990203" } STDOUT: podman version 4.8.3 TASK [linux-system-roles.podman : Set podman version] ************************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:28 Tuesday 06 February 2024 01:31:30 +0000 (0:00:00.246) 0:01:38.606 ****** ok: [sut] => { "ansible_facts": { "podman_version": "4.8.3" }, "changed": false } TASK [linux-system-roles.podman : Podman package version must be 4.2 or later] *** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:32 Tuesday 06 February 2024 01:31:30 +0000 (0:00:00.033) 0:01:38.640 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Podman package version must be 4.4 or later for quadlet, secrets] *** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:39 Tuesday 06 February 2024 01:31:30 +0000 (0:00:00.024) 0:01:38.664 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: end_host conditional evaluated to false, continuing execution for sut TASK [linux-system-roles.podman : Check user and group information] ************ task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:56 Tuesday 06 February 2024 01:31:30 +0000 (0:00:00.039) 0:01:38.704 ****** included: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml for sut TASK [linux-system-roles.podman : Get user information] ************************ task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:2 Tuesday 06 February 2024 01:31:30 +0000 (0:00:00.061) 0:01:38.766 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Fail if user does not exist] ***************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:10 Tuesday 06 February 2024 01:31:30 +0000 (0:00:00.027) 0:01:38.793 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set group for podman user] ******************* task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:17 Tuesday 06 February 2024 01:31:30 +0000 (0:00:00.025) 0:01:38.819 ****** ok: [sut] => { "ansible_facts": { "__podman_group": "1001" }, "changed": false } TASK [linux-system-roles.podman : Get group information] *********************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:28 Tuesday 06 February 2024 01:31:30 +0000 (0:00:00.028) 0:01:38.847 ****** ok: [sut] => { "ansible_facts": { "getent_group": { "user1": [ "x", "1001", "" ] } }, "changed": false } TASK [linux-system-roles.podman : Set group name] ****************************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:36 Tuesday 06 February 2024 01:31:30 +0000 (0:00:00.218) 0:01:39.066 ****** ok: [sut] => { "ansible_facts": { "__podman_group_name": "user1" }, "changed": false } TASK [linux-system-roles.podman : See if getsubids exists] ********************* task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:41 Tuesday 06 February 2024 01:31:30 +0000 (0:00:00.026) 0:01:39.092 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707183079.224132, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 32, "charset": "binary", "checksum": "02bd4fbb1af303bd528684f8839db549767ee321", "ctime": 1707183040.0843556, "dev": 51714, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 203308, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "application/x-pie-executable", "mode": "0755", "mtime": 1678060800.0, "nlink": 1, "path": "/usr/bin/getsubids", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 15984, "uid": 0, "version": "1348119560", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [linux-system-roles.podman : Check user with getsubids] ******************* task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:52 Tuesday 06 February 2024 01:31:30 +0000 (0:00:00.213) 0:01:39.306 ****** ok: [sut] => { "changed": false, "cmd": [ "getsubids", "user1" ], "delta": "0:00:00.004177", "end": "2024-02-06 01:31:30.945605", "rc": 0, "start": "2024-02-06 01:31:30.941428" } STDOUT: 0: user1 589824 65536 TASK [linux-system-roles.podman : Check group with getsubids] ****************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:56 Tuesday 06 February 2024 01:31:30 +0000 (0:00:00.216) 0:01:39.523 ****** ok: [sut] => { "changed": false, "cmd": [ "getsubids", "-g", "user1" ], "delta": "0:00:00.003983", "end": "2024-02-06 01:31:31.158467", "rc": 0, "start": "2024-02-06 01:31:31.154484" } STDOUT: 0: user1 589824 65536 TASK [linux-system-roles.podman : Check if user is in subuid file] ************* task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:66 Tuesday 06 February 2024 01:31:31 +0000 (0:00:00.211) 0:01:39.734 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Fail if user not in subuid file] ************* task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:74 Tuesday 06 February 2024 01:31:31 +0000 (0:00:00.020) 0:01:39.754 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check if group is in subgid file] ************ task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:81 Tuesday 06 February 2024 01:31:31 +0000 (0:00:00.021) 0:01:39.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-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:89 Tuesday 06 February 2024 01:31:31 +0000 (0:00:00.020) 0:01:39.796 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set config file paths] *********************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:62 Tuesday 06 February 2024 01:31:31 +0000 (0:00:00.019) 0:01:39.816 ****** ok: [sut] => { "ansible_facts": { "__podman_container_conf_file": "/home/user1/.config/containers/containers.conf.d/50-systemroles.conf", "__podman_policy_json_file": "/home/user1/.config/containers/policy.json", "__podman_registries_conf_file": "/home/user1/.config/containers/registries.conf.d/50-systemroles.conf", "__podman_storage_conf_file": "/home/user1/.config/containers/storage.conf" }, "changed": false } TASK [linux-system-roles.podman : Handle container.conf.d] ********************* task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:80 Tuesday 06 February 2024 01:31:31 +0000 (0:00:00.060) 0:01:39.876 ****** included: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml for sut TASK [linux-system-roles.podman : Ensure containers.d exists] ****************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:5 Tuesday 06 February 2024 01:31:31 +0000 (0:00:00.036) 0:01:39.913 ****** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "user1", "path": "/home/user1/.config/containers/containers.conf.d", "secontext": "unconfined_u:object_r:config_home_t:s0", "size": 4096, "state": "directory", "uid": 1001 } TASK [linux-system-roles.podman : Update container config file] **************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 Tuesday 06 February 2024 01:31:31 +0000 (0:00:00.219) 0:01:40.132 ****** ok: [sut] => { "changed": false, "checksum": "94370d6e765779f1c58daf02f667b8f0b74d91f6", "dest": "/home/user1/.config/containers/containers.conf.d/50-systemroles.conf", "gid": 0, "group": "root", "mode": "0644", "owner": "user1", "path": "/home/user1/.config/containers/containers.conf.d/50-systemroles.conf", "secontext": "unconfined_u:object_r:config_home_t:s0", "size": 116, "state": "file", "uid": 1001 } TASK [linux-system-roles.podman : Handle registries.conf.d] ******************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:83 Tuesday 06 February 2024 01:31:32 +0000 (0:00:00.507) 0:01:40.640 ****** included: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml for sut TASK [linux-system-roles.podman : Ensure registries.d exists] ****************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:5 Tuesday 06 February 2024 01:31:32 +0000 (0:00:00.037) 0:01:40.678 ****** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "user1", "path": "/home/user1/.config/containers/registries.conf.d", "secontext": "unconfined_u:object_r:config_home_t:s0", "size": 4096, "state": "directory", "uid": 1001 } TASK [linux-system-roles.podman : Update registries config file] *************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 Tuesday 06 February 2024 01:31:32 +0000 (0:00:00.220) 0:01:40.898 ****** ok: [sut] => { "changed": false, "checksum": "dfb9cd7094a81b3d1bb06512cc9b49a09c75639b", "dest": "/home/user1/.config/containers/registries.conf.d/50-systemroles.conf", "gid": 0, "group": "root", "mode": "0644", "owner": "user1", "path": "/home/user1/.config/containers/registries.conf.d/50-systemroles.conf", "secontext": "unconfined_u:object_r:config_home_t:s0", "size": 225, "state": "file", "uid": 1001 } TASK [linux-system-roles.podman : Handle storage.conf] ************************* task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:86 Tuesday 06 February 2024 01:31:32 +0000 (0:00:00.513) 0:01:41.412 ****** included: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml for sut TASK [linux-system-roles.podman : Ensure storage.conf parent dir exists] ******* task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:5 Tuesday 06 February 2024 01:31:32 +0000 (0:00:00.037) 0:01:41.449 ****** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "user1", "path": "/home/user1/.config/containers", "secontext": "unconfined_u:object_r:config_home_t:s0", "size": 4096, "state": "directory", "uid": 1001 } TASK [linux-system-roles.podman : Update storage config file] ****************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 Tuesday 06 February 2024 01:31:33 +0000 (0:00:00.239) 0:01:41.689 ****** ok: [sut] => { "changed": false, "checksum": "d08574b6a1df63dbe1c939ff0bcc7c0b61d03044", "dest": "/home/user1/.config/containers/storage.conf", "gid": 0, "group": "root", "mode": "0644", "owner": "user1", "path": "/home/user1/.config/containers/storage.conf", "secontext": "unconfined_u:object_r:config_home_t:s0", "size": 109, "state": "file", "uid": 1001 } TASK [linux-system-roles.podman : Handle policy.json] ************************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:89 Tuesday 06 February 2024 01:31:33 +0000 (0:00:00.505) 0:01:42.195 ****** included: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml for sut TASK [linux-system-roles.podman : Ensure policy.json parent dir exists] ******** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:6 Tuesday 06 February 2024 01:31:33 +0000 (0:00:00.037) 0:01:42.233 ****** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "user1", "path": "/home/user1/.config/containers", "secontext": "unconfined_u:object_r:config_home_t:s0", "size": 4096, "state": "directory", "uid": 1001 } TASK [linux-system-roles.podman : Stat the policy.json file] ******************* task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:15 Tuesday 06 February 2024 01:31:33 +0000 (0:00:00.219) 0:01:42.452 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707183088.5790775, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6746c079ad563b735fc39f73d4876654b80b0a0d", "ctime": 1707183087.5630836, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262496, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "application/json", "mode": "0644", "mtime": 1707183087.3430848, "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": "555883614", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.podman : Get the existing policy.json] **************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:20 Tuesday 06 February 2024 01:31:34 +0000 (0:00:00.217) 0:01:42.670 ****** ok: [sut] => { "changed": false, "content": "ewogICAgImRlZmF1bHQiOiB7CiAgICAgICAgInR5cGUiOiAiaW5zZWN1cmVBY2NlcHRBbnl0aGluZyIKICAgIH0KfQ==", "encoding": "base64", "source": "/home/user1/.config/containers/policy.json" } TASK [linux-system-roles.podman : Write new policy.json file] ****************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:26 Tuesday 06 February 2024 01:31:34 +0000 (0:00:00.496) 0:01:43.166 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage firewall for specified ports] ************************************* task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:95 Tuesday 06 February 2024 01:31:34 +0000 (0:00:00.022) 0:01:43.188 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage selinux for specified ports] ************************************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:102 Tuesday 06 February 2024 01:31:34 +0000 (0:00:00.018) 0:01:43.207 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Keep track of users that need to cancel linger] *** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:109 Tuesday 06 February 2024 01:31:34 +0000 (0:00:00.018) 0:01:43.225 ****** ok: [sut] => { "ansible_facts": { "__podman_cancel_user_linger": [] }, "changed": false } TASK [linux-system-roles.podman : Handle secrets] ****************************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:113 Tuesday 06 February 2024 01:31:34 +0000 (0:00:00.018) 0:01:43.244 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.podman : Handle Kubernetes specifications] ************ task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:120 Tuesday 06 February 2024 01:31:34 +0000 (0:00:00.017) 0:01:43.261 ****** TASK [linux-system-roles.podman : Handle Quadlet specifications] *************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:126 Tuesday 06 February 2024 01:31:34 +0000 (0:00:00.045) 0:01:43.306 ****** TASK [linux-system-roles.podman : Cancel linger] ******************************* task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:132 Tuesday 06 February 2024 01:31:34 +0000 (0:00:00.022) 0:01:43.329 ****** TASK [Check that files still exist and are non-null] *************************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/tests_config_files.yml:98 Tuesday 06 February 2024 01:31:34 +0000 (0:00:00.021) 0:01:43.351 ****** 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": 1707183087.980081, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "94370d6e765779f1c58daf02f667b8f0b74d91f6", "ctime": 1707183084.8720996, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262492, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1707183084.5471015, "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": "128019774", "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": 1707183088.17908, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "dfb9cd7094a81b3d1bb06512cc9b49a09c75639b", "ctime": 1707183085.687095, "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": 1707183085.4790962, "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": "621613742", "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": 1707183088.3780787, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d08574b6a1df63dbe1c939ff0bcc7c0b61d03044", "ctime": 1707183086.50509, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262495, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1707183086.2980912, "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": "3773167853", "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": 1707183088.5790775, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6746c079ad563b735fc39f73d4876654b80b0a0d", "ctime": 1707183087.5630836, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262496, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "application/json", "mode": "0644", "mtime": 1707183087.3430848, "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": "555883614", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Run the role with root config] ******************************************* task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/tests_config_files.yml:106 Tuesday 06 February 2024 01:31:35 +0000 (0:00:00.834) 0:01:44.185 ****** TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:3 Tuesday 06 February 2024 01:31:35 +0000 (0:00:00.055) 0:01:44.241 ****** included: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/set_vars.yml for sut TASK [linux-system-roles.podman : Ensure ansible_facts used by role] *********** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:3 Tuesday 06 February 2024 01:31:35 +0000 (0:00:00.035) 0:01:44.276 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check if system is ostree] ******************* task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:12 Tuesday 06 February 2024 01:31:35 +0000 (0:00:00.025) 0:01:44.301 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set flag to indicate system is ostree] ******* task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:17 Tuesday 06 February 2024 01:31:35 +0000 (0:00:00.018) 0:01:44.320 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:21 Tuesday 06 February 2024 01:31:35 +0000 (0:00:00.019) 0:01:44.339 ****** ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__podman_packages": [ "podman", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [sut] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_38.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_38.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_38.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_38.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Gather the package facts] ******************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:6 Tuesday 06 February 2024 01:31:35 +0000 (0:00:00.045) 0:01:44.385 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.podman : Enable copr if requested] ******************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:10 Tuesday 06 February 2024 01:31:36 +0000 (0:00:00.941) 0:01:45.326 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Ensure required packages are installed] ****** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:14 Tuesday 06 February 2024 01:31:36 +0000 (0:00:00.020) 0:01:45.347 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Get podman version] ************************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:23 Tuesday 06 February 2024 01:31:36 +0000 (0:00:00.023) 0:01:45.370 ****** ok: [sut] => { "changed": false, "cmd": [ "podman", "--version" ], "delta": "0:00:00.031290", "end": "2024-02-06 01:31:37.029456", "rc": 0, "start": "2024-02-06 01:31:36.998166" } STDOUT: podman version 4.8.3 TASK [linux-system-roles.podman : Set podman version] ************************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:28 Tuesday 06 February 2024 01:31:37 +0000 (0:00:00.235) 0:01:45.606 ****** ok: [sut] => { "ansible_facts": { "podman_version": "4.8.3" }, "changed": false } TASK [linux-system-roles.podman : Podman package version must be 4.2 or later] *** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:32 Tuesday 06 February 2024 01:31:37 +0000 (0:00:00.020) 0:01:45.626 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Podman package version must be 4.4 or later for quadlet, secrets] *** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:39 Tuesday 06 February 2024 01:31:37 +0000 (0:00:00.020) 0:01:45.647 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: end_host conditional evaluated to false, continuing execution for sut TASK [linux-system-roles.podman : Check user and group information] ************ task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:56 Tuesday 06 February 2024 01:31:37 +0000 (0:00:00.032) 0:01:45.680 ****** included: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml for sut TASK [linux-system-roles.podman : Get user information] ************************ task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:2 Tuesday 06 February 2024 01:31:37 +0000 (0:00:00.036) 0:01:45.716 ****** ok: [sut] => { "ansible_facts": { "getent_passwd": { "root": [ "x", "0", "0", "Super User", "/root", "/bin/bash" ] } }, "changed": false } TASK [linux-system-roles.podman : Fail if user does not exist] ***************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:10 Tuesday 06 February 2024 01:31:37 +0000 (0:00:00.216) 0:01:45.932 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set group for podman user] ******************* task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:17 Tuesday 06 February 2024 01:31:37 +0000 (0:00:00.046) 0:01:45.978 ****** ok: [sut] => { "ansible_facts": { "__podman_group": "0" }, "changed": false } TASK [linux-system-roles.podman : Get group information] *********************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:28 Tuesday 06 February 2024 01:31:37 +0000 (0:00:00.026) 0:01:46.005 ****** ok: [sut] => { "ansible_facts": { "getent_group": { "root": [ "x", "0", "" ] } }, "changed": false } TASK [linux-system-roles.podman : Set group name] ****************************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:36 Tuesday 06 February 2024 01:31:37 +0000 (0:00:00.215) 0:01:46.221 ****** ok: [sut] => { "ansible_facts": { "__podman_group_name": "root" }, "changed": false } TASK [linux-system-roles.podman : See if getsubids exists] ********************* task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:41 Tuesday 06 February 2024 01:31:37 +0000 (0:00:00.024) 0:01:46.245 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707183079.224132, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 32, "charset": "binary", "checksum": "02bd4fbb1af303bd528684f8839db549767ee321", "ctime": 1707183040.0843556, "dev": 51714, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 203308, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "application/x-pie-executable", "mode": "0755", "mtime": 1678060800.0, "nlink": 1, "path": "/usr/bin/getsubids", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 15984, "uid": 0, "version": "1348119560", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [linux-system-roles.podman : Check user with getsubids] ******************* task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:52 Tuesday 06 February 2024 01:31:37 +0000 (0:00:00.215) 0:01:46.460 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check group with getsubids] ****************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:56 Tuesday 06 February 2024 01:31:37 +0000 (0:00:00.020) 0:01:46.481 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check if user is in subuid file] ************* task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:66 Tuesday 06 February 2024 01:31:37 +0000 (0:00:00.020) 0:01:46.501 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Fail if user not in subuid file] ************* task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:74 Tuesday 06 February 2024 01:31:37 +0000 (0:00:00.018) 0:01:46.520 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check if group is in subgid file] ************ task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:81 Tuesday 06 February 2024 01:31:37 +0000 (0:00:00.018) 0:01:46.539 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Fail if group not in subgid file] ************ task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:89 Tuesday 06 February 2024 01:31:38 +0000 (0:00:00.018) 0:01:46.557 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set config file paths] *********************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:62 Tuesday 06 February 2024 01:31:38 +0000 (0:00:00.018) 0:01:46.576 ****** ok: [sut] => { "ansible_facts": { "__podman_container_conf_file": "/etc/containers/containers.conf.d/50-systemroles.conf", "__podman_policy_json_file": "/etc/containers/policy.json", "__podman_registries_conf_file": "/etc/containers/registries.conf.d/50-systemroles.conf", "__podman_storage_conf_file": "/etc/containers/storage.conf" }, "changed": false } TASK [linux-system-roles.podman : Handle container.conf.d] ********************* task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:80 Tuesday 06 February 2024 01:31:38 +0000 (0:00:00.040) 0:01:46.617 ****** included: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml for sut TASK [linux-system-roles.podman : Ensure containers.d exists] ****************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:5 Tuesday 06 February 2024 01:31:38 +0000 (0:00:00.035) 0:01:46.653 ****** changed: [sut] => { "changed": true, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/containers/containers.conf.d", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [linux-system-roles.podman : Update container config file] **************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 Tuesday 06 February 2024 01:31:38 +0000 (0:00:00.225) 0:01:46.878 ****** 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-1707183098.3693886-3236-8230549003002/source", "state": "file", "uid": 0 } TASK [linux-system-roles.podman : Handle registries.conf.d] ******************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:83 Tuesday 06 February 2024 01:31:38 +0000 (0:00:00.558) 0:01:47.437 ****** included: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml for sut TASK [linux-system-roles.podman : Ensure registries.d exists] ****************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:5 Tuesday 06 February 2024 01:31:38 +0000 (0:00:00.037) 0:01:47.474 ****** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/containers/registries.conf.d", "secontext": "system_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [linux-system-roles.podman : Update registries config file] *************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 Tuesday 06 February 2024 01:31:39 +0000 (0:00:00.222) 0:01:47.697 ****** 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-1707183099.1879888-3254-20508800690762/source", "state": "file", "uid": 0 } TASK [linux-system-roles.podman : Handle storage.conf] ************************* task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:86 Tuesday 06 February 2024 01:31:39 +0000 (0:00:00.566) 0:01:48.263 ****** included: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml for sut TASK [linux-system-roles.podman : Ensure storage.conf parent dir exists] ******* task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:5 Tuesday 06 February 2024 01:31:39 +0000 (0:00:00.039) 0:01:48.302 ****** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/containers", "secontext": "system_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [linux-system-roles.podman : Update storage config file] ****************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 Tuesday 06 February 2024 01:31:39 +0000 (0:00:00.221) 0:01:48.524 ****** 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-1707183100.015192-3296-3536597577769/source", "state": "file", "uid": 0 } TASK [linux-system-roles.podman : Handle policy.json] ************************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:89 Tuesday 06 February 2024 01:31:40 +0000 (0:00:00.547) 0:01:49.071 ****** included: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml for sut TASK [linux-system-roles.podman : Ensure policy.json parent dir exists] ******** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:6 Tuesday 06 February 2024 01:31:40 +0000 (0:00:00.059) 0:01:49.131 ****** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/containers", "secontext": "system_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [linux-system-roles.podman : Stat the policy.json file] ******************* task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:15 Tuesday 06 February 2024 01:31:40 +0000 (0:00:00.222) 0:01:49.353 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707183080.5101247, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "2b9c515bda676f0ab6d58bcc6e44be4375b5922b", "ctime": 1707183039.9663563, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262426, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "application/json", "mode": "0644", "mtime": 1681257600.0, "nlink": 1, "path": "/etc/containers/policy.json", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 569, "uid": 0, "version": "1491486336", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.podman : Get the existing policy.json] **************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:20 Tuesday 06 February 2024 01:31:41 +0000 (0:00:00.218) 0:01:49.571 ****** ok: [sut] => { "changed": false, "content": "ewogICAgImRlZmF1bHQiOiBbCiAgICAgICAgewogICAgICAgICAgICAidHlwZSI6ICJpbnNlY3VyZUFjY2VwdEFueXRoaW5nIgogICAgICAgIH0KICAgIF0sCiAgICAidHJhbnNwb3J0cyI6IHsKICAgICAgICAiZG9ja2VyIjogewoJICAgICJyZWdpc3RyeS5hY2Nlc3MucmVkaGF0LmNvbSI6IFsKCQl7CgkJICAgICJ0eXBlIjogInNpZ25lZEJ5IiwKCQkgICAgImtleVR5cGUiOiAiR1BHS2V5cyIsCgkJICAgICJrZXlQYXRoIjogIi9ldGMvcGtpL3JwbS1ncGcvUlBNLUdQRy1LRVktcmVkaGF0LXJlbGVhc2UiCgkJfQoJICAgIF0sCgkgICAgInJlZ2lzdHJ5LnJlZGhhdC5pbyI6IFsKCQl7CgkJICAgICJ0eXBlIjogInNpZ25lZEJ5IiwKCQkgICAgImtleVR5cGUiOiAiR1BHS2V5cyIsCgkJICAgICJrZXlQYXRoIjogIi9ldGMvcGtpL3JwbS1ncGcvUlBNLUdQRy1LRVktcmVkaGF0LXJlbGVhc2UiCgkJfQoJICAgIF0KCX0sCiAgICAgICAgImRvY2tlci1kYWVtb24iOiB7CgkgICAgIiI6IFsKCQl7CgkJICAgICJ0eXBlIjogImluc2VjdXJlQWNjZXB0QW55dGhpbmciCgkJfQoJICAgIF0KCX0KICAgIH0KfQo=", "encoding": "base64", "source": "/etc/containers/policy.json" } TASK [linux-system-roles.podman : Write new policy.json file] ****************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:26 Tuesday 06 February 2024 01:31:41 +0000 (0:00:00.205) 0:01:49.777 ****** 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-1707183101.2734926-3317-279915040077456/source", "state": "file", "uid": 0 } TASK [Manage firewall for specified ports] ************************************* task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:95 Tuesday 06 February 2024 01:31:41 +0000 (0:00:00.570) 0:01:50.348 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage selinux for specified ports] ************************************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:102 Tuesday 06 February 2024 01:31:41 +0000 (0:00:00.021) 0:01:50.369 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Keep track of users that need to cancel linger] *** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:109 Tuesday 06 February 2024 01:31:41 +0000 (0:00:00.020) 0:01:50.390 ****** ok: [sut] => { "ansible_facts": { "__podman_cancel_user_linger": [] }, "changed": false } TASK [linux-system-roles.podman : Handle secrets] ****************************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:113 Tuesday 06 February 2024 01:31:41 +0000 (0:00:00.019) 0:01:50.409 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.podman : Handle Kubernetes specifications] ************ task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:120 Tuesday 06 February 2024 01:31:41 +0000 (0:00:00.017) 0:01:50.427 ****** TASK [linux-system-roles.podman : Handle Quadlet specifications] *************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:126 Tuesday 06 February 2024 01:31:41 +0000 (0:00:00.017) 0:01:50.445 ****** TASK [linux-system-roles.podman : Cancel linger] ******************************* task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:132 Tuesday 06 February 2024 01:31:41 +0000 (0:00:00.017) 0:01:50.462 ****** TASK [Check that files exist and are non-null] ********************************* task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/tests_config_files.yml:113 Tuesday 06 February 2024 01:31:41 +0000 (0:00:00.017) 0:01:50.480 ****** 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": 1707183098.826016, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "94370d6e765779f1c58daf02f667b8f0b74d91f6", "ctime": 1707183098.832016, "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": 1707183098.6230173, "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": "683831144", "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": 1707183099.6520112, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "dfb9cd7094a81b3d1bb06512cc9b49a09c75639b", "ctime": 1707183099.658011, "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": 1707183099.4470124, "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": "2321354945", "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": 1707183100.4600062, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d08574b6a1df63dbe1c939ff0bcc7c0b61d03044", "ctime": 1707183100.4660063, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262500, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1707183100.2620075, "nlink": 1, "path": "/etc/containers/storage.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 109, "uid": 0, "version": "1674495401", "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": 1707183101.7369986, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6746c079ad563b735fc39f73d4876654b80b0a0d", "ctime": 1707183101.7379985, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262501, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "application/json", "mode": "0644", "mtime": 1707183101.5279999, "nlink": 1, "path": "/etc/containers/policy.json", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 67, "uid": 0, "version": "2328777658", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Run the role again with root config] ************************************* task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/tests_config_files.yml:121 Tuesday 06 February 2024 01:31:42 +0000 (0:00:00.833) 0:01:51.313 ****** TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:3 Tuesday 06 February 2024 01:31:42 +0000 (0:00:00.054) 0:01:51.368 ****** included: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/set_vars.yml for sut TASK [linux-system-roles.podman : Ensure ansible_facts used by role] *********** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:3 Tuesday 06 February 2024 01:31:42 +0000 (0:00:00.033) 0:01:51.401 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check if system is ostree] ******************* task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:12 Tuesday 06 February 2024 01:31:42 +0000 (0:00:00.024) 0:01:51.426 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set flag to indicate system is ostree] ******* task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:17 Tuesday 06 February 2024 01:31:42 +0000 (0:00:00.018) 0:01:51.444 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:21 Tuesday 06 February 2024 01:31:42 +0000 (0:00:00.019) 0:01:51.464 ****** ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__podman_packages": [ "podman", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [sut] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_38.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_38.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_38.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_38.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Gather the package facts] ******************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:6 Tuesday 06 February 2024 01:31:42 +0000 (0:00:00.047) 0:01:51.511 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.podman : Enable copr if requested] ******************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:10 Tuesday 06 February 2024 01:31:43 +0000 (0:00:00.945) 0:01:52.456 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Ensure required packages are installed] ****** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:14 Tuesday 06 February 2024 01:31:43 +0000 (0:00:00.020) 0:01:52.477 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Get podman version] ************************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:23 Tuesday 06 February 2024 01:31:43 +0000 (0:00:00.023) 0:01:52.501 ****** ok: [sut] => { "changed": false, "cmd": [ "podman", "--version" ], "delta": "0:00:00.031714", "end": "2024-02-06 01:31:44.167122", "rc": 0, "start": "2024-02-06 01:31:44.135408" } STDOUT: podman version 4.8.3 STDERR: time="2024-02-06T01:31:44Z" level=warning msg="The storage 'driver' option should be set in /etc/containers/storage.conf. A driver was picked automatically." TASK [linux-system-roles.podman : Set podman version] ************************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:28 Tuesday 06 February 2024 01:31:44 +0000 (0:00:00.244) 0:01:52.745 ****** ok: [sut] => { "ansible_facts": { "podman_version": "4.8.3" }, "changed": false } TASK [linux-system-roles.podman : Podman package version must be 4.2 or later] *** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:32 Tuesday 06 February 2024 01:31:44 +0000 (0:00:00.024) 0:01:52.770 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Podman package version must be 4.4 or later for quadlet, secrets] *** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:39 Tuesday 06 February 2024 01:31:44 +0000 (0:00:00.019) 0:01:52.789 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: end_host conditional evaluated to false, continuing execution for sut TASK [linux-system-roles.podman : Check user and group information] ************ task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:56 Tuesday 06 February 2024 01:31:44 +0000 (0:00:00.034) 0:01:52.823 ****** included: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml for sut TASK [linux-system-roles.podman : Get user information] ************************ task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:2 Tuesday 06 February 2024 01:31:44 +0000 (0:00:00.036) 0:01:52.860 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Fail if user does not exist] ***************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:10 Tuesday 06 February 2024 01:31:44 +0000 (0:00:00.025) 0:01:52.886 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set group for podman user] ******************* task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:17 Tuesday 06 February 2024 01:31:44 +0000 (0:00:00.024) 0:01:52.910 ****** ok: [sut] => { "ansible_facts": { "__podman_group": "0" }, "changed": false } TASK [linux-system-roles.podman : Get group information] *********************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:28 Tuesday 06 February 2024 01:31:44 +0000 (0:00:00.025) 0:01:52.936 ****** ok: [sut] => { "ansible_facts": { "getent_group": { "root": [ "x", "0", "" ] } }, "changed": false } TASK [linux-system-roles.podman : Set group name] ****************************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:36 Tuesday 06 February 2024 01:31:44 +0000 (0:00:00.221) 0:01:53.158 ****** ok: [sut] => { "ansible_facts": { "__podman_group_name": "root" }, "changed": false } TASK [linux-system-roles.podman : See if getsubids exists] ********************* task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:41 Tuesday 06 February 2024 01:31:44 +0000 (0:00:00.066) 0:01:53.224 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707183079.224132, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 32, "charset": "binary", "checksum": "02bd4fbb1af303bd528684f8839db549767ee321", "ctime": 1707183040.0843556, "dev": 51714, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 203308, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "application/x-pie-executable", "mode": "0755", "mtime": 1678060800.0, "nlink": 1, "path": "/usr/bin/getsubids", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 15984, "uid": 0, "version": "1348119560", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [linux-system-roles.podman : Check user with getsubids] ******************* task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:52 Tuesday 06 February 2024 01:31:44 +0000 (0:00:00.215) 0:01:53.439 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check group with getsubids] ****************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:56 Tuesday 06 February 2024 01:31:44 +0000 (0:00:00.021) 0:01:53.460 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check if user is in subuid file] ************* task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:66 Tuesday 06 February 2024 01:31:44 +0000 (0:00:00.020) 0:01:53.481 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Fail if user not in subuid file] ************* task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:74 Tuesday 06 February 2024 01:31:44 +0000 (0:00:00.020) 0:01:53.501 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check if group is in subgid file] ************ task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:81 Tuesday 06 February 2024 01:31:44 +0000 (0:00:00.020) 0:01:53.522 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Fail if group not in subgid file] ************ task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:89 Tuesday 06 February 2024 01:31:44 +0000 (0:00:00.020) 0:01:53.542 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set config file paths] *********************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:62 Tuesday 06 February 2024 01:31:45 +0000 (0:00:00.020) 0:01:53.563 ****** ok: [sut] => { "ansible_facts": { "__podman_container_conf_file": "/etc/containers/containers.conf.d/50-systemroles.conf", "__podman_policy_json_file": "/etc/containers/policy.json", "__podman_registries_conf_file": "/etc/containers/registries.conf.d/50-systemroles.conf", "__podman_storage_conf_file": "/etc/containers/storage.conf" }, "changed": false } TASK [linux-system-roles.podman : Handle container.conf.d] ********************* task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:80 Tuesday 06 February 2024 01:31:45 +0000 (0:00:00.040) 0:01:53.603 ****** included: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml for sut TASK [linux-system-roles.podman : Ensure containers.d exists] ****************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:5 Tuesday 06 February 2024 01:31:45 +0000 (0:00:00.037) 0:01:53.641 ****** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/containers/containers.conf.d", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [linux-system-roles.podman : Update container config file] **************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 Tuesday 06 February 2024 01:31:45 +0000 (0:00:00.237) 0:01:53.878 ****** ok: [sut] => { "changed": false, "checksum": "94370d6e765779f1c58daf02f667b8f0b74d91f6", "dest": "/etc/containers/containers.conf.d/50-systemroles.conf", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/etc/containers/containers.conf.d/50-systemroles.conf", "secontext": "system_u:object_r:etc_t:s0", "size": 116, "state": "file", "uid": 0 } TASK [linux-system-roles.podman : Handle registries.conf.d] ******************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:83 Tuesday 06 February 2024 01:31:45 +0000 (0:00:00.553) 0:01:54.431 ****** included: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml for sut TASK [linux-system-roles.podman : Ensure registries.d exists] ****************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:5 Tuesday 06 February 2024 01:31:45 +0000 (0:00:00.090) 0:01:54.522 ****** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/containers/registries.conf.d", "secontext": "system_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [linux-system-roles.podman : Update registries config file] *************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 Tuesday 06 February 2024 01:31:46 +0000 (0:00:00.237) 0:01:54.759 ****** ok: [sut] => { "changed": false, "checksum": "dfb9cd7094a81b3d1bb06512cc9b49a09c75639b", "dest": "/etc/containers/registries.conf.d/50-systemroles.conf", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/etc/containers/registries.conf.d/50-systemroles.conf", "secontext": "system_u:object_r:etc_t:s0", "size": 225, "state": "file", "uid": 0 } TASK [linux-system-roles.podman : Handle storage.conf] ************************* task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:86 Tuesday 06 February 2024 01:31:46 +0000 (0:00:00.573) 0:01:55.332 ****** included: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml for sut TASK [linux-system-roles.podman : Ensure storage.conf parent dir exists] ******* task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:5 Tuesday 06 February 2024 01:31:46 +0000 (0:00:00.039) 0:01:55.372 ****** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/containers", "secontext": "system_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [linux-system-roles.podman : Update storage config file] ****************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 Tuesday 06 February 2024 01:31:47 +0000 (0:00:00.260) 0:01:55.633 ****** ok: [sut] => { "changed": false, "checksum": "d08574b6a1df63dbe1c939ff0bcc7c0b61d03044", "dest": "/etc/containers/storage.conf", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/etc/containers/storage.conf", "secontext": "system_u:object_r:etc_t:s0", "size": 109, "state": "file", "uid": 0 } TASK [linux-system-roles.podman : Handle policy.json] ************************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:89 Tuesday 06 February 2024 01:31:47 +0000 (0:00:00.596) 0:01:56.229 ****** included: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml for sut TASK [linux-system-roles.podman : Ensure policy.json parent dir exists] ******** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:6 Tuesday 06 February 2024 01:31:47 +0000 (0:00:00.041) 0:01:56.270 ****** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/containers", "secontext": "system_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [linux-system-roles.podman : Stat the policy.json file] ******************* task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:15 Tuesday 06 February 2024 01:31:47 +0000 (0:00:00.241) 0:01:56.512 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707183102.7269926, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6746c079ad563b735fc39f73d4876654b80b0a0d", "ctime": 1707183101.7379985, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262501, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "application/json", "mode": "0644", "mtime": 1707183101.5279999, "nlink": 1, "path": "/etc/containers/policy.json", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 67, "uid": 0, "version": "2328777658", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.podman : Get the existing policy.json] **************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:20 Tuesday 06 February 2024 01:31:48 +0000 (0:00:00.222) 0:01:56.734 ****** ok: [sut] => { "changed": false, "content": "ewogICAgImRlZmF1bHQiOiB7CiAgICAgICAgInR5cGUiOiAiaW5zZWN1cmVBY2NlcHRBbnl0aGluZyIKICAgIH0KfQ==", "encoding": "base64", "source": "/etc/containers/policy.json" } TASK [linux-system-roles.podman : Write new policy.json file] ****************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:26 Tuesday 06 February 2024 01:31:48 +0000 (0:00:00.234) 0:01:56.969 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage firewall for specified ports] ************************************* task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:95 Tuesday 06 February 2024 01:31:48 +0000 (0:00:00.025) 0:01:56.994 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage selinux for specified ports] ************************************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:102 Tuesday 06 February 2024 01:31:48 +0000 (0:00:00.019) 0:01:57.013 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Keep track of users that need to cancel linger] *** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:109 Tuesday 06 February 2024 01:31:48 +0000 (0:00:00.019) 0:01:57.033 ****** ok: [sut] => { "ansible_facts": { "__podman_cancel_user_linger": [] }, "changed": false } TASK [linux-system-roles.podman : Handle secrets] ****************************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:113 Tuesday 06 February 2024 01:31:48 +0000 (0:00:00.019) 0:01:57.052 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.podman : Handle Kubernetes specifications] ************ task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:120 Tuesday 06 February 2024 01:31:48 +0000 (0:00:00.020) 0:01:57.073 ****** TASK [linux-system-roles.podman : Handle Quadlet specifications] *************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:126 Tuesday 06 February 2024 01:31:48 +0000 (0:00:00.020) 0:01:57.094 ****** TASK [linux-system-roles.podman : Cancel linger] ******************************* task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:132 Tuesday 06 February 2024 01:31:48 +0000 (0:00:00.019) 0:01:57.113 ****** TASK [Check that files still exist and are non-null] *************************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/tests_config_files.yml:128 Tuesday 06 February 2024 01:31:48 +0000 (0:00:00.019) 0:01:57.133 ****** 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": 1707183102.1139963, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "94370d6e765779f1c58daf02f667b8f0b74d91f6", "ctime": 1707183098.832016, "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": 1707183098.6230173, "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": "683831144", "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": 1707183102.3199952, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "dfb9cd7094a81b3d1bb06512cc9b49a09c75639b", "ctime": 1707183099.658011, "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": 1707183099.4470124, "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": "2321354945", "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": 1707183102.523994, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d08574b6a1df63dbe1c939ff0bcc7c0b61d03044", "ctime": 1707183100.4660063, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262500, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1707183100.2620075, "nlink": 1, "path": "/etc/containers/storage.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 109, "uid": 0, "version": "1674495401", "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": 1707183102.7269926, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6746c079ad563b735fc39f73d4876654b80b0a0d", "ctime": 1707183101.7379985, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262501, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "application/json", "mode": "0644", "mtime": 1707183101.5279999, "nlink": 1, "path": "/etc/containers/policy.json", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 67, "uid": 0, "version": "2328777658", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check for ansible_managed, fingerprint in generated files] *************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/tests_config_files.yml:136 Tuesday 06 February 2024 01:31:49 +0000 (0:00:00.854) 0:01:57.987 ****** included: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/tasks/check_header.yml for sut included: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/tasks/check_header.yml for sut included: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/tasks/check_header.yml for sut included: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/tasks/check_header.yml for sut included: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/tasks/check_header.yml for sut included: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/tasks/check_header.yml for sut TASK [Get file] **************************************************************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/tasks/check_header.yml:3 Tuesday 06 February 2024 01:31:49 +0000 (0:00:00.062) 0:01:58.050 ****** ok: [sut] => { "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6cG9kbWFuCgpbY29udGFpbmVyc10KYW5ub3RhdGlvbnMgPSBbICJlbnZpcm9ubWVudD1wcm9kdWN0aW9uIiwgInN0YXR1cz10aWVyMiIsXQo=", "encoding": "base64", "source": "/home/user1/.config/containers/containers.conf.d/50-systemroles.conf" } TASK [Check for presence of ansible managed header, fingerprint] *************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/tasks/check_header.yml:9 Tuesday 06 February 2024 01:31:49 +0000 (0:00:00.207) 0:01:58.257 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get file] **************************************************************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/tasks/check_header.yml:3 Tuesday 06 February 2024 01:31:49 +0000 (0:00:00.109) 0:01:58.366 ****** ok: [sut] => { "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6cG9kbWFuCgp1bnF1YWxpZmllZC1zZWFyY2gtcmVnaXN0cmllcz1bJ3JlZ2lzdHJ5LTEuZXhhbXBsZS5jb20nLCAncmVnaXN0cnktMi5leGFtcGxlLmNvbSddCmNyZWRlbnRpYWwtaGVscGVycz1bJ2NyZWQtaGVscGVyLTEnLCAnY3JlZC1oZWxwZXItMiddClthbGlhc2VzXQpteXJlZ2lzdHJ5PSJyZWdpc3RyeS5leGFtcGxlLmNvbSIK", "encoding": "base64", "source": "/home/user1/.config/containers/registries.conf.d/50-systemroles.conf" } TASK [Check for presence of ansible managed header, fingerprint] *************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/tasks/check_header.yml:9 Tuesday 06 February 2024 01:31:50 +0000 (0:00:00.205) 0:01:58.572 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get file] **************************************************************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/tasks/check_header.yml:3 Tuesday 06 February 2024 01:31:50 +0000 (0:00:00.061) 0:01:58.633 ****** ok: [sut] => { "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6cG9kbWFuCgpbc3RvcmFnZV0KcnVucm9vdD0iL3RtcCIKZ3JhcGhyb290PSIvdmFyL2xpYi9jb250YWluZXJzL3N0b3JhZ2UiCg==", "encoding": "base64", "source": "/home/user1/.config/containers/storage.conf" } TASK [Check for presence of ansible managed header, fingerprint] *************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/tasks/check_header.yml:9 Tuesday 06 February 2024 01:31:50 +0000 (0:00:00.204) 0:01:58.838 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get file] **************************************************************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/tasks/check_header.yml:3 Tuesday 06 February 2024 01:31:50 +0000 (0:00:00.060) 0:01:58.899 ****** ok: [sut] => { "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6cG9kbWFuCgpbY29udGFpbmVyc10KYW5ub3RhdGlvbnMgPSBbICJlbnZpcm9ubWVudD1wcm9kdWN0aW9uIiwgInN0YXR1cz10aWVyMiIsXQo=", "encoding": "base64", "source": "/etc/containers/containers.conf.d/50-systemroles.conf" } TASK [Check for presence of ansible managed header, fingerprint] *************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/tasks/check_header.yml:9 Tuesday 06 February 2024 01:31:50 +0000 (0:00:00.207) 0:01:59.106 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get file] **************************************************************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/tasks/check_header.yml:3 Tuesday 06 February 2024 01:31:50 +0000 (0:00:00.060) 0:01:59.166 ****** ok: [sut] => { "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6cG9kbWFuCgp1bnF1YWxpZmllZC1zZWFyY2gtcmVnaXN0cmllcz1bJ3JlZ2lzdHJ5LTEuZXhhbXBsZS5jb20nLCAncmVnaXN0cnktMi5leGFtcGxlLmNvbSddCmNyZWRlbnRpYWwtaGVscGVycz1bJ2NyZWQtaGVscGVyLTEnLCAnY3JlZC1oZWxwZXItMiddClthbGlhc2VzXQpteXJlZ2lzdHJ5PSJyZWdpc3RyeS5leGFtcGxlLmNvbSIK", "encoding": "base64", "source": "/etc/containers/registries.conf.d/50-systemroles.conf" } TASK [Check for presence of ansible managed header, fingerprint] *************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/tasks/check_header.yml:9 Tuesday 06 February 2024 01:31:50 +0000 (0:00:00.206) 0:01:59.372 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get file] **************************************************************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/tasks/check_header.yml:3 Tuesday 06 February 2024 01:31:50 +0000 (0:00:00.060) 0:01:59.433 ****** ok: [sut] => { "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6cG9kbWFuCgpbc3RvcmFnZV0KcnVucm9vdD0iL3RtcCIKZ3JhcGhyb290PSIvdmFyL2xpYi9jb250YWluZXJzL3N0b3JhZ2UiCg==", "encoding": "base64", "source": "/etc/containers/storage.conf" } TASK [Check for presence of ansible managed header, fingerprint] *************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/tasks/check_header.yml:9 Tuesday 06 February 2024 01:31:51 +0000 (0:00:00.206) 0:01:59.639 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove test config files] ************************************************ task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/tests_config_files.yml:157 Tuesday 06 February 2024 01:31:51 +0000 (0:00:00.058) 0:01:59.697 ****** changed: [sut] => (item=/etc/containers/containers.conf.d/50-systemroles.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/containers/containers.conf.d/50-systemroles.conf", "path": "/etc/containers/containers.conf.d/50-systemroles.conf", "state": "absent" } changed: [sut] => (item=/etc/containers/registries.conf.d/50-systemroles.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/containers/registries.conf.d/50-systemroles.conf", "path": "/etc/containers/registries.conf.d/50-systemroles.conf", "state": "absent" } changed: [sut] => (item=/etc/containers/storage.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/containers/storage.conf", "path": "/etc/containers/storage.conf", "state": "absent" } changed: [sut] => (item=/etc/containers/policy.json) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/containers/policy.json", "path": "/etc/containers/policy.json", "state": "absent" } changed: [sut] => (item=/home/user1/.config/containers/containers.conf.d/50-systemroles.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/home/user1/.config/containers/containers.conf.d/50-systemroles.conf", "path": "/home/user1/.config/containers/containers.conf.d/50-systemroles.conf", "state": "absent" } changed: [sut] => (item=/home/user1/.config/containers/registries.conf.d/50-systemroles.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/home/user1/.config/containers/registries.conf.d/50-systemroles.conf", "path": "/home/user1/.config/containers/registries.conf.d/50-systemroles.conf", "state": "absent" } changed: [sut] => (item=/home/user1/.config/containers/storage.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/home/user1/.config/containers/storage.conf", "path": "/home/user1/.config/containers/storage.conf", "state": "absent" } changed: [sut] => (item=/home/user1/.config/containers/policy.json) => { "ansible_loop_var": "item", "changed": true, "item": "/home/user1/.config/containers/policy.json", "path": "/home/user1/.config/containers/policy.json", "state": "absent" } TASK [Restore system config files] ********************************************* task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/tests_config_files.yml:163 Tuesday 06 February 2024 01:31:52 +0000 (0:00:01.605) 0:02:01.303 ****** ok: [sut] => { "changed": false, "cmd": [ "tar", "xfvpP", "/tmp/lsr_podman_config_duydktbt/backup.tar" ], "delta": "0:00:00.004026", "end": "2024-02-06 01:31:52.938728", "rc": 0, "start": "2024-02-06 01:31:52.934702" } STDOUT: /etc/containers/policy.json TASK [Remove temp directory] *************************************************** task path: /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/tests_config_files.yml:168 Tuesday 06 February 2024 01:31:52 +0000 (0:00:00.211) 0:02:01.514 ****** changed: [sut] => { "changed": true, "path": "/tmp/lsr_podman_config_duydktbt", "state": "absent" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=157 changed=16 unreachable=0 failed=0 skipped=108 rescued=0 ignored=0 Tuesday 06 February 2024 01:31:53 +0000 (0:00:00.199) 0:02:01.714 ****** =============================================================================== linux-system-roles.podman : Ensure required packages are installed ----- 83.06s /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:14 linux-system-roles.podman : Gather the package facts -------------------- 1.89s /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:6 Gathering Facts --------------------------------------------------------- 1.86s /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/tests_config_files.yml:9 ------- linux-system-roles.podman : Gather the package facts -------------------- 1.85s /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:6 Remove test config files ------------------------------------------------ 1.61s /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/tests_config_files.yml:157 ----- linux-system-roles.podman : Gather the package facts -------------------- 1.03s /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/main.yml:6 Check that files still exist and are non-null --------------------------- 0.85s /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/tests_config_files.yml:128 ----- Check that files still exist and are non-null --------------------------- 0.83s /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/tests_config_files.yml:98 ------ Check that files exist and are non-null --------------------------------- 0.83s /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/tests_config_files.yml:113 ----- Check that files exist and are non-null --------------------------------- 0.82s /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/tests_config_files.yml:83 ------ linux-system-roles.podman : Update container config file ---------------- 0.68s /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 linux-system-roles.podman : Write new policy.json file ------------------ 0.60s /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:26 linux-system-roles.podman : Update storage config file ------------------ 0.60s /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 linux-system-roles.podman : Update registries config file --------------- 0.57s /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 linux-system-roles.podman : Write new policy.json file ------------------ 0.57s /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:26 linux-system-roles.podman : Update registries config file --------------- 0.57s /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 linux-system-roles.podman : Update storage config file ------------------ 0.56s /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 linux-system-roles.podman : Update container config file ---------------- 0.56s /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 linux-system-roles.podman : Update registries config file --------------- 0.56s /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 linux-system-roles.podman : Update container config file ---------------- 0.55s /WORKDIR/git-fix-linger-handlingb3qnkijs/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the unarchive module rather than running 'tar'. If you need to use command because unarchive is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---