# 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-handlingebbfoxic/tests/tests_config_files.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Include vault variables] ************************************************* task path: /WORKDIR/git-fix-linger-handlingebbfoxic/tests/tests_config_files.yml:4 Wednesday 07 February 2024 22:54:16 +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-handlingebbfoxic/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-handlingebbfoxic/tests/tests_config_files.yml:9 Wednesday 07 February 2024 22:54:16 +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-handlingebbfoxic/tests/tests_config_files.yml:48 Wednesday 07 February 2024 22:54:19 +0000 (0:00:02.374) 0:00:02.397 **** TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-fix-linger-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:3 Wednesday 07 February 2024 22:54:19 +0000 (0:00:00.084) 0:00:02.482 **** included: /WORKDIR/git-fix-linger-handlingebbfoxic/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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:3 Wednesday 07 February 2024 22:54:19 +0000 (0:00:00.013) 0:00:02.496 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:12 Wednesday 07 February 2024 22:54:19 +0000 (0:00:00.018) 0:00:02.514 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:17 Wednesday 07 February 2024 22:54:19 +0000 (0:00:00.254) 0:00:02.768 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:21 Wednesday 07 February 2024 22:54:19 +0000 (0:00:00.019) 0:00:02.787 **** ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__podman_packages": [ "podman", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-fix-linger-handlingebbfoxic/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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:6 Wednesday 07 February 2024 22:54:19 +0000 (0:00:00.030) 0:00:02.817 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:10 Wednesday 07 February 2024 22:54:20 +0000 (0:00:01.029) 0:00:03.847 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:14 Wednesday 07 February 2024 22:54:20 +0000 (0:00:00.027) 0:00:03.874 **** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: catatonit-0.1.7-14.fc38.x86_64", "Installed: podman-5:4.8.3-1.fc38.x86_64", "Installed: criu-3.18-1.fc38.x86_64", "Installed: criu-libs-3.18-1.fc38.x86_64", "Installed: netavark-1.9.0-1.fc38.x86_64", "Installed: slirp4netns-1.2.2-1.fc38.x86_64", "Installed: conmon-2:2.1.8-2.fc38.x86_64", "Installed: libnet-1.3-1.fc38.x86_64", "Installed: container-selinux-2:2.228.1-1.fc38.noarch", "Installed: crun-1.12-1.fc38.x86_64", "Installed: containers-common-4:1-89.fc38.noarch", "Installed: containers-common-extra-4:1-89.fc38.noarch", "Installed: qemu-user-static-2:7.2.7-1.fc38.x86_64", "Installed: qemu-user-static-aarch64-2:7.2.7-1.fc38.x86_64", "Installed: qemu-user-static-alpha-2:7.2.7-1.fc38.x86_64", "Installed: qemu-user-static-arm-2:7.2.7-1.fc38.x86_64", "Installed: passt-0^20231230.gf091893-1.fc38.x86_64", "Installed: passt-selinux-0^20231230.gf091893-1.fc38.noarch", "Installed: qemu-user-static-cris-2:7.2.7-1.fc38.x86_64", "Installed: qemu-user-static-hexagon-2:7.2.7-1.fc38.x86_64", "Installed: qemu-user-static-hppa-2:7.2.7-1.fc38.x86_64", "Installed: qemu-user-static-loongarch64-2:7.2.7-1.fc38.x86_64", "Installed: qemu-user-static-m68k-2:7.2.7-1.fc38.x86_64", "Installed: qemu-user-static-microblaze-2:7.2.7-1.fc38.x86_64", "Installed: qemu-user-static-mips-2:7.2.7-1.fc38.x86_64", "Installed: qemu-user-static-nios2-2:7.2.7-1.fc38.x86_64", "Installed: qemu-user-static-or1k-2:7.2.7-1.fc38.x86_64", "Installed: qemu-user-static-ppc-2:7.2.7-1.fc38.x86_64", "Installed: qemu-user-static-riscv-2:7.2.7-1.fc38.x86_64", "Installed: qemu-user-static-s390x-2:7.2.7-1.fc38.x86_64", "Installed: libslirp-4.7.0-3.fc38.x86_64", "Installed: aardvark-dns-1.9.0-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: shadow-utils-subid-2:4.13-6.fc38.x86_64", "Installed: libbsd-0.11.7-4.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: yajl-2.1.0-21.fc38.x86_64", "Installed: fuse-common-3.14.1-1.fc38.x86_64", "Installed: fuse-overlayfs-1.12-1.fc38.x86_64", "Installed: fuse3-3.14.1-1.fc38.x86_64", "Installed: fuse3-libs-3.14.1-1.fc38.x86_64", "Installed: gvisor-tap-vsock-6:0.7.2-1.fc38.x86_64", "Installed: gvisor-tap-vsock-gvforwarder-6:0.7.2-1.fc38.x86_64", "Installed: libmd-1.1.0-1.fc38.x86_64" ] } TASK [linux-system-roles.podman : Get podman version] ************************** task path: /WORKDIR/git-fix-linger-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:23 Wednesday 07 February 2024 22:55:42 +0000 (0:01:21.353) 0:01:25.228 **** ok: [sut] => { "changed": false, "cmd": [ "podman", "--version" ], "delta": "0:00:00.039536", "end": "2024-02-07 22:55:42.494895", "rc": 0, "start": "2024-02-07 22:55:42.455359" } STDOUT: podman version 4.8.3 TASK [linux-system-roles.podman : Set podman version] ************************** task path: /WORKDIR/git-fix-linger-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:28 Wednesday 07 February 2024 22:55:42 +0000 (0:00:00.366) 0:01:25.595 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:32 Wednesday 07 February 2024 22:55:42 +0000 (0:00:00.028) 0:01:25.623 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:39 Wednesday 07 February 2024 22:55:42 +0000 (0:00:00.046) 0:01:25.669 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:56 Wednesday 07 February 2024 22:55:42 +0000 (0:00:00.048) 0:01:25.717 **** included: /WORKDIR/git-fix-linger-handlingebbfoxic/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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:2 Wednesday 07 February 2024 22:55:42 +0000 (0:00:00.034) 0:01:25.752 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:10 Wednesday 07 February 2024 22:55:42 +0000 (0:00:00.265) 0:01:26.017 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:17 Wednesday 07 February 2024 22:55:42 +0000 (0:00:00.022) 0:01:26.040 **** ok: [sut] => { "ansible_facts": { "__podman_group": "0" }, "changed": false } TASK [linux-system-roles.podman : Get group information] *********************** task path: /WORKDIR/git-fix-linger-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:28 Wednesday 07 February 2024 22:55:42 +0000 (0:00:00.024) 0:01:26.064 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:36 Wednesday 07 February 2024 22:55:43 +0000 (0:00:00.215) 0:01:26.280 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:41 Wednesday 07 February 2024 22:55:43 +0000 (0:00:00.023) 0:01:26.303 **** ok: [sut] => { "changed": false, "stat": { "atime": 1678060800.0, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 32, "charset": "binary", "checksum": "02bd4fbb1af303bd528684f8839db549767ee321", "ctime": 1707346504.9473982, "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": "2806503486", "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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:52 Wednesday 07 February 2024 22:55:43 +0000 (0:00:00.214) 0:01:26.518 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:56 Wednesday 07 February 2024 22:55:43 +0000 (0:00:00.018) 0:01:26.536 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:66 Wednesday 07 February 2024 22:55:43 +0000 (0:00:00.019) 0:01:26.556 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:74 Wednesday 07 February 2024 22:55:43 +0000 (0:00:00.017) 0:01:26.573 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:81 Wednesday 07 February 2024 22:55:43 +0000 (0:00:00.017) 0:01:26.591 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:89 Wednesday 07 February 2024 22:55:43 +0000 (0:00:00.017) 0:01:26.609 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:62 Wednesday 07 February 2024 22:55:43 +0000 (0:00:00.036) 0:01:26.646 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:80 Wednesday 07 February 2024 22:55:43 +0000 (0:00:00.040) 0:01:26.686 **** included: /WORKDIR/git-fix-linger-handlingebbfoxic/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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:5 Wednesday 07 February 2024 22:55:43 +0000 (0:00:00.035) 0:01:26.722 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 Wednesday 07 February 2024 22:55:43 +0000 (0:00:00.020) 0:01:26.742 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:83 Wednesday 07 February 2024 22:55:43 +0000 (0:00:00.019) 0:01:26.761 **** included: /WORKDIR/git-fix-linger-handlingebbfoxic/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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:5 Wednesday 07 February 2024 22:55:43 +0000 (0:00:00.035) 0:01:26.797 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 Wednesday 07 February 2024 22:55:43 +0000 (0:00:00.019) 0:01:26.816 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Handle storage.conf] ************************* task path: /WORKDIR/git-fix-linger-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:86 Wednesday 07 February 2024 22:55:43 +0000 (0:00:00.017) 0:01:26.834 **** included: /WORKDIR/git-fix-linger-handlingebbfoxic/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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:5 Wednesday 07 February 2024 22:55:43 +0000 (0:00:00.034) 0:01:26.869 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 Wednesday 07 February 2024 22:55:43 +0000 (0:00:00.017) 0:01:26.887 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Handle policy.json] ************************** task path: /WORKDIR/git-fix-linger-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:89 Wednesday 07 February 2024 22:55:43 +0000 (0:00:00.017) 0:01:26.904 **** included: /WORKDIR/git-fix-linger-handlingebbfoxic/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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:6 Wednesday 07 February 2024 22:55:43 +0000 (0:00:00.035) 0:01:26.940 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:15 Wednesday 07 February 2024 22:55:43 +0000 (0:00:00.017) 0:01:26.958 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:20 Wednesday 07 February 2024 22:55:43 +0000 (0:00:00.017) 0:01:26.975 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:26 Wednesday 07 February 2024 22:55:43 +0000 (0:00:00.040) 0:01:27.016 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage firewall for specified ports] ************************************* task path: /WORKDIR/git-fix-linger-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:95 Wednesday 07 February 2024 22:55:43 +0000 (0:00:00.019) 0:01:27.036 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage selinux for specified ports] ************************************** task path: /WORKDIR/git-fix-linger-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:102 Wednesday 07 February 2024 22:55:43 +0000 (0:00:00.019) 0:01:27.055 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:109 Wednesday 07 February 2024 22:55:44 +0000 (0:00:00.019) 0:01:27.075 **** ok: [sut] => { "ansible_facts": { "__podman_cancel_user_linger": [] }, "changed": false } TASK [linux-system-roles.podman : Handle secrets] ****************************** task path: /WORKDIR/git-fix-linger-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:113 Wednesday 07 February 2024 22:55:44 +0000 (0:00:00.018) 0:01:27.093 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:120 Wednesday 07 February 2024 22:55:44 +0000 (0:00:00.017) 0:01:27.110 **** TASK [linux-system-roles.podman : Handle Quadlet specifications] *************** task path: /WORKDIR/git-fix-linger-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:126 Wednesday 07 February 2024 22:55:44 +0000 (0:00:00.017) 0:01:27.127 **** TASK [linux-system-roles.podman : Cancel linger] ******************************* task path: /WORKDIR/git-fix-linger-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:132 Wednesday 07 February 2024 22:55:44 +0000 (0:00:00.016) 0:01:27.143 **** TASK [Create temp directory] *************************************************** task path: /WORKDIR/git-fix-linger-handlingebbfoxic/tests/tests_config_files.yml:59 Wednesday 07 February 2024 22:55:44 +0000 (0:00:00.016) 0:01:27.160 **** changed: [sut] => { "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/lsr_podman_config_qrfjakz5", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 40, "state": "directory", "uid": 0 } TASK [Create backup] *********************************************************** task path: /WORKDIR/git-fix-linger-handlingebbfoxic/tests/tests_config_files.yml:65 Wednesday 07 February 2024 22:55:44 +0000 (0:00:00.278) 0:01:27.438 **** ok: [sut] => { "changed": false, "cmd": [ "tar", "--ignore-failed-read", "-c", "-P", "-v", "-p", "-f", "/tmp/lsr_podman_config_qrfjakz5/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.057652", "end": "2024-02-07 22:55:44.609689", "rc": 0, "start": "2024-02-07 22:55:44.552037" } 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-handlingebbfoxic/tests/tests_config_files.yml:72 Wednesday 07 February 2024 22:55:44 +0000 (0:00:00.267) 0:01:27.706 **** 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-handlingebbfoxic/tests/tests_config_files.yml:76 Wednesday 07 February 2024 22:55:45 +0000 (0:00:00.458) 0:01:28.165 **** TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-fix-linger-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:3 Wednesday 07 February 2024 22:55:45 +0000 (0:00:00.042) 0:01:28.207 **** included: /WORKDIR/git-fix-linger-handlingebbfoxic/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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:3 Wednesday 07 February 2024 22:55:45 +0000 (0:00:00.053) 0:01:28.261 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:12 Wednesday 07 February 2024 22:55:45 +0000 (0:00:00.023) 0:01:28.284 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:17 Wednesday 07 February 2024 22:55:45 +0000 (0:00:00.018) 0:01:28.302 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:21 Wednesday 07 February 2024 22:55:45 +0000 (0:00:00.018) 0:01:28.320 **** ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__podman_packages": [ "podman", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-fix-linger-handlingebbfoxic/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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:6 Wednesday 07 February 2024 22:55:45 +0000 (0:00:00.045) 0:01:28.366 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:10 Wednesday 07 February 2024 22:55:46 +0000 (0:00:00.939) 0:01:29.306 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:14 Wednesday 07 February 2024 22:55:46 +0000 (0:00:00.019) 0:01:29.325 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Get podman version] ************************** task path: /WORKDIR/git-fix-linger-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:23 Wednesday 07 February 2024 22:55:46 +0000 (0:00:00.023) 0:01:29.349 **** ok: [sut] => { "changed": false, "cmd": [ "podman", "--version" ], "delta": "0:00:00.034420", "end": "2024-02-07 22:55:46.495520", "rc": 0, "start": "2024-02-07 22:55:46.461100" } STDOUT: podman version 4.8.3 TASK [linux-system-roles.podman : Set podman version] ************************** task path: /WORKDIR/git-fix-linger-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:28 Wednesday 07 February 2024 22:55:46 +0000 (0:00:00.245) 0:01:29.595 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:32 Wednesday 07 February 2024 22:55:46 +0000 (0:00:00.042) 0:01:29.638 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:39 Wednesday 07 February 2024 22:55:46 +0000 (0:00:00.020) 0:01:29.658 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:56 Wednesday 07 February 2024 22:55:46 +0000 (0:00:00.034) 0:01:29.693 **** included: /WORKDIR/git-fix-linger-handlingebbfoxic/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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:2 Wednesday 07 February 2024 22:55:46 +0000 (0:00:00.037) 0:01:29.730 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:10 Wednesday 07 February 2024 22:55:46 +0000 (0:00:00.224) 0:01:29.954 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:17 Wednesday 07 February 2024 22:55:46 +0000 (0:00:00.024) 0:01:29.979 **** ok: [sut] => { "ansible_facts": { "__podman_group": "1001" }, "changed": false } TASK [linux-system-roles.podman : Get group information] *********************** task path: /WORKDIR/git-fix-linger-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:28 Wednesday 07 February 2024 22:55:46 +0000 (0:00:00.024) 0:01:30.004 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:36 Wednesday 07 February 2024 22:55:47 +0000 (0:00:00.216) 0:01:30.221 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:41 Wednesday 07 February 2024 22:55:47 +0000 (0:00:00.025) 0:01:30.247 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707346543.4129884, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 32, "charset": "binary", "checksum": "02bd4fbb1af303bd528684f8839db549767ee321", "ctime": 1707346504.9473982, "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": "2806503486", "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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:52 Wednesday 07 February 2024 22:55:47 +0000 (0:00:00.219) 0:01:30.466 **** ok: [sut] => { "changed": false, "cmd": [ "getsubids", "user1" ], "delta": "0:00:00.004632", "end": "2024-02-07 22:55:47.587069", "rc": 0, "start": "2024-02-07 22:55:47.582437" } STDOUT: 0: user1 589824 65536 TASK [linux-system-roles.podman : Check group with getsubids] ****************** task path: /WORKDIR/git-fix-linger-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:56 Wednesday 07 February 2024 22:55:47 +0000 (0:00:00.220) 0:01:30.686 **** ok: [sut] => { "changed": false, "cmd": [ "getsubids", "-g", "user1" ], "delta": "0:00:00.004581", "end": "2024-02-07 22:55:47.805591", "rc": 0, "start": "2024-02-07 22:55:47.801010" } STDOUT: 0: user1 589824 65536 TASK [linux-system-roles.podman : Check if user is in subuid file] ************* task path: /WORKDIR/git-fix-linger-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:66 Wednesday 07 February 2024 22:55:47 +0000 (0:00:00.217) 0:01:30.904 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:74 Wednesday 07 February 2024 22:55:47 +0000 (0:00:00.042) 0:01:30.947 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:81 Wednesday 07 February 2024 22:55:47 +0000 (0:00:00.024) 0:01:30.971 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:89 Wednesday 07 February 2024 22:55:47 +0000 (0:00:00.019) 0:01:30.990 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:62 Wednesday 07 February 2024 22:55:47 +0000 (0:00:00.020) 0:01:31.011 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:80 Wednesday 07 February 2024 22:55:47 +0000 (0:00:00.041) 0:01:31.053 **** included: /WORKDIR/git-fix-linger-handlingebbfoxic/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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:5 Wednesday 07 February 2024 22:55:48 +0000 (0:00:00.037) 0:01:31.091 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 Wednesday 07 February 2024 22:55:48 +0000 (0:00:00.308) 0:01:31.400 **** 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-1707346548.37047-2742-29375906862151/source", "state": "file", "uid": 1001 } TASK [linux-system-roles.podman : Handle registries.conf.d] ******************** task path: /WORKDIR/git-fix-linger-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:83 Wednesday 07 February 2024 22:55:48 +0000 (0:00:00.645) 0:01:32.045 **** included: /WORKDIR/git-fix-linger-handlingebbfoxic/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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:5 Wednesday 07 February 2024 22:55:49 +0000 (0:00:00.042) 0:01:32.088 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 Wednesday 07 February 2024 22:55:49 +0000 (0:00:00.218) 0:01:32.307 **** 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-1707346549.277108-2757-146398256874373/source", "state": "file", "uid": 1001 } TASK [linux-system-roles.podman : Handle storage.conf] ************************* task path: /WORKDIR/git-fix-linger-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:86 Wednesday 07 February 2024 22:55:49 +0000 (0:00:00.558) 0:01:32.865 **** included: /WORKDIR/git-fix-linger-handlingebbfoxic/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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:5 Wednesday 07 February 2024 22:55:49 +0000 (0:00:00.037) 0:01:32.902 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 Wednesday 07 February 2024 22:55:50 +0000 (0:00:00.221) 0:01:33.124 **** 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-1707346550.0952945-2772-278865715865794/source", "state": "file", "uid": 1001 } TASK [linux-system-roles.podman : Handle policy.json] ************************** task path: /WORKDIR/git-fix-linger-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:89 Wednesday 07 February 2024 22:55:50 +0000 (0:00:00.564) 0:01:33.688 **** included: /WORKDIR/git-fix-linger-handlingebbfoxic/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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:6 Wednesday 07 February 2024 22:55:50 +0000 (0:00:00.039) 0:01:33.728 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:15 Wednesday 07 February 2024 22:55:50 +0000 (0:00:00.222) 0:01:33.950 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.podman : Get the existing policy.json] **************** task path: /WORKDIR/git-fix-linger-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:20 Wednesday 07 February 2024 22:55:51 +0000 (0:00:00.209) 0:01:34.160 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:26 Wednesday 07 February 2024 22:55:51 +0000 (0:00:00.021) 0:01:34.181 **** 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-1707346551.1567128-2792-204658463286920/source", "state": "file", "uid": 1001 } TASK [Manage firewall for specified ports] ************************************* task path: /WORKDIR/git-fix-linger-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:95 Wednesday 07 February 2024 22:55:51 +0000 (0:00:00.566) 0:01:34.748 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage selinux for specified ports] ************************************** task path: /WORKDIR/git-fix-linger-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:102 Wednesday 07 February 2024 22:55:51 +0000 (0:00:00.020) 0:01:34.768 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Keep track of users that need to cancel linger] *** task path: /WORKDIR/git-fix-linger-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:109 Wednesday 07 February 2024 22:55:51 +0000 (0:00:00.019) 0:01:34.788 **** ok: [sut] => { "ansible_facts": { "__podman_cancel_user_linger": [] }, "changed": false } TASK [linux-system-roles.podman : Handle secrets] ****************************** task path: /WORKDIR/git-fix-linger-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:113 Wednesday 07 February 2024 22:55:51 +0000 (0:00:00.018) 0:01:34.806 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:120 Wednesday 07 February 2024 22:55:51 +0000 (0:00:00.018) 0:01:34.824 **** TASK [linux-system-roles.podman : Handle Quadlet specifications] *************** task path: /WORKDIR/git-fix-linger-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:126 Wednesday 07 February 2024 22:55:51 +0000 (0:00:00.025) 0:01:34.850 **** TASK [linux-system-roles.podman : Cancel linger] ******************************* task path: /WORKDIR/git-fix-linger-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:132 Wednesday 07 February 2024 22:55:51 +0000 (0:00:00.019) 0:01:34.869 **** TASK [Check that files exist and are non-null] ********************************* task path: /WORKDIR/git-fix-linger-handlingebbfoxic/tests/tests_config_files.yml:83 Wednesday 07 February 2024 22:55:51 +0000 (0:00:00.019) 0:01:34.888 **** 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": 1707346548.9157867, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "94370d6e765779f1c58daf02f667b8f0b74d91f6", "ctime": 1707346548.9197867, "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": 1707346548.6287973, "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": "4071751160", "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": 1707346549.7367568, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "dfb9cd7094a81b3d1bb06512cc9b49a09c75639b", "ctime": 1707346549.7407565, "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": 1707346549.5327642, "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": "1445485735", "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": 1707346550.5587265, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d08574b6a1df63dbe1c939ff0bcc7c0b61d03044", "ctime": 1707346550.5617266, "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": 1707346550.3547342, "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": "2067687793", "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": 1707346551.6196878, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6746c079ad563b735fc39f73d4876654b80b0a0d", "ctime": 1707346551.6236875, "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": 1707346551.4146953, "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": "4220913075", "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-handlingebbfoxic/tests/tests_config_files.yml:91 Wednesday 07 February 2024 22:55:52 +0000 (0:00:00.839) 0:01:35.728 **** TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-fix-linger-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:3 Wednesday 07 February 2024 22:55:52 +0000 (0:00:00.043) 0:01:35.771 **** included: /WORKDIR/git-fix-linger-handlingebbfoxic/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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:3 Wednesday 07 February 2024 22:55:52 +0000 (0:00:00.033) 0:01:35.804 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:12 Wednesday 07 February 2024 22:55:52 +0000 (0:00:00.057) 0:01:35.862 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:17 Wednesday 07 February 2024 22:55:52 +0000 (0:00:00.020) 0:01:35.882 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:21 Wednesday 07 February 2024 22:55:52 +0000 (0:00:00.019) 0:01:35.901 **** ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__podman_packages": [ "podman", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-fix-linger-handlingebbfoxic/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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:6 Wednesday 07 February 2024 22:55:52 +0000 (0:00:00.047) 0:01:35.949 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:10 Wednesday 07 February 2024 22:55:53 +0000 (0:00:00.931) 0:01:36.880 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:14 Wednesday 07 February 2024 22:55:53 +0000 (0:00:00.047) 0:01:36.927 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Get podman version] ************************** task path: /WORKDIR/git-fix-linger-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:23 Wednesday 07 February 2024 22:55:53 +0000 (0:00:00.075) 0:01:37.002 **** ok: [sut] => { "changed": false, "cmd": [ "podman", "--version" ], "delta": "0:00:00.034035", "end": "2024-02-07 22:55:54.162474", "rc": 0, "start": "2024-02-07 22:55:54.128439" } STDOUT: podman version 4.8.3 TASK [linux-system-roles.podman : Set podman version] ************************** task path: /WORKDIR/git-fix-linger-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:28 Wednesday 07 February 2024 22:55:54 +0000 (0:00:00.259) 0:01:37.261 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:32 Wednesday 07 February 2024 22:55:54 +0000 (0:00:00.028) 0:01:37.290 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:39 Wednesday 07 February 2024 22:55:54 +0000 (0:00:00.110) 0:01:37.400 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:56 Wednesday 07 February 2024 22:55:54 +0000 (0:00:00.127) 0:01:37.527 **** included: /WORKDIR/git-fix-linger-handlingebbfoxic/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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:2 Wednesday 07 February 2024 22:55:54 +0000 (0:00:00.067) 0:01:37.595 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:10 Wednesday 07 February 2024 22:55:54 +0000 (0:00:00.037) 0:01:37.633 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:17 Wednesday 07 February 2024 22:55:54 +0000 (0:00:00.045) 0:01:37.679 **** ok: [sut] => { "ansible_facts": { "__podman_group": "1001" }, "changed": false } TASK [linux-system-roles.podman : Get group information] *********************** task path: /WORKDIR/git-fix-linger-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:28 Wednesday 07 February 2024 22:55:54 +0000 (0:00:00.105) 0:01:37.784 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:36 Wednesday 07 February 2024 22:55:54 +0000 (0:00:00.265) 0:01:38.050 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:41 Wednesday 07 February 2024 22:55:55 +0000 (0:00:00.048) 0:01:38.098 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707346543.4129884, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 32, "charset": "binary", "checksum": "02bd4fbb1af303bd528684f8839db549767ee321", "ctime": 1707346504.9473982, "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": "2806503486", "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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:52 Wednesday 07 February 2024 22:55:55 +0000 (0:00:00.291) 0:01:38.389 **** ok: [sut] => { "changed": false, "cmd": [ "getsubids", "user1" ], "delta": "0:00:00.004550", "end": "2024-02-07 22:55:55.557842", "rc": 0, "start": "2024-02-07 22:55:55.553292" } STDOUT: 0: user1 589824 65536 TASK [linux-system-roles.podman : Check group with getsubids] ****************** task path: /WORKDIR/git-fix-linger-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:56 Wednesday 07 February 2024 22:55:55 +0000 (0:00:00.282) 0:01:38.672 **** ok: [sut] => { "changed": false, "cmd": [ "getsubids", "-g", "user1" ], "delta": "0:00:00.004604", "end": "2024-02-07 22:55:55.808948", "rc": 0, "start": "2024-02-07 22:55:55.804344" } STDOUT: 0: user1 589824 65536 TASK [linux-system-roles.podman : Check if user is in subuid file] ************* task path: /WORKDIR/git-fix-linger-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:66 Wednesday 07 February 2024 22:55:55 +0000 (0:00:00.241) 0:01:38.913 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:74 Wednesday 07 February 2024 22:55:55 +0000 (0:00:00.045) 0:01:38.959 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:81 Wednesday 07 February 2024 22:55:55 +0000 (0:00:00.040) 0:01:39.000 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:89 Wednesday 07 February 2024 22:55:55 +0000 (0:00:00.034) 0:01:39.034 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:62 Wednesday 07 February 2024 22:55:55 +0000 (0:00:00.025) 0:01:39.059 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:80 Wednesday 07 February 2024 22:55:56 +0000 (0:00:00.093) 0:01:39.153 **** included: /WORKDIR/git-fix-linger-handlingebbfoxic/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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:5 Wednesday 07 February 2024 22:55:56 +0000 (0:00:00.145) 0:01:39.298 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 Wednesday 07 February 2024 22:55:56 +0000 (0:00:00.378) 0:01:39.677 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:83 Wednesday 07 February 2024 22:55:57 +0000 (0:00:00.640) 0:01:40.317 **** included: /WORKDIR/git-fix-linger-handlingebbfoxic/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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:5 Wednesday 07 February 2024 22:55:57 +0000 (0:00:00.060) 0:01:40.378 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 Wednesday 07 February 2024 22:55:57 +0000 (0:00:00.230) 0:01:40.608 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:86 Wednesday 07 February 2024 22:55:58 +0000 (0:00:00.530) 0:01:41.139 **** included: /WORKDIR/git-fix-linger-handlingebbfoxic/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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:5 Wednesday 07 February 2024 22:55:58 +0000 (0:00:00.039) 0:01:41.179 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 Wednesday 07 February 2024 22:55:58 +0000 (0:00:00.227) 0:01:41.407 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:89 Wednesday 07 February 2024 22:55:58 +0000 (0:00:00.578) 0:01:41.985 **** included: /WORKDIR/git-fix-linger-handlingebbfoxic/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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:6 Wednesday 07 February 2024 22:55:58 +0000 (0:00:00.047) 0:01:42.033 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:15 Wednesday 07 February 2024 22:55:59 +0000 (0:00:00.224) 0:01:42.258 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707346552.6176512, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6746c079ad563b735fc39f73d4876654b80b0a0d", "ctime": 1707346551.6236875, "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": 1707346551.4146953, "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": "4220913075", "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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:20 Wednesday 07 February 2024 22:55:59 +0000 (0:00:00.249) 0:01:42.507 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:26 Wednesday 07 February 2024 22:55:59 +0000 (0:00:00.272) 0:01:42.779 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage firewall for specified ports] ************************************* task path: /WORKDIR/git-fix-linger-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:95 Wednesday 07 February 2024 22:55:59 +0000 (0:00:00.024) 0:01:42.803 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage selinux for specified ports] ************************************** task path: /WORKDIR/git-fix-linger-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:102 Wednesday 07 February 2024 22:55:59 +0000 (0:00:00.035) 0:01:42.839 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:109 Wednesday 07 February 2024 22:55:59 +0000 (0:00:00.027) 0:01:42.867 **** ok: [sut] => { "ansible_facts": { "__podman_cancel_user_linger": [] }, "changed": false } TASK [linux-system-roles.podman : Handle secrets] ****************************** task path: /WORKDIR/git-fix-linger-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:113 Wednesday 07 February 2024 22:55:59 +0000 (0:00:00.020) 0:01:42.887 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:120 Wednesday 07 February 2024 22:55:59 +0000 (0:00:00.018) 0:01:42.905 **** TASK [linux-system-roles.podman : Handle Quadlet specifications] *************** task path: /WORKDIR/git-fix-linger-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:126 Wednesday 07 February 2024 22:55:59 +0000 (0:00:00.018) 0:01:42.924 **** TASK [linux-system-roles.podman : Cancel linger] ******************************* task path: /WORKDIR/git-fix-linger-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:132 Wednesday 07 February 2024 22:55:59 +0000 (0:00:00.020) 0:01:42.945 **** TASK [Check that files still exist and are non-null] *************************** task path: /WORKDIR/git-fix-linger-handlingebbfoxic/tests/tests_config_files.yml:98 Wednesday 07 February 2024 22:55:59 +0000 (0:00:00.021) 0:01:42.966 **** 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": 1707346552.0026736, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "94370d6e765779f1c58daf02f667b8f0b74d91f6", "ctime": 1707346548.9197867, "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": 1707346548.6287973, "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": "4071751160", "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": 1707346552.2076662, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "dfb9cd7094a81b3d1bb06512cc9b49a09c75639b", "ctime": 1707346549.7407565, "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": 1707346549.5327642, "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": "1445485735", "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": 1707346552.4126587, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d08574b6a1df63dbe1c939ff0bcc7c0b61d03044", "ctime": 1707346550.5617266, "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": 1707346550.3547342, "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": "2067687793", "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": 1707346552.6176512, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6746c079ad563b735fc39f73d4876654b80b0a0d", "ctime": 1707346551.6236875, "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": 1707346551.4146953, "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": "4220913075", "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-handlingebbfoxic/tests/tests_config_files.yml:106 Wednesday 07 February 2024 22:56:00 +0000 (0:00:00.859) 0:01:43.826 **** TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-fix-linger-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:3 Wednesday 07 February 2024 22:56:00 +0000 (0:00:00.066) 0:01:43.892 **** included: /WORKDIR/git-fix-linger-handlingebbfoxic/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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:3 Wednesday 07 February 2024 22:56:00 +0000 (0:00:00.035) 0:01:43.928 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:12 Wednesday 07 February 2024 22:56:00 +0000 (0:00:00.025) 0:01:43.953 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:17 Wednesday 07 February 2024 22:56:00 +0000 (0:00:00.021) 0:01:43.974 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:21 Wednesday 07 February 2024 22:56:00 +0000 (0:00:00.030) 0:01:44.005 **** ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__podman_packages": [ "podman", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-fix-linger-handlingebbfoxic/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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:6 Wednesday 07 February 2024 22:56:01 +0000 (0:00:00.080) 0:01:44.085 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:10 Wednesday 07 February 2024 22:56:01 +0000 (0:00:00.950) 0:01:45.035 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:14 Wednesday 07 February 2024 22:56:02 +0000 (0:00:00.055) 0:01:45.091 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Get podman version] ************************** task path: /WORKDIR/git-fix-linger-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:23 Wednesday 07 February 2024 22:56:02 +0000 (0:00:00.025) 0:01:45.117 **** ok: [sut] => { "changed": false, "cmd": [ "podman", "--version" ], "delta": "0:00:00.033037", "end": "2024-02-07 22:56:02.264674", "rc": 0, "start": "2024-02-07 22:56:02.231637" } STDOUT: podman version 4.8.3 TASK [linux-system-roles.podman : Set podman version] ************************** task path: /WORKDIR/git-fix-linger-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:28 Wednesday 07 February 2024 22:56:02 +0000 (0:00:00.269) 0:01:45.386 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:32 Wednesday 07 February 2024 22:56:02 +0000 (0:00:00.026) 0:01:45.413 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:39 Wednesday 07 February 2024 22:56:02 +0000 (0:00:00.031) 0:01:45.444 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:56 Wednesday 07 February 2024 22:56:02 +0000 (0:00:00.050) 0:01:45.495 **** included: /WORKDIR/git-fix-linger-handlingebbfoxic/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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:2 Wednesday 07 February 2024 22:56:02 +0000 (0:00:00.047) 0:01:45.543 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:10 Wednesday 07 February 2024 22:56:02 +0000 (0:00:00.264) 0:01:45.807 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:17 Wednesday 07 February 2024 22:56:02 +0000 (0:00:00.042) 0:01:45.849 **** ok: [sut] => { "ansible_facts": { "__podman_group": "0" }, "changed": false } TASK [linux-system-roles.podman : Get group information] *********************** task path: /WORKDIR/git-fix-linger-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:28 Wednesday 07 February 2024 22:56:02 +0000 (0:00:00.073) 0:01:45.923 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:36 Wednesday 07 February 2024 22:56:03 +0000 (0:00:00.242) 0:01:46.165 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:41 Wednesday 07 February 2024 22:56:03 +0000 (0:00:00.029) 0:01:46.195 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707346543.4129884, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 32, "charset": "binary", "checksum": "02bd4fbb1af303bd528684f8839db549767ee321", "ctime": 1707346504.9473982, "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": "2806503486", "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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:52 Wednesday 07 February 2024 22:56:03 +0000 (0:00:00.248) 0:01:46.444 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:56 Wednesday 07 February 2024 22:56:03 +0000 (0:00:00.033) 0:01:46.477 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:66 Wednesday 07 February 2024 22:56:03 +0000 (0:00:00.051) 0:01:46.529 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:74 Wednesday 07 February 2024 22:56:03 +0000 (0:00:00.024) 0:01:46.553 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:81 Wednesday 07 February 2024 22:56:03 +0000 (0:00:00.034) 0:01:46.588 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:89 Wednesday 07 February 2024 22:56:03 +0000 (0:00:00.032) 0:01:46.621 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:62 Wednesday 07 February 2024 22:56:03 +0000 (0:00:00.025) 0:01:46.646 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:80 Wednesday 07 February 2024 22:56:03 +0000 (0:00:00.045) 0:01:46.692 **** included: /WORKDIR/git-fix-linger-handlingebbfoxic/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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:5 Wednesday 07 February 2024 22:56:03 +0000 (0:00:00.067) 0:01:46.759 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 Wednesday 07 February 2024 22:56:03 +0000 (0:00:00.252) 0:01:47.012 **** 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-1707346563.990512-3116-18181156392300/source", "state": "file", "uid": 0 } TASK [linux-system-roles.podman : Handle registries.conf.d] ******************** task path: /WORKDIR/git-fix-linger-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:83 Wednesday 07 February 2024 22:56:04 +0000 (0:00:00.594) 0:01:47.607 **** included: /WORKDIR/git-fix-linger-handlingebbfoxic/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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:5 Wednesday 07 February 2024 22:56:04 +0000 (0:00:00.037) 0:01:47.644 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 Wednesday 07 February 2024 22:56:04 +0000 (0:00:00.235) 0:01:47.879 **** 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-1707346564.8519495-3131-62575625771270/source", "state": "file", "uid": 0 } TASK [linux-system-roles.podman : Handle storage.conf] ************************* task path: /WORKDIR/git-fix-linger-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:86 Wednesday 07 February 2024 22:56:05 +0000 (0:00:00.626) 0:01:48.506 **** included: /WORKDIR/git-fix-linger-handlingebbfoxic/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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:5 Wednesday 07 February 2024 22:56:05 +0000 (0:00:00.060) 0:01:48.566 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 Wednesday 07 February 2024 22:56:05 +0000 (0:00:00.232) 0:01:48.798 **** 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-1707346565.7745001-3178-156245199870717/source", "state": "file", "uid": 0 } TASK [linux-system-roles.podman : Handle policy.json] ************************** task path: /WORKDIR/git-fix-linger-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:89 Wednesday 07 February 2024 22:56:06 +0000 (0:00:00.591) 0:01:49.389 **** included: /WORKDIR/git-fix-linger-handlingebbfoxic/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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:6 Wednesday 07 February 2024 22:56:06 +0000 (0:00:00.040) 0:01:49.429 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:15 Wednesday 07 February 2024 22:56:06 +0000 (0:00:00.232) 0:01:49.661 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707346544.6079447, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "2b9c515bda676f0ab6d58bcc6e44be4375b5922b", "ctime": 1707346504.822403, "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": "1292576608", "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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:20 Wednesday 07 February 2024 22:56:06 +0000 (0:00:00.230) 0:01:49.892 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:26 Wednesday 07 February 2024 22:56:07 +0000 (0:00:00.213) 0:01:50.105 **** 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-1707346567.0819085-3199-74534581149548/source", "state": "file", "uid": 0 } TASK [Manage firewall for specified ports] ************************************* task path: /WORKDIR/git-fix-linger-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:95 Wednesday 07 February 2024 22:56:07 +0000 (0:00:00.597) 0:01:50.703 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage selinux for specified ports] ************************************** task path: /WORKDIR/git-fix-linger-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:102 Wednesday 07 February 2024 22:56:07 +0000 (0:00:00.020) 0:01:50.724 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:109 Wednesday 07 February 2024 22:56:07 +0000 (0:00:00.021) 0:01:50.745 **** ok: [sut] => { "ansible_facts": { "__podman_cancel_user_linger": [] }, "changed": false } TASK [linux-system-roles.podman : Handle secrets] ****************************** task path: /WORKDIR/git-fix-linger-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:113 Wednesday 07 February 2024 22:56:07 +0000 (0:00:00.019) 0:01:50.765 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:120 Wednesday 07 February 2024 22:56:07 +0000 (0:00:00.019) 0:01:50.784 **** TASK [linux-system-roles.podman : Handle Quadlet specifications] *************** task path: /WORKDIR/git-fix-linger-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:126 Wednesday 07 February 2024 22:56:07 +0000 (0:00:00.019) 0:01:50.804 **** TASK [linux-system-roles.podman : Cancel linger] ******************************* task path: /WORKDIR/git-fix-linger-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:132 Wednesday 07 February 2024 22:56:07 +0000 (0:00:00.023) 0:01:50.827 **** TASK [Check that files exist and are non-null] ********************************* task path: /WORKDIR/git-fix-linger-handlingebbfoxic/tests/tests_config_files.yml:113 Wednesday 07 February 2024 22:56:07 +0000 (0:00:00.019) 0:01:50.847 **** 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": 1707346564.4752152, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "94370d6e765779f1c58daf02f667b8f0b74d91f6", "ctime": 1707346564.481215, "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": 1707346564.263223, "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": "3352138890", "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": 1707346565.3321836, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "dfb9cd7094a81b3d1bb06512cc9b49a09c75639b", "ctime": 1707346565.3381834, "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": 1707346565.1181915, "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": "2363190710", "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": 1707346566.25115, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d08574b6a1df63dbe1c939ff0bcc7c0b61d03044", "ctime": 1707346566.2571497, "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": 1707346566.0411577, "nlink": 1, "path": "/etc/containers/storage.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 109, "uid": 0, "version": "1741829118", "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": 1707346567.5671015, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6746c079ad563b735fc39f73d4876654b80b0a0d", "ctime": 1707346567.5681014, "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": 1707346567.3501096, "nlink": 1, "path": "/etc/containers/policy.json", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 67, "uid": 0, "version": "1495133798", "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-handlingebbfoxic/tests/tests_config_files.yml:121 Wednesday 07 February 2024 22:56:08 +0000 (0:00:00.880) 0:01:51.727 **** TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-fix-linger-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:3 Wednesday 07 February 2024 22:56:08 +0000 (0:00:00.055) 0:01:51.782 **** included: /WORKDIR/git-fix-linger-handlingebbfoxic/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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:3 Wednesday 07 February 2024 22:56:08 +0000 (0:00:00.037) 0:01:51.820 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:12 Wednesday 07 February 2024 22:56:08 +0000 (0:00:00.052) 0:01:51.873 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:17 Wednesday 07 February 2024 22:56:08 +0000 (0:00:00.019) 0:01:51.893 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:21 Wednesday 07 February 2024 22:56:08 +0000 (0:00:00.019) 0:01:51.912 **** ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__podman_packages": [ "podman", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-fix-linger-handlingebbfoxic/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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:6 Wednesday 07 February 2024 22:56:08 +0000 (0:00:00.046) 0:01:51.959 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:10 Wednesday 07 February 2024 22:56:09 +0000 (0:00:00.948) 0:01:52.907 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:14 Wednesday 07 February 2024 22:56:09 +0000 (0:00:00.026) 0:01:52.934 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Get podman version] ************************** task path: /WORKDIR/git-fix-linger-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:23 Wednesday 07 February 2024 22:56:09 +0000 (0:00:00.030) 0:01:52.965 **** ok: [sut] => { "changed": false, "cmd": [ "podman", "--version" ], "delta": "0:00:00.032594", "end": "2024-02-07 22:56:10.136978", "rc": 0, "start": "2024-02-07 22:56:10.104384" } STDOUT: podman version 4.8.3 STDERR: time="2024-02-07T22:56:10Z" 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:28 Wednesday 07 February 2024 22:56:10 +0000 (0:00:00.278) 0:01:53.244 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:32 Wednesday 07 February 2024 22:56:10 +0000 (0:00:00.040) 0:01:53.284 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:39 Wednesday 07 February 2024 22:56:10 +0000 (0:00:00.043) 0:01:53.327 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:56 Wednesday 07 February 2024 22:56:10 +0000 (0:00:00.072) 0:01:53.400 **** included: /WORKDIR/git-fix-linger-handlingebbfoxic/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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:2 Wednesday 07 February 2024 22:56:10 +0000 (0:00:00.041) 0:01:53.441 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:10 Wednesday 07 February 2024 22:56:10 +0000 (0:00:00.030) 0:01:53.471 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:17 Wednesday 07 February 2024 22:56:10 +0000 (0:00:00.029) 0:01:53.500 **** ok: [sut] => { "ansible_facts": { "__podman_group": "0" }, "changed": false } TASK [linux-system-roles.podman : Get group information] *********************** task path: /WORKDIR/git-fix-linger-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:28 Wednesday 07 February 2024 22:56:10 +0000 (0:00:00.028) 0:01:53.529 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:36 Wednesday 07 February 2024 22:56:10 +0000 (0:00:00.225) 0:01:53.755 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:41 Wednesday 07 February 2024 22:56:10 +0000 (0:00:00.026) 0:01:53.781 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707346543.4129884, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 32, "charset": "binary", "checksum": "02bd4fbb1af303bd528684f8839db549767ee321", "ctime": 1707346504.9473982, "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": "2806503486", "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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:52 Wednesday 07 February 2024 22:56:10 +0000 (0:00:00.219) 0:01:54.000 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:56 Wednesday 07 February 2024 22:56:10 +0000 (0:00:00.021) 0:01:54.022 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:66 Wednesday 07 February 2024 22:56:10 +0000 (0:00:00.019) 0:01:54.041 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:74 Wednesday 07 February 2024 22:56:10 +0000 (0:00:00.019) 0:01:54.060 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:81 Wednesday 07 February 2024 22:56:11 +0000 (0:00:00.019) 0:01:54.080 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:89 Wednesday 07 February 2024 22:56:11 +0000 (0:00:00.020) 0:01:54.100 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:62 Wednesday 07 February 2024 22:56:11 +0000 (0:00:00.018) 0:01:54.119 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:80 Wednesday 07 February 2024 22:56:11 +0000 (0:00:00.043) 0:01:54.162 **** included: /WORKDIR/git-fix-linger-handlingebbfoxic/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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:5 Wednesday 07 February 2024 22:56:11 +0000 (0:00:00.065) 0:01:54.228 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 Wednesday 07 February 2024 22:56:11 +0000 (0:00:00.233) 0:01:54.462 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:83 Wednesday 07 February 2024 22:56:11 +0000 (0:00:00.532) 0:01:54.994 **** included: /WORKDIR/git-fix-linger-handlingebbfoxic/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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:5 Wednesday 07 February 2024 22:56:11 +0000 (0:00:00.036) 0:01:55.031 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 Wednesday 07 February 2024 22:56:12 +0000 (0:00:00.225) 0:01:55.256 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:86 Wednesday 07 February 2024 22:56:12 +0000 (0:00:00.535) 0:01:55.791 **** included: /WORKDIR/git-fix-linger-handlingebbfoxic/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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:5 Wednesday 07 February 2024 22:56:12 +0000 (0:00:00.039) 0:01:55.831 **** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/containers", "secontext": "system_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [linux-system-roles.podman : Update storage config file] ****************** task path: /WORKDIR/git-fix-linger-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 Wednesday 07 February 2024 22:56:12 +0000 (0:00:00.232) 0:01:56.063 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:89 Wednesday 07 February 2024 22:56:13 +0000 (0:00:00.530) 0:01:56.594 **** included: /WORKDIR/git-fix-linger-handlingebbfoxic/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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:6 Wednesday 07 February 2024 22:56:13 +0000 (0:00:00.054) 0:01:56.649 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:15 Wednesday 07 February 2024 22:56:13 +0000 (0:00:00.226) 0:01:56.875 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707346568.6170628, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6746c079ad563b735fc39f73d4876654b80b0a0d", "ctime": 1707346567.5681014, "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": 1707346567.3501096, "nlink": 1, "path": "/etc/containers/policy.json", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 67, "uid": 0, "version": "1495133798", "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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:20 Wednesday 07 February 2024 22:56:14 +0000 (0:00:00.224) 0:01:57.100 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:26 Wednesday 07 February 2024 22:56:14 +0000 (0:00:00.213) 0:01:57.313 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage firewall for specified ports] ************************************* task path: /WORKDIR/git-fix-linger-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:95 Wednesday 07 February 2024 22:56:14 +0000 (0:00:00.026) 0:01:57.340 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage selinux for specified ports] ************************************** task path: /WORKDIR/git-fix-linger-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:102 Wednesday 07 February 2024 22:56:14 +0000 (0:00:00.022) 0:01:57.362 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:109 Wednesday 07 February 2024 22:56:14 +0000 (0:00:00.022) 0:01:57.384 **** ok: [sut] => { "ansible_facts": { "__podman_cancel_user_linger": [] }, "changed": false } TASK [linux-system-roles.podman : Handle secrets] ****************************** task path: /WORKDIR/git-fix-linger-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:113 Wednesday 07 February 2024 22:56:14 +0000 (0:00:00.027) 0:01:57.412 **** 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-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:120 Wednesday 07 February 2024 22:56:14 +0000 (0:00:00.022) 0:01:57.434 **** TASK [linux-system-roles.podman : Handle Quadlet specifications] *************** task path: /WORKDIR/git-fix-linger-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:126 Wednesday 07 February 2024 22:56:14 +0000 (0:00:00.019) 0:01:57.453 **** TASK [linux-system-roles.podman : Cancel linger] ******************************* task path: /WORKDIR/git-fix-linger-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:132 Wednesday 07 February 2024 22:56:14 +0000 (0:00:00.020) 0:01:57.474 **** TASK [Check that files still exist and are non-null] *************************** task path: /WORKDIR/git-fix-linger-handlingebbfoxic/tests/tests_config_files.yml:128 Wednesday 07 February 2024 22:56:14 +0000 (0:00:00.018) 0:01:57.493 **** 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": 1707346567.9810863, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "94370d6e765779f1c58daf02f667b8f0b74d91f6", "ctime": 1707346564.481215, "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": 1707346564.263223, "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": "3352138890", "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": 1707346568.1900785, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "dfb9cd7094a81b3d1bb06512cc9b49a09c75639b", "ctime": 1707346565.3381834, "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": 1707346565.1181915, "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": "2363190710", "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": 1707346568.4020708, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d08574b6a1df63dbe1c939ff0bcc7c0b61d03044", "ctime": 1707346566.2571497, "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": 1707346566.0411577, "nlink": 1, "path": "/etc/containers/storage.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 109, "uid": 0, "version": "1741829118", "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": 1707346568.6170628, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6746c079ad563b735fc39f73d4876654b80b0a0d", "ctime": 1707346567.5681014, "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": 1707346567.3501096, "nlink": 1, "path": "/etc/containers/policy.json", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 67, "uid": 0, "version": "1495133798", "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-handlingebbfoxic/tests/tests_config_files.yml:136 Wednesday 07 February 2024 22:56:15 +0000 (0:00:00.964) 0:01:58.457 **** included: /WORKDIR/git-fix-linger-handlingebbfoxic/tests/tasks/check_header.yml for sut included: /WORKDIR/git-fix-linger-handlingebbfoxic/tests/tasks/check_header.yml for sut included: /WORKDIR/git-fix-linger-handlingebbfoxic/tests/tasks/check_header.yml for sut included: /WORKDIR/git-fix-linger-handlingebbfoxic/tests/tasks/check_header.yml for sut included: /WORKDIR/git-fix-linger-handlingebbfoxic/tests/tasks/check_header.yml for sut included: /WORKDIR/git-fix-linger-handlingebbfoxic/tests/tasks/check_header.yml for sut TASK [Get file] **************************************************************** task path: /WORKDIR/git-fix-linger-handlingebbfoxic/tests/tasks/check_header.yml:3 Wednesday 07 February 2024 22:56:15 +0000 (0:00:00.065) 0:01:58.523 **** 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-handlingebbfoxic/tests/tasks/check_header.yml:9 Wednesday 07 February 2024 22:56:15 +0000 (0:00:00.211) 0:01:58.735 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get file] **************************************************************** task path: /WORKDIR/git-fix-linger-handlingebbfoxic/tests/tasks/check_header.yml:3 Wednesday 07 February 2024 22:56:15 +0000 (0:00:00.064) 0:01:58.799 **** 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-handlingebbfoxic/tests/tasks/check_header.yml:9 Wednesday 07 February 2024 22:56:15 +0000 (0:00:00.221) 0:01:59.020 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get file] **************************************************************** task path: /WORKDIR/git-fix-linger-handlingebbfoxic/tests/tasks/check_header.yml:3 Wednesday 07 February 2024 22:56:16 +0000 (0:00:00.060) 0:01:59.081 **** 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-handlingebbfoxic/tests/tasks/check_header.yml:9 Wednesday 07 February 2024 22:56:16 +0000 (0:00:00.210) 0:01:59.292 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get file] **************************************************************** task path: /WORKDIR/git-fix-linger-handlingebbfoxic/tests/tasks/check_header.yml:3 Wednesday 07 February 2024 22:56:16 +0000 (0:00:00.070) 0:01:59.363 **** 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-handlingebbfoxic/tests/tasks/check_header.yml:9 Wednesday 07 February 2024 22:56:16 +0000 (0:00:00.211) 0:01:59.574 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get file] **************************************************************** task path: /WORKDIR/git-fix-linger-handlingebbfoxic/tests/tasks/check_header.yml:3 Wednesday 07 February 2024 22:56:16 +0000 (0:00:00.121) 0:01:59.695 **** 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-handlingebbfoxic/tests/tasks/check_header.yml:9 Wednesday 07 February 2024 22:56:16 +0000 (0:00:00.209) 0:01:59.905 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get file] **************************************************************** task path: /WORKDIR/git-fix-linger-handlingebbfoxic/tests/tasks/check_header.yml:3 Wednesday 07 February 2024 22:56:16 +0000 (0:00:00.068) 0:01:59.974 **** 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-handlingebbfoxic/tests/tasks/check_header.yml:9 Wednesday 07 February 2024 22:56:17 +0000 (0:00:00.213) 0:02:00.187 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove test config files] ************************************************ task path: /WORKDIR/git-fix-linger-handlingebbfoxic/tests/tests_config_files.yml:157 Wednesday 07 February 2024 22:56:17 +0000 (0:00:00.064) 0:02:00.252 **** 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-handlingebbfoxic/tests/tests_config_files.yml:163 Wednesday 07 February 2024 22:56:18 +0000 (0:00:01.697) 0:02:01.950 **** ok: [sut] => { "changed": false, "cmd": [ "tar", "xfvpP", "/tmp/lsr_podman_config_qrfjakz5/backup.tar" ], "delta": "0:00:00.004586", "end": "2024-02-07 22:56:19.073090", "rc": 0, "start": "2024-02-07 22:56:19.068504" } STDOUT: /etc/containers/policy.json TASK [Remove temp directory] *************************************************** task path: /WORKDIR/git-fix-linger-handlingebbfoxic/tests/tests_config_files.yml:168 Wednesday 07 February 2024 22:56:19 +0000 (0:00:00.232) 0:02:02.182 **** changed: [sut] => { "changed": true, "path": "/tmp/lsr_podman_config_qrfjakz5", "state": "absent" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=157 changed=16 unreachable=0 failed=0 skipped=108 rescued=0 ignored=0 Wednesday 07 February 2024 22:56:19 +0000 (0:00:00.225) 0:02:02.408 **** =============================================================================== linux-system-roles.podman : Ensure required packages are installed ----- 81.35s /WORKDIR/git-fix-linger-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:14 Gathering Facts --------------------------------------------------------- 2.37s /WORKDIR/git-fix-linger-handlingebbfoxic/tests/tests_config_files.yml:9 ------- linux-system-roles.podman : Gather the package facts -------------------- 1.90s /WORKDIR/git-fix-linger-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:6 linux-system-roles.podman : Gather the package facts -------------------- 1.87s /WORKDIR/git-fix-linger-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:6 Remove test config files ------------------------------------------------ 1.70s /WORKDIR/git-fix-linger-handlingebbfoxic/tests/tests_config_files.yml:157 ----- linux-system-roles.podman : Gather the package facts -------------------- 1.03s /WORKDIR/git-fix-linger-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/main.yml:6 Check that files still exist and are non-null --------------------------- 0.96s /WORKDIR/git-fix-linger-handlingebbfoxic/tests/tests_config_files.yml:128 ----- Check that files exist and are non-null --------------------------------- 0.88s /WORKDIR/git-fix-linger-handlingebbfoxic/tests/tests_config_files.yml:113 ----- Check that files still exist and are non-null --------------------------- 0.86s /WORKDIR/git-fix-linger-handlingebbfoxic/tests/tests_config_files.yml:98 ------ Check that files exist and are non-null --------------------------------- 0.84s /WORKDIR/git-fix-linger-handlingebbfoxic/tests/tests_config_files.yml:83 ------ linux-system-roles.podman : Update container config file ---------------- 0.65s /WORKDIR/git-fix-linger-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 linux-system-roles.podman : Update container config file ---------------- 0.64s /WORKDIR/git-fix-linger-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 linux-system-roles.podman : Update registries config file --------------- 0.63s /WORKDIR/git-fix-linger-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 linux-system-roles.podman : Write new policy.json file ------------------ 0.60s /WORKDIR/git-fix-linger-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:26 linux-system-roles.podman : Update container config file ---------------- 0.59s /WORKDIR/git-fix-linger-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 linux-system-roles.podman : Update storage config file ------------------ 0.59s /WORKDIR/git-fix-linger-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 linux-system-roles.podman : Update storage config file ------------------ 0.58s /WORKDIR/git-fix-linger-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 linux-system-roles.podman : Write new policy.json file ------------------ 0.57s /WORKDIR/git-fix-linger-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:26 linux-system-roles.podman : Update storage config file ------------------ 0.56s /WORKDIR/git-fix-linger-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 linux-system-roles.podman : Update registries config file --------------- 0.56s /WORKDIR/git-fix-linger-handlingebbfoxic/tests/roles/linux-system-roles.podman/tasks/handle_registries_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. ---^---^---^---^---^---