# 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-handlinghp_y5u6s/tests/tests_config_files.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Include vault variables] ************************************************* task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/tests_config_files.yml:4 Tuesday 06 February 2024 15:50:20 +0000 (0:00:00.023) 0:00:00.023 ****** 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-handlinghp_y5u6s/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-handlinghp_y5u6s/tests/tests_config_files.yml:9 Tuesday 06 February 2024 15:50:20 +0000 (0:00:00.010) 0:00:00.034 ****** ok: [sut] META: ran handlers TASK [Run the role with no config to get private vars] ************************* task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/tests_config_files.yml:48 Tuesday 06 February 2024 15:50:22 +0000 (0:00:01.367) 0:00:01.402 ****** TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:3 Tuesday 06 February 2024 15:50:22 +0000 (0:00:00.170) 0:00:01.573 ****** included: /WORKDIR/git-fix-linger-handlinghp_y5u6s/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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:3 Tuesday 06 February 2024 15:50:22 +0000 (0:00:00.015) 0:00:01.588 ****** 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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:12 Tuesday 06 February 2024 15:50:22 +0000 (0:00:00.018) 0:00:01.607 ****** 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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:17 Tuesday 06 February 2024 15:50:22 +0000 (0:00:00.315) 0:00:01.922 ****** 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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:21 Tuesday 06 February 2024 15:50:22 +0000 (0:00:00.019) 0:00:01.942 ****** ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__podman_packages": [ "podman", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Gather the package facts] ******************** task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:6 Tuesday 06 February 2024 15:50:22 +0000 (0:00:00.030) 0:00:01.973 ****** 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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:10 Tuesday 06 February 2024 15:50:23 +0000 (0:00:01.119) 0:00:03.093 ****** 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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:14 Tuesday 06 February 2024 15:50:24 +0000 (0:00:00.156) 0:00:03.249 ****** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: libslirp-4.4.0-7.el9.x86_64", "Installed: podman-2:4.8.1-1.el9.x86_64", "Installed: netavark-2:1.9.0-1.el9.x86_64", "Installed: slirp4netns-1.2.2-1.el9.x86_64", "Installed: shadow-utils-subid-2:4.9-8.el9.x86_64", "Installed: criu-3.19-1.el9.x86_64", "Installed: yajl-2.1.0-22.el9.x86_64", "Installed: criu-libs-3.19-1.el9.x86_64", "Installed: crun-1.14-1.el9.x86_64", "Installed: conmon-2:2.1.10-1.el9.x86_64", "Installed: aardvark-dns-2:1.9.0-1.el9.x86_64", "Installed: fuse-overlayfs-1.12-1.el9.x86_64", "Installed: protobuf-c-1.3.3-13.el9.x86_64", "Installed: fuse3-3.10.2-6.el9.x86_64", "Installed: fuse3-libs-3.10.2-6.el9.x86_64", "Installed: container-selinux-3:2.229.0-1.el9.noarch", "Installed: libnet-1.2-6.el9.x86_64", "Installed: containers-common-2:1-55.el9.x86_64", "Installed: fuse-common-3.10.2-6.el9.x86_64" ] } TASK [linux-system-roles.podman : Get podman version] ************************** task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:23 Tuesday 06 February 2024 15:51:18 +0000 (0:00:54.740) 0:00:57.990 ****** ok: [sut] => { "changed": false, "cmd": [ "podman", "--version" ], "delta": "0:00:00.033959", "end": "2024-02-06 15:51:19.129002", "rc": 0, "start": "2024-02-06 15:51:19.095043" } STDOUT: podman version 4.8.1 TASK [linux-system-roles.podman : Set podman version] ************************** task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:28 Tuesday 06 February 2024 15:51:19 +0000 (0:00:00.378) 0:00:58.369 ****** ok: [sut] => { "ansible_facts": { "podman_version": "4.8.1" }, "changed": false } TASK [linux-system-roles.podman : Podman package version must be 4.2 or later] *** task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:32 Tuesday 06 February 2024 15:51:19 +0000 (0:00:00.035) 0:00:58.405 ****** 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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:39 Tuesday 06 February 2024 15:51:19 +0000 (0:00:00.028) 0:00:58.434 ****** 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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:56 Tuesday 06 February 2024 15:51:19 +0000 (0:00:00.071) 0:00:58.505 ****** included: /WORKDIR/git-fix-linger-handlinghp_y5u6s/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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:2 Tuesday 06 February 2024 15:51:19 +0000 (0:00:00.038) 0:00:58.543 ****** ok: [sut] => { "ansible_facts": { "getent_passwd": { "root": [ "x", "0", "0", "root", "/root", "/bin/bash" ] } }, "changed": false } TASK [linux-system-roles.podman : Fail if user does not exist] ***************** task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:10 Tuesday 06 February 2024 15:51:19 +0000 (0:00:00.479) 0:00:59.023 ****** 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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:17 Tuesday 06 February 2024 15:51:19 +0000 (0:00:00.023) 0:00:59.047 ****** ok: [sut] => { "ansible_facts": { "__podman_group": "0" }, "changed": false } TASK [linux-system-roles.podman : Get group information] *********************** task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:28 Tuesday 06 February 2024 15:51:19 +0000 (0:00:00.024) 0:00:59.071 ****** 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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:36 Tuesday 06 February 2024 15:51:20 +0000 (0:00:00.206) 0:00:59.278 ****** 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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:41 Tuesday 06 February 2024 15:51:20 +0000 (0:00:00.023) 0:00:59.301 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1689166618.0, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 32, "charset": "binary", "checksum": "076f89863b474504550ab1b5c11216a77ed7123c", "ctime": 1707234646.3880622, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 4471560, "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": 1689166618.0, "nlink": 1, "path": "/usr/bin/getsubids", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 15496, "uid": 0, "version": "396954581", "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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:52 Tuesday 06 February 2024 15:51:20 +0000 (0:00:00.199) 0:00:59.500 ****** 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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:56 Tuesday 06 February 2024 15:51:20 +0000 (0:00:00.034) 0:00:59.535 ****** 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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:66 Tuesday 06 February 2024 15:51:20 +0000 (0:00:00.019) 0:00:59.554 ****** 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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:74 Tuesday 06 February 2024 15:51:20 +0000 (0:00:00.019) 0:00:59.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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:81 Tuesday 06 February 2024 15:51:20 +0000 (0:00:00.018) 0:00:59.592 ****** 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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:89 Tuesday 06 February 2024 15:51:20 +0000 (0:00:00.018) 0:00:59.611 ****** 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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:62 Tuesday 06 February 2024 15:51:20 +0000 (0:00:00.019) 0:00:59.630 ****** 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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:80 Tuesday 06 February 2024 15:51:20 +0000 (0:00:00.037) 0:00:59.668 ****** included: /WORKDIR/git-fix-linger-handlinghp_y5u6s/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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:5 Tuesday 06 February 2024 15:51:20 +0000 (0:00:00.059) 0:00:59.727 ****** 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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 Tuesday 06 February 2024 15:51:20 +0000 (0:00:00.018) 0:00:59.746 ****** 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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:83 Tuesday 06 February 2024 15:51:20 +0000 (0:00:00.020) 0:00:59.767 ****** included: /WORKDIR/git-fix-linger-handlinghp_y5u6s/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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:5 Tuesday 06 February 2024 15:51:20 +0000 (0:00:00.035) 0:00:59.802 ****** 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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 Tuesday 06 February 2024 15:51:20 +0000 (0:00:00.021) 0:00:59.824 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Handle storage.conf] ************************* task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:86 Tuesday 06 February 2024 15:51:20 +0000 (0:00:00.029) 0:00:59.853 ****** included: /WORKDIR/git-fix-linger-handlinghp_y5u6s/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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:5 Tuesday 06 February 2024 15:51:20 +0000 (0:00:00.036) 0:00:59.890 ****** 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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 Tuesday 06 February 2024 15:51:20 +0000 (0:00:00.019) 0:00:59.909 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Handle policy.json] ************************** task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:89 Tuesday 06 February 2024 15:51:20 +0000 (0:00:00.018) 0:00:59.928 ****** included: /WORKDIR/git-fix-linger-handlinghp_y5u6s/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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:6 Tuesday 06 February 2024 15:51:20 +0000 (0:00:00.036) 0:00:59.965 ****** 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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:15 Tuesday 06 February 2024 15:51:20 +0000 (0:00:00.021) 0:00:59.986 ****** 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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:20 Tuesday 06 February 2024 15:51:20 +0000 (0:00:00.018) 0:01:00.005 ****** 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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:26 Tuesday 06 February 2024 15:51:20 +0000 (0:00:00.020) 0:01:00.026 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage firewall for specified ports] ************************************* task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:95 Tuesday 06 February 2024 15:51:20 +0000 (0:00:00.018) 0:01:00.045 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage selinux for specified ports] ************************************** task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:102 Tuesday 06 February 2024 15:51:20 +0000 (0:00:00.019) 0:01:00.064 ****** 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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:109 Tuesday 06 February 2024 15:51:20 +0000 (0:00:00.019) 0:01:00.084 ****** ok: [sut] => { "ansible_facts": { "__podman_cancel_user_linger": [] }, "changed": false } TASK [linux-system-roles.podman : Handle secrets] ****************************** task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:113 Tuesday 06 February 2024 15:51:20 +0000 (0:00:00.019) 0:01:00.103 ****** 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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:120 Tuesday 06 February 2024 15:51:20 +0000 (0:00:00.044) 0:01:00.148 ****** TASK [linux-system-roles.podman : Handle Quadlet specifications] *************** task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:126 Tuesday 06 February 2024 15:51:20 +0000 (0:00:00.018) 0:01:00.166 ****** TASK [linux-system-roles.podman : Cancel linger] ******************************* task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:132 Tuesday 06 February 2024 15:51:20 +0000 (0:00:00.019) 0:01:00.185 ****** TASK [Create temp directory] *************************************************** task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/tests_config_files.yml:59 Tuesday 06 February 2024 15:51:20 +0000 (0:00:00.017) 0:01:00.203 ****** changed: [sut] => { "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/lsr_podman_config_7621qs12", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [Create backup] *********************************************************** task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/tests_config_files.yml:65 Tuesday 06 February 2024 15:51:21 +0000 (0:00:00.239) 0:01:00.442 ****** ok: [sut] => { "changed": false, "cmd": [ "tar", "--ignore-failed-read", "-c", "-P", "-v", "-p", "-f", "/tmp/lsr_podman_config_7621qs12/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.366221", "end": "2024-02-06 15:51:21.764879", "rc": 0, "start": "2024-02-06 15:51:21.398658" } STDOUT: /etc/containers/storage.conf /etc/containers/policy.json STDERR: tar: /etc/containers/containers.conf.d/50-systemroles.conf: Warning: Cannot stat: No such file or directory tar: /etc/containers/registries.conf.d/50-systemroles.conf: Warning: Cannot stat: No such file or directory TASK [Create user] ************************************************************* task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/tests_config_files.yml:72 Tuesday 06 February 2024 15:51:21 +0000 (0:00:00.561) 0:01:01.004 ****** changed: [sut] => { "changed": true, "comment": "", "create_home": true, "group": 1000, "home": "/home/user1", "name": "user1", "shell": "/bin/bash", "state": "present", "system": false, "uid": 1000 } TASK [Run the role with user config] ******************************************* task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/tests_config_files.yml:76 Tuesday 06 February 2024 15:51:22 +0000 (0:00:00.501) 0:01:01.505 ****** TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:3 Tuesday 06 February 2024 15:51:22 +0000 (0:00:00.043) 0:01:01.549 ****** included: /WORKDIR/git-fix-linger-handlinghp_y5u6s/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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:3 Tuesday 06 February 2024 15:51:22 +0000 (0:00:00.041) 0:01:01.590 ****** 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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:12 Tuesday 06 February 2024 15:51:22 +0000 (0:00:00.022) 0:01:01.613 ****** 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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:17 Tuesday 06 February 2024 15:51:22 +0000 (0:00:00.019) 0:01:01.632 ****** 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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:21 Tuesday 06 February 2024 15:51:22 +0000 (0:00:00.018) 0:01:01.651 ****** ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__podman_packages": [ "podman", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Gather the package facts] ******************** task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:6 Tuesday 06 February 2024 15:51:22 +0000 (0:00:00.103) 0:01:01.755 ****** 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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:10 Tuesday 06 February 2024 15:51:23 +0000 (0:00:00.939) 0:01:02.694 ****** 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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:14 Tuesday 06 February 2024 15:51:23 +0000 (0:00:00.018) 0:01:02.713 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Get podman version] ************************** task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:23 Tuesday 06 February 2024 15:51:23 +0000 (0:00:00.023) 0:01:02.736 ****** ok: [sut] => { "changed": false, "cmd": [ "podman", "--version" ], "delta": "0:00:00.031695", "end": "2024-02-06 15:51:23.716607", "rc": 0, "start": "2024-02-06 15:51:23.684912" } STDOUT: podman version 4.8.1 TASK [linux-system-roles.podman : Set podman version] ************************** task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:28 Tuesday 06 February 2024 15:51:23 +0000 (0:00:00.220) 0:01:02.957 ****** ok: [sut] => { "ansible_facts": { "podman_version": "4.8.1" }, "changed": false } TASK [linux-system-roles.podman : Podman package version must be 4.2 or later] *** task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:32 Tuesday 06 February 2024 15:51:23 +0000 (0:00:00.019) 0:01:02.977 ****** 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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:39 Tuesday 06 February 2024 15:51:23 +0000 (0:00:00.018) 0:01:02.995 ****** 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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:56 Tuesday 06 February 2024 15:51:23 +0000 (0:00:00.031) 0:01:03.027 ****** included: /WORKDIR/git-fix-linger-handlinghp_y5u6s/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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:2 Tuesday 06 February 2024 15:51:23 +0000 (0:00:00.036) 0:01:03.063 ****** ok: [sut] => { "ansible_facts": { "getent_passwd": { "user1": [ "x", "1000", "1000", "", "/home/user1", "/bin/bash" ] } }, "changed": false } TASK [linux-system-roles.podman : Fail if user does not exist] ***************** task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:10 Tuesday 06 February 2024 15:51:24 +0000 (0:00:00.226) 0:01:03.290 ****** 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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:17 Tuesday 06 February 2024 15:51:24 +0000 (0:00:00.022) 0:01:03.313 ****** ok: [sut] => { "ansible_facts": { "__podman_group": "1000" }, "changed": false } TASK [linux-system-roles.podman : Get group information] *********************** task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:28 Tuesday 06 February 2024 15:51:24 +0000 (0:00:00.024) 0:01:03.338 ****** ok: [sut] => { "ansible_facts": { "getent_group": { "user1": [ "x", "1000", "" ] } }, "changed": false } TASK [linux-system-roles.podman : Set group name] ****************************** task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:36 Tuesday 06 February 2024 15:51:24 +0000 (0:00:00.201) 0:01:03.539 ****** 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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:41 Tuesday 06 February 2024 15:51:24 +0000 (0:00:00.027) 0:01:03.567 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707234680.2516446, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 32, "charset": "binary", "checksum": "076f89863b474504550ab1b5c11216a77ed7123c", "ctime": 1707234646.3880622, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 4471560, "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": 1689166618.0, "nlink": 1, "path": "/usr/bin/getsubids", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 15496, "uid": 0, "version": "396954581", "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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:52 Tuesday 06 February 2024 15:51:24 +0000 (0:00:00.199) 0:01:03.767 ****** ok: [sut] => { "changed": false, "cmd": [ "getsubids", "user1" ], "delta": "0:00:00.003775", "end": "2024-02-06 15:51:24.724541", "rc": 0, "start": "2024-02-06 15:51:24.720766" } STDOUT: 0: user1 100000 65536 TASK [linux-system-roles.podman : Check group with getsubids] ****************** task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:56 Tuesday 06 February 2024 15:51:24 +0000 (0:00:00.197) 0:01:03.964 ****** ok: [sut] => { "changed": false, "cmd": [ "getsubids", "-g", "user1" ], "delta": "0:00:00.003768", "end": "2024-02-06 15:51:24.922978", "rc": 0, "start": "2024-02-06 15:51:24.919210" } STDOUT: 0: user1 100000 65536 TASK [linux-system-roles.podman : Check if user is in subuid file] ************* task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:66 Tuesday 06 February 2024 15:51:24 +0000 (0:00:00.197) 0:01:04.161 ****** 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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:74 Tuesday 06 February 2024 15:51:24 +0000 (0:00:00.018) 0:01:04.180 ****** 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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:81 Tuesday 06 February 2024 15:51:24 +0000 (0:00:00.018) 0:01:04.199 ****** 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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:89 Tuesday 06 February 2024 15:51:25 +0000 (0:00:00.018) 0:01:04.217 ****** 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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:62 Tuesday 06 February 2024 15:51:25 +0000 (0:00:00.019) 0:01:04.236 ****** 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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:80 Tuesday 06 February 2024 15:51:25 +0000 (0:00:00.038) 0:01:04.275 ****** included: /WORKDIR/git-fix-linger-handlinghp_y5u6s/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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:5 Tuesday 06 February 2024 15:51:25 +0000 (0:00:00.034) 0:01:04.309 ****** changed: [sut] => { "changed": true, "gid": 0, "group": "root", "mode": "0755", "owner": "user1", "path": "/home/user1/.config/containers/containers.conf.d", "secontext": "unconfined_u:object_r:config_home_t:s0", "size": 6, "state": "directory", "uid": 1000 } TASK [linux-system-roles.podman : Update container config file] **************** task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 Tuesday 06 February 2024 15:51:25 +0000 (0:00:00.282) 0:01:04.592 ****** 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-1707234685.414928-2872-227670676573561/source", "state": "file", "uid": 1000 } TASK [linux-system-roles.podman : Handle registries.conf.d] ******************** task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:83 Tuesday 06 February 2024 15:51:25 +0000 (0:00:00.596) 0:01:05.188 ****** included: /WORKDIR/git-fix-linger-handlinghp_y5u6s/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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:5 Tuesday 06 February 2024 15:51:26 +0000 (0:00:00.042) 0:01:05.231 ****** changed: [sut] => { "changed": true, "gid": 0, "group": "root", "mode": "0755", "owner": "user1", "path": "/home/user1/.config/containers/registries.conf.d", "secontext": "unconfined_u:object_r:config_home_t:s0", "size": 6, "state": "directory", "uid": 1000 } TASK [linux-system-roles.podman : Update registries config file] *************** task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 Tuesday 06 February 2024 15:51:26 +0000 (0:00:00.212) 0:01:05.444 ****** 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-1707234686.2678287-2912-200452392888619/source", "state": "file", "uid": 1000 } TASK [linux-system-roles.podman : Handle storage.conf] ************************* task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:86 Tuesday 06 February 2024 15:51:26 +0000 (0:00:00.524) 0:01:05.968 ****** included: /WORKDIR/git-fix-linger-handlinghp_y5u6s/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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:5 Tuesday 06 February 2024 15:51:26 +0000 (0:00:00.037) 0:01:06.006 ****** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "user1", "path": "/home/user1/.config/containers", "secontext": "unconfined_u:object_r:config_home_t:s0", "size": 56, "state": "directory", "uid": 1000 } TASK [linux-system-roles.podman : Update storage config file] ****************** task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 Tuesday 06 February 2024 15:51:27 +0000 (0:00:00.207) 0:01:06.213 ****** 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-1707234687.048622-2934-200428285921867/source", "state": "file", "uid": 1000 } TASK [linux-system-roles.podman : Handle policy.json] ************************** task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:89 Tuesday 06 February 2024 15:51:27 +0000 (0:00:00.562) 0:01:06.776 ****** included: /WORKDIR/git-fix-linger-handlinghp_y5u6s/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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:6 Tuesday 06 February 2024 15:51:27 +0000 (0:00:00.042) 0:01:06.818 ****** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "user1", "path": "/home/user1/.config/containers", "secontext": "unconfined_u:object_r:config_home_t:s0", "size": 76, "state": "directory", "uid": 1000 } TASK [linux-system-roles.podman : Stat the policy.json file] ******************* task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:15 Tuesday 06 February 2024 15:51:27 +0000 (0:00:00.198) 0:01:07.017 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.podman : Get the existing policy.json] **************** task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:20 Tuesday 06 February 2024 15:51:27 +0000 (0:00:00.191) 0:01:07.208 ****** 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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:26 Tuesday 06 February 2024 15:51:28 +0000 (0:00:00.021) 0:01:07.229 ****** 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-1707234688.0544667-2959-227645162022828/source", "state": "file", "uid": 1000 } TASK [Manage firewall for specified ports] ************************************* task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:95 Tuesday 06 February 2024 15:51:28 +0000 (0:00:00.508) 0:01:07.738 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage selinux for specified ports] ************************************** task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:102 Tuesday 06 February 2024 15:51:28 +0000 (0:00:00.019) 0:01:07.757 ****** 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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:109 Tuesday 06 February 2024 15:51:28 +0000 (0:00:00.019) 0:01:07.777 ****** ok: [sut] => { "ansible_facts": { "__podman_cancel_user_linger": [] }, "changed": false } TASK [linux-system-roles.podman : Handle secrets] ****************************** task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:113 Tuesday 06 February 2024 15:51:28 +0000 (0:00:00.019) 0:01:07.797 ****** 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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:120 Tuesday 06 February 2024 15:51:28 +0000 (0:00:00.018) 0:01:07.815 ****** TASK [linux-system-roles.podman : Handle Quadlet specifications] *************** task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:126 Tuesday 06 February 2024 15:51:28 +0000 (0:00:00.018) 0:01:07.834 ****** TASK [linux-system-roles.podman : Cancel linger] ******************************* task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:132 Tuesday 06 February 2024 15:51:28 +0000 (0:00:00.019) 0:01:07.854 ****** TASK [Check that files exist and are non-null] ********************************* task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/tests_config_files.yml:83 Tuesday 06 February 2024 15:51:28 +0000 (0:00:00.019) 0:01:07.873 ****** 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": 1707234685.9175746, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "94370d6e765779f1c58daf02f667b8f0b74d91f6", "ctime": 1707234685.9205747, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 350224705, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1707234685.6805775, "nlink": 1, "path": "/home/user1/.config/containers/containers.conf.d/50-systemroles.conf", "pw_name": "user1", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 116, "uid": 1000, "version": "1162588432", "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": 1707234686.698565, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "dfb9cd7094a81b3d1bb06512cc9b49a09c75639b", "ctime": 1707234686.701565, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 360710465, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1707234686.5065675, "nlink": 1, "path": "/home/user1/.config/containers/registries.conf.d/50-systemroles.conf", "pw_name": "user1", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 225, "uid": 1000, "version": "1326156861", "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": 1707234687.4985552, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d08574b6a1df63dbe1c939ff0bcc7c0b61d03044", "ctime": 1707234687.5015552, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 369099073, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1707234687.2975576, "nlink": 1, "path": "/home/user1/.config/containers/storage.conf", "pw_name": "user1", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 109, "uid": 1000, "version": "2593322572", "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": 1707234688.4675431, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6746c079ad563b735fc39f73d4876654b80b0a0d", "ctime": 1707234688.471543, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 379584833, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "application/json", "mode": "0644", "mtime": 1707234688.2795455, "nlink": 1, "path": "/home/user1/.config/containers/policy.json", "pw_name": "user1", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 67, "uid": 1000, "version": "2334104400", "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-handlinghp_y5u6s/tests/tests_config_files.yml:91 Tuesday 06 February 2024 15:51:29 +0000 (0:00:00.763) 0:01:08.637 ****** TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:3 Tuesday 06 February 2024 15:51:29 +0000 (0:00:00.066) 0:01:08.704 ****** included: /WORKDIR/git-fix-linger-handlinghp_y5u6s/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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:3 Tuesday 06 February 2024 15:51:29 +0000 (0:00:00.033) 0:01:08.738 ****** 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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:12 Tuesday 06 February 2024 15:51:29 +0000 (0:00:00.026) 0:01:08.765 ****** 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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:17 Tuesday 06 February 2024 15:51:29 +0000 (0:00:00.019) 0:01:08.784 ****** 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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:21 Tuesday 06 February 2024 15:51:29 +0000 (0:00:00.018) 0:01:08.803 ****** ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__podman_packages": [ "podman", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Gather the package facts] ******************** task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:6 Tuesday 06 February 2024 15:51:29 +0000 (0:00:00.045) 0:01:08.849 ****** 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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:10 Tuesday 06 February 2024 15:51:30 +0000 (0:00:00.938) 0:01:09.787 ****** 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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:14 Tuesday 06 February 2024 15:51:30 +0000 (0:00:00.018) 0:01:09.806 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Get podman version] ************************** task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:23 Tuesday 06 February 2024 15:51:30 +0000 (0:00:00.023) 0:01:09.830 ****** ok: [sut] => { "changed": false, "cmd": [ "podman", "--version" ], "delta": "0:00:00.032235", "end": "2024-02-06 15:51:30.812627", "rc": 0, "start": "2024-02-06 15:51:30.780392" } STDOUT: podman version 4.8.1 TASK [linux-system-roles.podman : Set podman version] ************************** task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:28 Tuesday 06 February 2024 15:51:30 +0000 (0:00:00.223) 0:01:10.053 ****** ok: [sut] => { "ansible_facts": { "podman_version": "4.8.1" }, "changed": false } TASK [linux-system-roles.podman : Podman package version must be 4.2 or later] *** task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:32 Tuesday 06 February 2024 15:51:30 +0000 (0:00:00.045) 0:01:10.099 ****** 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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:39 Tuesday 06 February 2024 15:51:30 +0000 (0:00:00.019) 0:01:10.118 ****** 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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:56 Tuesday 06 February 2024 15:51:30 +0000 (0:00:00.032) 0:01:10.151 ****** included: /WORKDIR/git-fix-linger-handlinghp_y5u6s/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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:2 Tuesday 06 February 2024 15:51:30 +0000 (0:00:00.034) 0:01:10.185 ****** 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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:10 Tuesday 06 February 2024 15:51:30 +0000 (0:00:00.023) 0:01:10.208 ****** 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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:17 Tuesday 06 February 2024 15:51:31 +0000 (0:00:00.022) 0:01:10.230 ****** ok: [sut] => { "ansible_facts": { "__podman_group": "1000" }, "changed": false } TASK [linux-system-roles.podman : Get group information] *********************** task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:28 Tuesday 06 February 2024 15:51:31 +0000 (0:00:00.024) 0:01:10.255 ****** ok: [sut] => { "ansible_facts": { "getent_group": { "user1": [ "x", "1000", "" ] } }, "changed": false } TASK [linux-system-roles.podman : Set group name] ****************************** task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:36 Tuesday 06 February 2024 15:51:31 +0000 (0:00:00.197) 0:01:10.453 ****** 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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:41 Tuesday 06 February 2024 15:51:31 +0000 (0:00:00.032) 0:01:10.486 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707234680.2516446, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 32, "charset": "binary", "checksum": "076f89863b474504550ab1b5c11216a77ed7123c", "ctime": 1707234646.3880622, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 4471560, "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": 1689166618.0, "nlink": 1, "path": "/usr/bin/getsubids", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 15496, "uid": 0, "version": "396954581", "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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:52 Tuesday 06 February 2024 15:51:31 +0000 (0:00:00.207) 0:01:10.693 ****** ok: [sut] => { "changed": false, "cmd": [ "getsubids", "user1" ], "delta": "0:00:00.003819", "end": "2024-02-06 15:51:31.653461", "rc": 0, "start": "2024-02-06 15:51:31.649642" } STDOUT: 0: user1 100000 65536 TASK [linux-system-roles.podman : Check group with getsubids] ****************** task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:56 Tuesday 06 February 2024 15:51:31 +0000 (0:00:00.199) 0:01:10.893 ****** ok: [sut] => { "changed": false, "cmd": [ "getsubids", "-g", "user1" ], "delta": "0:00:00.003824", "end": "2024-02-06 15:51:31.854798", "rc": 0, "start": "2024-02-06 15:51:31.850974" } STDOUT: 0: user1 100000 65536 TASK [linux-system-roles.podman : Check if user is in subuid file] ************* task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:66 Tuesday 06 February 2024 15:51:31 +0000 (0:00:00.204) 0:01:11.097 ****** 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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:74 Tuesday 06 February 2024 15:51:31 +0000 (0:00:00.018) 0:01:11.116 ****** 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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:81 Tuesday 06 February 2024 15:51:31 +0000 (0:00:00.019) 0:01:11.135 ****** 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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:89 Tuesday 06 February 2024 15:51:31 +0000 (0:00:00.029) 0:01:11.164 ****** 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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:62 Tuesday 06 February 2024 15:51:32 +0000 (0:00:00.065) 0:01:11.230 ****** 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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:80 Tuesday 06 February 2024 15:51:32 +0000 (0:00:00.049) 0:01:11.279 ****** included: /WORKDIR/git-fix-linger-handlinghp_y5u6s/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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:5 Tuesday 06 February 2024 15:51:32 +0000 (0:00:00.036) 0:01:11.316 ****** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "user1", "path": "/home/user1/.config/containers/containers.conf.d", "secontext": "unconfined_u:object_r:config_home_t:s0", "size": 33, "state": "directory", "uid": 1000 } TASK [linux-system-roles.podman : Update container config file] **************** task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 Tuesday 06 February 2024 15:51:32 +0000 (0:00:00.200) 0:01:11.517 ****** ok: [sut] => { "changed": false, "checksum": "94370d6e765779f1c58daf02f667b8f0b74d91f6", "dest": "/home/user1/.config/containers/containers.conf.d/50-systemroles.conf", "gid": 0, "group": "root", "mode": "0644", "owner": "user1", "path": "/home/user1/.config/containers/containers.conf.d/50-systemroles.conf", "secontext": "unconfined_u:object_r:config_home_t:s0", "size": 116, "state": "file", "uid": 1000 } TASK [linux-system-roles.podman : Handle registries.conf.d] ******************** task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:83 Tuesday 06 February 2024 15:51:32 +0000 (0:00:00.474) 0:01:11.991 ****** included: /WORKDIR/git-fix-linger-handlinghp_y5u6s/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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:5 Tuesday 06 February 2024 15:51:32 +0000 (0:00:00.036) 0:01:12.027 ****** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "user1", "path": "/home/user1/.config/containers/registries.conf.d", "secontext": "unconfined_u:object_r:config_home_t:s0", "size": 33, "state": "directory", "uid": 1000 } TASK [linux-system-roles.podman : Update registries config file] *************** task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 Tuesday 06 February 2024 15:51:33 +0000 (0:00:00.201) 0:01:12.229 ****** ok: [sut] => { "changed": false, "checksum": "dfb9cd7094a81b3d1bb06512cc9b49a09c75639b", "dest": "/home/user1/.config/containers/registries.conf.d/50-systemroles.conf", "gid": 0, "group": "root", "mode": "0644", "owner": "user1", "path": "/home/user1/.config/containers/registries.conf.d/50-systemroles.conf", "secontext": "unconfined_u:object_r:config_home_t:s0", "size": 225, "state": "file", "uid": 1000 } TASK [linux-system-roles.podman : Handle storage.conf] ************************* task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:86 Tuesday 06 February 2024 15:51:33 +0000 (0:00:00.474) 0:01:12.704 ****** included: /WORKDIR/git-fix-linger-handlinghp_y5u6s/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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:5 Tuesday 06 February 2024 15:51:33 +0000 (0:00:00.036) 0:01:12.741 ****** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "user1", "path": "/home/user1/.config/containers", "secontext": "unconfined_u:object_r:config_home_t:s0", "size": 95, "state": "directory", "uid": 1000 } TASK [linux-system-roles.podman : Update storage config file] ****************** task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 Tuesday 06 February 2024 15:51:33 +0000 (0:00:00.202) 0:01:12.943 ****** ok: [sut] => { "changed": false, "checksum": "d08574b6a1df63dbe1c939ff0bcc7c0b61d03044", "dest": "/home/user1/.config/containers/storage.conf", "gid": 0, "group": "root", "mode": "0644", "owner": "user1", "path": "/home/user1/.config/containers/storage.conf", "secontext": "unconfined_u:object_r:config_home_t:s0", "size": 109, "state": "file", "uid": 1000 } TASK [linux-system-roles.podman : Handle policy.json] ************************** task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:89 Tuesday 06 February 2024 15:51:34 +0000 (0:00:00.467) 0:01:13.411 ****** included: /WORKDIR/git-fix-linger-handlinghp_y5u6s/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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:6 Tuesday 06 February 2024 15:51:34 +0000 (0:00:00.035) 0:01:13.447 ****** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "user1", "path": "/home/user1/.config/containers", "secontext": "unconfined_u:object_r:config_home_t:s0", "size": 95, "state": "directory", "uid": 1000 } TASK [linux-system-roles.podman : Stat the policy.json file] ******************* task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:15 Tuesday 06 February 2024 15:51:34 +0000 (0:00:00.203) 0:01:13.651 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707234689.388532, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6746c079ad563b735fc39f73d4876654b80b0a0d", "ctime": 1707234688.471543, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 379584833, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "application/json", "mode": "0644", "mtime": 1707234688.2795455, "nlink": 1, "path": "/home/user1/.config/containers/policy.json", "pw_name": "user1", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 67, "uid": 1000, "version": "2334104400", "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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:20 Tuesday 06 February 2024 15:51:34 +0000 (0:00:00.198) 0:01:13.850 ****** 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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:26 Tuesday 06 February 2024 15:51:35 +0000 (0:00:00.382) 0:01:14.233 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage firewall for specified ports] ************************************* task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:95 Tuesday 06 February 2024 15:51:35 +0000 (0:00:00.023) 0:01:14.256 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage selinux for specified ports] ************************************** task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:102 Tuesday 06 February 2024 15:51:35 +0000 (0:00:00.020) 0:01:14.277 ****** 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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:109 Tuesday 06 February 2024 15:51:35 +0000 (0:00:00.019) 0:01:14.296 ****** ok: [sut] => { "ansible_facts": { "__podman_cancel_user_linger": [] }, "changed": false } TASK [linux-system-roles.podman : Handle secrets] ****************************** task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:113 Tuesday 06 February 2024 15:51:35 +0000 (0:00:00.021) 0:01:14.317 ****** 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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:120 Tuesday 06 February 2024 15:51:35 +0000 (0:00:00.017) 0:01:14.335 ****** TASK [linux-system-roles.podman : Handle Quadlet specifications] *************** task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:126 Tuesday 06 February 2024 15:51:35 +0000 (0:00:00.017) 0:01:14.353 ****** TASK [linux-system-roles.podman : Cancel linger] ******************************* task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:132 Tuesday 06 February 2024 15:51:35 +0000 (0:00:00.017) 0:01:14.370 ****** TASK [Check that files still exist and are non-null] *************************** task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/tests_config_files.yml:98 Tuesday 06 February 2024 15:51:35 +0000 (0:00:00.016) 0:01:14.387 ****** 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": 1707234688.8335388, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "94370d6e765779f1c58daf02f667b8f0b74d91f6", "ctime": 1707234685.9205747, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 350224705, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1707234685.6805775, "nlink": 1, "path": "/home/user1/.config/containers/containers.conf.d/50-systemroles.conf", "pw_name": "user1", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 116, "uid": 1000, "version": "1162588432", "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": 1707234689.0165365, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "dfb9cd7094a81b3d1bb06512cc9b49a09c75639b", "ctime": 1707234686.701565, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 360710465, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1707234686.5065675, "nlink": 1, "path": "/home/user1/.config/containers/registries.conf.d/50-systemroles.conf", "pw_name": "user1", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 225, "uid": 1000, "version": "1326156861", "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": 1707234689.2035341, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d08574b6a1df63dbe1c939ff0bcc7c0b61d03044", "ctime": 1707234687.5015552, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 369099073, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1707234687.2975576, "nlink": 1, "path": "/home/user1/.config/containers/storage.conf", "pw_name": "user1", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 109, "uid": 1000, "version": "2593322572", "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": 1707234689.388532, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6746c079ad563b735fc39f73d4876654b80b0a0d", "ctime": 1707234688.471543, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 379584833, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "application/json", "mode": "0644", "mtime": 1707234688.2795455, "nlink": 1, "path": "/home/user1/.config/containers/policy.json", "pw_name": "user1", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 67, "uid": 1000, "version": "2334104400", "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-handlinghp_y5u6s/tests/tests_config_files.yml:106 Tuesday 06 February 2024 15:51:35 +0000 (0:00:00.773) 0:01:15.160 ****** TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:3 Tuesday 06 February 2024 15:51:36 +0000 (0:00:00.053) 0:01:15.214 ****** included: /WORKDIR/git-fix-linger-handlinghp_y5u6s/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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:3 Tuesday 06 February 2024 15:51:36 +0000 (0:00:00.031) 0:01:15.246 ****** 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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:12 Tuesday 06 February 2024 15:51:36 +0000 (0:00:00.023) 0:01:15.270 ****** 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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:17 Tuesday 06 February 2024 15:51:36 +0000 (0:00:00.018) 0:01:15.288 ****** 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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:21 Tuesday 06 February 2024 15:51:36 +0000 (0:00:00.019) 0:01:15.308 ****** ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__podman_packages": [ "podman", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Gather the package facts] ******************** task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:6 Tuesday 06 February 2024 15:51:36 +0000 (0:00:00.044) 0:01:15.352 ****** 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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:10 Tuesday 06 February 2024 15:51:37 +0000 (0:00:00.968) 0:01:16.321 ****** 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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:14 Tuesday 06 February 2024 15:51:37 +0000 (0:00:00.020) 0:01:16.341 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Get podman version] ************************** task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:23 Tuesday 06 February 2024 15:51:37 +0000 (0:00:00.025) 0:01:16.366 ****** ok: [sut] => { "changed": false, "cmd": [ "podman", "--version" ], "delta": "0:00:00.031262", "end": "2024-02-06 15:51:37.346080", "rc": 0, "start": "2024-02-06 15:51:37.314818" } STDOUT: podman version 4.8.1 TASK [linux-system-roles.podman : Set podman version] ************************** task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:28 Tuesday 06 February 2024 15:51:37 +0000 (0:00:00.220) 0:01:16.587 ****** ok: [sut] => { "ansible_facts": { "podman_version": "4.8.1" }, "changed": false } TASK [linux-system-roles.podman : Podman package version must be 4.2 or later] *** task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:32 Tuesday 06 February 2024 15:51:37 +0000 (0:00:00.020) 0:01:16.607 ****** 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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:39 Tuesday 06 February 2024 15:51:37 +0000 (0:00:00.018) 0:01:16.625 ****** 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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:56 Tuesday 06 February 2024 15:51:37 +0000 (0:00:00.032) 0:01:16.658 ****** included: /WORKDIR/git-fix-linger-handlinghp_y5u6s/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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:2 Tuesday 06 February 2024 15:51:37 +0000 (0:00:00.035) 0:01:16.694 ****** ok: [sut] => { "ansible_facts": { "getent_passwd": { "root": [ "x", "0", "0", "root", "/root", "/bin/bash" ] } }, "changed": false } TASK [linux-system-roles.podman : Fail if user does not exist] ***************** task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:10 Tuesday 06 February 2024 15:51:37 +0000 (0:00:00.199) 0:01:16.894 ****** 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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:17 Tuesday 06 February 2024 15:51:37 +0000 (0:00:00.023) 0:01:16.918 ****** ok: [sut] => { "ansible_facts": { "__podman_group": "0" }, "changed": false } TASK [linux-system-roles.podman : Get group information] *********************** task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:28 Tuesday 06 February 2024 15:51:37 +0000 (0:00:00.026) 0:01:16.944 ****** 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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:36 Tuesday 06 February 2024 15:51:37 +0000 (0:00:00.214) 0:01:17.159 ****** 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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:41 Tuesday 06 February 2024 15:51:37 +0000 (0:00:00.024) 0:01:17.184 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707234680.2516446, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 32, "charset": "binary", "checksum": "076f89863b474504550ab1b5c11216a77ed7123c", "ctime": 1707234646.3880622, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 4471560, "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": 1689166618.0, "nlink": 1, "path": "/usr/bin/getsubids", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 15496, "uid": 0, "version": "396954581", "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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:52 Tuesday 06 February 2024 15:51:38 +0000 (0:00:00.197) 0:01:17.382 ****** 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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:56 Tuesday 06 February 2024 15:51:38 +0000 (0:00:00.019) 0:01:17.401 ****** 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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:66 Tuesday 06 February 2024 15:51:38 +0000 (0:00:00.051) 0:01:17.453 ****** 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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:74 Tuesday 06 February 2024 15:51:38 +0000 (0:00:00.020) 0:01:17.473 ****** 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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:81 Tuesday 06 February 2024 15:51:38 +0000 (0:00:00.019) 0:01:17.493 ****** 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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:89 Tuesday 06 February 2024 15:51:38 +0000 (0:00:00.019) 0:01:17.512 ****** 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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:62 Tuesday 06 February 2024 15:51:38 +0000 (0:00:00.019) 0:01:17.532 ****** 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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:80 Tuesday 06 February 2024 15:51:38 +0000 (0:00:00.039) 0:01:17.571 ****** included: /WORKDIR/git-fix-linger-handlinghp_y5u6s/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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:5 Tuesday 06 February 2024 15:51:38 +0000 (0:00:00.035) 0:01:17.606 ****** changed: [sut] => { "changed": true, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/containers/containers.conf.d", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [linux-system-roles.podman : Update container config file] **************** task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 Tuesday 06 February 2024 15:51:38 +0000 (0:00:00.200) 0:01:17.807 ****** 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-1707234698.629248-3297-10976044331490/source", "state": "file", "uid": 0 } TASK [linux-system-roles.podman : Handle registries.conf.d] ******************** task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:83 Tuesday 06 February 2024 15:51:39 +0000 (0:00:00.517) 0:01:18.325 ****** included: /WORKDIR/git-fix-linger-handlinghp_y5u6s/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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:5 Tuesday 06 February 2024 15:51:39 +0000 (0:00:00.037) 0:01:18.362 ****** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/containers/registries.conf.d", "secontext": "system_u:object_r:etc_t:s0", "size": 107, "state": "directory", "uid": 0 } TASK [linux-system-roles.podman : Update registries config file] *************** task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 Tuesday 06 February 2024 15:51:39 +0000 (0:00:00.205) 0:01:18.567 ****** 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-1707234699.389225-3325-253697951926669/source", "state": "file", "uid": 0 } TASK [linux-system-roles.podman : Handle storage.conf] ************************* task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:86 Tuesday 06 February 2024 15:51:39 +0000 (0:00:00.513) 0:01:19.081 ****** included: /WORKDIR/git-fix-linger-handlinghp_y5u6s/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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:5 Tuesday 06 February 2024 15:51:39 +0000 (0:00:00.056) 0:01:19.137 ****** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/containers", "secontext": "system_u:object_r:etc_t:s0", "size": 179, "state": "directory", "uid": 0 } TASK [linux-system-roles.podman : Update storage config file] ****************** task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 Tuesday 06 February 2024 15:51:40 +0000 (0:00:00.202) 0:01:19.340 ****** 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-1707234700.161629-3340-102545509081039/source", "state": "file", "uid": 0 } TASK [linux-system-roles.podman : Handle policy.json] ************************** task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:89 Tuesday 06 February 2024 15:51:40 +0000 (0:00:00.526) 0:01:19.866 ****** included: /WORKDIR/git-fix-linger-handlinghp_y5u6s/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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:6 Tuesday 06 February 2024 15:51:40 +0000 (0:00:00.037) 0:01:19.904 ****** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/containers", "secontext": "system_u:object_r:etc_t:s0", "size": 179, "state": "directory", "uid": 0 } TASK [linux-system-roles.podman : Stat the policy.json file] ******************* task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:15 Tuesday 06 February 2024 15:51:40 +0000 (0:00:00.204) 0:01:20.108 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707234681.7636259, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "a71b1d310c167cdc95c2fc11e7835d5636768f14", "ctime": 1707234646.4460614, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 274727297, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "application/json", "mode": "0644", "mtime": 1689737729.0, "nlink": 1, "path": "/etc/containers/policy.json", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 663, "uid": 0, "version": "951390985", "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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:20 Tuesday 06 February 2024 15:51:41 +0000 (0:00:00.202) 0:01:20.310 ****** ok: [sut] => { "changed": false, "content": "ewogICAgImRlZmF1bHQiOiBbCiAgICAgICAgewogICAgICAgICAgICAidHlwZSI6ICJpbnNlY3VyZUFjY2VwdEFueXRoaW5nIgogICAgICAgIH0KICAgIF0sCiAgICAidHJhbnNwb3J0cyI6IHsKICAgICAgICAiZG9ja2VyIjogewoJICAgICJyZWdpc3RyeS5hY2Nlc3MucmVkaGF0LmNvbSI6IFsKCQl7CgkJICAgICJ0eXBlIjogInNpZ25lZEJ5IiwKCQkgICAgImtleVR5cGUiOiAiR1BHS2V5cyIsCgkJICAgICJrZXlQYXRocyI6IFsiL2V0Yy9wa2kvcnBtLWdwZy9SUE0tR1BHLUtFWS1yZWRoYXQtcmVsZWFzZSIsICIvZXRjL3BraS9ycG0tZ3BnL1JQTS1HUEctS0VZLXJlZGhhdC1iZXRhIl0KCQl9CgkgICAgXSwKCSAgICAicmVnaXN0cnkucmVkaGF0LmlvIjogWwoJCXsKCQkgICAgInR5cGUiOiAic2lnbmVkQnkiLAoJCSAgICAia2V5VHlwZSI6ICJHUEdLZXlzIiwKCQkgICAgImtleVBhdGhzIjogWyIvZXRjL3BraS9ycG0tZ3BnL1JQTS1HUEctS0VZLXJlZGhhdC1yZWxlYXNlIiwgIi9ldGMvcGtpL3JwbS1ncGcvUlBNLUdQRy1LRVktcmVkaGF0LWJldGEiXQoJCX0KCSAgICBdCgl9LAogICAgICAgICJkb2NrZXItZGFlbW9uIjogewoJICAgICIiOiBbCgkJewoJCSAgICAidHlwZSI6ICJpbnNlY3VyZUFjY2VwdEFueXRoaW5nIgoJCX0KCSAgICBdCgl9CiAgICB9Cn0K", "encoding": "base64", "source": "/etc/containers/policy.json" } TASK [linux-system-roles.podman : Write new policy.json file] ****************** task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:26 Tuesday 06 February 2024 15:51:41 +0000 (0:00:00.192) 0:01:20.503 ****** 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-1707234701.329238-3380-263827351265128/source", "state": "file", "uid": 0 } TASK [Manage firewall for specified ports] ************************************* task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:95 Tuesday 06 February 2024 15:51:41 +0000 (0:00:00.523) 0:01:21.026 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage selinux for specified ports] ************************************** task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:102 Tuesday 06 February 2024 15:51:41 +0000 (0:00:00.018) 0:01:21.045 ****** 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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:109 Tuesday 06 February 2024 15:51:41 +0000 (0:00:00.044) 0:01:21.089 ****** ok: [sut] => { "ansible_facts": { "__podman_cancel_user_linger": [] }, "changed": false } TASK [linux-system-roles.podman : Handle secrets] ****************************** task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:113 Tuesday 06 February 2024 15:51:41 +0000 (0:00:00.018) 0:01:21.108 ****** 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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:120 Tuesday 06 February 2024 15:51:41 +0000 (0:00:00.018) 0:01:21.126 ****** TASK [linux-system-roles.podman : Handle Quadlet specifications] *************** task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:126 Tuesday 06 February 2024 15:51:41 +0000 (0:00:00.017) 0:01:21.144 ****** TASK [linux-system-roles.podman : Cancel linger] ******************************* task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:132 Tuesday 06 February 2024 15:51:41 +0000 (0:00:00.018) 0:01:21.162 ****** TASK [Check that files exist and are non-null] ********************************* task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/tests_config_files.yml:113 Tuesday 06 February 2024 15:51:41 +0000 (0:00:00.017) 0:01:21.179 ****** 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": 1707234699.0524127, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "94370d6e765779f1c58daf02f667b8f0b74d91f6", "ctime": 1707234699.0564127, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 461373761, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1707234698.862415, "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": "1066990864", "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": 1707234699.8114033, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "dfb9cd7094a81b3d1bb06512cc9b49a09c75639b", "ctime": 1707234699.8154032, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 469762369, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1707234699.6234057, "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": "1587968231", "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": 1707234700.5963936, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d08574b6a1df63dbe1c939ff0bcc7c0b61d03044", "ctime": 1707234700.5963936, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 478150977, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1707234700.407396, "nlink": 1, "path": "/etc/containers/storage.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 109, "uid": 0, "version": "2252440645", "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": 1707234701.7563794, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6746c079ad563b735fc39f73d4876654b80b0a0d", "ctime": 1707234701.7563794, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 490733889, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "application/json", "mode": "0644", "mtime": 1707234701.5643818, "nlink": 1, "path": "/etc/containers/policy.json", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 67, "uid": 0, "version": "694660678", "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-handlinghp_y5u6s/tests/tests_config_files.yml:121 Tuesday 06 February 2024 15:51:42 +0000 (0:00:00.759) 0:01:21.939 ****** TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:3 Tuesday 06 February 2024 15:51:42 +0000 (0:00:00.055) 0:01:21.994 ****** included: /WORKDIR/git-fix-linger-handlinghp_y5u6s/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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:3 Tuesday 06 February 2024 15:51:42 +0000 (0:00:00.033) 0:01:22.027 ****** 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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:12 Tuesday 06 February 2024 15:51:42 +0000 (0:00:00.023) 0:01:22.051 ****** 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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:17 Tuesday 06 February 2024 15:51:42 +0000 (0:00:00.021) 0:01:22.072 ****** 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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:21 Tuesday 06 February 2024 15:51:42 +0000 (0:00:00.030) 0:01:22.103 ****** ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__podman_packages": [ "podman", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Gather the package facts] ******************** task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:6 Tuesday 06 February 2024 15:51:42 +0000 (0:00:00.046) 0:01:22.150 ****** 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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:10 Tuesday 06 February 2024 15:51:43 +0000 (0:00:00.999) 0:01:23.149 ****** 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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:14 Tuesday 06 February 2024 15:51:43 +0000 (0:00:00.021) 0:01:23.170 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Get podman version] ************************** task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:23 Tuesday 06 February 2024 15:51:43 +0000 (0:00:00.023) 0:01:23.193 ****** ok: [sut] => { "changed": false, "cmd": [ "podman", "--version" ], "delta": "0:00:00.031372", "end": "2024-02-06 15:51:44.177148", "rc": 0, "start": "2024-02-06 15:51:44.145776" } STDOUT: podman version 4.8.1 STDERR: time="2024-02-06T15:51:44Z" level=warning msg="The storage 'driver' option should be set in /etc/containers/storage.conf. A driver was picked automatically." TASK [linux-system-roles.podman : Set podman version] ************************** task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:28 Tuesday 06 February 2024 15:51:44 +0000 (0:00:00.224) 0:01:23.418 ****** ok: [sut] => { "ansible_facts": { "podman_version": "4.8.1" }, "changed": false } TASK [linux-system-roles.podman : Podman package version must be 4.2 or later] *** task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:32 Tuesday 06 February 2024 15:51:44 +0000 (0:00:00.022) 0:01:23.440 ****** 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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:39 Tuesday 06 February 2024 15:51:44 +0000 (0:00:00.021) 0:01:23.461 ****** 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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:56 Tuesday 06 February 2024 15:51:44 +0000 (0:00:00.032) 0:01:23.494 ****** included: /WORKDIR/git-fix-linger-handlinghp_y5u6s/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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:2 Tuesday 06 February 2024 15:51:44 +0000 (0:00:00.042) 0:01:23.537 ****** 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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:10 Tuesday 06 February 2024 15:51:44 +0000 (0:00:00.025) 0:01:23.563 ****** 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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:17 Tuesday 06 February 2024 15:51:44 +0000 (0:00:00.026) 0:01:23.589 ****** ok: [sut] => { "ansible_facts": { "__podman_group": "0" }, "changed": false } TASK [linux-system-roles.podman : Get group information] *********************** task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:28 Tuesday 06 February 2024 15:51:44 +0000 (0:00:00.025) 0:01:23.615 ****** 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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:36 Tuesday 06 February 2024 15:51:44 +0000 (0:00:00.196) 0:01:23.811 ****** 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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:41 Tuesday 06 February 2024 15:51:44 +0000 (0:00:00.024) 0:01:23.836 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707234680.2516446, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 32, "charset": "binary", "checksum": "076f89863b474504550ab1b5c11216a77ed7123c", "ctime": 1707234646.3880622, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 4471560, "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": 1689166618.0, "nlink": 1, "path": "/usr/bin/getsubids", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 15496, "uid": 0, "version": "396954581", "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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:52 Tuesday 06 February 2024 15:51:44 +0000 (0:00:00.196) 0:01:24.032 ****** 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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:56 Tuesday 06 February 2024 15:51:44 +0000 (0:00:00.018) 0:01:24.051 ****** 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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:66 Tuesday 06 February 2024 15:51:44 +0000 (0:00:00.019) 0:01:24.070 ****** 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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:74 Tuesday 06 February 2024 15:51:44 +0000 (0:00:00.017) 0:01:24.088 ****** 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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:81 Tuesday 06 February 2024 15:51:44 +0000 (0:00:00.018) 0:01:24.106 ****** 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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:89 Tuesday 06 February 2024 15:51:44 +0000 (0:00:00.017) 0:01:24.124 ****** 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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:62 Tuesday 06 February 2024 15:51:44 +0000 (0:00:00.019) 0:01:24.143 ****** 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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:80 Tuesday 06 February 2024 15:51:44 +0000 (0:00:00.037) 0:01:24.181 ****** included: /WORKDIR/git-fix-linger-handlinghp_y5u6s/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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:5 Tuesday 06 February 2024 15:51:45 +0000 (0:00:00.033) 0:01:24.215 ****** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/containers/containers.conf.d", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 33, "state": "directory", "uid": 0 } TASK [linux-system-roles.podman : Update container config file] **************** task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 Tuesday 06 February 2024 15:51:45 +0000 (0:00:00.205) 0:01:24.420 ****** 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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:83 Tuesday 06 February 2024 15:51:45 +0000 (0:00:00.473) 0:01:24.894 ****** included: /WORKDIR/git-fix-linger-handlinghp_y5u6s/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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:5 Tuesday 06 February 2024 15:51:45 +0000 (0:00:00.036) 0:01:24.930 ****** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/containers/registries.conf.d", "secontext": "system_u:object_r:etc_t:s0", "size": 134, "state": "directory", "uid": 0 } TASK [linux-system-roles.podman : Update registries config file] *************** task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 Tuesday 06 February 2024 15:51:45 +0000 (0:00:00.203) 0:01:25.134 ****** 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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:86 Tuesday 06 February 2024 15:51:46 +0000 (0:00:00.469) 0:01:25.604 ****** included: /WORKDIR/git-fix-linger-handlinghp_y5u6s/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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:5 Tuesday 06 February 2024 15:51:46 +0000 (0:00:00.035) 0:01:25.639 ****** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/containers", "secontext": "system_u:object_r:etc_t:s0", "size": 179, "state": "directory", "uid": 0 } TASK [linux-system-roles.podman : Update storage config file] ****************** task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 Tuesday 06 February 2024 15:51:46 +0000 (0:00:00.203) 0:01:25.843 ****** 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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:89 Tuesday 06 February 2024 15:51:47 +0000 (0:00:00.473) 0:01:26.316 ****** included: /WORKDIR/git-fix-linger-handlinghp_y5u6s/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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:6 Tuesday 06 February 2024 15:51:47 +0000 (0:00:00.036) 0:01:26.352 ****** ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/containers", "secontext": "system_u:object_r:etc_t:s0", "size": 179, "state": "directory", "uid": 0 } TASK [linux-system-roles.podman : Stat the policy.json file] ******************* task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:15 Tuesday 06 February 2024 15:51:47 +0000 (0:00:00.204) 0:01:26.557 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707234702.6893678, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6746c079ad563b735fc39f73d4876654b80b0a0d", "ctime": 1707234701.7563794, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 490733889, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "application/json", "mode": "0644", "mtime": 1707234701.5643818, "nlink": 1, "path": "/etc/containers/policy.json", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 67, "uid": 0, "version": "694660678", "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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:20 Tuesday 06 February 2024 15:51:47 +0000 (0:00:00.198) 0:01:26.755 ****** 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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:26 Tuesday 06 February 2024 15:51:47 +0000 (0:00:00.187) 0:01:26.943 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage firewall for specified ports] ************************************* task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:95 Tuesday 06 February 2024 15:51:47 +0000 (0:00:00.044) 0:01:26.988 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage selinux for specified ports] ************************************** task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:102 Tuesday 06 February 2024 15:51:47 +0000 (0:00:00.019) 0:01:27.007 ****** 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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:109 Tuesday 06 February 2024 15:51:47 +0000 (0:00:00.018) 0:01:27.026 ****** ok: [sut] => { "ansible_facts": { "__podman_cancel_user_linger": [] }, "changed": false } TASK [linux-system-roles.podman : Handle secrets] ****************************** task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:113 Tuesday 06 February 2024 15:51:47 +0000 (0:00:00.017) 0:01:27.044 ****** 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-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:120 Tuesday 06 February 2024 15:51:47 +0000 (0:00:00.018) 0:01:27.062 ****** TASK [linux-system-roles.podman : Handle Quadlet specifications] *************** task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:126 Tuesday 06 February 2024 15:51:47 +0000 (0:00:00.017) 0:01:27.079 ****** TASK [linux-system-roles.podman : Cancel linger] ******************************* task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:132 Tuesday 06 February 2024 15:51:47 +0000 (0:00:00.018) 0:01:27.097 ****** TASK [Check that files still exist and are non-null] *************************** task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/tests_config_files.yml:128 Tuesday 06 February 2024 15:51:47 +0000 (0:00:00.017) 0:01:27.115 ****** 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": 1707234702.1323748, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "94370d6e765779f1c58daf02f667b8f0b74d91f6", "ctime": 1707234699.0564127, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 461373761, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1707234698.862415, "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": "1066990864", "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": 1707234702.3173723, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "dfb9cd7094a81b3d1bb06512cc9b49a09c75639b", "ctime": 1707234699.8154032, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 469762369, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1707234699.6234057, "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": "1587968231", "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": 1707234702.50337, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d08574b6a1df63dbe1c939ff0bcc7c0b61d03044", "ctime": 1707234700.5963936, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 478150977, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1707234700.407396, "nlink": 1, "path": "/etc/containers/storage.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 109, "uid": 0, "version": "2252440645", "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": 1707234702.6893678, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6746c079ad563b735fc39f73d4876654b80b0a0d", "ctime": 1707234701.7563794, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 490733889, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "application/json", "mode": "0644", "mtime": 1707234701.5643818, "nlink": 1, "path": "/etc/containers/policy.json", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 67, "uid": 0, "version": "694660678", "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-handlinghp_y5u6s/tests/tests_config_files.yml:136 Tuesday 06 February 2024 15:51:48 +0000 (0:00:00.760) 0:01:27.876 ****** included: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/tasks/check_header.yml for sut included: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/tasks/check_header.yml for sut included: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/tasks/check_header.yml for sut included: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/tasks/check_header.yml for sut included: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/tasks/check_header.yml for sut included: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/tasks/check_header.yml for sut TASK [Get file] **************************************************************** task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/tasks/check_header.yml:3 Tuesday 06 February 2024 15:51:48 +0000 (0:00:00.056) 0:01:27.932 ****** 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-handlinghp_y5u6s/tests/tasks/check_header.yml:9 Tuesday 06 February 2024 15:51:48 +0000 (0:00:00.190) 0:01:28.123 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get file] **************************************************************** task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/tasks/check_header.yml:3 Tuesday 06 February 2024 15:51:48 +0000 (0:00:00.055) 0:01:28.179 ****** 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-handlinghp_y5u6s/tests/tasks/check_header.yml:9 Tuesday 06 February 2024 15:51:49 +0000 (0:00:00.188) 0:01:28.367 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get file] **************************************************************** task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/tasks/check_header.yml:3 Tuesday 06 February 2024 15:51:49 +0000 (0:00:00.108) 0:01:28.476 ****** 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-handlinghp_y5u6s/tests/tasks/check_header.yml:9 Tuesday 06 February 2024 15:51:49 +0000 (0:00:00.190) 0:01:28.667 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get file] **************************************************************** task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/tasks/check_header.yml:3 Tuesday 06 February 2024 15:51:49 +0000 (0:00:00.059) 0:01:28.727 ****** 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-handlinghp_y5u6s/tests/tasks/check_header.yml:9 Tuesday 06 February 2024 15:51:49 +0000 (0:00:00.194) 0:01:28.922 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get file] **************************************************************** task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/tasks/check_header.yml:3 Tuesday 06 February 2024 15:51:49 +0000 (0:00:00.056) 0:01:28.978 ****** 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-handlinghp_y5u6s/tests/tasks/check_header.yml:9 Tuesday 06 February 2024 15:51:49 +0000 (0:00:00.186) 0:01:29.165 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get file] **************************************************************** task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/tasks/check_header.yml:3 Tuesday 06 February 2024 15:51:50 +0000 (0:00:00.059) 0:01:29.224 ****** 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-handlinghp_y5u6s/tests/tasks/check_header.yml:9 Tuesday 06 February 2024 15:51:50 +0000 (0:00:00.191) 0:01:29.415 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove test config files] ************************************************ task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/tests_config_files.yml:157 Tuesday 06 February 2024 15:51:50 +0000 (0:00:00.056) 0:01:29.471 ****** 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-handlinghp_y5u6s/tests/tests_config_files.yml:163 Tuesday 06 February 2024 15:51:51 +0000 (0:00:01.504) 0:01:30.976 ****** ok: [sut] => { "changed": false, "cmd": [ "tar", "xfvpP", "/tmp/lsr_podman_config_7621qs12/backup.tar" ], "delta": "0:00:00.003785", "end": "2024-02-06 15:51:51.938937", "rc": 0, "start": "2024-02-06 15:51:51.935152" } STDOUT: /etc/containers/storage.conf /etc/containers/policy.json TASK [Remove temp directory] *************************************************** task path: /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/tests_config_files.yml:168 Tuesday 06 February 2024 15:51:51 +0000 (0:00:00.204) 0:01:31.180 ****** changed: [sut] => { "changed": true, "path": "/tmp/lsr_podman_config_7621qs12", "state": "absent" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=157 changed=16 unreachable=0 failed=0 skipped=108 rescued=0 ignored=0 Tuesday 06 February 2024 15:51:52 +0000 (0:00:00.188) 0:01:31.369 ****** =============================================================================== linux-system-roles.podman : Ensure required packages are installed ----- 54.74s /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:14 linux-system-roles.podman : Gather the package facts -------------------- 1.97s /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:6 linux-system-roles.podman : Gather the package facts -------------------- 1.88s /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:6 Remove test config files ------------------------------------------------ 1.50s /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/tests_config_files.yml:157 ----- Gathering Facts --------------------------------------------------------- 1.37s /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/tests_config_files.yml:9 ------- linux-system-roles.podman : Gather the package facts -------------------- 1.12s /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/main.yml:6 Check that files still exist and are non-null --------------------------- 0.77s /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/tests_config_files.yml:98 ------ Check that files exist and are non-null --------------------------------- 0.76s /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/tests_config_files.yml:83 ------ Check that files still exist and are non-null --------------------------- 0.76s /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/tests_config_files.yml:128 ----- Check that files exist and are non-null --------------------------------- 0.76s /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/tests_config_files.yml:113 ----- linux-system-roles.podman : Update container config file ---------------- 0.60s /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 linux-system-roles.podman : Update storage config file ------------------ 0.56s /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 Create backup ----------------------------------------------------------- 0.56s /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/tests_config_files.yml:65 ------ linux-system-roles.podman : Update storage config file ------------------ 0.53s /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 linux-system-roles.podman : Update registries config file --------------- 0.52s /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 linux-system-roles.podman : Write new policy.json file ------------------ 0.52s /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:26 linux-system-roles.podman : Update container config file ---------------- 0.52s /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 linux-system-roles.podman : Update registries config file --------------- 0.51s /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 linux-system-roles.podman : Write new policy.json file ------------------ 0.51s /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:26 Create user ------------------------------------------------------------- 0.50s /WORKDIR/git-fix-linger-handlinghp_y5u6s/tests/tests_config_files.yml:72 ------ ---^---^---^---^---^--- # 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. ---^---^---^---^---^---