# 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-refactor-with-mocko6lh28a0/tests/tests_include_vars_from_parent.yml PLAY [Test role include variable override] ************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/tests_include_vars_from_parent.yml:2 Thursday 18 April 2024 15:09:59 +0000 (0:00:00.016) 0:00:00.016 ******** ok: [sut] META: ran handlers TASK [Create var file in caller that can override the one in called role] ****** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/tests_include_vars_from_parent.yml:8 Thursday 18 April 2024 15:10:00 +0000 (0:00:00.802) 0:00:00.819 ******** changed: [sut -> localhost] => (item=CentOS-9) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-refactor-with-mocko6lh28a0/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-1713453000.1643393-2491-20173427381912/source", "state": "file", "uid": 1000090000 } changed: [sut -> localhost] => (item=CentOS_9) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-refactor-with-mocko6lh28a0/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-1713453000.6330175-2491-62623080401320/source", "state": "file", "uid": 1000090000 } changed: [sut -> localhost] => (item=CentOS) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-refactor-with-mocko6lh28a0/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-1713453000.9373333-2491-117734522105556/source", "state": "file", "uid": 1000090000 } changed: [sut -> localhost] => (item=RedHat) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-refactor-with-mocko6lh28a0/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-1713453001.237323-2491-121197504253361/source", "state": "file", "uid": 1000090000 } TASK [Include role] ************************************************************ task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/caller/tasks/main.yml:4 Thursday 18 April 2024 15:10:01 +0000 (0:00:01.404) 0:00:02.224 ******** TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Thursday 18 April 2024 15:10:01 +0000 (0:00:00.041) 0:00:02.266 ******** included: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml for sut TASK [linux-system-roles.bootloader : Ensure ansible_facts used by role] ******* task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Thursday 18 April 2024 15:10:01 +0000 (0:00:00.021) 0:00:02.287 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Check if system is ostree] *************** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Thursday 18 April 2024 15:10:01 +0000 (0:00:00.014) 0:00:02.301 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Thursday 18 April 2024 15:10:01 +0000 (0:00:00.193) 0:00:02.495 ******** ok: [sut] => { "ansible_facts": { "__bootloader_is_ostree": false }, "changed": false } TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Thursday 18 April 2024 15:10:01 +0000 (0:00:00.015) 0:00:02.510 ******** 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.bootloader : Fail on s390x architecture] ************** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Thursday 18 April 2024 15:10:01 +0000 (0:00:00.030) 0:00:02.541 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Thursday 18 April 2024 15:10:01 +0000 (0:00:00.012) 0:00:02.553 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.bootloader : Get stat of /etc/default/grub] *********** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 Thursday 18 April 2024 15:10:04 +0000 (0:00:02.174) 0:00:04.728 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1709714778.566, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "4bb08bede303990d4cc06d6283ed4aeb549389ab", "ctime": 1709714778.407, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2375171, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1709714778.407, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 301, "uid": 0, "version": "3323824319", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Get bootloader args of the default kernel] *** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:28 Thursday 18 April 2024 15:10:04 +0000 (0:00:00.207) 0:00:04.935 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Generate /etc/default/grub] ************** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:35 Thursday 18 April 2024 15:10:04 +0000 (0:00:00.014) 0:00:04.950 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:45 Thursday 18 April 2024 15:10:04 +0000 (0:00:00.011) 0:00:04.961 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:50 Thursday 18 April 2024 15:10:04 +0000 (0:00:00.193) 0:00:05.155 ******** ok: [sut] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [linux-system-roles.bootloader : Get stat of /etc/default/grub] *********** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:61 Thursday 18 April 2024 15:10:04 +0000 (0:00:00.020) 0:00:05.175 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1713453004.219032, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "4bb08bede303990d4cc06d6283ed4aeb549389ab", "ctime": 1709714778.407, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2375171, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1709714778.407, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 301, "uid": 0, "version": "3323824319", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Get stat of /boot/grub2/grub.cfg] ******** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:66 Thursday 18 April 2024 15:10:04 +0000 (0:00:00.208) 0:00:05.383 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1709714779.266, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "daa1c061ec5c47702d0be4b0e626b39f42774879", "ctime": 1709714779.267, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 7301772, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1709714779.267, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6755, "uid": 0, "version": "1839740860", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Use a general grub conf path if UEFI path is a stub] *** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:71 Thursday 18 April 2024 15:10:04 +0000 (0:00:00.212) 0:00:05.595 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:78 Thursday 18 April 2024 15:10:04 +0000 (0:00:00.015) 0:00:05.611 ******** ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:87 Thursday 18 April 2024 15:10:05 +0000 (0:00:00.281) 0:00:05.892 ******** changed: [sut] => { "changed": true } MSG: 6 replacements made TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:95 Thursday 18 April 2024 15:10:05 +0000 (0:00:00.199) 0:00:06.091 ******** ok: [sut] => { "actions": [], "changed": false } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:105 Thursday 18 April 2024 15:10:05 +0000 (0:00:00.285) 0:00:06.376 ******** 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.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:117 Thursday 18 April 2024 15:10:05 +0000 (0:00:00.015) 0:00:06.392 ******** 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.bootloader : Remove boot loader password configuration] *** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:125 Thursday 18 April 2024 15:10:05 +0000 (0:00:00.011) 0:00:06.404 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:132 Thursday 18 April 2024 15:10:05 +0000 (0:00:00.011) 0:00:06.416 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [caller : Assert variable not overridden] ********************************* task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/caller/tasks/main.yml:8 Thursday 18 April 2024 15:10:05 +0000 (0:00:00.011) 0:00:06.427 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-refactor-with-mocko6lh28a0/tests/tests_include_vars_from_parent.yml:56 Thursday 18 April 2024 15:10:05 +0000 (0:00:00.019) 0:00:06.447 ******** changed: [sut -> localhost] => (item={'diff': [], 'dest': '/WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/caller/vars/CentOS-9.yml', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1713453000.1643393-2491-20173427381912/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-refactor-with-mocko6lh28a0/tests/roles/caller/vars/CentOS-9.yml', 'mode': '0600', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1713453000.1643393-2491-20173427381912/source', '_original_basename': 'tmp45yvsio2', '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-refactor-with-mocko6lh28a0/tests/roles/caller/vars/CentOS-9.yml", "diff": [], "failed": false, "gid": 1001, "group": "jenkins", "invocation": { "module_args": { "_original_basename": "tmp45yvsio2", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "delimiter": null, "dest": "/WORKDIR/git-refactor-with-mocko6lh28a0/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-1713453000.1643393-2491-20173427381912/source", "unsafe_writes": false, "validate": null } }, "item": "CentOS-9", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1713453000.1643393-2491-20173427381912/source", "state": "file", "uid": 1000090000 }, "path": "/WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/caller/vars/CentOS-9.yml", "state": "absent" } changed: [sut -> localhost] => (item={'diff': [], 'dest': '/WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/caller/vars/CentOS_9.yml', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1713453000.6330175-2491-62623080401320/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-refactor-with-mocko6lh28a0/tests/roles/caller/vars/CentOS_9.yml', 'mode': '0600', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1713453000.6330175-2491-62623080401320/source', '_original_basename': 'tmpk5ec5uji', '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-refactor-with-mocko6lh28a0/tests/roles/caller/vars/CentOS_9.yml", "diff": [], "failed": false, "gid": 1001, "group": "jenkins", "invocation": { "module_args": { "_original_basename": "tmpk5ec5uji", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "delimiter": null, "dest": "/WORKDIR/git-refactor-with-mocko6lh28a0/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-1713453000.6330175-2491-62623080401320/source", "unsafe_writes": false, "validate": null } }, "item": "CentOS_9", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1713453000.6330175-2491-62623080401320/source", "state": "file", "uid": 1000090000 }, "path": "/WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/caller/vars/CentOS_9.yml", "state": "absent" } changed: [sut -> localhost] => (item={'diff': [], 'dest': '/WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/caller/vars/CentOS.yml', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1713453000.9373333-2491-117734522105556/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-refactor-with-mocko6lh28a0/tests/roles/caller/vars/CentOS.yml', 'mode': '0600', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1713453000.9373333-2491-117734522105556/source', '_original_basename': 'tmp1vfm847t', '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-refactor-with-mocko6lh28a0/tests/roles/caller/vars/CentOS.yml", "diff": [], "failed": false, "gid": 1001, "group": "jenkins", "invocation": { "module_args": { "_original_basename": "tmp1vfm847t", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "delimiter": null, "dest": "/WORKDIR/git-refactor-with-mocko6lh28a0/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-1713453000.9373333-2491-117734522105556/source", "unsafe_writes": false, "validate": null } }, "item": "CentOS", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1713453000.9373333-2491-117734522105556/source", "state": "file", "uid": 1000090000 }, "path": "/WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/caller/vars/CentOS.yml", "state": "absent" } changed: [sut -> localhost] => (item={'diff': [], 'dest': '/WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/caller/vars/RedHat.yml', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1713453001.237323-2491-121197504253361/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-refactor-with-mocko6lh28a0/tests/roles/caller/vars/RedHat.yml', 'mode': '0600', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1713453001.237323-2491-121197504253361/source', '_original_basename': 'tmpsq1o5e54', '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-refactor-with-mocko6lh28a0/tests/roles/caller/vars/RedHat.yml", "diff": [], "failed": false, "gid": 1001, "group": "jenkins", "invocation": { "module_args": { "_original_basename": "tmpsq1o5e54", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "delimiter": null, "dest": "/WORKDIR/git-refactor-with-mocko6lh28a0/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-1713453001.237323-2491-121197504253361/source", "unsafe_writes": false, "validate": null } }, "item": "RedHat", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1713453001.237323-2491-121197504253361/source", "state": "file", "uid": 1000090000 }, "path": "/WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/caller/vars/RedHat.yml", "state": "absent" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=16 changed=3 unreachable=0 failed=0 skipped=10 rescued=0 ignored=0 Thursday 18 April 2024 15:10:06 +0000 (0:00:00.653) 0:00:07.100 ******** =============================================================================== linux-system-roles.bootloader : Ensure required packages are installed --- 2.17s /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Create var file in caller that can override the one in called role ------ 1.40s /WORKDIR/git-refactor-with-mocko6lh28a0/tests/tests_include_vars_from_parent.yml:8 Gathering Facts --------------------------------------------------------- 0.80s /WORKDIR/git-refactor-with-mocko6lh28a0/tests/tests_include_vars_from_parent.yml:2 Cleanup ----------------------------------------------------------------- 0.65s /WORKDIR/git-refactor-with-mocko6lh28a0/tests/tests_include_vars_from_parent.yml:56 linux-system-roles.bootloader : Ensure boot loader settings ------------- 0.29s /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:95 linux-system-roles.bootloader : Update boot loader timeout configuration in /etc/default/grub --- 0.28s /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:78 linux-system-roles.bootloader : Get stat of /boot/grub2/grub.cfg -------- 0.21s /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:66 linux-system-roles.bootloader : Get stat of /etc/default/grub ----------- 0.21s /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:61 linux-system-roles.bootloader : Get stat of /etc/default/grub ----------- 0.21s /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg --- 0.20s /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:87 linux-system-roles.bootloader : Check if system is ostree --------------- 0.19s /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 linux-system-roles.bootloader : Determine platform type ----------------- 0.19s /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:45 Include role ------------------------------------------------------------ 0.04s /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/caller/tasks/main.yml:4 --- linux-system-roles.bootloader : Set platform/version specific variables --- 0.03s /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 linux-system-roles.bootloader : Set platform/version specific variables --- 0.02s /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 linux-system-roles.bootloader : Set boot loader configuration files ----- 0.02s /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:50 caller : Assert variable not overridden --------------------------------- 0.02s /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/caller/tasks/main.yml:8 --- linux-system-roles.bootloader : Use a general grub conf path if UEFI path is a stub --- 0.02s /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:71 linux-system-roles.bootloader : Set flag to indicate system is ostree --- 0.02s /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 linux-system-roles.bootloader : Generate boot loader password ----------- 0.02s /WORKDIR/git-refactor-with-mocko6lh28a0/tests/roles/linux-system-roles.bootloader/tasks/main.yml:105 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---