# 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-weekly-ci29zqok5a/tests/tests_include_vars_from_parent.yml PLAY [Test role include variable override] ************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-ci29zqok5a/tests/tests_include_vars_from_parent.yml:2 Saturday 16 March 2024 23:46:28 +0000 (0:00:00.013) 0:00:00.013 ******** ok: [sut] META: ran handlers TASK [Create var file in caller that can override the one in called role] ****** task path: /WORKDIR/git-weekly-ci29zqok5a/tests/tests_include_vars_from_parent.yml:15 Saturday 16 March 2024 23:46:29 +0000 (0:00:01.689) 0:00:01.703 ******** changed: [sut -> localhost] => (item=CentOS-7.9) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-weekly-ci29zqok5a/tests/roles/caller/vars/CentOS-7.9.yml", "gid": 1001, "group": "jenkins", "item": "CentOS-7.9", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1710632789.9615045-3817-174735864153969/source", "state": "file", "uid": 1000090000 } changed: [sut -> localhost] => (item=CentOS-7) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-weekly-ci29zqok5a/tests/roles/caller/vars/CentOS-7.yml", "gid": 1001, "group": "jenkins", "item": "CentOS-7", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1710632790.4671535-3817-150256002580945/source", "state": "file", "uid": 1000090000 } changed: [sut -> localhost] => (item=CentOS_7.9) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-weekly-ci29zqok5a/tests/roles/caller/vars/CentOS_7.9.yml", "gid": 1001, "group": "jenkins", "item": "CentOS_7.9", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1710632790.722149-3817-81787887616860/source", "state": "file", "uid": 1000090000 } changed: [sut -> localhost] => (item=CentOS_7) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-weekly-ci29zqok5a/tests/roles/caller/vars/CentOS_7.yml", "gid": 1001, "group": "jenkins", "item": "CentOS_7", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1710632790.975538-3817-197626795571284/source", "state": "file", "uid": 1000090000 } changed: [sut -> localhost] => (item=CentOS) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-weekly-ci29zqok5a/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-1710632791.2361126-3817-75432192663746/source", "state": "file", "uid": 1000090000 } changed: [sut -> localhost] => (item=RedHat) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-weekly-ci29zqok5a/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-1710632791.562656-3817-169087749477871/source", "state": "file", "uid": 1000090000 } TASK [Include role] ************************************************************ task path: /WORKDIR/git-weekly-ci29zqok5a/tests/roles/caller/tasks/main.yml:4 Saturday 16 March 2024 23:46:32 +0000 (0:00:02.077) 0:00:03.781 ******** TASK [linux-system-roles.snapshot : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-ci29zqok5a/tests/roles/linux-system-roles.snapshot/tasks/main.yml:3 Saturday 16 March 2024 23:46:32 +0000 (0:00:00.023) 0:00:03.804 ******** included: /WORKDIR/git-weekly-ci29zqok5a/tests/roles/linux-system-roles.snapshot/tasks/set_vars.yml for sut TASK [linux-system-roles.snapshot : Ensure ansible_facts used by role] ********* task path: /WORKDIR/git-weekly-ci29zqok5a/tests/roles/linux-system-roles.snapshot/tasks/set_vars.yml:2 Saturday 16 March 2024 23:46:32 +0000 (0:00:00.017) 0:00:03.821 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.snapshot : Check if system is ostree] ***************** task path: /WORKDIR/git-weekly-ci29zqok5a/tests/roles/linux-system-roles.snapshot/tasks/set_vars.yml:11 Saturday 16 March 2024 23:46:32 +0000 (0:00:00.036) 0:00:03.858 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.snapshot : Set flag to indicate system is ostree] ***** task path: /WORKDIR/git-weekly-ci29zqok5a/tests/roles/linux-system-roles.snapshot/tasks/set_vars.yml:16 Saturday 16 March 2024 23:46:32 +0000 (0:00:00.136) 0:00:03.994 ******** ok: [sut] => { "ansible_facts": { "__snapshot_is_ostree": false }, "changed": false } TASK [linux-system-roles.snapshot : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-ci29zqok5a/tests/roles/linux-system-roles.snapshot/tasks/set_vars.yml:20 Saturday 16 March 2024 23:46:32 +0000 (0:00:00.017) 0:00:04.012 ******** 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" } ok: [sut] => (item=CentOS_7.yml) => { "ansible_facts": { "__snapshot_packages": [ "lvm2", "util-linux" ], "__snapshot_python": "/usr/bin/python" }, "ansible_included_var_files": [ "/WORKDIR/git-weekly-ci29zqok5a/tests/roles/linux-system-roles.snapshot/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [sut] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.snapshot : Ensure required packages are installed] **** task path: /WORKDIR/git-weekly-ci29zqok5a/tests/roles/linux-system-roles.snapshot/tasks/main.yml:6 Saturday 16 March 2024 23:46:32 +0000 (0:00:00.029) 0:00:04.041 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [ "7:lvm2-2.02.187-6.el7_9.5.x86_64 providing lvm2 is already installed", "util-linux-2.23.2-65.el7_9.1.x86_64 providing util-linux is already installed" ] } lsrpackages: lvm2 util-linux TASK [linux-system-roles.snapshot : Show snapshot command] ********************* task path: /WORKDIR/git-weekly-ci29zqok5a/tests/roles/linux-system-roles.snapshot/tasks/main.yml:13 Saturday 16 March 2024 23:46:32 +0000 (0:00:00.540) 0:00:04.581 ******** ok: [sut] => { "__snapshot_cmd": "snapshot.py check -a -r 2 -s snapset1 --vg-include '^test_'" } TASK [linux-system-roles.snapshot : Run snapshot command check] **************** task path: /WORKDIR/git-weekly-ci29zqok5a/tests/roles/linux-system-roles.snapshot/tasks/main.yml:20 Saturday 16 March 2024 23:46:32 +0000 (0:00:00.023) 0:00:04.604 ******** 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.snapshot : Print out response] ************************ task path: /WORKDIR/git-weekly-ci29zqok5a/tests/roles/linux-system-roles.snapshot/tasks/main.yml:34 Saturday 16 March 2024 23:46:33 +0000 (0:00:00.244) 0:00:04.849 ******** ok: [sut] => { "snapshot_cmd_raw": { "changed": false, "failed": false, "rc": 0, "stderr": "Shared connection to 10.31.46.194 closed.\r\n", "stderr_lines": [ "Shared connection to 10.31.46.194 closed." ], "stdout": "{\r\n \"errors\": [\r\n \"\"\r\n ], \r\n \"return_code\": 0, \r\n \"changed\": false\r\n}", "stdout_lines": [ "{", " \"errors\": [", " \"\"", " ], ", " \"return_code\": 0, ", " \"changed\": false", "}" ] } } TASK [linux-system-roles.snapshot : Parse raw output] ************************** task path: /WORKDIR/git-weekly-ci29zqok5a/tests/roles/linux-system-roles.snapshot/tasks/main.yml:39 Saturday 16 March 2024 23:46:33 +0000 (0:00:00.014) 0:00:04.863 ******** ok: [sut] => { "ansible_facts": { "snapshot_cmd": { "changed": false, "errors": [ "" ], "return_code": 0 } }, "changed": false } TASK [linux-system-roles.snapshot : Set snapshot_facts to the JSON results] **** task path: /WORKDIR/git-weekly-ci29zqok5a/tests/roles/linux-system-roles.snapshot/tasks/main.yml:46 Saturday 16 March 2024 23:46:33 +0000 (0:00:00.036) 0:00:04.900 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.snapshot : Show errors] ******************************* task path: /WORKDIR/git-weekly-ci29zqok5a/tests/roles/linux-system-roles.snapshot/tasks/main.yml:51 Saturday 16 March 2024 23:46:33 +0000 (0:00:00.021) 0:00:04.922 ******** skipping: [sut] => {} TASK [caller : Assert variable not overridden] ********************************* task path: /WORKDIR/git-weekly-ci29zqok5a/tests/roles/caller/tasks/main.yml:8 Saturday 16 March 2024 23:46:33 +0000 (0:00:00.011) 0:00:04.933 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-ci29zqok5a/tests/tests_include_vars_from_parent.yml:60 Saturday 16 March 2024 23:46:33 +0000 (0:00:00.016) 0:00:04.949 ******** changed: [sut -> localhost] => (item={'diff': [], 'dest': '/WORKDIR/git-weekly-ci29zqok5a/tests/roles/caller/vars/CentOS-7.9.yml', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1710632789.9615045-3817-174735864153969/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-weekly-ci29zqok5a/tests/roles/caller/vars/CentOS-7.9.yml', 'mode': '0600', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1710632789.9615045-3817-174735864153969/source', '_original_basename': 'tmpju1uo_oc', '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-7.9', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-weekly-ci29zqok5a/tests/roles/caller/vars/CentOS-7.9.yml", "diff": [], "failed": false, "gid": 1001, "group": "jenkins", "invocation": { "module_args": { "_original_basename": "tmpju1uo_oc", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "delimiter": null, "dest": "/WORKDIR/git-weekly-ci29zqok5a/tests/roles/caller/vars/CentOS-7.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-1710632789.9615045-3817-174735864153969/source", "unsafe_writes": false, "validate": null } }, "item": "CentOS-7.9", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1710632789.9615045-3817-174735864153969/source", "state": "file", "uid": 1000090000 }, "path": "/WORKDIR/git-weekly-ci29zqok5a/tests/roles/caller/vars/CentOS-7.9.yml", "state": "absent" } changed: [sut -> localhost] => (item={'diff': [], 'dest': '/WORKDIR/git-weekly-ci29zqok5a/tests/roles/caller/vars/CentOS-7.yml', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1710632790.4671535-3817-150256002580945/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-weekly-ci29zqok5a/tests/roles/caller/vars/CentOS-7.yml', 'mode': '0600', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1710632790.4671535-3817-150256002580945/source', '_original_basename': 'tmpuatakjsb', '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-7', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-weekly-ci29zqok5a/tests/roles/caller/vars/CentOS-7.yml", "diff": [], "failed": false, "gid": 1001, "group": "jenkins", "invocation": { "module_args": { "_original_basename": "tmpuatakjsb", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "delimiter": null, "dest": "/WORKDIR/git-weekly-ci29zqok5a/tests/roles/caller/vars/CentOS-7.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-1710632790.4671535-3817-150256002580945/source", "unsafe_writes": false, "validate": null } }, "item": "CentOS-7", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1710632790.4671535-3817-150256002580945/source", "state": "file", "uid": 1000090000 }, "path": "/WORKDIR/git-weekly-ci29zqok5a/tests/roles/caller/vars/CentOS-7.yml", "state": "absent" } changed: [sut -> localhost] => (item={'diff': [], 'dest': '/WORKDIR/git-weekly-ci29zqok5a/tests/roles/caller/vars/CentOS_7.9.yml', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1710632790.722149-3817-81787887616860/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-weekly-ci29zqok5a/tests/roles/caller/vars/CentOS_7.9.yml', 'mode': '0600', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1710632790.722149-3817-81787887616860/source', '_original_basename': 'tmp9q5t2p_8', '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_7.9', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-weekly-ci29zqok5a/tests/roles/caller/vars/CentOS_7.9.yml", "diff": [], "failed": false, "gid": 1001, "group": "jenkins", "invocation": { "module_args": { "_original_basename": "tmp9q5t2p_8", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "delimiter": null, "dest": "/WORKDIR/git-weekly-ci29zqok5a/tests/roles/caller/vars/CentOS_7.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-1710632790.722149-3817-81787887616860/source", "unsafe_writes": false, "validate": null } }, "item": "CentOS_7.9", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1710632790.722149-3817-81787887616860/source", "state": "file", "uid": 1000090000 }, "path": "/WORKDIR/git-weekly-ci29zqok5a/tests/roles/caller/vars/CentOS_7.9.yml", "state": "absent" } changed: [sut -> localhost] => (item={'diff': [], 'dest': '/WORKDIR/git-weekly-ci29zqok5a/tests/roles/caller/vars/CentOS_7.yml', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1710632790.975538-3817-197626795571284/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-weekly-ci29zqok5a/tests/roles/caller/vars/CentOS_7.yml', 'mode': '0600', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1710632790.975538-3817-197626795571284/source', '_original_basename': 'tmprovoxgfd', '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_7', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-weekly-ci29zqok5a/tests/roles/caller/vars/CentOS_7.yml", "diff": [], "failed": false, "gid": 1001, "group": "jenkins", "invocation": { "module_args": { "_original_basename": "tmprovoxgfd", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "delimiter": null, "dest": "/WORKDIR/git-weekly-ci29zqok5a/tests/roles/caller/vars/CentOS_7.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-1710632790.975538-3817-197626795571284/source", "unsafe_writes": false, "validate": null } }, "item": "CentOS_7", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1710632790.975538-3817-197626795571284/source", "state": "file", "uid": 1000090000 }, "path": "/WORKDIR/git-weekly-ci29zqok5a/tests/roles/caller/vars/CentOS_7.yml", "state": "absent" } changed: [sut -> localhost] => (item={'diff': [], 'dest': '/WORKDIR/git-weekly-ci29zqok5a/tests/roles/caller/vars/CentOS.yml', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1710632791.2361126-3817-75432192663746/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-weekly-ci29zqok5a/tests/roles/caller/vars/CentOS.yml', 'mode': '0600', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1710632791.2361126-3817-75432192663746/source', '_original_basename': 'tmpl5wdzk66', '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-weekly-ci29zqok5a/tests/roles/caller/vars/CentOS.yml", "diff": [], "failed": false, "gid": 1001, "group": "jenkins", "invocation": { "module_args": { "_original_basename": "tmpl5wdzk66", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "delimiter": null, "dest": "/WORKDIR/git-weekly-ci29zqok5a/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-1710632791.2361126-3817-75432192663746/source", "unsafe_writes": false, "validate": null } }, "item": "CentOS", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1710632791.2361126-3817-75432192663746/source", "state": "file", "uid": 1000090000 }, "path": "/WORKDIR/git-weekly-ci29zqok5a/tests/roles/caller/vars/CentOS.yml", "state": "absent" } changed: [sut -> localhost] => (item={'diff': [], 'dest': '/WORKDIR/git-weekly-ci29zqok5a/tests/roles/caller/vars/RedHat.yml', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1710632791.562656-3817-169087749477871/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-weekly-ci29zqok5a/tests/roles/caller/vars/RedHat.yml', 'mode': '0600', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1710632791.562656-3817-169087749477871/source', '_original_basename': 'tmpgv2ggxxi', '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-weekly-ci29zqok5a/tests/roles/caller/vars/RedHat.yml", "diff": [], "failed": false, "gid": 1001, "group": "jenkins", "invocation": { "module_args": { "_original_basename": "tmpgv2ggxxi", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "delimiter": null, "dest": "/WORKDIR/git-weekly-ci29zqok5a/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-1710632791.562656-3817-169087749477871/source", "unsafe_writes": false, "validate": null } }, "item": "RedHat", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1710632791.562656-3817-169087749477871/source", "state": "file", "uid": 1000090000 }, "path": "/WORKDIR/git-weekly-ci29zqok5a/tests/roles/caller/vars/RedHat.yml", "state": "absent" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=13 changed=2 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 Saturday 16 March 2024 23:46:33 +0000 (0:00:00.709) 0:00:05.659 ******** =============================================================================== Create var file in caller that can override the one in called role ------ 2.08s /WORKDIR/git-weekly-ci29zqok5a/tests/tests_include_vars_from_parent.yml:15 ---- Gathering Facts --------------------------------------------------------- 1.69s /WORKDIR/git-weekly-ci29zqok5a/tests/tests_include_vars_from_parent.yml:2 ----- Cleanup ----------------------------------------------------------------- 0.71s /WORKDIR/git-weekly-ci29zqok5a/tests/tests_include_vars_from_parent.yml:60 ---- linux-system-roles.snapshot : Ensure required packages are installed ---- 0.54s /WORKDIR/git-weekly-ci29zqok5a/tests/roles/linux-system-roles.snapshot/tasks/main.yml:6 linux-system-roles.snapshot : Run snapshot command check ---------------- 0.24s /WORKDIR/git-weekly-ci29zqok5a/tests/roles/linux-system-roles.snapshot/tasks/main.yml:20 linux-system-roles.snapshot : Check if system is ostree ----------------- 0.14s /WORKDIR/git-weekly-ci29zqok5a/tests/roles/linux-system-roles.snapshot/tasks/set_vars.yml:11 linux-system-roles.snapshot : Parse raw output -------------------------- 0.04s /WORKDIR/git-weekly-ci29zqok5a/tests/roles/linux-system-roles.snapshot/tasks/main.yml:39 linux-system-roles.snapshot : Ensure ansible_facts used by role --------- 0.04s /WORKDIR/git-weekly-ci29zqok5a/tests/roles/linux-system-roles.snapshot/tasks/set_vars.yml:2 linux-system-roles.snapshot : Set platform/version specific variables --- 0.03s /WORKDIR/git-weekly-ci29zqok5a/tests/roles/linux-system-roles.snapshot/tasks/set_vars.yml:20 linux-system-roles.snapshot : Show snapshot command --------------------- 0.02s /WORKDIR/git-weekly-ci29zqok5a/tests/roles/linux-system-roles.snapshot/tasks/main.yml:13 Include role ------------------------------------------------------------ 0.02s /WORKDIR/git-weekly-ci29zqok5a/tests/roles/caller/tasks/main.yml:4 ------------ linux-system-roles.snapshot : Set snapshot_facts to the JSON results ---- 0.02s /WORKDIR/git-weekly-ci29zqok5a/tests/roles/linux-system-roles.snapshot/tasks/main.yml:46 linux-system-roles.snapshot : Set flag to indicate system is ostree ----- 0.02s /WORKDIR/git-weekly-ci29zqok5a/tests/roles/linux-system-roles.snapshot/tasks/set_vars.yml:16 linux-system-roles.snapshot : Set platform/version specific variables --- 0.02s /WORKDIR/git-weekly-ci29zqok5a/tests/roles/linux-system-roles.snapshot/tasks/main.yml:3 caller : Assert variable not overridden --------------------------------- 0.02s /WORKDIR/git-weekly-ci29zqok5a/tests/roles/caller/tasks/main.yml:8 ------------ linux-system-roles.snapshot : Print out response ------------------------ 0.01s /WORKDIR/git-weekly-ci29zqok5a/tests/roles/linux-system-roles.snapshot/tasks/main.yml:34 linux-system-roles.snapshot : Show errors ------------------------------- 0.01s /WORKDIR/git-weekly-ci29zqok5a/tests/roles/linux-system-roles.snapshot/tasks/main.yml:51 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---