# 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-module_workczlwxh3w/.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-module_workczlwxh3w/tests/tests_include_vars_from_parent.yml PLAY [Test role include variable override] ************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-module_workczlwxh3w/tests/tests_include_vars_from_parent.yml:2 Tuesday 18 June 2024 16:59:04 +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-module_workczlwxh3w/tests/tests_include_vars_from_parent.yml:15 Tuesday 18 June 2024 16:59:04 +0000 (0:00:00.954) 0:00:00.965 ********** changed: [sut -> localhost] => (item=CentOS-9) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-module_workczlwxh3w/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-1718729945.0334103-5292-139484490769630/source", "state": "file", "uid": 1000090000 } changed: [sut -> localhost] => (item=CentOS_9) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-module_workczlwxh3w/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-1718729945.4003603-5292-4545760770202/source", "state": "file", "uid": 1000090000 } changed: [sut -> localhost] => (item=CentOS) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-module_workczlwxh3w/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-1718729945.6237433-5292-56179221312191/source", "state": "file", "uid": 1000090000 } changed: [sut -> localhost] => (item=RedHat) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-module_workczlwxh3w/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-1718729945.8495467-5292-224723279988364/source", "state": "file", "uid": 1000090000 } TASK [Include role] ************************************************************ task path: /WORKDIR/git-module_workczlwxh3w/tests/roles/caller/tasks/main.yml:4 Tuesday 18 June 2024 16:59:06 +0000 (0:00:01.084) 0:00:02.050 ********** TASK [fedora.linux_system_roles.snapshot : Set platform/version specific variables] *** task path: /WORKDIR/git-module_workczlwxh3w/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:3 Tuesday 18 June 2024 16:59:06 +0000 (0:00:00.018) 0:00:02.068 ********** included: /WORKDIR/git-module_workczlwxh3w/.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-module_workczlwxh3w/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/set_vars.yml:2 Tuesday 18 June 2024 16:59:06 +0000 (0:00:00.013) 0:00:02.082 ********** 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-module_workczlwxh3w/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/set_vars.yml:10 Tuesday 18 June 2024 16:59:06 +0000 (0:00:00.018) 0:00:02.100 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.snapshot : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-module_workczlwxh3w/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/set_vars.yml:15 Tuesday 18 June 2024 16:59:06 +0000 (0:00:00.185) 0:00:02.286 ********** 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-module_workczlwxh3w/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/set_vars.yml:19 Tuesday 18 June 2024 16:59:06 +0000 (0:00:00.014) 0:00:02.300 ********** 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=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_9.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-module_workczlwxh3w/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:6 Tuesday 18 June 2024 16:59:06 +0000 (0:00:00.020) 0:00:02.320 ********** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: device-mapper-persistent-data-1.0.9-2.el9.x86_64", "Installed: device-mapper-event-libs-9:1.02.197-2.el9.x86_64", "Installed: lvm2-libs-9:2.03.23-2.el9.x86_64", "Installed: device-mapper-event-9:1.02.197-2.el9.x86_64", "Installed: libaio-0.3.111-13.el9.x86_64", "Installed: lvm2-9:2.03.23-2.el9.x86_64" ] } TASK [fedora.linux_system_roles.snapshot : Run snapshot module check] ********** task path: /WORKDIR/git-module_workczlwxh3w/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:14 Tuesday 18 June 2024 16:59:12 +0000 (0:00:05.709) 0:00:08.030 ********** An exception occurred during task execution. To see the full traceback, use -vvv. The error was: TypeError: 'NoneType' object is not iterable fatal: [sut]: FAILED! => { "changed": false, "rc": 1 } MSG: MODULE FAILURE See stdout/stderr for the exact error MODULE_STDERR: Traceback (most recent call last): File "", line 107, in File "", line 99, in _ansiballz_main File "", line 47, in invoke_module File "/usr/lib64/python3.9/runpy.py", line 225, in run_module return _run_module_code(code, init_globals, run_name, mod_spec) File "/usr/lib64/python3.9/runpy.py", line 97, in _run_module_code _run_code(code, mod_globals, init_globals, File "/usr/lib64/python3.9/runpy.py", line 87, in _run_code exec(code, run_globals) File "/tmp/ansible_fedora.linux_system_roles.snapshot_payload_9emvx1fp/ansible_fedora.linux_system_roles.snapshot_payload.zip/ansible_collections/fedora/linux_system_roles/plugins/modules/snapshot.py", line 2491, in File "/tmp/ansible_fedora.linux_system_roles.snapshot_payload_9emvx1fp/ansible_fedora.linux_system_roles.snapshot_payload.zip/ansible_collections/fedora/linux_system_roles/plugins/modules/snapshot.py", line 2487, in main File "/tmp/ansible_fedora.linux_system_roles.snapshot_payload_9emvx1fp/ansible_fedora.linux_system_roles.snapshot_payload.zip/ansible_collections/fedora/linux_system_roles/plugins/modules/snapshot.py", line 2436, in run_module File "/tmp/ansible_fedora.linux_system_roles.snapshot_payload_9emvx1fp/ansible_fedora.linux_system_roles.snapshot_payload.zip/ansible_collections/fedora/linux_system_roles/plugins/modules/snapshot.py", line 2148, in validate_snapset_json File "/tmp/ansible_fedora.linux_system_roles.snapshot_payload_9emvx1fp/ansible_fedora.linux_system_roles.snapshot_payload.zip/ansible_collections/fedora/linux_system_roles/plugins/modules/snapshot.py", line 2069, in validate_json_request TypeError: 'NoneType' object is not iterable TASK [fedora.linux_system_roles.snapshot : Raise error] ************************ task path: /WORKDIR/git-module_workczlwxh3w/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:35 Tuesday 18 June 2024 16:59:12 +0000 (0:00:00.285) 0:00:08.316 ********** fatal: [sut]: FAILED! => { "changed": false } MSG: {'failed': True, 'module_stdout': '', 'module_stderr': 'Traceback (most recent call last):\n File "", line 107, in \n File "", line 99, in _ansiballz_main\n File "", line 47, in invoke_module\n File "/usr/lib64/python3.9/runpy.py", line 225, in run_module\n return _run_module_code(code, init_globals, run_name, mod_spec)\n File "/usr/lib64/python3.9/runpy.py", line 97, in _run_module_code\n _run_code(code, mod_globals, init_globals,\n File "/usr/lib64/python3.9/runpy.py", line 87, in _run_code\n exec(code, run_globals)\n File "/tmp/ansible_fedora.linux_system_roles.snapshot_payload_9emvx1fp/ansible_fedora.linux_system_roles.snapshot_payload.zip/ansible_collections/fedora/linux_system_roles/plugins/modules/snapshot.py", line 2491, in \n File "/tmp/ansible_fedora.linux_system_roles.snapshot_payload_9emvx1fp/ansible_fedora.linux_system_roles.snapshot_payload.zip/ansible_collections/fedora/linux_system_roles/plugins/modules/snapshot.py", line 2487, in main\n File "/tmp/ansible_fedora.linux_system_roles.snapshot_payload_9emvx1fp/ansible_fedora.linux_system_roles.snapshot_payload.zip/ansible_collections/fedora/linux_system_roles/plugins/modules/snapshot.py", line 2436, in run_module\n File "/tmp/ansible_fedora.linux_system_roles.snapshot_payload_9emvx1fp/ansible_fedora.linux_system_roles.snapshot_payload.zip/ansible_collections/fedora/linux_system_roles/plugins/modules/snapshot.py", line 2148, in validate_snapset_json\n File "/tmp/ansible_fedora.linux_system_roles.snapshot_payload_9emvx1fp/ansible_fedora.linux_system_roles.snapshot_payload.zip/ansible_collections/fedora/linux_system_roles/plugins/modules/snapshot.py", line 2069, in validate_json_request\nTypeError: \'NoneType\' object is not iterable\n', 'exception': 'Traceback (most recent call last):\n File "", line 107, in \n File "", line 99, in _ansiballz_main\n File "", line 47, in invoke_module\n File "/usr/lib64/python3.9/runpy.py", line 225, in run_module\n return _run_module_code(code, init_globals, run_name, mod_spec)\n File "/usr/lib64/python3.9/runpy.py", line 97, in _run_module_code\n _run_code(code, mod_globals, init_globals,\n File "/usr/lib64/python3.9/runpy.py", line 87, in _run_code\n exec(code, run_globals)\n File "/tmp/ansible_fedora.linux_system_roles.snapshot_payload_9emvx1fp/ansible_fedora.linux_system_roles.snapshot_payload.zip/ansible_collections/fedora/linux_system_roles/plugins/modules/snapshot.py", line 2491, in \n File "/tmp/ansible_fedora.linux_system_roles.snapshot_payload_9emvx1fp/ansible_fedora.linux_system_roles.snapshot_payload.zip/ansible_collections/fedora/linux_system_roles/plugins/modules/snapshot.py", line 2487, in main\n File "/tmp/ansible_fedora.linux_system_roles.snapshot_payload_9emvx1fp/ansible_fedora.linux_system_roles.snapshot_payload.zip/ansible_collections/fedora/linux_system_roles/plugins/modules/snapshot.py", line 2436, in run_module\n File "/tmp/ansible_fedora.linux_system_roles.snapshot_payload_9emvx1fp/ansible_fedora.linux_system_roles.snapshot_payload.zip/ansible_collections/fedora/linux_system_roles/plugins/modules/snapshot.py", line 2148, in validate_snapset_json\n File "/tmp/ansible_fedora.linux_system_roles.snapshot_payload_9emvx1fp/ansible_fedora.linux_system_roles.snapshot_payload.zip/ansible_collections/fedora/linux_system_roles/plugins/modules/snapshot.py", line 2069, in validate_json_request\nTypeError: \'NoneType\' object is not iterable\n', 'msg': 'MODULE FAILURE\nSee stdout/stderr for the exact error', 'rc': 1, '_ansible_no_log': None, 'changed': False} TASK [fedora.linux_system_roles.snapshot : Print out response] ***************** task path: /WORKDIR/git-module_workczlwxh3w/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:40 Tuesday 18 June 2024 16:59:12 +0000 (0:00:00.011) 0:00:08.327 ********** ok: [sut] => { "snapshot_cmd": { "changed": false, "exception": "Traceback (most recent call last):\n File \"\", line 107, in \n File \"\", line 99, in _ansiballz_main\n File \"\", line 47, in invoke_module\n File \"/usr/lib64/python3.9/runpy.py\", line 225, in run_module\n return _run_module_code(code, init_globals, run_name, mod_spec)\n File \"/usr/lib64/python3.9/runpy.py\", line 97, in _run_module_code\n _run_code(code, mod_globals, init_globals,\n File \"/usr/lib64/python3.9/runpy.py\", line 87, in _run_code\n exec(code, run_globals)\n File \"/tmp/ansible_fedora.linux_system_roles.snapshot_payload_9emvx1fp/ansible_fedora.linux_system_roles.snapshot_payload.zip/ansible_collections/fedora/linux_system_roles/plugins/modules/snapshot.py\", line 2491, in \n File \"/tmp/ansible_fedora.linux_system_roles.snapshot_payload_9emvx1fp/ansible_fedora.linux_system_roles.snapshot_payload.zip/ansible_collections/fedora/linux_system_roles/plugins/modules/snapshot.py\", line 2487, in main\n File \"/tmp/ansible_fedora.linux_system_roles.snapshot_payload_9emvx1fp/ansible_fedora.linux_system_roles.snapshot_payload.zip/ansible_collections/fedora/linux_system_roles/plugins/modules/snapshot.py\", line 2436, in run_module\n File \"/tmp/ansible_fedora.linux_system_roles.snapshot_payload_9emvx1fp/ansible_fedora.linux_system_roles.snapshot_payload.zip/ansible_collections/fedora/linux_system_roles/plugins/modules/snapshot.py\", line 2148, in validate_snapset_json\n File \"/tmp/ansible_fedora.linux_system_roles.snapshot_payload_9emvx1fp/ansible_fedora.linux_system_roles.snapshot_payload.zip/ansible_collections/fedora/linux_system_roles/plugins/modules/snapshot.py\", line 2069, in validate_json_request\nTypeError: 'NoneType' object is not iterable\n", "failed": true, "module_stderr": "Traceback (most recent call last):\n File \"\", line 107, in \n File \"\", line 99, in _ansiballz_main\n File \"\", line 47, in invoke_module\n File \"/usr/lib64/python3.9/runpy.py\", line 225, in run_module\n return _run_module_code(code, init_globals, run_name, mod_spec)\n File \"/usr/lib64/python3.9/runpy.py\", line 97, in _run_module_code\n _run_code(code, mod_globals, init_globals,\n File \"/usr/lib64/python3.9/runpy.py\", line 87, in _run_code\n exec(code, run_globals)\n File \"/tmp/ansible_fedora.linux_system_roles.snapshot_payload_9emvx1fp/ansible_fedora.linux_system_roles.snapshot_payload.zip/ansible_collections/fedora/linux_system_roles/plugins/modules/snapshot.py\", line 2491, in \n File \"/tmp/ansible_fedora.linux_system_roles.snapshot_payload_9emvx1fp/ansible_fedora.linux_system_roles.snapshot_payload.zip/ansible_collections/fedora/linux_system_roles/plugins/modules/snapshot.py\", line 2487, in main\n File \"/tmp/ansible_fedora.linux_system_roles.snapshot_payload_9emvx1fp/ansible_fedora.linux_system_roles.snapshot_payload.zip/ansible_collections/fedora/linux_system_roles/plugins/modules/snapshot.py\", line 2436, in run_module\n File \"/tmp/ansible_fedora.linux_system_roles.snapshot_payload_9emvx1fp/ansible_fedora.linux_system_roles.snapshot_payload.zip/ansible_collections/fedora/linux_system_roles/plugins/modules/snapshot.py\", line 2148, in validate_snapset_json\n File \"/tmp/ansible_fedora.linux_system_roles.snapshot_payload_9emvx1fp/ansible_fedora.linux_system_roles.snapshot_payload.zip/ansible_collections/fedora/linux_system_roles/plugins/modules/snapshot.py\", line 2069, in validate_json_request\nTypeError: 'NoneType' object is not iterable\n", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1 } } TASK [fedora.linux_system_roles.snapshot : Set result] ************************* task path: /WORKDIR/git-module_workczlwxh3w/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:45 Tuesday 18 June 2024 16:59:12 +0000 (0:00:00.010) 0:00:08.338 ********** ok: [sut] => { "ansible_facts": { "snapshot_cmd": { "changed": false, "exception": "Traceback (most recent call last):\n File \"\", line 107, in \n File \"\", line 99, in _ansiballz_main\n File \"\", line 47, in invoke_module\n File \"/usr/lib64/python3.9/runpy.py\", line 225, in run_module\n return _run_module_code(code, init_globals, run_name, mod_spec)\n File \"/usr/lib64/python3.9/runpy.py\", line 97, in _run_module_code\n _run_code(code, mod_globals, init_globals,\n File \"/usr/lib64/python3.9/runpy.py\", line 87, in _run_code\n exec(code, run_globals)\n File \"/tmp/ansible_fedora.linux_system_roles.snapshot_payload_9emvx1fp/ansible_fedora.linux_system_roles.snapshot_payload.zip/ansible_collections/fedora/linux_system_roles/plugins/modules/snapshot.py\", line 2491, in \n File \"/tmp/ansible_fedora.linux_system_roles.snapshot_payload_9emvx1fp/ansible_fedora.linux_system_roles.snapshot_payload.zip/ansible_collections/fedora/linux_system_roles/plugins/modules/snapshot.py\", line 2487, in main\n File \"/tmp/ansible_fedora.linux_system_roles.snapshot_payload_9emvx1fp/ansible_fedora.linux_system_roles.snapshot_payload.zip/ansible_collections/fedora/linux_system_roles/plugins/modules/snapshot.py\", line 2436, in run_module\n File \"/tmp/ansible_fedora.linux_system_roles.snapshot_payload_9emvx1fp/ansible_fedora.linux_system_roles.snapshot_payload.zip/ansible_collections/fedora/linux_system_roles/plugins/modules/snapshot.py\", line 2148, in validate_snapset_json\n File \"/tmp/ansible_fedora.linux_system_roles.snapshot_payload_9emvx1fp/ansible_fedora.linux_system_roles.snapshot_payload.zip/ansible_collections/fedora/linux_system_roles/plugins/modules/snapshot.py\", line 2069, in validate_json_request\nTypeError: 'NoneType' object is not iterable\n", "failed": true, "module_stderr": "Traceback (most recent call last):\n File \"\", line 107, in \n File \"\", line 99, in _ansiballz_main\n File \"\", line 47, in invoke_module\n File \"/usr/lib64/python3.9/runpy.py\", line 225, in run_module\n return _run_module_code(code, init_globals, run_name, mod_spec)\n File \"/usr/lib64/python3.9/runpy.py\", line 97, in _run_module_code\n _run_code(code, mod_globals, init_globals,\n File \"/usr/lib64/python3.9/runpy.py\", line 87, in _run_code\n exec(code, run_globals)\n File \"/tmp/ansible_fedora.linux_system_roles.snapshot_payload_9emvx1fp/ansible_fedora.linux_system_roles.snapshot_payload.zip/ansible_collections/fedora/linux_system_roles/plugins/modules/snapshot.py\", line 2491, in \n File \"/tmp/ansible_fedora.linux_system_roles.snapshot_payload_9emvx1fp/ansible_fedora.linux_system_roles.snapshot_payload.zip/ansible_collections/fedora/linux_system_roles/plugins/modules/snapshot.py\", line 2487, in main\n File \"/tmp/ansible_fedora.linux_system_roles.snapshot_payload_9emvx1fp/ansible_fedora.linux_system_roles.snapshot_payload.zip/ansible_collections/fedora/linux_system_roles/plugins/modules/snapshot.py\", line 2436, in run_module\n File \"/tmp/ansible_fedora.linux_system_roles.snapshot_payload_9emvx1fp/ansible_fedora.linux_system_roles.snapshot_payload.zip/ansible_collections/fedora/linux_system_roles/plugins/modules/snapshot.py\", line 2148, in validate_snapset_json\n File \"/tmp/ansible_fedora.linux_system_roles.snapshot_payload_9emvx1fp/ansible_fedora.linux_system_roles.snapshot_payload.zip/ansible_collections/fedora/linux_system_roles/plugins/modules/snapshot.py\", line 2069, in validate_json_request\nTypeError: 'NoneType' object is not iterable\n", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1 } }, "changed": false } TASK [fedora.linux_system_roles.snapshot : Set snapshot_facts to the JSON results] *** task path: /WORKDIR/git-module_workczlwxh3w/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:49 Tuesday 18 June 2024 16:59:12 +0000 (0:00:00.010) 0:00:08.348 ********** skipping: [sut] => { "changed": false, "false_condition": "snapshot_lvm_action == \"list\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.snapshot : Show errors] ************************ task path: /WORKDIR/git-module_workczlwxh3w/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:54 Tuesday 18 June 2024 16:59:12 +0000 (0:00:00.008) 0:00:08.356 ********** fatal: [sut]: FAILED! => {} MSG: The conditional check 'snapshot_cmd["return_code"] != 0' failed. The error was: error while evaluating conditional (snapshot_cmd["return_code"] != 0): 'dict object' has no attribute 'return_code'. 'dict object' has no attribute 'return_code' The error appears to be in '/WORKDIR/git-module_workczlwxh3w/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml': line 54, column 7, but may be elsewhere in the file depending on the exact syntax problem. The offending line appears to be: - name: Show errors ^ here TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-module_workczlwxh3w/tests/tests_include_vars_from_parent.yml:58 Tuesday 18 June 2024 16:59:12 +0000 (0:00:00.007) 0:00:08.364 ********** changed: [sut -> localhost] => (item={'diff': [], 'dest': '/WORKDIR/git-module_workczlwxh3w/tests/roles/caller/vars/CentOS-9.yml', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1718729945.0334103-5292-139484490769630/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-module_workczlwxh3w/tests/roles/caller/vars/CentOS-9.yml', 'mode': '0600', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1718729945.0334103-5292-139484490769630/source', '_original_basename': 'tmp2jotaq6y', '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': 'CentOS-9', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-module_workczlwxh3w/tests/roles/caller/vars/CentOS-9.yml", "diff": [], "failed": false, "gid": 1001, "group": "jenkins", "invocation": { "module_args": { "_original_basename": "tmp2jotaq6y", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "dest": "/WORKDIR/git-module_workczlwxh3w/tests/roles/caller/vars/CentOS-9.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-1718729945.0334103-5292-139484490769630/source", "unsafe_writes": false, "validate": null } }, "item": "CentOS-9", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1718729945.0334103-5292-139484490769630/source", "state": "file", "uid": 1000090000 }, "path": "/WORKDIR/git-module_workczlwxh3w/tests/roles/caller/vars/CentOS-9.yml", "state": "absent" } changed: [sut -> localhost] => (item={'diff': [], 'dest': '/WORKDIR/git-module_workczlwxh3w/tests/roles/caller/vars/CentOS_9.yml', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1718729945.4003603-5292-4545760770202/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-module_workczlwxh3w/tests/roles/caller/vars/CentOS_9.yml', 'mode': '0600', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1718729945.4003603-5292-4545760770202/source', '_original_basename': 'tmpelcsup9v', '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': 'CentOS_9', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-module_workczlwxh3w/tests/roles/caller/vars/CentOS_9.yml", "diff": [], "failed": false, "gid": 1001, "group": "jenkins", "invocation": { "module_args": { "_original_basename": "tmpelcsup9v", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "dest": "/WORKDIR/git-module_workczlwxh3w/tests/roles/caller/vars/CentOS_9.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-1718729945.4003603-5292-4545760770202/source", "unsafe_writes": false, "validate": null } }, "item": "CentOS_9", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1718729945.4003603-5292-4545760770202/source", "state": "file", "uid": 1000090000 }, "path": "/WORKDIR/git-module_workczlwxh3w/tests/roles/caller/vars/CentOS_9.yml", "state": "absent" } changed: [sut -> localhost] => (item={'diff': [], 'dest': '/WORKDIR/git-module_workczlwxh3w/tests/roles/caller/vars/CentOS.yml', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1718729945.6237433-5292-56179221312191/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-module_workczlwxh3w/tests/roles/caller/vars/CentOS.yml', 'mode': '0600', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1718729945.6237433-5292-56179221312191/source', '_original_basename': 'tmpz1c4dvtn', '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': 'CentOS', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-module_workczlwxh3w/tests/roles/caller/vars/CentOS.yml", "diff": [], "failed": false, "gid": 1001, "group": "jenkins", "invocation": { "module_args": { "_original_basename": "tmpz1c4dvtn", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "dest": "/WORKDIR/git-module_workczlwxh3w/tests/roles/caller/vars/CentOS.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-1718729945.6237433-5292-56179221312191/source", "unsafe_writes": false, "validate": null } }, "item": "CentOS", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1718729945.6237433-5292-56179221312191/source", "state": "file", "uid": 1000090000 }, "path": "/WORKDIR/git-module_workczlwxh3w/tests/roles/caller/vars/CentOS.yml", "state": "absent" } changed: [sut -> localhost] => (item={'diff': [], 'dest': '/WORKDIR/git-module_workczlwxh3w/tests/roles/caller/vars/RedHat.yml', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1718729945.8495467-5292-224723279988364/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-module_workczlwxh3w/tests/roles/caller/vars/RedHat.yml', 'mode': '0600', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1718729945.8495467-5292-224723279988364/source', '_original_basename': 'tmp4180bi08', '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-module_workczlwxh3w/tests/roles/caller/vars/RedHat.yml", "diff": [], "failed": false, "gid": 1001, "group": "jenkins", "invocation": { "module_args": { "_original_basename": "tmp4180bi08", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "dest": "/WORKDIR/git-module_workczlwxh3w/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-1718729945.8495467-5292-224723279988364/source", "unsafe_writes": false, "validate": null } }, "item": "RedHat", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1718729945.8495467-5292-224723279988364/source", "state": "file", "uid": 1000090000 }, "path": "/WORKDIR/git-module_workczlwxh3w/tests/roles/caller/vars/RedHat.yml", "state": "absent" } to retry, use: --limit @/tmp/tests_include_vars_from_parent.retry PLAY RECAP ********************************************************************* sut : ok=9 changed=3 unreachable=0 failed=2 skipped=3 rescued=1 ignored=0 Tuesday 18 June 2024 16:59:12 +0000 (0:00:00.513) 0:00:08.878 ********** =============================================================================== fedora.linux_system_roles.snapshot : Ensure required packages are installed --- 5.71s /WORKDIR/git-module_workczlwxh3w/.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.08s /WORKDIR/git-module_workczlwxh3w/tests/tests_include_vars_from_parent.yml:15 -- Gathering Facts --------------------------------------------------------- 0.95s /WORKDIR/git-module_workczlwxh3w/tests/tests_include_vars_from_parent.yml:2 --- Cleanup ----------------------------------------------------------------- 0.51s /WORKDIR/git-module_workczlwxh3w/tests/tests_include_vars_from_parent.yml:58 -- fedora.linux_system_roles.snapshot : Run snapshot module check ---------- 0.29s /WORKDIR/git-module_workczlwxh3w/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:14 fedora.linux_system_roles.snapshot : Check if system is ostree ---------- 0.19s /WORKDIR/git-module_workczlwxh3w/.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-module_workczlwxh3w/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/set_vars.yml:19 Include role ------------------------------------------------------------ 0.02s /WORKDIR/git-module_workczlwxh3w/tests/roles/caller/tasks/main.yml:4 ---------- fedora.linux_system_roles.snapshot : Ensure ansible_facts used by role --- 0.02s /WORKDIR/git-module_workczlwxh3w/.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.01s /WORKDIR/git-module_workczlwxh3w/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/set_vars.yml:15 fedora.linux_system_roles.snapshot : Set platform/version specific variables --- 0.01s /WORKDIR/git-module_workczlwxh3w/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:3 fedora.linux_system_roles.snapshot : Raise error ------------------------ 0.01s /WORKDIR/git-module_workczlwxh3w/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:35 fedora.linux_system_roles.snapshot : Print out response ----------------- 0.01s /WORKDIR/git-module_workczlwxh3w/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:40 fedora.linux_system_roles.snapshot : Set result ------------------------- 0.01s /WORKDIR/git-module_workczlwxh3w/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:45 fedora.linux_system_roles.snapshot : Set snapshot_facts to the JSON results --- 0.01s /WORKDIR/git-module_workczlwxh3w/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:49 fedora.linux_system_roles.snapshot : Show errors ------------------------ 0.01s /WORKDIR/git-module_workczlwxh3w/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:54 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---