# 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-snapsetk62bm0oi/tests/tests_include_vars_from_parent.yml PLAY [Test role include variable override] ************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-snapsetk62bm0oi/tests/tests_include_vars_from_parent.yml:2 Tuesday 23 January 2024 15:04:19 +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-snapsetk62bm0oi/tests/tests_include_vars_from_parent.yml:13 Tuesday 23 January 2024 15:04:20 +0000 (0:00:00.710) 0:00:00.722 ******* changed: [sut -> localhost] => (item=CentOS-8) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-snapsetk62bm0oi/tests/roles/caller/vars/CentOS-8.yml", "gid": 1001, "group": "jenkins", "item": "CentOS-8", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1706022260.515762-5514-48458977554163/source", "state": "file", "uid": 1000090000 } changed: [sut -> localhost] => (item=CentOS_8) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-snapsetk62bm0oi/tests/roles/caller/vars/CentOS_8.yml", "gid": 1001, "group": "jenkins", "item": "CentOS_8", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1706022260.8722289-5514-36876584385382/source", "state": "file", "uid": 1000090000 } changed: [sut -> localhost] => (item=CentOS) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-snapsetk62bm0oi/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-1706022261.0893028-5514-194187480685593/source", "state": "file", "uid": 1000090000 } changed: [sut -> localhost] => (item=RedHat) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-snapsetk62bm0oi/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-1706022261.3089926-5514-205476045897016/source", "state": "file", "uid": 1000090000 } TASK [Include role] ************************************************************ task path: /WORKDIR/git-snapsetk62bm0oi/tests/roles/caller/tasks/main.yml:4 Tuesday 23 January 2024 15:04:21 +0000 (0:00:01.032) 0:00:01.755 ******* TASK [linux-system-roles.snapshot : Set platform/version specific variables] *** task path: /WORKDIR/git-snapsetk62bm0oi/tests/roles/linux-system-roles.snapshot/tasks/main.yml:3 Tuesday 23 January 2024 15:04:21 +0000 (0:00:00.016) 0:00:01.772 ******* included: /WORKDIR/git-snapsetk62bm0oi/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-snapsetk62bm0oi/tests/roles/linux-system-roles.snapshot/tasks/set_vars.yml:2 Tuesday 23 January 2024 15:04:21 +0000 (0:00:00.016) 0:00:01.789 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.snapshot : Check if system is ostree] ***************** task path: /WORKDIR/git-snapsetk62bm0oi/tests/roles/linux-system-roles.snapshot/tasks/set_vars.yml:11 Tuesday 23 January 2024 15:04:21 +0000 (0:00:00.010) 0:00:01.800 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.snapshot : Set flag to indicate system is ostree] ***** task path: /WORKDIR/git-snapsetk62bm0oi/tests/roles/linux-system-roles.snapshot/tasks/set_vars.yml:16 Tuesday 23 January 2024 15:04:21 +0000 (0:00:00.192) 0:00:01.992 ******* ok: [sut] => { "ansible_facts": { "__snapshot_is_ostree": false }, "changed": false } TASK [linux-system-roles.snapshot : Set platform/version specific variables] *** task path: /WORKDIR/git-snapsetk62bm0oi/tests/roles/linux-system-roles.snapshot/tasks/set_vars.yml:20 Tuesday 23 January 2024 15:04:21 +0000 (0:00:00.013) 0:00:02.005 ******* 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_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.snapshot : Ensure required packages are installed] **** task path: /WORKDIR/git-snapsetk62bm0oi/tests/roles/linux-system-roles.snapshot/tasks/main.yml:6 Tuesday 23 January 2024 15:04:21 +0000 (0:00:00.022) 0:00:02.028 ******* changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: device-mapper-event-8:1.02.181-9.el8.x86_64", "Installed: lvm2-8:2.03.14-9.el8.x86_64", "Installed: device-mapper-persistent-data-0.9.0-7.el8.x86_64", "Installed: device-mapper-event-libs-8:1.02.181-9.el8.x86_64", "Installed: lvm2-libs-8:2.03.14-9.el8.x86_64", "Installed: libaio-0.3.112-1.el8.x86_64" ] } TASK [linux-system-roles.snapshot : Check for space and name problems] ********* task path: /WORKDIR/git-snapsetk62bm0oi/tests/roles/linux-system-roles.snapshot/tasks/main.yml:13 Tuesday 23 January 2024 15:04:27 +0000 (0:00:06.179) 0:00:08.207 ******* included: /WORKDIR/git-snapsetk62bm0oi/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-snapsetk62bm0oi/tests/roles/linux-system-roles.snapshot/tasks/check.yml:2 Tuesday 23 January 2024 15:04:27 +0000 (0:00:00.017) 0:00:08.225 ******* 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.46.44 closed. MSG: non-zero return code TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-snapsetk62bm0oi/tests/tests_include_vars_from_parent.yml:58 Tuesday 23 January 2024 15:04:28 +0000 (0:00:00.280) 0:00:08.505 ******* changed: [sut -> localhost] => (item={'diff': [], 'dest': '/WORKDIR/git-snapsetk62bm0oi/tests/roles/caller/vars/CentOS-8.yml', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1706022260.515762-5514-48458977554163/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-snapsetk62bm0oi/tests/roles/caller/vars/CentOS-8.yml', 'mode': '0600', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1706022260.515762-5514-48458977554163/source', '_original_basename': 'tmpr1bv76ab', '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-8', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-snapsetk62bm0oi/tests/roles/caller/vars/CentOS-8.yml", "diff": [], "failed": false, "gid": 1001, "group": "jenkins", "invocation": { "module_args": { "_original_basename": "tmpr1bv76ab", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "delimiter": null, "dest": "/WORKDIR/git-snapsetk62bm0oi/tests/roles/caller/vars/CentOS-8.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-1706022260.515762-5514-48458977554163/source", "unsafe_writes": false, "validate": null } }, "item": "CentOS-8", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1706022260.515762-5514-48458977554163/source", "state": "file", "uid": 1000090000 }, "path": "/WORKDIR/git-snapsetk62bm0oi/tests/roles/caller/vars/CentOS-8.yml", "state": "absent" } changed: [sut -> localhost] => (item={'diff': [], 'dest': '/WORKDIR/git-snapsetk62bm0oi/tests/roles/caller/vars/CentOS_8.yml', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1706022260.8722289-5514-36876584385382/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-snapsetk62bm0oi/tests/roles/caller/vars/CentOS_8.yml', 'mode': '0600', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1706022260.8722289-5514-36876584385382/source', '_original_basename': 'tmpzotvqrej', '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_8', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-snapsetk62bm0oi/tests/roles/caller/vars/CentOS_8.yml", "diff": [], "failed": false, "gid": 1001, "group": "jenkins", "invocation": { "module_args": { "_original_basename": "tmpzotvqrej", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "delimiter": null, "dest": "/WORKDIR/git-snapsetk62bm0oi/tests/roles/caller/vars/CentOS_8.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-1706022260.8722289-5514-36876584385382/source", "unsafe_writes": false, "validate": null } }, "item": "CentOS_8", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1706022260.8722289-5514-36876584385382/source", "state": "file", "uid": 1000090000 }, "path": "/WORKDIR/git-snapsetk62bm0oi/tests/roles/caller/vars/CentOS_8.yml", "state": "absent" } changed: [sut -> localhost] => (item={'diff': [], 'dest': '/WORKDIR/git-snapsetk62bm0oi/tests/roles/caller/vars/CentOS.yml', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1706022261.0893028-5514-194187480685593/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-snapsetk62bm0oi/tests/roles/caller/vars/CentOS.yml', 'mode': '0600', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1706022261.0893028-5514-194187480685593/source', '_original_basename': 'tmpjrtw37r8', '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-snapsetk62bm0oi/tests/roles/caller/vars/CentOS.yml", "diff": [], "failed": false, "gid": 1001, "group": "jenkins", "invocation": { "module_args": { "_original_basename": "tmpjrtw37r8", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "delimiter": null, "dest": "/WORKDIR/git-snapsetk62bm0oi/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-1706022261.0893028-5514-194187480685593/source", "unsafe_writes": false, "validate": null } }, "item": "CentOS", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1706022261.0893028-5514-194187480685593/source", "state": "file", "uid": 1000090000 }, "path": "/WORKDIR/git-snapsetk62bm0oi/tests/roles/caller/vars/CentOS.yml", "state": "absent" } changed: [sut -> localhost] => (item={'diff': [], 'dest': '/WORKDIR/git-snapsetk62bm0oi/tests/roles/caller/vars/RedHat.yml', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1706022261.3089926-5514-205476045897016/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-snapsetk62bm0oi/tests/roles/caller/vars/RedHat.yml', 'mode': '0600', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1706022261.3089926-5514-205476045897016/source', '_original_basename': 'tmpdgdpwyau', '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-snapsetk62bm0oi/tests/roles/caller/vars/RedHat.yml", "diff": [], "failed": false, "gid": 1001, "group": "jenkins", "invocation": { "module_args": { "_original_basename": "tmpdgdpwyau", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "delimiter": null, "dest": "/WORKDIR/git-snapsetk62bm0oi/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-1706022261.3089926-5514-205476045897016/source", "unsafe_writes": false, "validate": null } }, "item": "RedHat", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1706022261.3089926-5514-205476045897016/source", "state": "file", "uid": 1000090000 }, "path": "/WORKDIR/git-snapsetk62bm0oi/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 15:04:28 +0000 (0:00:00.494) 0:00:08.999 ******* =============================================================================== linux-system-roles.snapshot : Ensure required packages are installed ---- 6.18s /WORKDIR/git-snapsetk62bm0oi/tests/roles/linux-system-roles.snapshot/tasks/main.yml:6 Create var file in caller that can override the one in called role ------ 1.03s /WORKDIR/git-snapsetk62bm0oi/tests/tests_include_vars_from_parent.yml:13 ------ Gathering Facts --------------------------------------------------------- 0.71s /WORKDIR/git-snapsetk62bm0oi/tests/tests_include_vars_from_parent.yml:2 ------- Cleanup ----------------------------------------------------------------- 0.49s /WORKDIR/git-snapsetk62bm0oi/tests/tests_include_vars_from_parent.yml:58 ------ linux-system-roles.snapshot : Check snapshots will work or are completed (verify) --- 0.28s /WORKDIR/git-snapsetk62bm0oi/tests/roles/linux-system-roles.snapshot/tasks/check.yml:2 linux-system-roles.snapshot : Check if system is ostree ----------------- 0.19s /WORKDIR/git-snapsetk62bm0oi/tests/roles/linux-system-roles.snapshot/tasks/set_vars.yml:11 linux-system-roles.snapshot : Set platform/version specific variables --- 0.02s /WORKDIR/git-snapsetk62bm0oi/tests/roles/linux-system-roles.snapshot/tasks/set_vars.yml:20 linux-system-roles.snapshot : Check for space and name problems --------- 0.02s /WORKDIR/git-snapsetk62bm0oi/tests/roles/linux-system-roles.snapshot/tasks/main.yml:13 Include role ------------------------------------------------------------ 0.02s /WORKDIR/git-snapsetk62bm0oi/tests/roles/caller/tasks/main.yml:4 -------------- linux-system-roles.snapshot : Set platform/version specific variables --- 0.02s /WORKDIR/git-snapsetk62bm0oi/tests/roles/linux-system-roles.snapshot/tasks/main.yml:3 linux-system-roles.snapshot : Set flag to indicate system is ostree ----- 0.01s /WORKDIR/git-snapsetk62bm0oi/tests/roles/linux-system-roles.snapshot/tasks/set_vars.yml:16 linux-system-roles.snapshot : Ensure ansible_facts used by role --------- 0.01s /WORKDIR/git-snapsetk62bm0oi/tests/roles/linux-system-roles.snapshot/tasks/set_vars.yml:2 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---