# 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-snapset1w135x7i/tests/tests_include_vars_from_parent.yml PLAY [Test role include variable override] ************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-snapset1w135x7i/tests/tests_include_vars_from_parent.yml:2 Tuesday 23 January 2024 02:07:22 +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-snapset1w135x7i/tests/tests_include_vars_from_parent.yml:13 Tuesday 23 January 2024 02:07:23 +0000 (0:00:00.762) 0:00:00.774 ******* changed: [sut -> localhost] => (item=CentOS-9) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-snapset1w135x7i/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-1705975643.4125948-5481-53339557451873/source", "state": "file", "uid": 1000090000 } changed: [sut -> localhost] => (item=CentOS_9) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-snapset1w135x7i/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-1705975643.809286-5481-40279328372751/source", "state": "file", "uid": 1000090000 } changed: [sut -> localhost] => (item=CentOS) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-snapset1w135x7i/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-1705975644.0616753-5481-275748577271461/source", "state": "file", "uid": 1000090000 } changed: [sut -> localhost] => (item=RedHat) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-snapset1w135x7i/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-1705975644.2845974-5481-230206325980460/source", "state": "file", "uid": 1000090000 } TASK [Include role] ************************************************************ task path: /WORKDIR/git-snapset1w135x7i/tests/roles/caller/tasks/main.yml:4 Tuesday 23 January 2024 02:07:24 +0000 (0:00:01.121) 0:00:01.896 ******* TASK [linux-system-roles.snapshot : Set platform/version specific variables] *** task path: /WORKDIR/git-snapset1w135x7i/tests/roles/linux-system-roles.snapshot/tasks/main.yml:3 Tuesday 23 January 2024 02:07:24 +0000 (0:00:00.024) 0:00:01.921 ******* included: /WORKDIR/git-snapset1w135x7i/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-snapset1w135x7i/tests/roles/linux-system-roles.snapshot/tasks/set_vars.yml:2 Tuesday 23 January 2024 02:07:24 +0000 (0:00:00.019) 0:00:01.940 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.snapshot : Check if system is ostree] ***************** task path: /WORKDIR/git-snapset1w135x7i/tests/roles/linux-system-roles.snapshot/tasks/set_vars.yml:11 Tuesday 23 January 2024 02:07:24 +0000 (0:00:00.014) 0:00:01.955 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.snapshot : Set flag to indicate system is ostree] ***** task path: /WORKDIR/git-snapset1w135x7i/tests/roles/linux-system-roles.snapshot/tasks/set_vars.yml:16 Tuesday 23 January 2024 02:07:24 +0000 (0:00:00.180) 0:00:02.136 ******* ok: [sut] => { "ansible_facts": { "__snapshot_is_ostree": false }, "changed": false } TASK [linux-system-roles.snapshot : Set platform/version specific variables] *** task path: /WORKDIR/git-snapset1w135x7i/tests/roles/linux-system-roles.snapshot/tasks/set_vars.yml:20 Tuesday 23 January 2024 02:07:24 +0000 (0:00:00.013) 0:00:02.149 ******* 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.snapshot : Ensure required packages are installed] **** task path: /WORKDIR/git-snapset1w135x7i/tests/roles/linux-system-roles.snapshot/tasks/main.yml:6 Tuesday 23 January 2024 02:07:24 +0000 (0:00:00.023) 0:00:02.173 ******* changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: device-mapper-event-libs-9:1.02.195-3.el9.x86_64", "Installed: lvm2-9:2.03.21-3.el9.x86_64", "Installed: device-mapper-event-9:1.02.195-3.el9.x86_64", "Installed: libaio-0.3.111-13.el9.x86_64", "Installed: lvm2-libs-9:2.03.21-3.el9.x86_64", "Installed: device-mapper-persistent-data-1.0.6-1.el9.x86_64" ] } TASK [linux-system-roles.snapshot : Check for space and name problems] ********* task path: /WORKDIR/git-snapset1w135x7i/tests/roles/linux-system-roles.snapshot/tasks/main.yml:13 Tuesday 23 January 2024 02:07:30 +0000 (0:00:05.366) 0:00:07.539 ******* included: /WORKDIR/git-snapset1w135x7i/tests/roles/linux-system-roles.snapshot/tasks/check.yml for sut TASK [linux-system-roles.snapshot : Check snapshots will work or are completed (verify)] *** task path: /WORKDIR/git-snapset1w135x7i/tests/roles/linux-system-roles.snapshot/tasks/check.yml:2 Tuesday 23 January 2024 02:07:30 +0000 (0:00:00.038) 0:00:07.577 ******* fatal: [sut]: FAILED! => { "changed": true, "failed_when_result": true, "rc": 15 } STDOUT: must specify either --all or a volume group: check STDERR: Shared connection to 10.31.41.44 closed. MSG: non-zero return code TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-snapset1w135x7i/tests/tests_include_vars_from_parent.yml:58 Tuesday 23 January 2024 02:07:30 +0000 (0:00:00.279) 0:00:07.857 ******* changed: [sut -> localhost] => (item={'diff': [], 'dest': '/WORKDIR/git-snapset1w135x7i/tests/roles/caller/vars/CentOS-9.yml', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1705975643.4125948-5481-53339557451873/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-snapset1w135x7i/tests/roles/caller/vars/CentOS-9.yml', 'mode': '0600', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1705975643.4125948-5481-53339557451873/source', '_original_basename': 'tmpyvz78omq', '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-snapset1w135x7i/tests/roles/caller/vars/CentOS-9.yml", "diff": [], "failed": false, "gid": 1001, "group": "jenkins", "invocation": { "module_args": { "_original_basename": "tmpyvz78omq", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "delimiter": null, "dest": "/WORKDIR/git-snapset1w135x7i/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-1705975643.4125948-5481-53339557451873/source", "unsafe_writes": false, "validate": null } }, "item": "CentOS-9", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1705975643.4125948-5481-53339557451873/source", "state": "file", "uid": 1000090000 }, "path": "/WORKDIR/git-snapset1w135x7i/tests/roles/caller/vars/CentOS-9.yml", "state": "absent" } changed: [sut -> localhost] => (item={'diff': [], 'dest': '/WORKDIR/git-snapset1w135x7i/tests/roles/caller/vars/CentOS_9.yml', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1705975643.809286-5481-40279328372751/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-snapset1w135x7i/tests/roles/caller/vars/CentOS_9.yml', 'mode': '0600', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1705975643.809286-5481-40279328372751/source', '_original_basename': 'tmp5cg89q3l', '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-snapset1w135x7i/tests/roles/caller/vars/CentOS_9.yml", "diff": [], "failed": false, "gid": 1001, "group": "jenkins", "invocation": { "module_args": { "_original_basename": "tmp5cg89q3l", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "delimiter": null, "dest": "/WORKDIR/git-snapset1w135x7i/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-1705975643.809286-5481-40279328372751/source", "unsafe_writes": false, "validate": null } }, "item": "CentOS_9", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1705975643.809286-5481-40279328372751/source", "state": "file", "uid": 1000090000 }, "path": "/WORKDIR/git-snapset1w135x7i/tests/roles/caller/vars/CentOS_9.yml", "state": "absent" } changed: [sut -> localhost] => (item={'diff': [], 'dest': '/WORKDIR/git-snapset1w135x7i/tests/roles/caller/vars/CentOS.yml', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1705975644.0616753-5481-275748577271461/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-snapset1w135x7i/tests/roles/caller/vars/CentOS.yml', 'mode': '0600', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1705975644.0616753-5481-275748577271461/source', '_original_basename': 'tmpij2b2xj2', '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-snapset1w135x7i/tests/roles/caller/vars/CentOS.yml", "diff": [], "failed": false, "gid": 1001, "group": "jenkins", "invocation": { "module_args": { "_original_basename": "tmpij2b2xj2", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "delimiter": null, "dest": "/WORKDIR/git-snapset1w135x7i/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-1705975644.0616753-5481-275748577271461/source", "unsafe_writes": false, "validate": null } }, "item": "CentOS", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1705975644.0616753-5481-275748577271461/source", "state": "file", "uid": 1000090000 }, "path": "/WORKDIR/git-snapset1w135x7i/tests/roles/caller/vars/CentOS.yml", "state": "absent" } changed: [sut -> localhost] => (item={'diff': [], 'dest': '/WORKDIR/git-snapset1w135x7i/tests/roles/caller/vars/RedHat.yml', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1705975644.2845974-5481-230206325980460/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-snapset1w135x7i/tests/roles/caller/vars/RedHat.yml', 'mode': '0600', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1705975644.2845974-5481-230206325980460/source', '_original_basename': 'tmpy9n8z68f', '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-snapset1w135x7i/tests/roles/caller/vars/RedHat.yml", "diff": [], "failed": false, "gid": 1001, "group": "jenkins", "invocation": { "module_args": { "_original_basename": "tmpy9n8z68f", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "delimiter": null, "dest": "/WORKDIR/git-snapset1w135x7i/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-1705975644.2845974-5481-230206325980460/source", "unsafe_writes": false, "validate": null } }, "item": "RedHat", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1705975644.2845974-5481-230206325980460/source", "state": "file", "uid": 1000090000 }, "path": "/WORKDIR/git-snapset1w135x7i/tests/roles/caller/vars/RedHat.yml", "state": "absent" } to retry, use: --limit @/tmp/tests_include_vars_from_parent.retry PLAY RECAP ********************************************************************* sut : ok=8 changed=3 unreachable=0 failed=1 skipped=2 rescued=0 ignored=0 Tuesday 23 January 2024 02:07:30 +0000 (0:00:00.515) 0:00:08.373 ******* =============================================================================== linux-system-roles.snapshot : Ensure required packages are installed ---- 5.37s /WORKDIR/git-snapset1w135x7i/tests/roles/linux-system-roles.snapshot/tasks/main.yml:6 Create var file in caller that can override the one in called role ------ 1.12s /WORKDIR/git-snapset1w135x7i/tests/tests_include_vars_from_parent.yml:13 ------ Gathering Facts --------------------------------------------------------- 0.76s /WORKDIR/git-snapset1w135x7i/tests/tests_include_vars_from_parent.yml:2 ------- Cleanup ----------------------------------------------------------------- 0.52s /WORKDIR/git-snapset1w135x7i/tests/tests_include_vars_from_parent.yml:58 ------ linux-system-roles.snapshot : Check snapshots will work or are completed (verify) --- 0.28s /WORKDIR/git-snapset1w135x7i/tests/roles/linux-system-roles.snapshot/tasks/check.yml:2 linux-system-roles.snapshot : Check if system is ostree ----------------- 0.18s /WORKDIR/git-snapset1w135x7i/tests/roles/linux-system-roles.snapshot/tasks/set_vars.yml:11 linux-system-roles.snapshot : Check for space and name problems --------- 0.04s /WORKDIR/git-snapset1w135x7i/tests/roles/linux-system-roles.snapshot/tasks/main.yml:13 Include role ------------------------------------------------------------ 0.02s /WORKDIR/git-snapset1w135x7i/tests/roles/caller/tasks/main.yml:4 -------------- linux-system-roles.snapshot : Set platform/version specific variables --- 0.02s /WORKDIR/git-snapset1w135x7i/tests/roles/linux-system-roles.snapshot/tasks/set_vars.yml:20 linux-system-roles.snapshot : Set platform/version specific variables --- 0.02s /WORKDIR/git-snapset1w135x7i/tests/roles/linux-system-roles.snapshot/tasks/main.yml:3 linux-system-roles.snapshot : Ensure ansible_facts used by role --------- 0.01s /WORKDIR/git-snapset1w135x7i/tests/roles/linux-system-roles.snapshot/tasks/set_vars.yml:2 linux-system-roles.snapshot : Set flag to indicate system is ostree ----- 0.01s /WORKDIR/git-snapset1w135x7i/tests/roles/linux-system-roles.snapshot/tasks/set_vars.yml:16 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---