# 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-handlingsckej91s/tests/tests_config_files.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Include vault variables] ************************************************* task path: /WORKDIR/git-fix-linger-handlingsckej91s/tests/tests_config_files.yml:4 Monday 05 February 2024 04:13:35 +0000 (0:00:00.024) 0:00:00.024 ******* 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-handlingsckej91s/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-handlingsckej91s/tests/tests_config_files.yml:9 Monday 05 February 2024 04:13:35 +0000 (0:00:00.011) 0:00:00.035 ******* ok: [sut] META: ran handlers TASK [Run the role with no config to get private vars] ************************* task path: /WORKDIR/git-fix-linger-handlingsckej91s/tests/tests_config_files.yml:48 Monday 05 February 2024 04:13:36 +0000 (0:00:01.274) 0:00:01.310 ******* TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-fix-linger-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:3 Monday 05 February 2024 04:13:36 +0000 (0:00:00.171) 0:00:01.481 ******* included: /WORKDIR/git-fix-linger-handlingsckej91s/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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:3 Monday 05 February 2024 04:13:36 +0000 (0:00:00.014) 0:00:01.496 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Check if system is ostree] ******************* task path: /WORKDIR/git-fix-linger-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:12 Monday 05 February 2024 04:13:36 +0000 (0:00:00.018) 0:00:01.514 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.podman : Set flag to indicate system is ostree] ******* task path: /WORKDIR/git-fix-linger-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:17 Monday 05 February 2024 04:13:37 +0000 (0:00:00.306) 0:00:01.821 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:21 Monday 05 February 2024 04:13:37 +0000 (0:00:00.019) 0:00:01.840 ******* ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__podman_packages": [ "podman", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-fix-linger-handlingsckej91s/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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:6 Monday 05 February 2024 04:13:37 +0000 (0:00:00.031) 0:00:01.872 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:10 Monday 05 February 2024 04:13:38 +0000 (0:00:01.169) 0:00:03.041 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:14 Monday 05 February 2024 04:13:38 +0000 (0:00:00.027) 0:00:03.068 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:23 Monday 05 February 2024 04:14:31 +0000 (0:00:52.921) 0:00:55.990 ******* ok: [sut] => { "changed": false, "cmd": [ "podman", "--version" ], "delta": "0:00:00.033197", "end": "2024-02-05 04:14:31.732588", "rc": 0, "start": "2024-02-05 04:14:31.699391" } STDOUT: podman version 4.8.1 TASK [linux-system-roles.podman : Set podman version] ************************** task path: /WORKDIR/git-fix-linger-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:28 Monday 05 February 2024 04:14:31 +0000 (0:00:00.357) 0:00:56.348 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:32 Monday 05 February 2024 04:14:31 +0000 (0:00:00.030) 0:00:56.378 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:39 Monday 05 February 2024 04:14:31 +0000 (0:00:00.034) 0:00:56.413 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:56 Monday 05 February 2024 04:14:31 +0000 (0:00:00.121) 0:00:56.535 ******* included: /WORKDIR/git-fix-linger-handlingsckej91s/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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:2 Monday 05 February 2024 04:14:31 +0000 (0:00:00.042) 0:00:56.577 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:10 Monday 05 February 2024 04:14:32 +0000 (0:00:00.325) 0:00:56.902 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:17 Monday 05 February 2024 04:14:32 +0000 (0:00:00.024) 0:00:56.926 ******* ok: [sut] => { "ansible_facts": { "__podman_group": "0" }, "changed": false } TASK [linux-system-roles.podman : Get group information] *********************** task path: /WORKDIR/git-fix-linger-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:28 Monday 05 February 2024 04:14:32 +0000 (0:00:00.024) 0:00:56.950 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:36 Monday 05 February 2024 04:14:32 +0000 (0:00:00.211) 0:00:57.161 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:41 Monday 05 February 2024 04:14:32 +0000 (0:00:00.023) 0:00:57.185 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1689166618.0, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 32, "charset": "binary", "checksum": "076f89863b474504550ab1b5c11216a77ed7123c", "ctime": 1707106439.0936928, "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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:52 Monday 05 February 2024 04:14:32 +0000 (0:00:00.208) 0:00:57.393 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:56 Monday 05 February 2024 04:14:32 +0000 (0:00:00.019) 0:00:57.413 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:66 Monday 05 February 2024 04:14:32 +0000 (0:00:00.026) 0:00:57.440 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:74 Monday 05 February 2024 04:14:32 +0000 (0:00:00.020) 0:00:57.460 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:81 Monday 05 February 2024 04:14:32 +0000 (0:00:00.021) 0:00:57.482 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:89 Monday 05 February 2024 04:14:32 +0000 (0:00:00.018) 0:00:57.501 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:62 Monday 05 February 2024 04:14:32 +0000 (0:00:00.026) 0:00:57.527 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:80 Monday 05 February 2024 04:14:32 +0000 (0:00:00.053) 0:00:57.581 ******* included: /WORKDIR/git-fix-linger-handlingsckej91s/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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:5 Monday 05 February 2024 04:14:33 +0000 (0:00:00.061) 0:00:57.642 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 Monday 05 February 2024 04:14:33 +0000 (0:00:00.023) 0:00:57.666 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:83 Monday 05 February 2024 04:14:33 +0000 (0:00:00.025) 0:00:57.691 ******* included: /WORKDIR/git-fix-linger-handlingsckej91s/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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:5 Monday 05 February 2024 04:14:33 +0000 (0:00:00.049) 0:00:57.741 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 Monday 05 February 2024 04:14:33 +0000 (0:00:00.019) 0:00:57.761 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Handle storage.conf] ************************* task path: /WORKDIR/git-fix-linger-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:86 Monday 05 February 2024 04:14:33 +0000 (0:00:00.035) 0:00:57.796 ******* included: /WORKDIR/git-fix-linger-handlingsckej91s/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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:5 Monday 05 February 2024 04:14:33 +0000 (0:00:00.041) 0:00:57.837 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 Monday 05 February 2024 04:14:33 +0000 (0:00:00.034) 0:00:57.872 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Handle policy.json] ************************** task path: /WORKDIR/git-fix-linger-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:89 Monday 05 February 2024 04:14:33 +0000 (0:00:00.023) 0:00:57.896 ******* included: /WORKDIR/git-fix-linger-handlingsckej91s/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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:6 Monday 05 February 2024 04:14:33 +0000 (0:00:00.037) 0:00:57.933 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:15 Monday 05 February 2024 04:14:33 +0000 (0:00:00.021) 0:00:57.954 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:20 Monday 05 February 2024 04:14:33 +0000 (0:00:00.017) 0:00:57.972 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:26 Monday 05 February 2024 04:14:33 +0000 (0:00:00.030) 0:00:58.002 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage firewall for specified ports] ************************************* task path: /WORKDIR/git-fix-linger-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:95 Monday 05 February 2024 04:14:33 +0000 (0:00:00.018) 0:00:58.021 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage selinux for specified ports] ************************************** task path: /WORKDIR/git-fix-linger-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:102 Monday 05 February 2024 04:14:33 +0000 (0:00:00.019) 0:00:58.041 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:109 Monday 05 February 2024 04:14:33 +0000 (0:00:00.019) 0:00:58.060 ******* ok: [sut] => { "ansible_facts": { "__podman_cancel_user_linger": [] }, "changed": false } TASK [linux-system-roles.podman : Handle secrets] ****************************** task path: /WORKDIR/git-fix-linger-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:113 Monday 05 February 2024 04:14:33 +0000 (0:00:00.020) 0:00:58.080 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:120 Monday 05 February 2024 04:14:33 +0000 (0:00:00.041) 0:00:58.122 ******* TASK [linux-system-roles.podman : Handle Quadlet specifications] *************** task path: /WORKDIR/git-fix-linger-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:126 Monday 05 February 2024 04:14:33 +0000 (0:00:00.017) 0:00:58.139 ******* TASK [linux-system-roles.podman : Cancel linger] ******************************* task path: /WORKDIR/git-fix-linger-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:132 Monday 05 February 2024 04:14:33 +0000 (0:00:00.018) 0:00:58.158 ******* TASK [Create temp directory] *************************************************** task path: /WORKDIR/git-fix-linger-handlingsckej91s/tests/tests_config_files.yml:59 Monday 05 February 2024 04:14:33 +0000 (0:00:00.017) 0:00:58.175 ******* changed: [sut] => { "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/lsr_podman_config_tfz3mfmx", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [Create backup] *********************************************************** task path: /WORKDIR/git-fix-linger-handlingsckej91s/tests/tests_config_files.yml:65 Monday 05 February 2024 04:14:33 +0000 (0:00:00.244) 0:00:58.420 ******* ok: [sut] => { "changed": false, "cmd": [ "tar", "--ignore-failed-read", "-c", "-P", "-v", "-p", "-f", "/tmp/lsr_podman_config_tfz3mfmx/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.189867", "end": "2024-02-05 04:14:34.188368", "rc": 0, "start": "2024-02-05 04:14:33.998501" } 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-handlingsckej91s/tests/tests_config_files.yml:72 Monday 05 February 2024 04:14:34 +0000 (0:00:00.383) 0:00:58.803 ******* 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-handlingsckej91s/tests/tests_config_files.yml:76 Monday 05 February 2024 04:14:34 +0000 (0:00:00.495) 0:00:59.299 ******* TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-fix-linger-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:3 Monday 05 February 2024 04:14:34 +0000 (0:00:00.041) 0:00:59.340 ******* included: /WORKDIR/git-fix-linger-handlingsckej91s/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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:3 Monday 05 February 2024 04:14:34 +0000 (0:00:00.030) 0:00:59.370 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:12 Monday 05 February 2024 04:14:34 +0000 (0:00:00.022) 0:00:59.393 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:17 Monday 05 February 2024 04:14:34 +0000 (0:00:00.017) 0:00:59.410 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:21 Monday 05 February 2024 04:14:34 +0000 (0:00:00.018) 0:00:59.429 ******* ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__podman_packages": [ "podman", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-fix-linger-handlingsckej91s/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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:6 Monday 05 February 2024 04:14:34 +0000 (0:00:00.045) 0:00:59.474 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:10 Monday 05 February 2024 04:14:35 +0000 (0:00:00.953) 0:01:00.427 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:14 Monday 05 February 2024 04:14:35 +0000 (0:00:00.018) 0:01:00.445 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Get podman version] ************************** task path: /WORKDIR/git-fix-linger-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:23 Monday 05 February 2024 04:14:35 +0000 (0:00:00.021) 0:01:00.467 ******* ok: [sut] => { "changed": false, "cmd": [ "podman", "--version" ], "delta": "0:00:00.031442", "end": "2024-02-05 04:14:36.068485", "rc": 0, "start": "2024-02-05 04:14:36.037043" } STDOUT: podman version 4.8.1 TASK [linux-system-roles.podman : Set podman version] ************************** task path: /WORKDIR/git-fix-linger-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:28 Monday 05 February 2024 04:14:36 +0000 (0:00:00.216) 0:01:00.683 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:32 Monday 05 February 2024 04:14:36 +0000 (0:00:00.019) 0:01:00.702 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:39 Monday 05 February 2024 04:14:36 +0000 (0:00:00.017) 0:01:00.720 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:56 Monday 05 February 2024 04:14:36 +0000 (0:00:00.031) 0:01:00.752 ******* included: /WORKDIR/git-fix-linger-handlingsckej91s/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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:2 Monday 05 February 2024 04:14:36 +0000 (0:00:00.033) 0:01:00.786 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:10 Monday 05 February 2024 04:14:36 +0000 (0:00:00.194) 0:01:00.980 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:17 Monday 05 February 2024 04:14:36 +0000 (0:00:00.043) 0:01:01.024 ******* ok: [sut] => { "ansible_facts": { "__podman_group": "1000" }, "changed": false } TASK [linux-system-roles.podman : Get group information] *********************** task path: /WORKDIR/git-fix-linger-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:28 Monday 05 February 2024 04:14:36 +0000 (0:00:00.024) 0:01:01.049 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:36 Monday 05 February 2024 04:14:36 +0000 (0:00:00.194) 0:01:01.243 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:41 Monday 05 February 2024 04:14:36 +0000 (0:00:00.023) 0:01:01.266 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707106472.7674186, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 32, "charset": "binary", "checksum": "076f89863b474504550ab1b5c11216a77ed7123c", "ctime": 1707106439.0936928, "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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:52 Monday 05 February 2024 04:14:36 +0000 (0:00:00.190) 0:01:01.457 ******* ok: [sut] => { "changed": false, "cmd": [ "getsubids", "user1" ], "delta": "0:00:00.003662", "end": "2024-02-05 04:14:37.035509", "rc": 0, "start": "2024-02-05 04:14:37.031847" } STDOUT: 0: user1 100000 65536 TASK [linux-system-roles.podman : Check group with getsubids] ****************** task path: /WORKDIR/git-fix-linger-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:56 Monday 05 February 2024 04:14:37 +0000 (0:00:00.194) 0:01:01.651 ******* ok: [sut] => { "changed": false, "cmd": [ "getsubids", "-g", "user1" ], "delta": "0:00:00.003695", "end": "2024-02-05 04:14:37.233013", "rc": 0, "start": "2024-02-05 04:14:37.229318" } STDOUT: 0: user1 100000 65536 TASK [linux-system-roles.podman : Check if user is in subuid file] ************* task path: /WORKDIR/git-fix-linger-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:66 Monday 05 February 2024 04:14:37 +0000 (0:00:00.195) 0:01:01.847 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:74 Monday 05 February 2024 04:14:37 +0000 (0:00:00.019) 0:01:01.866 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:81 Monday 05 February 2024 04:14:37 +0000 (0:00:00.019) 0:01:01.886 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:89 Monday 05 February 2024 04:14:37 +0000 (0:00:00.019) 0:01:01.905 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:62 Monday 05 February 2024 04:14:37 +0000 (0:00:00.017) 0:01:01.923 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:80 Monday 05 February 2024 04:14:37 +0000 (0:00:00.039) 0:01:01.963 ******* included: /WORKDIR/git-fix-linger-handlingsckej91s/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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:5 Monday 05 February 2024 04:14:37 +0000 (0:00:00.033) 0:01:01.997 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 Monday 05 February 2024 04:14:37 +0000 (0:00:00.284) 0:01:02.281 ******* 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-1707106477.727345-2872-138949091954531/source", "state": "file", "uid": 1000 } TASK [linux-system-roles.podman : Handle registries.conf.d] ******************** task path: /WORKDIR/git-fix-linger-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:83 Monday 05 February 2024 04:14:38 +0000 (0:00:00.585) 0:01:02.867 ******* included: /WORKDIR/git-fix-linger-handlingsckej91s/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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:5 Monday 05 February 2024 04:14:38 +0000 (0:00:00.034) 0:01:02.902 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 Monday 05 February 2024 04:14:38 +0000 (0:00:00.199) 0:01:03.102 ******* 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-1707106478.548221-2887-234189800254616/source", "state": "file", "uid": 1000 } TASK [linux-system-roles.podman : Handle storage.conf] ************************* task path: /WORKDIR/git-fix-linger-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:86 Monday 05 February 2024 04:14:39 +0000 (0:00:00.517) 0:01:03.620 ******* included: /WORKDIR/git-fix-linger-handlingsckej91s/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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:5 Monday 05 February 2024 04:14:39 +0000 (0:00:00.035) 0:01:03.656 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 Monday 05 February 2024 04:14:39 +0000 (0:00:00.200) 0:01:03.856 ******* 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-1707106479.302388-2934-138098728087714/source", "state": "file", "uid": 1000 } TASK [linux-system-roles.podman : Handle policy.json] ************************** task path: /WORKDIR/git-fix-linger-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:89 Monday 05 February 2024 04:14:39 +0000 (0:00:00.513) 0:01:04.369 ******* included: /WORKDIR/git-fix-linger-handlingsckej91s/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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:6 Monday 05 February 2024 04:14:39 +0000 (0:00:00.035) 0:01:04.405 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:15 Monday 05 February 2024 04:14:40 +0000 (0:00:00.198) 0:01:04.603 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.podman : Get the existing policy.json] **************** task path: /WORKDIR/git-fix-linger-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:20 Monday 05 February 2024 04:14:40 +0000 (0:00:00.189) 0:01:04.792 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:26 Monday 05 February 2024 04:14:40 +0000 (0:00:00.018) 0:01:04.811 ******* 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-1707106480.259802-2959-85649510453034/source", "state": "file", "uid": 1000 } TASK [Manage firewall for specified ports] ************************************* task path: /WORKDIR/git-fix-linger-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:95 Monday 05 February 2024 04:14:40 +0000 (0:00:00.503) 0:01:05.315 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage selinux for specified ports] ************************************** task path: /WORKDIR/git-fix-linger-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:102 Monday 05 February 2024 04:14:40 +0000 (0:00:00.018) 0:01:05.334 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:109 Monday 05 February 2024 04:14:40 +0000 (0:00:00.018) 0:01:05.352 ******* ok: [sut] => { "ansible_facts": { "__podman_cancel_user_linger": [] }, "changed": false } TASK [linux-system-roles.podman : Handle secrets] ****************************** task path: /WORKDIR/git-fix-linger-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:113 Monday 05 February 2024 04:14:40 +0000 (0:00:00.017) 0:01:05.369 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:120 Monday 05 February 2024 04:14:40 +0000 (0:00:00.016) 0:01:05.386 ******* TASK [linux-system-roles.podman : Handle Quadlet specifications] *************** task path: /WORKDIR/git-fix-linger-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:126 Monday 05 February 2024 04:14:40 +0000 (0:00:00.016) 0:01:05.403 ******* TASK [linux-system-roles.podman : Cancel linger] ******************************* task path: /WORKDIR/git-fix-linger-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:132 Monday 05 February 2024 04:14:40 +0000 (0:00:00.018) 0:01:05.421 ******* TASK [Check that files exist and are non-null] ********************************* task path: /WORKDIR/git-fix-linger-handlingsckej91s/tests/tests_config_files.yml:83 Monday 05 February 2024 04:14:40 +0000 (0:00:00.017) 0:01:05.439 ******* 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": 1707106478.2232103, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "94370d6e765779f1c58daf02f667b8f0b74d91f6", "ctime": 1707106478.22721, "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": 1707106477.9612203, "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": "1189716036", "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": 1707106478.9761815, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "dfb9cd7094a81b3d1bb06512cc9b49a09c75639b", "ctime": 1707106478.9791813, "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": 1707106478.7881887, "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": "1198987140", "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": 1707106479.726153, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d08574b6a1df63dbe1c939ff0bcc7c0b61d03044", "ctime": 1707106479.7291527, "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": 1707106479.5371602, "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": "1257066154", "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": 1707106480.6711168, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6746c079ad563b735fc39f73d4876654b80b0a0d", "ctime": 1707106480.6741166, "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": 1707106480.484124, "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": "1430395048", "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-handlingsckej91s/tests/tests_config_files.yml:91 Monday 05 February 2024 04:14:41 +0000 (0:00:00.747) 0:01:06.186 ******* TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-fix-linger-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:3 Monday 05 February 2024 04:14:41 +0000 (0:00:00.065) 0:01:06.252 ******* included: /WORKDIR/git-fix-linger-handlingsckej91s/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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:3 Monday 05 February 2024 04:14:41 +0000 (0:00:00.033) 0:01:06.285 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:12 Monday 05 February 2024 04:14:41 +0000 (0:00:00.022) 0:01:06.307 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:17 Monday 05 February 2024 04:14:41 +0000 (0:00:00.017) 0:01:06.325 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-fix-linger-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:21 Monday 05 February 2024 04:14:41 +0000 (0:00:00.017) 0:01:06.343 ******* ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__podman_packages": [ "podman", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-fix-linger-handlingsckej91s/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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:6 Monday 05 February 2024 04:14:41 +0000 (0:00:00.043) 0:01:06.386 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:10 Monday 05 February 2024 04:14:42 +0000 (0:00:00.926) 0:01:07.313 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:14 Monday 05 February 2024 04:14:42 +0000 (0:00:00.018) 0:01:07.331 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Get podman version] ************************** task path: /WORKDIR/git-fix-linger-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:23 Monday 05 February 2024 04:14:42 +0000 (0:00:00.021) 0:01:07.353 ******* ok: [sut] => { "changed": false, "cmd": [ "podman", "--version" ], "delta": "0:00:00.031839", "end": "2024-02-05 04:14:42.956112", "rc": 0, "start": "2024-02-05 04:14:42.924273" } STDOUT: podman version 4.8.1 TASK [linux-system-roles.podman : Set podman version] ************************** task path: /WORKDIR/git-fix-linger-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:28 Monday 05 February 2024 04:14:42 +0000 (0:00:00.218) 0:01:07.571 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:32 Monday 05 February 2024 04:14:43 +0000 (0:00:00.041) 0:01:07.613 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:39 Monday 05 February 2024 04:14:43 +0000 (0:00:00.018) 0:01:07.632 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:56 Monday 05 February 2024 04:14:43 +0000 (0:00:00.031) 0:01:07.664 ******* included: /WORKDIR/git-fix-linger-handlingsckej91s/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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:2 Monday 05 February 2024 04:14:43 +0000 (0:00:00.034) 0:01:07.698 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:10 Monday 05 February 2024 04:14:43 +0000 (0:00:00.022) 0:01:07.720 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:17 Monday 05 February 2024 04:14:43 +0000 (0:00:00.021) 0:01:07.742 ******* ok: [sut] => { "ansible_facts": { "__podman_group": "1000" }, "changed": false } TASK [linux-system-roles.podman : Get group information] *********************** task path: /WORKDIR/git-fix-linger-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:28 Monday 05 February 2024 04:14:43 +0000 (0:00:00.024) 0:01:07.767 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:36 Monday 05 February 2024 04:14:43 +0000 (0:00:00.194) 0:01:07.962 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:41 Monday 05 February 2024 04:14:43 +0000 (0:00:00.023) 0:01:07.985 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707106472.7674186, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 32, "charset": "binary", "checksum": "076f89863b474504550ab1b5c11216a77ed7123c", "ctime": 1707106439.0936928, "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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:52 Monday 05 February 2024 04:14:43 +0000 (0:00:00.193) 0:01:08.178 ******* ok: [sut] => { "changed": false, "cmd": [ "getsubids", "user1" ], "delta": "0:00:00.003722", "end": "2024-02-05 04:14:43.757946", "rc": 0, "start": "2024-02-05 04:14:43.754224" } STDOUT: 0: user1 100000 65536 TASK [linux-system-roles.podman : Check group with getsubids] ****************** task path: /WORKDIR/git-fix-linger-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:56 Monday 05 February 2024 04:14:43 +0000 (0:00:00.194) 0:01:08.372 ******* ok: [sut] => { "changed": false, "cmd": [ "getsubids", "-g", "user1" ], "delta": "0:00:00.003717", "end": "2024-02-05 04:14:43.951128", "rc": 0, "start": "2024-02-05 04:14:43.947411" } STDOUT: 0: user1 100000 65536 TASK [linux-system-roles.podman : Check if user is in subuid file] ************* task path: /WORKDIR/git-fix-linger-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:66 Monday 05 February 2024 04:14:43 +0000 (0:00:00.193) 0:01:08.566 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:74 Monday 05 February 2024 04:14:43 +0000 (0:00:00.017) 0:01:08.584 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:81 Monday 05 February 2024 04:14:44 +0000 (0:00:00.017) 0:01:08.602 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:89 Monday 05 February 2024 04:14:44 +0000 (0:00:00.017) 0:01:08.619 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:62 Monday 05 February 2024 04:14:44 +0000 (0:00:00.040) 0:01:08.659 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:80 Monday 05 February 2024 04:14:44 +0000 (0:00:00.039) 0:01:08.699 ******* included: /WORKDIR/git-fix-linger-handlingsckej91s/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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:5 Monday 05 February 2024 04:14:44 +0000 (0:00:00.034) 0:01:08.733 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 Monday 05 February 2024 04:14:44 +0000 (0:00:00.198) 0:01:08.932 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:83 Monday 05 February 2024 04:14:44 +0000 (0:00:00.462) 0:01:09.394 ******* included: /WORKDIR/git-fix-linger-handlingsckej91s/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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:5 Monday 05 February 2024 04:14:44 +0000 (0:00:00.036) 0:01:09.430 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 Monday 05 February 2024 04:14:45 +0000 (0:00:00.198) 0:01:09.628 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:86 Monday 05 February 2024 04:14:45 +0000 (0:00:00.465) 0:01:10.094 ******* included: /WORKDIR/git-fix-linger-handlingsckej91s/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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:5 Monday 05 February 2024 04:14:45 +0000 (0:00:00.035) 0:01:10.129 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 Monday 05 February 2024 04:14:45 +0000 (0:00:00.198) 0:01:10.328 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:89 Monday 05 February 2024 04:14:46 +0000 (0:00:00.464) 0:01:10.792 ******* included: /WORKDIR/git-fix-linger-handlingsckej91s/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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:6 Monday 05 February 2024 04:14:46 +0000 (0:00:00.036) 0:01:10.829 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:15 Monday 05 February 2024 04:14:46 +0000 (0:00:00.203) 0:01:11.032 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707106481.5630827, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6746c079ad563b735fc39f73d4876654b80b0a0d", "ctime": 1707106480.6741166, "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": 1707106480.484124, "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": "1430395048", "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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:20 Monday 05 February 2024 04:14:46 +0000 (0:00:00.200) 0:01:11.233 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:26 Monday 05 February 2024 04:14:46 +0000 (0:00:00.330) 0:01:11.563 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage firewall for specified ports] ************************************* task path: /WORKDIR/git-fix-linger-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:95 Monday 05 February 2024 04:14:46 +0000 (0:00:00.020) 0:01:11.584 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage selinux for specified ports] ************************************** task path: /WORKDIR/git-fix-linger-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:102 Monday 05 February 2024 04:14:47 +0000 (0:00:00.017) 0:01:11.602 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:109 Monday 05 February 2024 04:14:47 +0000 (0:00:00.017) 0:01:11.619 ******* ok: [sut] => { "ansible_facts": { "__podman_cancel_user_linger": [] }, "changed": false } TASK [linux-system-roles.podman : Handle secrets] ****************************** task path: /WORKDIR/git-fix-linger-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:113 Monday 05 February 2024 04:14:47 +0000 (0:00:00.017) 0:01:11.636 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:120 Monday 05 February 2024 04:14:47 +0000 (0:00:00.016) 0:01:11.653 ******* TASK [linux-system-roles.podman : Handle Quadlet specifications] *************** task path: /WORKDIR/git-fix-linger-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:126 Monday 05 February 2024 04:14:47 +0000 (0:00:00.016) 0:01:11.669 ******* TASK [linux-system-roles.podman : Cancel linger] ******************************* task path: /WORKDIR/git-fix-linger-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:132 Monday 05 February 2024 04:14:47 +0000 (0:00:00.016) 0:01:11.686 ******* TASK [Check that files still exist and are non-null] *************************** task path: /WORKDIR/git-fix-linger-handlingsckej91s/tests/tests_config_files.yml:98 Monday 05 February 2024 04:14:47 +0000 (0:00:00.016) 0:01:11.702 ******* 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": 1707106481.0151036, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "94370d6e765779f1c58daf02f667b8f0b74d91f6", "ctime": 1707106478.22721, "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": 1707106477.9612203, "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": "1189716036", "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": 1707106481.1970966, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "dfb9cd7094a81b3d1bb06512cc9b49a09c75639b", "ctime": 1707106478.9791813, "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": 1707106478.7881887, "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": "1198987140", "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": 1707106481.3800898, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d08574b6a1df63dbe1c939ff0bcc7c0b61d03044", "ctime": 1707106479.7291527, "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": 1707106479.5371602, "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": "1257066154", "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": 1707106481.5630827, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6746c079ad563b735fc39f73d4876654b80b0a0d", "ctime": 1707106480.6741166, "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": 1707106480.484124, "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": "1430395048", "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-handlingsckej91s/tests/tests_config_files.yml:106 Monday 05 February 2024 04:14:47 +0000 (0:00:00.768) 0:01:12.471 ******* TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-fix-linger-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:3 Monday 05 February 2024 04:14:47 +0000 (0:00:00.054) 0:01:12.525 ******* included: /WORKDIR/git-fix-linger-handlingsckej91s/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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:3 Monday 05 February 2024 04:14:47 +0000 (0:00:00.032) 0:01:12.558 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:12 Monday 05 February 2024 04:14:47 +0000 (0:00:00.022) 0:01:12.580 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:17 Monday 05 February 2024 04:14:48 +0000 (0:00:00.018) 0:01:12.599 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:21 Monday 05 February 2024 04:14:48 +0000 (0:00:00.017) 0:01:12.617 ******* ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__podman_packages": [ "podman", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-fix-linger-handlingsckej91s/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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:6 Monday 05 February 2024 04:14:48 +0000 (0:00:00.043) 0:01:12.660 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:10 Monday 05 February 2024 04:14:49 +0000 (0:00:00.947) 0:01:13.608 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:14 Monday 05 February 2024 04:14:49 +0000 (0:00:00.019) 0:01:13.627 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Get podman version] ************************** task path: /WORKDIR/git-fix-linger-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:23 Monday 05 February 2024 04:14:49 +0000 (0:00:00.023) 0:01:13.651 ******* ok: [sut] => { "changed": false, "cmd": [ "podman", "--version" ], "delta": "0:00:00.030536", "end": "2024-02-05 04:14:49.252249", "rc": 0, "start": "2024-02-05 04:14:49.221713" } STDOUT: podman version 4.8.1 TASK [linux-system-roles.podman : Set podman version] ************************** task path: /WORKDIR/git-fix-linger-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:28 Monday 05 February 2024 04:14:49 +0000 (0:00:00.217) 0:01:13.869 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:32 Monday 05 February 2024 04:14:49 +0000 (0:00:00.019) 0:01:13.888 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:39 Monday 05 February 2024 04:14:49 +0000 (0:00:00.017) 0:01:13.906 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:56 Monday 05 February 2024 04:14:49 +0000 (0:00:00.032) 0:01:13.938 ******* included: /WORKDIR/git-fix-linger-handlingsckej91s/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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:2 Monday 05 February 2024 04:14:49 +0000 (0:00:00.034) 0:01:13.973 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:10 Monday 05 February 2024 04:14:49 +0000 (0:00:00.195) 0:01:14.168 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:17 Monday 05 February 2024 04:14:49 +0000 (0:00:00.022) 0:01:14.191 ******* ok: [sut] => { "ansible_facts": { "__podman_group": "0" }, "changed": false } TASK [linux-system-roles.podman : Get group information] *********************** task path: /WORKDIR/git-fix-linger-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:28 Monday 05 February 2024 04:14:49 +0000 (0:00:00.023) 0:01:14.215 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:36 Monday 05 February 2024 04:14:49 +0000 (0:00:00.200) 0:01:14.415 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:41 Monday 05 February 2024 04:14:49 +0000 (0:00:00.025) 0:01:14.440 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707106472.7674186, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 32, "charset": "binary", "checksum": "076f89863b474504550ab1b5c11216a77ed7123c", "ctime": 1707106439.0936928, "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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:52 Monday 05 February 2024 04:14:50 +0000 (0:00:00.194) 0:01:14.634 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:56 Monday 05 February 2024 04:14:50 +0000 (0:00:00.019) 0:01:14.654 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:66 Monday 05 February 2024 04:14:50 +0000 (0:00:00.051) 0:01:14.705 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:74 Monday 05 February 2024 04:14:50 +0000 (0:00:00.019) 0:01:14.725 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:81 Monday 05 February 2024 04:14:50 +0000 (0:00:00.018) 0:01:14.743 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:89 Monday 05 February 2024 04:14:50 +0000 (0:00:00.019) 0:01:14.763 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:62 Monday 05 February 2024 04:14:50 +0000 (0:00:00.019) 0:01:14.783 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:80 Monday 05 February 2024 04:14:50 +0000 (0:00:00.040) 0:01:14.823 ******* included: /WORKDIR/git-fix-linger-handlingsckej91s/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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:5 Monday 05 February 2024 04:14:50 +0000 (0:00:00.035) 0:01:14.859 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 Monday 05 February 2024 04:14:50 +0000 (0:00:00.200) 0:01:15.060 ******* 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-1707106490.5058348-3251-277700639320964/source", "state": "file", "uid": 0 } TASK [linux-system-roles.podman : Handle registries.conf.d] ******************** task path: /WORKDIR/git-fix-linger-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:83 Monday 05 February 2024 04:14:50 +0000 (0:00:00.514) 0:01:15.574 ******* included: /WORKDIR/git-fix-linger-handlingsckej91s/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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:5 Monday 05 February 2024 04:14:51 +0000 (0:00:00.036) 0:01:15.611 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 Monday 05 February 2024 04:14:51 +0000 (0:00:00.202) 0:01:15.813 ******* 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-1707106491.2598567-3306-12211315388737/source", "state": "file", "uid": 0 } TASK [linux-system-roles.podman : Handle storage.conf] ************************* task path: /WORKDIR/git-fix-linger-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:86 Monday 05 February 2024 04:14:51 +0000 (0:00:00.536) 0:01:16.350 ******* included: /WORKDIR/git-fix-linger-handlingsckej91s/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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:5 Monday 05 February 2024 04:14:51 +0000 (0:00:00.035) 0:01:16.385 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 Monday 05 February 2024 04:14:51 +0000 (0:00:00.198) 0:01:16.584 ******* 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-1707106492.0306296-3336-86970201973077/source", "state": "file", "uid": 0 } TASK [linux-system-roles.podman : Handle policy.json] ************************** task path: /WORKDIR/git-fix-linger-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:89 Monday 05 February 2024 04:14:52 +0000 (0:00:00.530) 0:01:17.115 ******* included: /WORKDIR/git-fix-linger-handlingsckej91s/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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:6 Monday 05 February 2024 04:14:52 +0000 (0:00:00.036) 0:01:17.152 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:15 Monday 05 February 2024 04:14:52 +0000 (0:00:00.198) 0:01:17.351 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707106474.1863644, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "a71b1d310c167cdc95c2fc11e7835d5636768f14", "ctime": 1707106439.2286878, "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": "2747441686", "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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:20 Monday 05 February 2024 04:14:52 +0000 (0:00:00.195) 0:01:17.547 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:26 Monday 05 February 2024 04:14:53 +0000 (0:00:00.186) 0:01:17.733 ******* 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-1707106493.182317-3361-85571049668170/source", "state": "file", "uid": 0 } TASK [Manage firewall for specified ports] ************************************* task path: /WORKDIR/git-fix-linger-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:95 Monday 05 February 2024 04:14:53 +0000 (0:00:00.515) 0:01:18.248 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage selinux for specified ports] ************************************** task path: /WORKDIR/git-fix-linger-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:102 Monday 05 February 2024 04:14:53 +0000 (0:00:00.019) 0:01:18.267 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:109 Monday 05 February 2024 04:14:53 +0000 (0:00:00.046) 0:01:18.314 ******* ok: [sut] => { "ansible_facts": { "__podman_cancel_user_linger": [] }, "changed": false } TASK [linux-system-roles.podman : Handle secrets] ****************************** task path: /WORKDIR/git-fix-linger-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:113 Monday 05 February 2024 04:14:53 +0000 (0:00:00.018) 0:01:18.332 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:120 Monday 05 February 2024 04:14:53 +0000 (0:00:00.018) 0:01:18.350 ******* TASK [linux-system-roles.podman : Handle Quadlet specifications] *************** task path: /WORKDIR/git-fix-linger-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:126 Monday 05 February 2024 04:14:53 +0000 (0:00:00.018) 0:01:18.369 ******* TASK [linux-system-roles.podman : Cancel linger] ******************************* task path: /WORKDIR/git-fix-linger-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:132 Monday 05 February 2024 04:14:53 +0000 (0:00:00.018) 0:01:18.388 ******* TASK [Check that files exist and are non-null] ********************************* task path: /WORKDIR/git-fix-linger-handlingsckej91s/tests/tests_config_files.yml:113 Monday 05 February 2024 04:14:53 +0000 (0:00:00.016) 0:01:18.404 ******* 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": 1707106490.9277248, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "94370d6e765779f1c58daf02f667b8f0b74d91f6", "ctime": 1707106490.9317248, "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": 1707106490.7377322, "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": "1615996491", "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": 1707106491.6806962, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "dfb9cd7094a81b3d1bb06512cc9b49a09c75639b", "ctime": 1707106491.683696, "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": 1707106491.4937034, "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": "4225601094", "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": 1707106492.4676661, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d08574b6a1df63dbe1c939ff0bcc7c0b61d03044", "ctime": 1707106492.468666, "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": 1707106492.2806733, "nlink": 1, "path": "/etc/containers/storage.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 109, "uid": 0, "version": "3745987099", "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": 1707106493.6026227, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6746c079ad563b735fc39f73d4876654b80b0a0d", "ctime": 1707106493.6036227, "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": 1707106493.4156299, "nlink": 1, "path": "/etc/containers/policy.json", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 67, "uid": 0, "version": "46615997", "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-handlingsckej91s/tests/tests_config_files.yml:121 Monday 05 February 2024 04:14:54 +0000 (0:00:00.740) 0:01:19.145 ******* TASK [linux-system-roles.podman : Set platform/version specific variables] ***** task path: /WORKDIR/git-fix-linger-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:3 Monday 05 February 2024 04:14:54 +0000 (0:00:00.055) 0:01:19.200 ******* included: /WORKDIR/git-fix-linger-handlingsckej91s/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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:3 Monday 05 February 2024 04:14:54 +0000 (0:00:00.034) 0:01:19.234 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:12 Monday 05 February 2024 04:14:54 +0000 (0:00:00.023) 0:01:19.258 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:17 Monday 05 February 2024 04:14:54 +0000 (0:00:00.017) 0:01:19.276 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/set_vars.yml:21 Monday 05 February 2024 04:14:54 +0000 (0:00:00.018) 0:01:19.294 ******* ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__podman_packages": [ "podman", "shadow-utils-subid" ] }, "ansible_included_var_files": [ "/WORKDIR/git-fix-linger-handlingsckej91s/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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:6 Monday 05 February 2024 04:14:54 +0000 (0:00:00.042) 0:01:19.337 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:10 Monday 05 February 2024 04:14:55 +0000 (0:00:00.977) 0:01:20.314 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:14 Monday 05 February 2024 04:14:55 +0000 (0:00:00.028) 0:01:20.343 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.podman : Get podman version] ************************** task path: /WORKDIR/git-fix-linger-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:23 Monday 05 February 2024 04:14:55 +0000 (0:00:00.026) 0:01:20.369 ******* ok: [sut] => { "changed": false, "cmd": [ "podman", "--version" ], "delta": "0:00:00.031533", "end": "2024-02-05 04:14:55.972650", "rc": 0, "start": "2024-02-05 04:14:55.941117" } STDOUT: podman version 4.8.1 STDERR: time="2024-02-05T04:14:55Z" 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:28 Monday 05 February 2024 04:14:56 +0000 (0:00:00.220) 0:01:20.590 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:32 Monday 05 February 2024 04:14:56 +0000 (0:00:00.021) 0:01:20.611 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:39 Monday 05 February 2024 04:14:56 +0000 (0:00:00.019) 0:01:20.630 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:56 Monday 05 February 2024 04:14:56 +0000 (0:00:00.032) 0:01:20.663 ******* included: /WORKDIR/git-fix-linger-handlingsckej91s/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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:2 Monday 05 February 2024 04:14:56 +0000 (0:00:00.034) 0:01:20.697 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:10 Monday 05 February 2024 04:14:56 +0000 (0:00:00.024) 0:01:20.721 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:17 Monday 05 February 2024 04:14:56 +0000 (0:00:00.022) 0:01:20.744 ******* ok: [sut] => { "ansible_facts": { "__podman_group": "0" }, "changed": false } TASK [linux-system-roles.podman : Get group information] *********************** task path: /WORKDIR/git-fix-linger-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:28 Monday 05 February 2024 04:14:56 +0000 (0:00:00.024) 0:01:20.769 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:36 Monday 05 February 2024 04:14:56 +0000 (0:00:00.219) 0:01:20.988 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:41 Monday 05 February 2024 04:14:56 +0000 (0:00:00.025) 0:01:21.013 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707106472.7674186, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 32, "charset": "binary", "checksum": "076f89863b474504550ab1b5c11216a77ed7123c", "ctime": 1707106439.0936928, "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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:52 Monday 05 February 2024 04:14:56 +0000 (0:00:00.207) 0:01:21.220 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:56 Monday 05 February 2024 04:14:56 +0000 (0:00:00.045) 0:01:21.265 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:66 Monday 05 February 2024 04:14:56 +0000 (0:00:00.021) 0:01:21.286 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:74 Monday 05 February 2024 04:14:56 +0000 (0:00:00.024) 0:01:21.310 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:81 Monday 05 February 2024 04:14:56 +0000 (0:00:00.021) 0:01:21.332 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_user_group.yml:89 Monday 05 February 2024 04:14:56 +0000 (0:00:00.018) 0:01:21.351 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:62 Monday 05 February 2024 04:14:56 +0000 (0:00:00.019) 0:01:21.371 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:80 Monday 05 February 2024 04:14:56 +0000 (0:00:00.039) 0:01:21.410 ******* included: /WORKDIR/git-fix-linger-handlingsckej91s/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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:5 Monday 05 February 2024 04:14:56 +0000 (0:00:00.035) 0:01:21.445 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 Monday 05 February 2024 04:14:57 +0000 (0:00:00.203) 0:01:21.649 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:83 Monday 05 February 2024 04:14:57 +0000 (0:00:00.483) 0:01:22.133 ******* included: /WORKDIR/git-fix-linger-handlingsckej91s/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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:5 Monday 05 February 2024 04:14:57 +0000 (0:00:00.036) 0:01:22.169 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 Monday 05 February 2024 04:14:57 +0000 (0:00:00.234) 0:01:22.403 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:86 Monday 05 February 2024 04:14:58 +0000 (0:00:00.498) 0:01:22.901 ******* included: /WORKDIR/git-fix-linger-handlingsckej91s/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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:5 Monday 05 February 2024 04:14:58 +0000 (0:00:00.041) 0:01:22.943 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 Monday 05 February 2024 04:14:58 +0000 (0:00:00.201) 0:01:23.145 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:89 Monday 05 February 2024 04:14:59 +0000 (0:00:00.480) 0:01:23.625 ******* included: /WORKDIR/git-fix-linger-handlingsckej91s/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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:6 Monday 05 February 2024 04:14:59 +0000 (0:00:00.071) 0:01:23.696 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:15 Monday 05 February 2024 04:14:59 +0000 (0:00:00.200) 0:01:23.897 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707106494.5215876, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6746c079ad563b735fc39f73d4876654b80b0a0d", "ctime": 1707106493.6036227, "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": 1707106493.4156299, "nlink": 1, "path": "/etc/containers/policy.json", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 67, "uid": 0, "version": "46615997", "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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:20 Monday 05 February 2024 04:14:59 +0000 (0:00:00.195) 0:01:24.092 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:26 Monday 05 February 2024 04:14:59 +0000 (0:00:00.187) 0:01:24.279 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage firewall for specified ports] ************************************* task path: /WORKDIR/git-fix-linger-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:95 Monday 05 February 2024 04:14:59 +0000 (0:00:00.022) 0:01:24.302 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage selinux for specified ports] ************************************** task path: /WORKDIR/git-fix-linger-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:102 Monday 05 February 2024 04:14:59 +0000 (0:00:00.064) 0:01:24.366 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:109 Monday 05 February 2024 04:14:59 +0000 (0:00:00.037) 0:01:24.403 ******* ok: [sut] => { "ansible_facts": { "__podman_cancel_user_linger": [] }, "changed": false } TASK [linux-system-roles.podman : Handle secrets] ****************************** task path: /WORKDIR/git-fix-linger-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:113 Monday 05 February 2024 04:14:59 +0000 (0:00:00.019) 0:01:24.422 ******* 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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:120 Monday 05 February 2024 04:14:59 +0000 (0:00:00.021) 0:01:24.443 ******* TASK [linux-system-roles.podman : Handle Quadlet specifications] *************** task path: /WORKDIR/git-fix-linger-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:126 Monday 05 February 2024 04:14:59 +0000 (0:00:00.021) 0:01:24.465 ******* TASK [linux-system-roles.podman : Cancel linger] ******************************* task path: /WORKDIR/git-fix-linger-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:132 Monday 05 February 2024 04:14:59 +0000 (0:00:00.029) 0:01:24.494 ******* TASK [Check that files still exist and are non-null] *************************** task path: /WORKDIR/git-fix-linger-handlingsckej91s/tests/tests_config_files.yml:128 Monday 05 February 2024 04:14:59 +0000 (0:00:00.026) 0:01:24.521 ******* 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": 1707106493.9786084, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "94370d6e765779f1c58daf02f667b8f0b74d91f6", "ctime": 1707106490.9317248, "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": 1707106490.7377322, "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": "1615996491", "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": 1707106494.1596014, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "dfb9cd7094a81b3d1bb06512cc9b49a09c75639b", "ctime": 1707106491.683696, "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": 1707106491.4937034, "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": "4225601094", "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": 1707106494.3415945, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d08574b6a1df63dbe1c939ff0bcc7c0b61d03044", "ctime": 1707106492.468666, "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": 1707106492.2806733, "nlink": 1, "path": "/etc/containers/storage.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 109, "uid": 0, "version": "3745987099", "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": 1707106494.5215876, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6746c079ad563b735fc39f73d4876654b80b0a0d", "ctime": 1707106493.6036227, "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": 1707106493.4156299, "nlink": 1, "path": "/etc/containers/policy.json", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 67, "uid": 0, "version": "46615997", "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-handlingsckej91s/tests/tests_config_files.yml:136 Monday 05 February 2024 04:15:00 +0000 (0:00:00.775) 0:01:25.297 ******* included: /WORKDIR/git-fix-linger-handlingsckej91s/tests/tasks/check_header.yml for sut included: /WORKDIR/git-fix-linger-handlingsckej91s/tests/tasks/check_header.yml for sut included: /WORKDIR/git-fix-linger-handlingsckej91s/tests/tasks/check_header.yml for sut included: /WORKDIR/git-fix-linger-handlingsckej91s/tests/tasks/check_header.yml for sut included: /WORKDIR/git-fix-linger-handlingsckej91s/tests/tasks/check_header.yml for sut included: /WORKDIR/git-fix-linger-handlingsckej91s/tests/tasks/check_header.yml for sut TASK [Get file] **************************************************************** task path: /WORKDIR/git-fix-linger-handlingsckej91s/tests/tasks/check_header.yml:3 Monday 05 February 2024 04:15:00 +0000 (0:00:00.057) 0:01:25.355 ******* 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-handlingsckej91s/tests/tasks/check_header.yml:9 Monday 05 February 2024 04:15:00 +0000 (0:00:00.185) 0:01:25.541 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get file] **************************************************************** task path: /WORKDIR/git-fix-linger-handlingsckej91s/tests/tasks/check_header.yml:3 Monday 05 February 2024 04:15:01 +0000 (0:00:00.057) 0:01:25.598 ******* 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-handlingsckej91s/tests/tasks/check_header.yml:9 Monday 05 February 2024 04:15:01 +0000 (0:00:00.185) 0:01:25.783 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get file] **************************************************************** task path: /WORKDIR/git-fix-linger-handlingsckej91s/tests/tasks/check_header.yml:3 Monday 05 February 2024 04:15:01 +0000 (0:00:00.082) 0:01:25.865 ******* 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-handlingsckej91s/tests/tasks/check_header.yml:9 Monday 05 February 2024 04:15:01 +0000 (0:00:00.187) 0:01:26.053 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get file] **************************************************************** task path: /WORKDIR/git-fix-linger-handlingsckej91s/tests/tasks/check_header.yml:3 Monday 05 February 2024 04:15:01 +0000 (0:00:00.059) 0:01:26.112 ******* 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-handlingsckej91s/tests/tasks/check_header.yml:9 Monday 05 February 2024 04:15:01 +0000 (0:00:00.196) 0:01:26.309 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get file] **************************************************************** task path: /WORKDIR/git-fix-linger-handlingsckej91s/tests/tasks/check_header.yml:3 Monday 05 February 2024 04:15:01 +0000 (0:00:00.058) 0:01:26.368 ******* 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-handlingsckej91s/tests/tasks/check_header.yml:9 Monday 05 February 2024 04:15:01 +0000 (0:00:00.189) 0:01:26.557 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get file] **************************************************************** task path: /WORKDIR/git-fix-linger-handlingsckej91s/tests/tasks/check_header.yml:3 Monday 05 February 2024 04:15:02 +0000 (0:00:00.060) 0:01:26.618 ******* 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-handlingsckej91s/tests/tasks/check_header.yml:9 Monday 05 February 2024 04:15:02 +0000 (0:00:00.190) 0:01:26.808 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove test config files] ************************************************ task path: /WORKDIR/git-fix-linger-handlingsckej91s/tests/tests_config_files.yml:154 Monday 05 February 2024 04:15:02 +0000 (0:00:00.058) 0:01:26.866 ******* 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-handlingsckej91s/tests/tests_config_files.yml:160 Monday 05 February 2024 04:15:03 +0000 (0:00:01.465) 0:01:28.332 ******* ok: [sut] => { "changed": false, "cmd": [ "tar", "xfvpP", "/tmp/lsr_podman_config_tfz3mfmx/backup.tar" ], "delta": "0:00:00.003781", "end": "2024-02-05 04:15:03.910512", "rc": 0, "start": "2024-02-05 04:15:03.906731" } STDOUT: /etc/containers/storage.conf /etc/containers/policy.json TASK [Remove temp directory] *************************************************** task path: /WORKDIR/git-fix-linger-handlingsckej91s/tests/tests_config_files.yml:165 Monday 05 February 2024 04:15:03 +0000 (0:00:00.223) 0:01:28.555 ******* changed: [sut] => { "changed": true, "path": "/tmp/lsr_podman_config_tfz3mfmx", "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 Monday 05 February 2024 04:15:04 +0000 (0:00:00.185) 0:01:28.740 ******* =============================================================================== linux-system-roles.podman : Ensure required packages are installed ----- 52.92s /WORKDIR/git-fix-linger-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:14 linux-system-roles.podman : Gather the package facts -------------------- 1.93s /WORKDIR/git-fix-linger-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:6 linux-system-roles.podman : Gather the package facts -------------------- 1.88s /WORKDIR/git-fix-linger-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:6 Remove test config files ------------------------------------------------ 1.47s /WORKDIR/git-fix-linger-handlingsckej91s/tests/tests_config_files.yml:154 ----- Gathering Facts --------------------------------------------------------- 1.27s /WORKDIR/git-fix-linger-handlingsckej91s/tests/tests_config_files.yml:9 ------- linux-system-roles.podman : Gather the package facts -------------------- 1.17s /WORKDIR/git-fix-linger-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/main.yml:6 Check that files still exist and are non-null --------------------------- 0.78s /WORKDIR/git-fix-linger-handlingsckej91s/tests/tests_config_files.yml:128 ----- Check that files still exist and are non-null --------------------------- 0.77s /WORKDIR/git-fix-linger-handlingsckej91s/tests/tests_config_files.yml:98 ------ Check that files exist and are non-null --------------------------------- 0.75s /WORKDIR/git-fix-linger-handlingsckej91s/tests/tests_config_files.yml:83 ------ Check that files exist and are non-null --------------------------------- 0.74s /WORKDIR/git-fix-linger-handlingsckej91s/tests/tests_config_files.yml:113 ----- linux-system-roles.podman : Update container config file ---------------- 0.59s /WORKDIR/git-fix-linger-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 linux-system-roles.podman : Update registries config file --------------- 0.54s /WORKDIR/git-fix-linger-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 linux-system-roles.podman : Update storage config file ------------------ 0.53s /WORKDIR/git-fix-linger-handlingsckej91s/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-handlingsckej91s/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-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:26 linux-system-roles.podman : Update container config file ---------------- 0.51s /WORKDIR/git-fix-linger-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_container_conf_d.yml:14 linux-system-roles.podman : Update storage config file ------------------ 0.51s /WORKDIR/git-fix-linger-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_storage_conf.yml:14 linux-system-roles.podman : Write new policy.json file ------------------ 0.50s /WORKDIR/git-fix-linger-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_policy_json.yml:26 linux-system-roles.podman : Update registries config file --------------- 0.50s /WORKDIR/git-fix-linger-handlingsckej91s/tests/roles/linux-system-roles.podman/tasks/handle_registries_conf_d.yml:14 Create user ------------------------------------------------------------- 0.50s /WORKDIR/git-fix-linger-handlingsckej91s/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. ---^---^---^---^---^---