# 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_include_vars_from_parent.yml *********************************** 1 plays in /WORKDIR/git-support_transactional_updatev0v2o4n0/tests/tests_include_vars_from_parent.yml PLAY [Test role include variable override] ************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-support_transactional_updatev0v2o4n0/tests/tests_include_vars_from_parent.yml:2 Tuesday 30 July 2024 19:11:44 +0000 (0:00:00.012) 0:00:00.012 ********** ok: [sut] META: ran handlers TASK [Create var file in caller that can override the one in called role] ****** task path: /WORKDIR/git-support_transactional_updatev0v2o4n0/tests/tests_include_vars_from_parent.yml:8 Tuesday 30 July 2024 19:11:44 +0000 (0:00:00.693) 0:00:00.706 ********** changed: [sut -> localhost] => (item=CentOS-9) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-support_transactional_updatev0v2o4n0/tests/roles/caller/vars/CentOS-9.yml", "gid": 1001, "group": "jenkins", "item": "CentOS-9", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1722366704.993268-2332-7203944938969/source", "state": "file", "uid": 1000090000 } changed: [sut -> localhost] => (item=CentOS_9) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-support_transactional_updatev0v2o4n0/tests/roles/caller/vars/CentOS_9.yml", "gid": 1001, "group": "jenkins", "item": "CentOS_9", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1722366705.3725374-2332-9773012602514/source", "state": "file", "uid": 1000090000 } changed: [sut -> localhost] => (item=CentOS) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-support_transactional_updatev0v2o4n0/tests/roles/caller/vars/CentOS.yml", "gid": 1001, "group": "jenkins", "item": "CentOS", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1722366705.6249125-2332-100371009467318/source", "state": "file", "uid": 1000090000 } changed: [sut -> localhost] => (item=RedHat) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-support_transactional_updatev0v2o4n0/tests/roles/caller/vars/RedHat.yml", "gid": 1001, "group": "jenkins", "item": "RedHat", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1722366705.8539662-2332-104755831173221/source", "state": "file", "uid": 1000090000 } TASK [Test setup] ************************************************************** task path: /WORKDIR/git-support_transactional_updatev0v2o4n0/tests/tests_include_vars_from_parent.yml:46 Tuesday 30 July 2024 19:11:46 +0000 (0:00:01.144) 0:00:01.851 ********** included: /WORKDIR/git-support_transactional_updatev0v2o4n0/tests/tasks/setup.yml for sut TASK [Create temp test directory] ********************************************** task path: /WORKDIR/git-support_transactional_updatev0v2o4n0/tests/tasks/setup.yml:3 Tuesday 30 July 2024 19:11:46 +0000 (0:00:00.024) 0:00:01.876 ********** changed: [sut] => { "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/var/tmp/sudo_t9pby6y_", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [Backup sudoers] ********************************************************** task path: /WORKDIR/git-support_transactional_updatev0v2o4n0/tests/tasks/setup.yml:10 Tuesday 30 July 2024 19:11:46 +0000 (0:00:00.217) 0:00:02.093 ********** changed: [sut] => { "changed": true, "checksum": "e683ad5e5d8d7112d14924c11c98be7bf2ef4918", "dest": "/var/tmp/sudo_t9pby6y_/sudoers", "gid": 0, "group": "root", "md5sum": "1b134d95a4618029ff962a63b021e1ca", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 4328, "src": "/etc/sudoers", "state": "file", "uid": 0 } TASK [Backup sudoers.d] ******************************************************** task path: /WORKDIR/git-support_transactional_updatev0v2o4n0/tests/tasks/setup.yml:19 Tuesday 30 July 2024 19:11:46 +0000 (0:00:00.381) 0:00:02.474 ********** changed: [sut] => { "changed": true, "checksum": null, "dest": "/var/tmp/sudo_t9pby6y_/sudoers.d", "gid": 0, "group": "root", "md5sum": null, "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 23, "src": "/etc/sudoers.d", "state": "directory", "uid": 0 } TASK [Include role] ************************************************************ task path: /WORKDIR/git-support_transactional_updatev0v2o4n0/tests/roles/caller/tasks/main.yml:4 Tuesday 30 July 2024 19:11:47 +0000 (0:00:00.290) 0:00:02.764 ********** TASK [linux-system-roles.sudo : Set version specific variables] **************** task path: /WORKDIR/git-support_transactional_updatev0v2o4n0/tests/roles/linux-system-roles.sudo/tasks/main.yml:2 Tuesday 30 July 2024 19:11:47 +0000 (0:00:00.022) 0:00:02.787 ********** included: /WORKDIR/git-support_transactional_updatev0v2o4n0/tests/roles/linux-system-roles.sudo/tasks/set_vars.yml for sut TASK [linux-system-roles.sudo : Ensure ansible_facts used by role] ************* task path: /WORKDIR/git-support_transactional_updatev0v2o4n0/tests/roles/linux-system-roles.sudo/tasks/set_vars.yml:2 Tuesday 30 July 2024 19:11:47 +0000 (0:00:00.032) 0:00:02.820 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.sudo : Check if system is ostree] ********************* task path: /WORKDIR/git-support_transactional_updatev0v2o4n0/tests/roles/linux-system-roles.sudo/tasks/set_vars.yml:11 Tuesday 30 July 2024 19:11:47 +0000 (0:00:00.015) 0:00:02.836 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.sudo : Set flag to indicate system is ostree] ********* task path: /WORKDIR/git-support_transactional_updatev0v2o4n0/tests/roles/linux-system-roles.sudo/tasks/set_vars.yml:16 Tuesday 30 July 2024 19:11:47 +0000 (0:00:00.175) 0:00:03.011 ********** ok: [sut] => { "ansible_facts": { "__sudo_is_ostree": false }, "changed": false } TASK [linux-system-roles.sudo : Check if transactional-update exists in /sbin] *** task path: /WORKDIR/git-support_transactional_updatev0v2o4n0/tests/roles/linux-system-roles.sudo/tasks/set_vars.yml:23 Tuesday 30 July 2024 19:11:47 +0000 (0:00:00.015) 0:00:03.026 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.sudo : Set flag if transactional-update exists] ******* task path: /WORKDIR/git-support_transactional_updatev0v2o4n0/tests/roles/linux-system-roles.sudo/tasks/set_vars.yml:28 Tuesday 30 July 2024 19:11:47 +0000 (0:00:00.161) 0:00:03.188 ********** ok: [sut] => { "ansible_facts": { "__sudo_is_transactional": false }, "changed": false } TASK [linux-system-roles.sudo : Set platform/version specific variables] ******* task path: /WORKDIR/git-support_transactional_updatev0v2o4n0/tests/roles/linux-system-roles.sudo/tasks/set_vars.yml:32 Tuesday 30 July 2024 19:11:47 +0000 (0:00:00.012) 0:00:03.201 ********** skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } 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.sudo : Ensure sudo is installed] ********************** task path: /WORKDIR/git-support_transactional_updatev0v2o4n0/tests/roles/linux-system-roles.sudo/tasks/main.yml:5 Tuesday 30 July 2024 19:11:47 +0000 (0:00:00.023) 0:00:03.225 ********** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.sudo : Notify user that reboot is needed to apply changes] *** task path: /WORKDIR/git-support_transactional_updatev0v2o4n0/tests/roles/linux-system-roles.sudo/tasks/main.yml:18 Tuesday 30 July 2024 19:11:49 +0000 (0:00:01.906) 0:00:05.131 ********** skipping: [sut] => {} TASK [linux-system-roles.sudo : Reboot transactional update systems] *********** task path: /WORKDIR/git-support_transactional_updatev0v2o4n0/tests/roles/linux-system-roles.sudo/tasks/main.yml:23 Tuesday 30 July 2024 19:11:49 +0000 (0:00:00.010) 0:00:05.142 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.sudo : Fail if reboot is needed and not set] ********** task path: /WORKDIR/git-support_transactional_updatev0v2o4n0/tests/roles/linux-system-roles.sudo/tasks/main.yml:28 Tuesday 30 July 2024 19:11:49 +0000 (0:00:00.011) 0:00:05.154 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.sudo : Set include directories variable] ************** task path: /WORKDIR/git-support_transactional_updatev0v2o4n0/tests/roles/linux-system-roles.sudo/tasks/main.yml:36 Tuesday 30 July 2024 19:11:49 +0000 (0:00:00.010) 0:00:05.164 ********** ok: [sut] => { "ansible_facts": { "sudo_include_dirs": [ "/etc/sudoers.d" ] }, "changed": false } TASK [linux-system-roles.sudo : Set sudoer file paths variable] **************** task path: /WORKDIR/git-support_transactional_updatev0v2o4n0/tests/roles/linux-system-roles.sudo/tasks/main.yml:42 Tuesday 30 July 2024 19:11:49 +0000 (0:00:00.013) 0:00:05.178 ********** ok: [sut] => { "ansible_facts": { "sudo_file_paths": [ "/etc/sudoers" ] }, "changed": false } TASK [linux-system-roles.sudo : Ensure include directories are created] ******** task path: /WORKDIR/git-support_transactional_updatev0v2o4n0/tests/roles/linux-system-roles.sudo/tasks/main.yml:48 Tuesday 30 July 2024 19:11:49 +0000 (0:00:00.015) 0:00:05.193 ********** ok: [sut] => (item=/etc/sudoers.d) => { "ansible_loop_var": "item", "changed": false, "gid": 0, "group": "root", "item": "/etc/sudoers.d", "mode": "0750", "owner": "root", "path": "/etc/sudoers.d", "secontext": "system_u:object_r:etc_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [linux-system-roles.sudo : Ensure sudoers include files are configured] *** task path: /WORKDIR/git-support_transactional_updatev0v2o4n0/tests/roles/linux-system-roles.sudo/tasks/main.yml:58 Tuesday 30 July 2024 19:11:49 +0000 (0:00:00.307) 0:00:05.501 ********** skipping: [sut] => (item=/etc/sudoers) => { "ansible_loop_var": "item", "changed": false, "item": { "defaults": [ "!visiblepw", "always_set_home", "match_group_by_gid", "always_query_group_plugin", "env_reset", { "secure_path": [ "/sbin", "/bin", "/usr/sbin", "/usr/bin" ] }, { "env_keep": [ "COLORS", "DISPLAY", "HOSTNAME", "HISTSIZE", "KDEDIR", "LS_COLORS", "MAIL", "PS1", "PS2", "QTDIR", "USERNAME", "LANG", "LC_ADDRESS", "LC_CTYPE", "LC_COLLATE", "LC_IDENTIFICATION", "LC_MEASUREMENT", "LC_MESSAGES", "LC_MONETARY", "LC_NAME", "LC_NUMERIC", "LC_PAPER", "LC_TELEPHONE", "LC_TIME", "LC_ALL", "LANGUAGE", "LINGUAS", "_XKB_CHARSET", "XAUTHORITY" ] } ], "include_directories": [ "/etc/sudoers.d" ], "path": "/etc/sudoers", "user_specifications": [ { "commands": [ "ALL" ], "hosts": [ "ALL" ], "operators": [ "ALL" ], "users": [ "root" ] }, { "commands": [ "ALL" ], "hosts": [ "ALL" ], "operators": [ "ALL" ], "users": [ "%wheel" ] } ] }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.sudo : Ensure /etc/sudoers is configured] ************* task path: /WORKDIR/git-support_transactional_updatev0v2o4n0/tests/roles/linux-system-roles.sudo/tasks/main.yml:71 Tuesday 30 July 2024 19:11:49 +0000 (0:00:00.015) 0:00:05.516 ********** changed: [sut] => (item=/etc/sudoers) => { "ansible_loop_var": "item", "changed": true, "checksum": "fc5c161eed42bf4d12f49c476bfc46e8e56097d2", "dest": "/etc/sudoers", "gid": 0, "group": "root", "item": { "defaults": [ "!visiblepw", "always_set_home", "match_group_by_gid", "always_query_group_plugin", "env_reset", { "secure_path": [ "/sbin", "/bin", "/usr/sbin", "/usr/bin" ] }, { "env_keep": [ "COLORS", "DISPLAY", "HOSTNAME", "HISTSIZE", "KDEDIR", "LS_COLORS", "MAIL", "PS1", "PS2", "QTDIR", "USERNAME", "LANG", "LC_ADDRESS", "LC_CTYPE", "LC_COLLATE", "LC_IDENTIFICATION", "LC_MEASUREMENT", "LC_MESSAGES", "LC_MONETARY", "LC_NAME", "LC_NUMERIC", "LC_PAPER", "LC_TELEPHONE", "LC_TIME", "LC_ALL", "LANGUAGE", "LINGUAS", "_XKB_CHARSET", "XAUTHORITY" ] } ], "include_directories": [ "/etc/sudoers.d" ], "path": "/etc/sudoers", "user_specifications": [ { "commands": [ "ALL" ], "hosts": [ "ALL" ], "operators": [ "ALL" ], "users": [ "root" ] }, { "commands": [ "ALL" ], "hosts": [ "ALL" ], "operators": [ "ALL" ], "users": [ "%wheel" ] } ] }, "md5sum": "10930d4d72a2804fdbc804a21a30f856", "mode": "0440", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 813, "src": "/root/.ansible/tmp/ansible-tmp-1722366709.8223202-2463-182990877803623/source", "state": "file", "uid": 0 } TASK [linux-system-roles.sudo : Search for sudoers files in included directories] *** task path: /WORKDIR/git-support_transactional_updatev0v2o4n0/tests/roles/linux-system-roles.sudo/tasks/main.yml:91 Tuesday 30 July 2024 19:11:50 +0000 (0:00:00.527) 0:00:06.043 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.sudo : Set unauthorized included sudoers files variable] *** task path: /WORKDIR/git-support_transactional_updatev0v2o4n0/tests/roles/linux-system-roles.sudo/tasks/main.yml:99 Tuesday 30 July 2024 19:11:50 +0000 (0:00:00.010) 0:00:06.054 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.sudo : Remove unauthorized included sudoers files] **** task path: /WORKDIR/git-support_transactional_updatev0v2o4n0/tests/roles/linux-system-roles.sudo/tasks/main.yml:105 Tuesday 30 July 2024 19:11:50 +0000 (0:00:00.011) 0:00:06.066 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [caller : Assert variable not overridden] ********************************* task path: /WORKDIR/git-support_transactional_updatev0v2o4n0/tests/roles/caller/tasks/main.yml:8 Tuesday 30 July 2024 19:11:50 +0000 (0:00:00.019) 0:00:06.085 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test cleanup] ************************************************************ task path: /WORKDIR/git-support_transactional_updatev0v2o4n0/tests/tests_include_vars_from_parent.yml:56 Tuesday 30 July 2024 19:11:50 +0000 (0:00:00.015) 0:00:06.101 ********** included: /WORKDIR/git-support_transactional_updatev0v2o4n0/tests/tasks/cleanup.yml for sut TASK [Restore sudoers] ********************************************************* task path: /WORKDIR/git-support_transactional_updatev0v2o4n0/tests/tasks/cleanup.yml:3 Tuesday 30 July 2024 19:11:50 +0000 (0:00:00.017) 0:00:06.118 ********** changed: [sut] => { "changed": true, "checksum": "e683ad5e5d8d7112d14924c11c98be7bf2ef4918", "dest": "/etc/sudoers", "gid": 0, "group": "root", "md5sum": "1b134d95a4618029ff962a63b021e1ca", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 4328, "src": "/var/tmp/sudo_t9pby6y_/sudoers", "state": "file", "uid": 0 } TASK [Restore sudoers.d] ******************************************************* task path: /WORKDIR/git-support_transactional_updatev0v2o4n0/tests/tasks/cleanup.yml:12 Tuesday 30 July 2024 19:11:50 +0000 (0:00:00.310) 0:00:06.429 ********** changed: [sut] => { "changed": true, "checksum": null, "dest": "/etc/sudoers.d/sudoers.d", "gid": 0, "group": "root", "md5sum": null, "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 23, "src": "/var/tmp/sudo_t9pby6y_/sudoers.d", "state": "directory", "uid": 0 } TASK [Clean up temp directory] ************************************************* task path: /WORKDIR/git-support_transactional_updatev0v2o4n0/tests/tasks/cleanup.yml:21 Tuesday 30 July 2024 19:11:50 +0000 (0:00:00.301) 0:00:06.731 ********** changed: [sut] => { "changed": true, "path": "/var/tmp/sudo_t9pby6y_", "state": "absent" } TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-support_transactional_updatev0v2o4n0/tests/tests_include_vars_from_parent.yml:59 Tuesday 30 July 2024 19:11:51 +0000 (0:00:00.210) 0:00:06.941 ********** changed: [sut -> localhost] => (item={'diff': [], 'dest': '/WORKDIR/git-support_transactional_updatev0v2o4n0/tests/roles/caller/vars/CentOS-9.yml', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1722366704.993268-2332-7203944938969/source', 'md5sum': '5a57da448a1d752b982858b38aab344d', 'checksum': '870b2314d3f4184a363b31373f07abb444f26444', 'changed': True, 'uid': 1000090000, 'gid': 1001, 'owner': 'jenkins', 'group': 'jenkins', 'mode': '0600', 'state': 'file', 'size': 23, 'invocation': {'module_args': {'dest': '/WORKDIR/git-support_transactional_updatev0v2o4n0/tests/roles/caller/vars/CentOS-9.yml', 'mode': '0600', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1722366704.993268-2332-7203944938969/source', '_original_basename': 'tmp3xrpb_x1', 'follow': False, 'checksum': '870b2314d3f4184a363b31373f07abb444f26444', 'backup': False, 'force': True, 'unsafe_writes': False, 'content': None, 'validate': None, 'directory_mode': None, 'remote_src': None, 'local_follow': None, 'owner': None, 'group': None, 'seuser': None, 'serole': None, 'selevel': None, 'setype': None, 'attributes': None, 'regexp': None, 'delimiter': None}}, 'failed': False, 'item': 'CentOS-9', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-support_transactional_updatev0v2o4n0/tests/roles/caller/vars/CentOS-9.yml", "diff": [], "failed": false, "gid": 1001, "group": "jenkins", "invocation": { "module_args": { "_original_basename": "tmp3xrpb_x1", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "delimiter": null, "dest": "/WORKDIR/git-support_transactional_updatev0v2o4n0/tests/roles/caller/vars/CentOS-9.yml", "directory_mode": null, "follow": false, "force": true, "group": null, "local_follow": null, "mode": "0600", "owner": null, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1722366704.993268-2332-7203944938969/source", "unsafe_writes": false, "validate": null } }, "item": "CentOS-9", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1722366704.993268-2332-7203944938969/source", "state": "file", "uid": 1000090000 }, "path": "/WORKDIR/git-support_transactional_updatev0v2o4n0/tests/roles/caller/vars/CentOS-9.yml", "state": "absent" } changed: [sut -> localhost] => (item={'diff': [], 'dest': '/WORKDIR/git-support_transactional_updatev0v2o4n0/tests/roles/caller/vars/CentOS_9.yml', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1722366705.3725374-2332-9773012602514/source', 'md5sum': '5a57da448a1d752b982858b38aab344d', 'checksum': '870b2314d3f4184a363b31373f07abb444f26444', 'changed': True, 'uid': 1000090000, 'gid': 1001, 'owner': 'jenkins', 'group': 'jenkins', 'mode': '0600', 'state': 'file', 'size': 23, 'invocation': {'module_args': {'dest': '/WORKDIR/git-support_transactional_updatev0v2o4n0/tests/roles/caller/vars/CentOS_9.yml', 'mode': '0600', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1722366705.3725374-2332-9773012602514/source', '_original_basename': 'tmpm15oobcm', 'follow': False, 'checksum': '870b2314d3f4184a363b31373f07abb444f26444', 'backup': False, 'force': True, 'unsafe_writes': False, 'content': None, 'validate': None, 'directory_mode': None, 'remote_src': None, 'local_follow': None, 'owner': None, 'group': None, 'seuser': None, 'serole': None, 'selevel': None, 'setype': None, 'attributes': None, 'regexp': None, 'delimiter': None}}, 'failed': False, 'item': 'CentOS_9', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-support_transactional_updatev0v2o4n0/tests/roles/caller/vars/CentOS_9.yml", "diff": [], "failed": false, "gid": 1001, "group": "jenkins", "invocation": { "module_args": { "_original_basename": "tmpm15oobcm", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "delimiter": null, "dest": "/WORKDIR/git-support_transactional_updatev0v2o4n0/tests/roles/caller/vars/CentOS_9.yml", "directory_mode": null, "follow": false, "force": true, "group": null, "local_follow": null, "mode": "0600", "owner": null, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1722366705.3725374-2332-9773012602514/source", "unsafe_writes": false, "validate": null } }, "item": "CentOS_9", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1722366705.3725374-2332-9773012602514/source", "state": "file", "uid": 1000090000 }, "path": "/WORKDIR/git-support_transactional_updatev0v2o4n0/tests/roles/caller/vars/CentOS_9.yml", "state": "absent" } changed: [sut -> localhost] => (item={'diff': [], 'dest': '/WORKDIR/git-support_transactional_updatev0v2o4n0/tests/roles/caller/vars/CentOS.yml', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1722366705.6249125-2332-100371009467318/source', 'md5sum': '5a57da448a1d752b982858b38aab344d', 'checksum': '870b2314d3f4184a363b31373f07abb444f26444', 'changed': True, 'uid': 1000090000, 'gid': 1001, 'owner': 'jenkins', 'group': 'jenkins', 'mode': '0600', 'state': 'file', 'size': 23, 'invocation': {'module_args': {'dest': '/WORKDIR/git-support_transactional_updatev0v2o4n0/tests/roles/caller/vars/CentOS.yml', 'mode': '0600', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1722366705.6249125-2332-100371009467318/source', '_original_basename': 'tmp7dl1wo4v', 'follow': False, 'checksum': '870b2314d3f4184a363b31373f07abb444f26444', 'backup': False, 'force': True, 'unsafe_writes': False, 'content': None, 'validate': None, 'directory_mode': None, 'remote_src': None, 'local_follow': None, 'owner': None, 'group': None, 'seuser': None, 'serole': None, 'selevel': None, 'setype': None, 'attributes': None, 'regexp': None, 'delimiter': None}}, 'failed': False, 'item': 'CentOS', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-support_transactional_updatev0v2o4n0/tests/roles/caller/vars/CentOS.yml", "diff": [], "failed": false, "gid": 1001, "group": "jenkins", "invocation": { "module_args": { "_original_basename": "tmp7dl1wo4v", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "delimiter": null, "dest": "/WORKDIR/git-support_transactional_updatev0v2o4n0/tests/roles/caller/vars/CentOS.yml", "directory_mode": null, "follow": false, "force": true, "group": null, "local_follow": null, "mode": "0600", "owner": null, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1722366705.6249125-2332-100371009467318/source", "unsafe_writes": false, "validate": null } }, "item": "CentOS", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1722366705.6249125-2332-100371009467318/source", "state": "file", "uid": 1000090000 }, "path": "/WORKDIR/git-support_transactional_updatev0v2o4n0/tests/roles/caller/vars/CentOS.yml", "state": "absent" } changed: [sut -> localhost] => (item={'diff': [], 'dest': '/WORKDIR/git-support_transactional_updatev0v2o4n0/tests/roles/caller/vars/RedHat.yml', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1722366705.8539662-2332-104755831173221/source', 'md5sum': '5a57da448a1d752b982858b38aab344d', 'checksum': '870b2314d3f4184a363b31373f07abb444f26444', 'changed': True, 'uid': 1000090000, 'gid': 1001, 'owner': 'jenkins', 'group': 'jenkins', 'mode': '0600', 'state': 'file', 'size': 23, 'invocation': {'module_args': {'dest': '/WORKDIR/git-support_transactional_updatev0v2o4n0/tests/roles/caller/vars/RedHat.yml', 'mode': '0600', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1722366705.8539662-2332-104755831173221/source', '_original_basename': 'tmpajxu947_', 'follow': False, 'checksum': '870b2314d3f4184a363b31373f07abb444f26444', 'backup': False, 'force': True, 'unsafe_writes': False, 'content': None, 'validate': None, 'directory_mode': None, 'remote_src': None, 'local_follow': None, 'owner': None, 'group': None, 'seuser': None, 'serole': None, 'selevel': None, 'setype': None, 'attributes': None, 'regexp': None, 'delimiter': None}}, 'failed': False, 'item': 'RedHat', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-support_transactional_updatev0v2o4n0/tests/roles/caller/vars/RedHat.yml", "diff": [], "failed": false, "gid": 1001, "group": "jenkins", "invocation": { "module_args": { "_original_basename": "tmpajxu947_", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "delimiter": null, "dest": "/WORKDIR/git-support_transactional_updatev0v2o4n0/tests/roles/caller/vars/RedHat.yml", "directory_mode": null, "follow": false, "force": true, "group": null, "local_follow": null, "mode": "0600", "owner": null, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1722366705.8539662-2332-104755831173221/source", "unsafe_writes": false, "validate": null } }, "item": "RedHat", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1722366705.8539662-2332-104755831173221/source", "state": "file", "uid": 1000090000 }, "path": "/WORKDIR/git-support_transactional_updatev0v2o4n0/tests/roles/caller/vars/RedHat.yml", "state": "absent" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=22 changed=9 unreachable=0 failed=0 skipped=9 rescued=0 ignored=0 Tuesday 30 July 2024 19:11:51 +0000 (0:00:00.614) 0:00:07.555 ********** =============================================================================== linux-system-roles.sudo : Ensure sudo is installed ---------------------- 1.91s /WORKDIR/git-support_transactional_updatev0v2o4n0/tests/roles/linux-system-roles.sudo/tasks/main.yml:5 Create var file in caller that can override the one in called role ------ 1.14s /WORKDIR/git-support_transactional_updatev0v2o4n0/tests/tests_include_vars_from_parent.yml:8 Gathering Facts --------------------------------------------------------- 0.69s /WORKDIR/git-support_transactional_updatev0v2o4n0/tests/tests_include_vars_from_parent.yml:2 Cleanup ----------------------------------------------------------------- 0.61s /WORKDIR/git-support_transactional_updatev0v2o4n0/tests/tests_include_vars_from_parent.yml:59 linux-system-roles.sudo : Ensure /etc/sudoers is configured ------------- 0.53s /WORKDIR/git-support_transactional_updatev0v2o4n0/tests/roles/linux-system-roles.sudo/tasks/main.yml:71 Backup sudoers ---------------------------------------------------------- 0.38s /WORKDIR/git-support_transactional_updatev0v2o4n0/tests/tasks/setup.yml:10 ---- Restore sudoers --------------------------------------------------------- 0.31s /WORKDIR/git-support_transactional_updatev0v2o4n0/tests/tasks/cleanup.yml:3 --- linux-system-roles.sudo : Ensure include directories are created -------- 0.31s /WORKDIR/git-support_transactional_updatev0v2o4n0/tests/roles/linux-system-roles.sudo/tasks/main.yml:48 Restore sudoers.d ------------------------------------------------------- 0.30s /WORKDIR/git-support_transactional_updatev0v2o4n0/tests/tasks/cleanup.yml:12 -- Backup sudoers.d -------------------------------------------------------- 0.29s /WORKDIR/git-support_transactional_updatev0v2o4n0/tests/tasks/setup.yml:19 ---- Create temp test directory ---------------------------------------------- 0.22s /WORKDIR/git-support_transactional_updatev0v2o4n0/tests/tasks/setup.yml:3 ----- Clean up temp directory ------------------------------------------------- 0.21s /WORKDIR/git-support_transactional_updatev0v2o4n0/tests/tasks/cleanup.yml:21 -- linux-system-roles.sudo : Check if system is ostree --------------------- 0.18s /WORKDIR/git-support_transactional_updatev0v2o4n0/tests/roles/linux-system-roles.sudo/tasks/set_vars.yml:11 linux-system-roles.sudo : Check if transactional-update exists in /sbin --- 0.16s /WORKDIR/git-support_transactional_updatev0v2o4n0/tests/roles/linux-system-roles.sudo/tasks/set_vars.yml:23 linux-system-roles.sudo : Set version specific variables ---------------- 0.03s /WORKDIR/git-support_transactional_updatev0v2o4n0/tests/roles/linux-system-roles.sudo/tasks/main.yml:2 Test setup -------------------------------------------------------------- 0.02s /WORKDIR/git-support_transactional_updatev0v2o4n0/tests/tests_include_vars_from_parent.yml:46 linux-system-roles.sudo : Set platform/version specific variables ------- 0.02s /WORKDIR/git-support_transactional_updatev0v2o4n0/tests/roles/linux-system-roles.sudo/tasks/set_vars.yml:32 Include role ------------------------------------------------------------ 0.02s /WORKDIR/git-support_transactional_updatev0v2o4n0/tests/roles/caller/tasks/main.yml:4 linux-system-roles.sudo : Remove unauthorized included sudoers files ---- 0.02s /WORKDIR/git-support_transactional_updatev0v2o4n0/tests/roles/linux-system-roles.sudo/tasks/main.yml:105 Test cleanup ------------------------------------------------------------ 0.02s /WORKDIR/git-support_transactional_updatev0v2o4n0/tests/tests_include_vars_from_parent.yml:56 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: Distribution centos 9 on host sut should use /usr/libexec/platform-python, but is using /usr/bin/python for backward compatibility with prior Ansible releases. A future Ansible release will default to using the discovered platform python for this host. See https://docs .ansible.com/ansible/2.9/reference_appendices/interpreter_discovery.html for more information. This feature will be removed in version 2.12. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---