# STDOUT: ---v---v---v---v---v--- ansible-playbook [core 2.16.0] 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.16/lib/python3.11/site-packages/ansible ansible collection location = /WORKDIR/git-snapset9ui3wklh/.collection executable location = /opt/ansible-2.16/bin/ansible-playbook python version = 3.11.5 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] (/opt/ansible-2.16/bin/python) jinja version = 3.1.2 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_include_vars_from_parent.yml *********************************** 1 plays in /WORKDIR/git-snapset9ui3wklh/tests/tests_include_vars_from_parent.yml PLAY [Test role include variable override] ************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-snapset9ui3wklh/tests/tests_include_vars_from_parent.yml:2 Tuesday 23 January 2024 01:56:17 +0000 (0:00:00.011) 0:00:00.011 ******* ok: [sut] TASK [Create var file in caller that can override the one in called role] ****** task path: /WORKDIR/git-snapset9ui3wklh/tests/tests_include_vars_from_parent.yml:13 Tuesday 23 January 2024 01:56:18 +0000 (0:00:00.909) 0:00:00.921 ******* changed: [sut -> localhost] => (item=Fedora-38) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-snapset9ui3wklh/tests/roles/caller/vars/Fedora-38.yml", "gid": 1001, "group": "jenkins", "item": "Fedora-38", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1705974978.7517247-5260-101553646739804/source", "state": "file", "uid": 1000090000 } changed: [sut -> localhost] => (item=Fedora_38) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-snapset9ui3wklh/tests/roles/caller/vars/Fedora_38.yml", "gid": 1001, "group": "jenkins", "item": "Fedora_38", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1705974979.1281662-5260-160969222815644/source", "state": "file", "uid": 1000090000 } changed: [sut -> localhost] => (item=Fedora) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-snapset9ui3wklh/tests/roles/caller/vars/Fedora.yml", "gid": 1001, "group": "jenkins", "item": "Fedora", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1705974979.3555164-5260-271631687088945/source", "state": "file", "uid": 1000090000 } changed: [sut -> localhost] => (item=RedHat) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-snapset9ui3wklh/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-1705974979.5846658-5260-16452107178558/source", "state": "file", "uid": 1000090000 } TASK [Include role] ************************************************************ task path: /WORKDIR/git-snapset9ui3wklh/tests/roles/caller/tasks/main.yml:4 Tuesday 23 January 2024 01:56:19 +0000 (0:00:01.112) 0:00:02.034 ******* TASK [fedora.linux_system_roles.snapshot : Set platform/version specific variables] *** task path: /WORKDIR/git-snapset9ui3wklh/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:3 Tuesday 23 January 2024 01:56:19 +0000 (0:00:00.018) 0:00:02.052 ******* included: /WORKDIR/git-snapset9ui3wklh/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.snapshot : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-snapset9ui3wklh/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/set_vars.yml:2 Tuesday 23 January 2024 01:56:19 +0000 (0:00:00.014) 0:00:02.067 ******* skipping: [sut] => { "changed": false, "false_condition": "__snapshot_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.snapshot : Check if system is ostree] ********** task path: /WORKDIR/git-snapset9ui3wklh/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/set_vars.yml:10 Tuesday 23 January 2024 01:56:19 +0000 (0:00:00.018) 0:00:02.086 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.snapshot : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-snapset9ui3wklh/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/set_vars.yml:15 Tuesday 23 January 2024 01:56:20 +0000 (0:00:00.210) 0:00:02.297 ******* ok: [sut] => { "ansible_facts": { "__snapshot_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.snapshot : Set platform/version specific variables] *** task path: /WORKDIR/git-snapset9ui3wklh/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/set_vars.yml:19 Tuesday 23 January 2024 01:56:20 +0000 (0:00:00.017) 0:00:02.314 ******* skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_38.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_38.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_38.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_38.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.snapshot : Ensure required packages are installed] *** task path: /WORKDIR/git-snapset9ui3wklh/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:6 Tuesday 23 January 2024 01:56:20 +0000 (0:00:00.023) 0:00:02.337 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.snapshot : Check for space and name problems] *** task path: /WORKDIR/git-snapset9ui3wklh/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:12 Tuesday 23 January 2024 01:56:22 +0000 (0:00:02.388) 0:00:04.725 ******* included: /WORKDIR/git-snapset9ui3wklh/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/check.yml for sut TASK [fedora.linux_system_roles.snapshot : Check snapshots will work or are completed (verify)] *** task path: /WORKDIR/git-snapset9ui3wklh/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/check.yml:2 Tuesday 23 January 2024 01:56:22 +0000 (0:00:00.015) 0:00:04.741 ******* An exception occurred during task execution. To see the full traceback, use -vvv. The error was: NoneType: None 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.165 closed. MSG: non-zero return code TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-snapset9ui3wklh/tests/tests_include_vars_from_parent.yml:56 Tuesday 23 January 2024 01:56:22 +0000 (0:00:00.262) 0:00:05.003 ******* changed: [sut -> localhost] => (item={'diff': [], 'dest': '/WORKDIR/git-snapset9ui3wklh/tests/roles/caller/vars/Fedora-38.yml', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1705974978.7517247-5260-101553646739804/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-snapset9ui3wklh/tests/roles/caller/vars/Fedora-38.yml', 'mode': '0600', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1705974978.7517247-5260-101553646739804/source', '_original_basename': 'tmpdjfobk_4', '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}}, 'failed': False, 'item': 'Fedora-38', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-snapset9ui3wklh/tests/roles/caller/vars/Fedora-38.yml", "diff": [], "failed": false, "gid": 1001, "group": "jenkins", "invocation": { "module_args": { "_original_basename": "tmpdjfobk_4", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "dest": "/WORKDIR/git-snapset9ui3wklh/tests/roles/caller/vars/Fedora-38.yml", "directory_mode": null, "follow": false, "force": true, "group": null, "local_follow": null, "mode": "0600", "owner": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1705974978.7517247-5260-101553646739804/source", "unsafe_writes": false, "validate": null } }, "item": "Fedora-38", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1705974978.7517247-5260-101553646739804/source", "state": "file", "uid": 1000090000 }, "path": "/WORKDIR/git-snapset9ui3wklh/tests/roles/caller/vars/Fedora-38.yml", "state": "absent" } changed: [sut -> localhost] => (item={'diff': [], 'dest': '/WORKDIR/git-snapset9ui3wklh/tests/roles/caller/vars/Fedora_38.yml', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1705974979.1281662-5260-160969222815644/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-snapset9ui3wklh/tests/roles/caller/vars/Fedora_38.yml', 'mode': '0600', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1705974979.1281662-5260-160969222815644/source', '_original_basename': 'tmp1abbj9ah', '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}}, 'failed': False, 'item': 'Fedora_38', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-snapset9ui3wklh/tests/roles/caller/vars/Fedora_38.yml", "diff": [], "failed": false, "gid": 1001, "group": "jenkins", "invocation": { "module_args": { "_original_basename": "tmp1abbj9ah", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "dest": "/WORKDIR/git-snapset9ui3wklh/tests/roles/caller/vars/Fedora_38.yml", "directory_mode": null, "follow": false, "force": true, "group": null, "local_follow": null, "mode": "0600", "owner": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1705974979.1281662-5260-160969222815644/source", "unsafe_writes": false, "validate": null } }, "item": "Fedora_38", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1705974979.1281662-5260-160969222815644/source", "state": "file", "uid": 1000090000 }, "path": "/WORKDIR/git-snapset9ui3wklh/tests/roles/caller/vars/Fedora_38.yml", "state": "absent" } changed: [sut -> localhost] => (item={'diff': [], 'dest': '/WORKDIR/git-snapset9ui3wklh/tests/roles/caller/vars/Fedora.yml', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1705974979.3555164-5260-271631687088945/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-snapset9ui3wklh/tests/roles/caller/vars/Fedora.yml', 'mode': '0600', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1705974979.3555164-5260-271631687088945/source', '_original_basename': 'tmps7oi3cj0', '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}}, 'failed': False, 'item': 'Fedora', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-snapset9ui3wklh/tests/roles/caller/vars/Fedora.yml", "diff": [], "failed": false, "gid": 1001, "group": "jenkins", "invocation": { "module_args": { "_original_basename": "tmps7oi3cj0", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "dest": "/WORKDIR/git-snapset9ui3wklh/tests/roles/caller/vars/Fedora.yml", "directory_mode": null, "follow": false, "force": true, "group": null, "local_follow": null, "mode": "0600", "owner": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1705974979.3555164-5260-271631687088945/source", "unsafe_writes": false, "validate": null } }, "item": "Fedora", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1705974979.3555164-5260-271631687088945/source", "state": "file", "uid": 1000090000 }, "path": "/WORKDIR/git-snapset9ui3wklh/tests/roles/caller/vars/Fedora.yml", "state": "absent" } changed: [sut -> localhost] => (item={'diff': [], 'dest': '/WORKDIR/git-snapset9ui3wklh/tests/roles/caller/vars/RedHat.yml', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1705974979.5846658-5260-16452107178558/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-snapset9ui3wklh/tests/roles/caller/vars/RedHat.yml', 'mode': '0600', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1705974979.5846658-5260-16452107178558/source', '_original_basename': 'tmpanswi60u', '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}}, '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-snapset9ui3wklh/tests/roles/caller/vars/RedHat.yml", "diff": [], "failed": false, "gid": 1001, "group": "jenkins", "invocation": { "module_args": { "_original_basename": "tmpanswi60u", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "dest": "/WORKDIR/git-snapset9ui3wklh/tests/roles/caller/vars/RedHat.yml", "directory_mode": null, "follow": false, "force": true, "group": null, "local_follow": null, "mode": "0600", "owner": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1705974979.5846658-5260-16452107178558/source", "unsafe_writes": false, "validate": null } }, "item": "RedHat", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1705974979.5846658-5260-16452107178558/source", "state": "file", "uid": 1000090000 }, "path": "/WORKDIR/git-snapset9ui3wklh/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=2 unreachable=0 failed=1 skipped=2 rescued=0 ignored=0 Tuesday 23 January 2024 01:56:23 +0000 (0:00:00.531) 0:00:05.535 ******* =============================================================================== fedora.linux_system_roles.snapshot : Ensure required packages are installed --- 2.39s /WORKDIR/git-snapset9ui3wklh/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:6 Create var file in caller that can override the one in called role ------ 1.11s /WORKDIR/git-snapset9ui3wklh/tests/tests_include_vars_from_parent.yml:13 ------ Gathering Facts --------------------------------------------------------- 0.91s /WORKDIR/git-snapset9ui3wklh/tests/tests_include_vars_from_parent.yml:2 ------- Cleanup ----------------------------------------------------------------- 0.53s /WORKDIR/git-snapset9ui3wklh/tests/tests_include_vars_from_parent.yml:56 ------ fedora.linux_system_roles.snapshot : Check snapshots will work or are completed (verify) --- 0.26s /WORKDIR/git-snapset9ui3wklh/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/check.yml:2 fedora.linux_system_roles.snapshot : Check if system is ostree ---------- 0.21s /WORKDIR/git-snapset9ui3wklh/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/set_vars.yml:10 fedora.linux_system_roles.snapshot : Set platform/version specific variables --- 0.02s /WORKDIR/git-snapset9ui3wklh/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/set_vars.yml:19 Include role ------------------------------------------------------------ 0.02s /WORKDIR/git-snapset9ui3wklh/tests/roles/caller/tasks/main.yml:4 -------------- fedora.linux_system_roles.snapshot : Ensure ansible_facts used by role --- 0.02s /WORKDIR/git-snapset9ui3wklh/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/set_vars.yml:2 fedora.linux_system_roles.snapshot : Set flag to indicate system is ostree --- 0.02s /WORKDIR/git-snapset9ui3wklh/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/set_vars.yml:15 fedora.linux_system_roles.snapshot : Check for space and name problems --- 0.02s /WORKDIR/git-snapset9ui3wklh/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:12 fedora.linux_system_roles.snapshot : Set platform/version specific variables --- 0.01s /WORKDIR/git-snapset9ui3wklh/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:3 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---