# 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-module_work04enivh8/tests/tests_include_vars_from_parent.yml PLAY [Test role include variable override] ************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-module_work04enivh8/tests/tests_include_vars_from_parent.yml:2 Tuesday 18 June 2024 16:50:45 +0000 (0:00:00.011) 0:00:00.011 ********** ok: [sut] META: ran handlers TASK [Create var file in caller that can override the one in called role] ****** task path: /WORKDIR/git-module_work04enivh8/tests/tests_include_vars_from_parent.yml:15 Tuesday 18 June 2024 16:50:46 +0000 (0:00:00.898) 0:00:00.910 ********** changed: [sut -> localhost] => (item=CentOS-9) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-module_work04enivh8/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-1718729446.9205847-5753-30880759025133/source", "state": "file", "uid": 1000090000 } changed: [sut -> localhost] => (item=CentOS_9) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-module_work04enivh8/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-1718729447.2869928-5753-60698967438893/source", "state": "file", "uid": 1000090000 } changed: [sut -> localhost] => (item=CentOS) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-module_work04enivh8/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-1718729447.4981575-5753-18151960890555/source", "state": "file", "uid": 1000090000 } changed: [sut -> localhost] => (item=RedHat) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-module_work04enivh8/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-1718729447.711949-5753-239393764176378/source", "state": "file", "uid": 1000090000 } TASK [Include role] ************************************************************ task path: /WORKDIR/git-module_work04enivh8/tests/roles/caller/tasks/main.yml:4 Tuesday 18 June 2024 16:50:47 +0000 (0:00:01.026) 0:00:01.936 ********** TASK [linux-system-roles.snapshot : Set platform/version specific variables] *** task path: /WORKDIR/git-module_work04enivh8/tests/roles/linux-system-roles.snapshot/tasks/main.yml:3 Tuesday 18 June 2024 16:50:47 +0000 (0:00:00.024) 0:00:01.961 ********** included: /WORKDIR/git-module_work04enivh8/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-module_work04enivh8/tests/roles/linux-system-roles.snapshot/tasks/set_vars.yml:2 Tuesday 18 June 2024 16:50:47 +0000 (0:00:00.016) 0:00:01.978 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.snapshot : Check if system is ostree] ***************** task path: /WORKDIR/git-module_work04enivh8/tests/roles/linux-system-roles.snapshot/tasks/set_vars.yml:11 Tuesday 18 June 2024 16:50:47 +0000 (0:00:00.010) 0:00:01.988 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.snapshot : Set flag to indicate system is ostree] ***** task path: /WORKDIR/git-module_work04enivh8/tests/roles/linux-system-roles.snapshot/tasks/set_vars.yml:16 Tuesday 18 June 2024 16:50:48 +0000 (0:00:00.175) 0:00:02.163 ********** ok: [sut] => { "ansible_facts": { "__snapshot_is_ostree": false }, "changed": false } TASK [linux-system-roles.snapshot : Set platform/version specific variables] *** task path: /WORKDIR/git-module_work04enivh8/tests/roles/linux-system-roles.snapshot/tasks/set_vars.yml:20 Tuesday 18 June 2024 16:50:48 +0000 (0:00:00.013) 0:00:02.177 ********** 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-module_work04enivh8/tests/roles/linux-system-roles.snapshot/tasks/main.yml:6 Tuesday 18 June 2024 16:50:48 +0000 (0:00:00.023) 0:00:02.201 ********** 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 [linux-system-roles.snapshot : Run snapshot module check] ***************** task path: /WORKDIR/git-module_work04enivh8/tests/roles/linux-system-roles.snapshot/tasks/main.yml:15 Tuesday 18 June 2024 16:50:53 +0000 (0:00:05.314) 0:00:07.515 ********** 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 102, in File "", line 94, in _ansiballz_main File "", line 40, 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_snapshot_payload_dkvfpp2l/ansible_snapshot_payload.zip/ansible/modules/snapshot.py", line 2491, in File "/tmp/ansible_snapshot_payload_dkvfpp2l/ansible_snapshot_payload.zip/ansible/modules/snapshot.py", line 2487, in main File "/tmp/ansible_snapshot_payload_dkvfpp2l/ansible_snapshot_payload.zip/ansible/modules/snapshot.py", line 2436, in run_module File "/tmp/ansible_snapshot_payload_dkvfpp2l/ansible_snapshot_payload.zip/ansible/modules/snapshot.py", line 2148, in validate_snapset_json File "/tmp/ansible_snapshot_payload_dkvfpp2l/ansible_snapshot_payload.zip/ansible/modules/snapshot.py", line 2069, in validate_json_request TypeError: 'NoneType' object is not iterable TASK [linux-system-roles.snapshot : Raise error] ******************************* task path: /WORKDIR/git-module_work04enivh8/tests/roles/linux-system-roles.snapshot/tasks/main.yml:38 Tuesday 18 June 2024 16:50:53 +0000 (0:00:00.280) 0:00:07.795 ********** fatal: [sut]: FAILED! => { "changed": false } MSG: {'failed': True, 'module_stdout': '', 'module_stderr': 'Traceback (most recent call last):\n File "", line 102, in \n File "", line 94, in _ansiballz_main\n File "", line 40, 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_snapshot_payload_dkvfpp2l/ansible_snapshot_payload.zip/ansible/modules/snapshot.py", line 2491, in \n File "/tmp/ansible_snapshot_payload_dkvfpp2l/ansible_snapshot_payload.zip/ansible/modules/snapshot.py", line 2487, in main\n File "/tmp/ansible_snapshot_payload_dkvfpp2l/ansible_snapshot_payload.zip/ansible/modules/snapshot.py", line 2436, in run_module\n File "/tmp/ansible_snapshot_payload_dkvfpp2l/ansible_snapshot_payload.zip/ansible/modules/snapshot.py", line 2148, in validate_snapset_json\n File "/tmp/ansible_snapshot_payload_dkvfpp2l/ansible_snapshot_payload.zip/ansible/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 102, in \n File "", line 94, in _ansiballz_main\n File "", line 40, 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_snapshot_payload_dkvfpp2l/ansible_snapshot_payload.zip/ansible/modules/snapshot.py", line 2491, in \n File "/tmp/ansible_snapshot_payload_dkvfpp2l/ansible_snapshot_payload.zip/ansible/modules/snapshot.py", line 2487, in main\n File "/tmp/ansible_snapshot_payload_dkvfpp2l/ansible_snapshot_payload.zip/ansible/modules/snapshot.py", line 2436, in run_module\n File "/tmp/ansible_snapshot_payload_dkvfpp2l/ansible_snapshot_payload.zip/ansible/modules/snapshot.py", line 2148, in validate_snapset_json\n File "/tmp/ansible_snapshot_payload_dkvfpp2l/ansible_snapshot_payload.zip/ansible/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': False, 'changed': False} TASK [linux-system-roles.snapshot : Print out response] ************************ task path: /WORKDIR/git-module_work04enivh8/tests/roles/linux-system-roles.snapshot/tasks/main.yml:43 Tuesday 18 June 2024 16:50:53 +0000 (0:00:00.012) 0:00:07.808 ********** ok: [sut] => { "snapshot_cmd": { "changed": false, "exception": "Traceback (most recent call last):\n File \"\", line 102, in \n File \"\", line 94, in _ansiballz_main\n File \"\", line 40, 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_snapshot_payload_dkvfpp2l/ansible_snapshot_payload.zip/ansible/modules/snapshot.py\", line 2491, in \n File \"/tmp/ansible_snapshot_payload_dkvfpp2l/ansible_snapshot_payload.zip/ansible/modules/snapshot.py\", line 2487, in main\n File \"/tmp/ansible_snapshot_payload_dkvfpp2l/ansible_snapshot_payload.zip/ansible/modules/snapshot.py\", line 2436, in run_module\n File \"/tmp/ansible_snapshot_payload_dkvfpp2l/ansible_snapshot_payload.zip/ansible/modules/snapshot.py\", line 2148, in validate_snapset_json\n File \"/tmp/ansible_snapshot_payload_dkvfpp2l/ansible_snapshot_payload.zip/ansible/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 102, in \n File \"\", line 94, in _ansiballz_main\n File \"\", line 40, 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_snapshot_payload_dkvfpp2l/ansible_snapshot_payload.zip/ansible/modules/snapshot.py\", line 2491, in \n File \"/tmp/ansible_snapshot_payload_dkvfpp2l/ansible_snapshot_payload.zip/ansible/modules/snapshot.py\", line 2487, in main\n File \"/tmp/ansible_snapshot_payload_dkvfpp2l/ansible_snapshot_payload.zip/ansible/modules/snapshot.py\", line 2436, in run_module\n File \"/tmp/ansible_snapshot_payload_dkvfpp2l/ansible_snapshot_payload.zip/ansible/modules/snapshot.py\", line 2148, in validate_snapset_json\n File \"/tmp/ansible_snapshot_payload_dkvfpp2l/ansible_snapshot_payload.zip/ansible/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 [linux-system-roles.snapshot : Set result] ******************************** task path: /WORKDIR/git-module_work04enivh8/tests/roles/linux-system-roles.snapshot/tasks/main.yml:48 Tuesday 18 June 2024 16:50:53 +0000 (0:00:00.012) 0:00:07.820 ********** ok: [sut] => { "ansible_facts": { "snapshot_cmd": { "changed": false, "exception": "Traceback (most recent call last):\n File \"\", line 102, in \n File \"\", line 94, in _ansiballz_main\n File \"\", line 40, 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_snapshot_payload_dkvfpp2l/ansible_snapshot_payload.zip/ansible/modules/snapshot.py\", line 2491, in \n File \"/tmp/ansible_snapshot_payload_dkvfpp2l/ansible_snapshot_payload.zip/ansible/modules/snapshot.py\", line 2487, in main\n File \"/tmp/ansible_snapshot_payload_dkvfpp2l/ansible_snapshot_payload.zip/ansible/modules/snapshot.py\", line 2436, in run_module\n File \"/tmp/ansible_snapshot_payload_dkvfpp2l/ansible_snapshot_payload.zip/ansible/modules/snapshot.py\", line 2148, in validate_snapset_json\n File \"/tmp/ansible_snapshot_payload_dkvfpp2l/ansible_snapshot_payload.zip/ansible/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 102, in \n File \"\", line 94, in _ansiballz_main\n File \"\", line 40, 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_snapshot_payload_dkvfpp2l/ansible_snapshot_payload.zip/ansible/modules/snapshot.py\", line 2491, in \n File \"/tmp/ansible_snapshot_payload_dkvfpp2l/ansible_snapshot_payload.zip/ansible/modules/snapshot.py\", line 2487, in main\n File \"/tmp/ansible_snapshot_payload_dkvfpp2l/ansible_snapshot_payload.zip/ansible/modules/snapshot.py\", line 2436, in run_module\n File \"/tmp/ansible_snapshot_payload_dkvfpp2l/ansible_snapshot_payload.zip/ansible/modules/snapshot.py\", line 2148, in validate_snapset_json\n File \"/tmp/ansible_snapshot_payload_dkvfpp2l/ansible_snapshot_payload.zip/ansible/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 [linux-system-roles.snapshot : Set snapshot_facts to the JSON results] **** task path: /WORKDIR/git-module_work04enivh8/tests/roles/linux-system-roles.snapshot/tasks/main.yml:52 Tuesday 18 June 2024 16:50:53 +0000 (0:00:00.012) 0:00:07.832 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.snapshot : Show errors] ******************************* task path: /WORKDIR/git-module_work04enivh8/tests/roles/linux-system-roles.snapshot/tasks/main.yml:57 Tuesday 18 June 2024 16:50:53 +0000 (0:00:00.011) 0:00:07.843 ********** 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' The error appears to be in '/WORKDIR/git-module_work04enivh8/tests/roles/linux-system-roles.snapshot/tasks/main.yml': line 57, 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_work04enivh8/tests/tests_include_vars_from_parent.yml:60 Tuesday 18 June 2024 16:50:53 +0000 (0:00:00.012) 0:00:07.856 ********** changed: [sut -> localhost] => (item={'diff': [], 'dest': '/WORKDIR/git-module_work04enivh8/tests/roles/caller/vars/CentOS-9.yml', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1718729446.9205847-5753-30880759025133/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_work04enivh8/tests/roles/caller/vars/CentOS-9.yml', 'mode': '0600', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1718729446.9205847-5753-30880759025133/source', '_original_basename': 'tmp9oa02ht6', '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-module_work04enivh8/tests/roles/caller/vars/CentOS-9.yml", "diff": [], "failed": false, "gid": 1001, "group": "jenkins", "invocation": { "module_args": { "_original_basename": "tmp9oa02ht6", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "delimiter": null, "dest": "/WORKDIR/git-module_work04enivh8/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-1718729446.9205847-5753-30880759025133/source", "unsafe_writes": false, "validate": null } }, "item": "CentOS-9", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1718729446.9205847-5753-30880759025133/source", "state": "file", "uid": 1000090000 }, "path": "/WORKDIR/git-module_work04enivh8/tests/roles/caller/vars/CentOS-9.yml", "state": "absent" } changed: [sut -> localhost] => (item={'diff': [], 'dest': '/WORKDIR/git-module_work04enivh8/tests/roles/caller/vars/CentOS_9.yml', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1718729447.2869928-5753-60698967438893/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_work04enivh8/tests/roles/caller/vars/CentOS_9.yml', 'mode': '0600', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1718729447.2869928-5753-60698967438893/source', '_original_basename': 'tmp6ll1c8yv', '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-module_work04enivh8/tests/roles/caller/vars/CentOS_9.yml", "diff": [], "failed": false, "gid": 1001, "group": "jenkins", "invocation": { "module_args": { "_original_basename": "tmp6ll1c8yv", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "delimiter": null, "dest": "/WORKDIR/git-module_work04enivh8/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-1718729447.2869928-5753-60698967438893/source", "unsafe_writes": false, "validate": null } }, "item": "CentOS_9", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1718729447.2869928-5753-60698967438893/source", "state": "file", "uid": 1000090000 }, "path": "/WORKDIR/git-module_work04enivh8/tests/roles/caller/vars/CentOS_9.yml", "state": "absent" } changed: [sut -> localhost] => (item={'diff': [], 'dest': '/WORKDIR/git-module_work04enivh8/tests/roles/caller/vars/CentOS.yml', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1718729447.4981575-5753-18151960890555/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_work04enivh8/tests/roles/caller/vars/CentOS.yml', 'mode': '0600', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1718729447.4981575-5753-18151960890555/source', '_original_basename': 'tmp5l1vkv57', '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-module_work04enivh8/tests/roles/caller/vars/CentOS.yml", "diff": [], "failed": false, "gid": 1001, "group": "jenkins", "invocation": { "module_args": { "_original_basename": "tmp5l1vkv57", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "delimiter": null, "dest": "/WORKDIR/git-module_work04enivh8/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-1718729447.4981575-5753-18151960890555/source", "unsafe_writes": false, "validate": null } }, "item": "CentOS", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1718729447.4981575-5753-18151960890555/source", "state": "file", "uid": 1000090000 }, "path": "/WORKDIR/git-module_work04enivh8/tests/roles/caller/vars/CentOS.yml", "state": "absent" } changed: [sut -> localhost] => (item={'diff': [], 'dest': '/WORKDIR/git-module_work04enivh8/tests/roles/caller/vars/RedHat.yml', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1718729447.711949-5753-239393764176378/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_work04enivh8/tests/roles/caller/vars/RedHat.yml', 'mode': '0600', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1718729447.711949-5753-239393764176378/source', '_original_basename': 'tmp9plitosl', '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-module_work04enivh8/tests/roles/caller/vars/RedHat.yml", "diff": [], "failed": false, "gid": 1001, "group": "jenkins", "invocation": { "module_args": { "_original_basename": "tmp9plitosl", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "delimiter": null, "dest": "/WORKDIR/git-module_work04enivh8/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-1718729447.711949-5753-239393764176378/source", "unsafe_writes": false, "validate": null } }, "item": "RedHat", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1718729447.711949-5753-239393764176378/source", "state": "file", "uid": 1000090000 }, "path": "/WORKDIR/git-module_work04enivh8/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:50:54 +0000 (0:00:00.506) 0:00:08.362 ********** =============================================================================== linux-system-roles.snapshot : Ensure required packages are installed ---- 5.31s /WORKDIR/git-module_work04enivh8/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-module_work04enivh8/tests/tests_include_vars_from_parent.yml:15 -- Gathering Facts --------------------------------------------------------- 0.90s /WORKDIR/git-module_work04enivh8/tests/tests_include_vars_from_parent.yml:2 --- Cleanup ----------------------------------------------------------------- 0.51s /WORKDIR/git-module_work04enivh8/tests/tests_include_vars_from_parent.yml:60 -- linux-system-roles.snapshot : Run snapshot module check ----------------- 0.28s /WORKDIR/git-module_work04enivh8/tests/roles/linux-system-roles.snapshot/tasks/main.yml:15 linux-system-roles.snapshot : Check if system is ostree ----------------- 0.18s /WORKDIR/git-module_work04enivh8/tests/roles/linux-system-roles.snapshot/tasks/set_vars.yml:11 Include role ------------------------------------------------------------ 0.02s /WORKDIR/git-module_work04enivh8/tests/roles/caller/tasks/main.yml:4 ---------- linux-system-roles.snapshot : Set platform/version specific variables --- 0.02s /WORKDIR/git-module_work04enivh8/tests/roles/linux-system-roles.snapshot/tasks/set_vars.yml:20 linux-system-roles.snapshot : Set platform/version specific variables --- 0.02s /WORKDIR/git-module_work04enivh8/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-module_work04enivh8/tests/roles/linux-system-roles.snapshot/tasks/set_vars.yml:16 linux-system-roles.snapshot : Show errors ------------------------------- 0.01s /WORKDIR/git-module_work04enivh8/tests/roles/linux-system-roles.snapshot/tasks/main.yml:57 linux-system-roles.snapshot : Raise error ------------------------------- 0.01s /WORKDIR/git-module_work04enivh8/tests/roles/linux-system-roles.snapshot/tasks/main.yml:38 linux-system-roles.snapshot : Set result -------------------------------- 0.01s /WORKDIR/git-module_work04enivh8/tests/roles/linux-system-roles.snapshot/tasks/main.yml:48 linux-system-roles.snapshot : Print out response ------------------------ 0.01s /WORKDIR/git-module_work04enivh8/tests/roles/linux-system-roles.snapshot/tasks/main.yml:43 linux-system-roles.snapshot : Set snapshot_facts to the JSON results ---- 0.01s /WORKDIR/git-module_work04enivh8/tests/roles/linux-system-roles.snapshot/tasks/main.yml:52 linux-system-roles.snapshot : Ensure ansible_facts used by role --------- 0.01s /WORKDIR/git-module_work04enivh8/tests/roles/linux-system-roles.snapshot/tasks/set_vars.yml:2 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: Distribution centos 9 on host sut should use /usr/libexec/platform-python, but is using /usr/bin/python for backward compatibility with prior Ansible releases. A future Ansible release will default to using the discovered platform python for this host. See https://docs .ansible.com/ansible/2.9/reference_appendices/interpreter_discovery.html for more information. This feature will be removed in version 2.12. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---