# 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-use_json42eflxir/.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-use_json42eflxir/tests/tests_include_vars_from_parent.yml PLAY [Test role include variable override] ************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-use_json42eflxir/tests/tests_include_vars_from_parent.yml:2 Thursday 11 April 2024 18:53:11 +0000 (0:00:00.012) 0:00:00.012 ******** ok: [sut] TASK [Create var file in caller that can override the one in called role] ****** task path: /WORKDIR/git-use_json42eflxir/tests/tests_include_vars_from_parent.yml:15 Thursday 11 April 2024 18:53:12 +0000 (0:00:01.015) 0:00:01.027 ******** changed: [sut -> localhost] => (item=CentOS-7.9) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-use_json42eflxir/tests/roles/caller/vars/CentOS-7.9.yml", "gid": 1001, "group": "jenkins", "item": "CentOS-7.9", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1712861592.4193761-5233-192982754088715/source", "state": "file", "uid": 1000090000 } changed: [sut -> localhost] => (item=CentOS-7) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-use_json42eflxir/tests/roles/caller/vars/CentOS-7.yml", "gid": 1001, "group": "jenkins", "item": "CentOS-7", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1712861592.8444793-5233-41910364339511/source", "state": "file", "uid": 1000090000 } changed: [sut -> localhost] => (item=CentOS_7.9) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-use_json42eflxir/tests/roles/caller/vars/CentOS_7.9.yml", "gid": 1001, "group": "jenkins", "item": "CentOS_7.9", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1712861593.0887656-5233-193241401839753/source", "state": "file", "uid": 1000090000 } changed: [sut -> localhost] => (item=CentOS_7) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-use_json42eflxir/tests/roles/caller/vars/CentOS_7.yml", "gid": 1001, "group": "jenkins", "item": "CentOS_7", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1712861593.3403735-5233-217596629843713/source", "state": "file", "uid": 1000090000 } changed: [sut -> localhost] => (item=CentOS) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-use_json42eflxir/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-1712861593.590048-5233-261303912557671/source", "state": "file", "uid": 1000090000 } changed: [sut -> localhost] => (item=RedHat) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-use_json42eflxir/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-1712861593.8310273-5233-225420242582478/source", "state": "file", "uid": 1000090000 } TASK [Include role] ************************************************************ task path: /WORKDIR/git-use_json42eflxir/tests/roles/caller/tasks/main.yml:4 Thursday 11 April 2024 18:53:14 +0000 (0:00:01.701) 0:00:02.728 ******** TASK [fedora.linux_system_roles.snapshot : Set platform/version specific variables] *** task path: /WORKDIR/git-use_json42eflxir/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:3 Thursday 11 April 2024 18:53:14 +0000 (0:00:00.019) 0:00:02.748 ******** included: /WORKDIR/git-use_json42eflxir/.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-use_json42eflxir/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/set_vars.yml:2 Thursday 11 April 2024 18:53:14 +0000 (0:00:00.014) 0:00:02.763 ******** 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-use_json42eflxir/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/set_vars.yml:10 Thursday 11 April 2024 18:53:14 +0000 (0:00:00.021) 0:00:02.784 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.snapshot : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-use_json42eflxir/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/set_vars.yml:15 Thursday 11 April 2024 18:53:14 +0000 (0:00:00.124) 0:00:02.908 ******** 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-use_json42eflxir/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/set_vars.yml:19 Thursday 11 April 2024 18:53:14 +0000 (0:00:00.017) 0:00:02.926 ******** 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" } ok: [sut] => (item=CentOS_7.yml) => { "ansible_facts": { "__snapshot_packages": [ "lvm2", "util-linux" ], "__snapshot_python": "/usr/bin/python" }, "ansible_included_var_files": [ "/WORKDIR/git-use_json42eflxir/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [sut] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.snapshot : Ensure required packages are installed] *** task path: /WORKDIR/git-use_json42eflxir/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:6 Thursday 11 April 2024 18:53:14 +0000 (0:00:00.025) 0:00:02.952 ******** changed: [sut] => { "changed": true, "changes": { "installed": [ "lvm2" ] }, "rc": 0, "results": [ "util-linux-2.23.2-65.el7_9.1.x86_64 providing util-linux is already installed", "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * base: download.cf.centos.org\n * extras: download.cf.centos.org\n * updates: download.cf.centos.org\nResolving Dependencies\n--> Running transaction check\n---> Package lvm2.x86_64 7:2.02.187-6.el7_9.5 will be installed\n--> Processing Dependency: lvm2-libs = 7:2.02.187-6.el7_9.5 for package: 7:lvm2-2.02.187-6.el7_9.5.x86_64\n--> Processing Dependency: device-mapper-persistent-data >= 0.7.0-0.1.rc6 for package: 7:lvm2-2.02.187-6.el7_9.5.x86_64\n--> Processing Dependency: liblvm2app.so.2.2(Base)(64bit) for package: 7:lvm2-2.02.187-6.el7_9.5.x86_64\n--> Processing Dependency: libdevmapper-event.so.1.02(Base)(64bit) for package: 7:lvm2-2.02.187-6.el7_9.5.x86_64\n--> Processing Dependency: libaio.so.1(LIBAIO_0.4)(64bit) for package: 7:lvm2-2.02.187-6.el7_9.5.x86_64\n--> Processing Dependency: libaio.so.1(LIBAIO_0.1)(64bit) for package: 7:lvm2-2.02.187-6.el7_9.5.x86_64\n--> Processing Dependency: liblvm2app.so.2.2()(64bit) for package: 7:lvm2-2.02.187-6.el7_9.5.x86_64\n--> Processing Dependency: libdevmapper-event.so.1.02()(64bit) for package: 7:lvm2-2.02.187-6.el7_9.5.x86_64\n--> Processing Dependency: libaio.so.1()(64bit) for package: 7:lvm2-2.02.187-6.el7_9.5.x86_64\n--> Running transaction check\n---> Package device-mapper-event-libs.x86_64 7:1.02.170-6.el7_9.5 will be installed\n---> Package device-mapper-persistent-data.x86_64 0:0.8.5-3.el7_9.2 will be installed\n---> Package libaio.x86_64 0:0.3.109-13.el7 will be installed\n---> Package lvm2-libs.x86_64 7:2.02.187-6.el7_9.5 will be installed\n--> Processing Dependency: device-mapper-event = 7:1.02.170-6.el7_9.5 for package: 7:lvm2-libs-2.02.187-6.el7_9.5.x86_64\n--> Running transaction check\n---> Package device-mapper-event.x86_64 7:1.02.170-6.el7_9.5 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository\n Size\n================================================================================\nInstalling:\n lvm2 x86_64 7:2.02.187-6.el7_9.5 updates 1.3 M\nInstalling for dependencies:\n device-mapper-event x86_64 7:1.02.170-6.el7_9.5 updates 192 k\n device-mapper-event-libs x86_64 7:1.02.170-6.el7_9.5 updates 192 k\n device-mapper-persistent-data x86_64 0.8.5-3.el7_9.2 updates 423 k\n libaio x86_64 0.3.109-13.el7 base 24 k\n lvm2-libs x86_64 7:2.02.187-6.el7_9.5 updates 1.1 M\n\nTransaction Summary\n================================================================================\nInstall 1 Package (+5 Dependent packages)\n\nTotal download size: 3.2 M\nInstalled size: 8.1 M\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 6.9 MB/s | 3.2 MB 00:00 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : 7:device-mapper-event-libs-1.02.170-6.el7_9.5.x86_64 1/6 \n Installing : libaio-0.3.109-13.el7.x86_64 2/6 \n Installing : device-mapper-persistent-data-0.8.5-3.el7_9.2.x86_64 3/6 \n Installing : 7:device-mapper-event-1.02.170-6.el7_9.5.x86_64 4/6 \n Installing : 7:lvm2-libs-2.02.187-6.el7_9.5.x86_64 5/6 \n Installing : 7:lvm2-2.02.187-6.el7_9.5.x86_64 6/6 \n Verifying : 7:device-mapper-event-1.02.170-6.el7_9.5.x86_64 1/6 \n Verifying : 7:lvm2-libs-2.02.187-6.el7_9.5.x86_64 2/6 \n Verifying : device-mapper-persistent-data-0.8.5-3.el7_9.2.x86_64 3/6 \n Verifying : libaio-0.3.109-13.el7.x86_64 4/6 \n Verifying : 7:lvm2-2.02.187-6.el7_9.5.x86_64 5/6 \n Verifying : 7:device-mapper-event-libs-1.02.170-6.el7_9.5.x86_64 6/6 \n\nInstalled:\n lvm2.x86_64 7:2.02.187-6.el7_9.5 \n\nDependency Installed:\n device-mapper-event.x86_64 7:1.02.170-6.el7_9.5 \n device-mapper-event-libs.x86_64 7:1.02.170-6.el7_9.5 \n device-mapper-persistent-data.x86_64 0:0.8.5-3.el7_9.2 \n libaio.x86_64 0:0.3.109-13.el7 \n lvm2-libs.x86_64 7:2.02.187-6.el7_9.5 \n\nComplete!\n" ] } TASK [fedora.linux_system_roles.snapshot : Show snapshot command] ************** task path: /WORKDIR/git-use_json42eflxir/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:12 Thursday 11 April 2024 18:53:20 +0000 (0:00:06.232) 0:00:09.185 ******** ok: [sut] => { "__snapshot_cmd": "snapshot.py check -a -r 2 -s snapset1 --vg-include '^test_'" } TASK [fedora.linux_system_roles.snapshot : Run snapshot command check] ********* task path: /WORKDIR/git-use_json42eflxir/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:19 Thursday 11 April 2024 18:53:20 +0000 (0:00:00.026) 0:00:09.211 ******** fatal: [sut]: FAILED! => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.snapshot : Raise error] ************************ task path: /WORKDIR/git-use_json42eflxir/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:28 Thursday 11 April 2024 18:53:20 +0000 (0:00:00.189) 0:00:09.401 ******** fatal: [sut]: FAILED! => { "changed": false } MSG: {'changed': False, 'rc': 1, 'stdout': ' File "/root/.ansible/tmp/ansible-tmp-1712861600.596346-5340-21665045369195/snapshot.py", line 330\r\n ) from exc\r\n ^\r\nSyntaxError: invalid syntax\r\n', 'stdout_lines': [' File "/root/.ansible/tmp/ansible-tmp-1712861600.596346-5340-21665045369195/snapshot.py", line 330', ' ) from exc', ' ^', 'SyntaxError: invalid syntax'], 'stderr': 'Shared connection to 10.31.47.206 closed.\r\n', 'stderr_lines': ['Shared connection to 10.31.47.206 closed.'], 'failed': True, 'msg': 'non-zero return code', 'exception': 'NoneType: None\n', '_ansible_no_log': True} TASK [fedora.linux_system_roles.snapshot : Print out response] ***************** task path: /WORKDIR/git-use_json42eflxir/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:33 Thursday 11 April 2024 18:53:20 +0000 (0:00:00.012) 0:00:09.414 ******** ok: [sut] => { "snapshot_cmd_raw": { "changed": false, "exception": "NoneType: None\n", "failed": true, "msg": "non-zero return code", "rc": 1, "stderr": "Shared connection to 10.31.47.206 closed.\r\n", "stderr_lines": [ "Shared connection to 10.31.47.206 closed." ], "stdout": " File \"/root/.ansible/tmp/ansible-tmp-1712861600.596346-5340-21665045369195/snapshot.py\", line 330\r\n ) from exc\r\n ^\r\nSyntaxError: invalid syntax\r\n", "stdout_lines": [ " File \"/root/.ansible/tmp/ansible-tmp-1712861600.596346-5340-21665045369195/snapshot.py\", line 330", " ) from exc", " ^", "SyntaxError: invalid syntax" ] } } TASK [fedora.linux_system_roles.snapshot : Parse raw output] ******************* task path: /WORKDIR/git-use_json42eflxir/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:38 Thursday 11 April 2024 18:53:20 +0000 (0:00:00.012) 0:00:09.426 ******** fatal: [sut]: FAILED! => {} MSG: the field 'args' has an invalid value ({'snapshot_cmd': "{{ snapshot_cmd_raw.stdout_lines | reject('search', ': warning: setlocale: LC_ALL: cannot change locale') | join('') | from_json }}"}), and could not be converted to an dict.The error was: Expecting value: line 1 column 3 (char 2) The error appears to be in '/WORKDIR/git-use_json42eflxir/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml': line 38, column 7, but may be elsewhere in the file depending on the exact syntax problem. The offending line appears to be: - name: Parse raw output ^ here TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-use_json42eflxir/tests/tests_include_vars_from_parent.yml:58 Thursday 11 April 2024 18:53:20 +0000 (0:00:00.020) 0:00:09.447 ******** changed: [sut -> localhost] => (item={'diff': [], 'dest': '/WORKDIR/git-use_json42eflxir/tests/roles/caller/vars/CentOS-7.9.yml', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1712861592.4193761-5233-192982754088715/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-use_json42eflxir/tests/roles/caller/vars/CentOS-7.9.yml', 'mode': '0600', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1712861592.4193761-5233-192982754088715/source', '_original_basename': 'tmphvqy26_t', '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-7.9', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-use_json42eflxir/tests/roles/caller/vars/CentOS-7.9.yml", "diff": [], "failed": false, "gid": 1001, "group": "jenkins", "invocation": { "module_args": { "_original_basename": "tmphvqy26_t", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "dest": "/WORKDIR/git-use_json42eflxir/tests/roles/caller/vars/CentOS-7.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-1712861592.4193761-5233-192982754088715/source", "unsafe_writes": false, "validate": null } }, "item": "CentOS-7.9", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1712861592.4193761-5233-192982754088715/source", "state": "file", "uid": 1000090000 }, "path": "/WORKDIR/git-use_json42eflxir/tests/roles/caller/vars/CentOS-7.9.yml", "state": "absent" } changed: [sut -> localhost] => (item={'diff': [], 'dest': '/WORKDIR/git-use_json42eflxir/tests/roles/caller/vars/CentOS-7.yml', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1712861592.8444793-5233-41910364339511/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-use_json42eflxir/tests/roles/caller/vars/CentOS-7.yml', 'mode': '0600', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1712861592.8444793-5233-41910364339511/source', '_original_basename': 'tmpst8n83t6', '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-7', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-use_json42eflxir/tests/roles/caller/vars/CentOS-7.yml", "diff": [], "failed": false, "gid": 1001, "group": "jenkins", "invocation": { "module_args": { "_original_basename": "tmpst8n83t6", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "dest": "/WORKDIR/git-use_json42eflxir/tests/roles/caller/vars/CentOS-7.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-1712861592.8444793-5233-41910364339511/source", "unsafe_writes": false, "validate": null } }, "item": "CentOS-7", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1712861592.8444793-5233-41910364339511/source", "state": "file", "uid": 1000090000 }, "path": "/WORKDIR/git-use_json42eflxir/tests/roles/caller/vars/CentOS-7.yml", "state": "absent" } changed: [sut -> localhost] => (item={'diff': [], 'dest': '/WORKDIR/git-use_json42eflxir/tests/roles/caller/vars/CentOS_7.9.yml', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1712861593.0887656-5233-193241401839753/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-use_json42eflxir/tests/roles/caller/vars/CentOS_7.9.yml', 'mode': '0600', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1712861593.0887656-5233-193241401839753/source', '_original_basename': 'tmpwy5aernj', '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_7.9', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-use_json42eflxir/tests/roles/caller/vars/CentOS_7.9.yml", "diff": [], "failed": false, "gid": 1001, "group": "jenkins", "invocation": { "module_args": { "_original_basename": "tmpwy5aernj", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "dest": "/WORKDIR/git-use_json42eflxir/tests/roles/caller/vars/CentOS_7.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-1712861593.0887656-5233-193241401839753/source", "unsafe_writes": false, "validate": null } }, "item": "CentOS_7.9", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1712861593.0887656-5233-193241401839753/source", "state": "file", "uid": 1000090000 }, "path": "/WORKDIR/git-use_json42eflxir/tests/roles/caller/vars/CentOS_7.9.yml", "state": "absent" } changed: [sut -> localhost] => (item={'diff': [], 'dest': '/WORKDIR/git-use_json42eflxir/tests/roles/caller/vars/CentOS_7.yml', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1712861593.3403735-5233-217596629843713/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-use_json42eflxir/tests/roles/caller/vars/CentOS_7.yml', 'mode': '0600', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1712861593.3403735-5233-217596629843713/source', '_original_basename': 'tmpi6q8zicj', '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_7', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-use_json42eflxir/tests/roles/caller/vars/CentOS_7.yml", "diff": [], "failed": false, "gid": 1001, "group": "jenkins", "invocation": { "module_args": { "_original_basename": "tmpi6q8zicj", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "dest": "/WORKDIR/git-use_json42eflxir/tests/roles/caller/vars/CentOS_7.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-1712861593.3403735-5233-217596629843713/source", "unsafe_writes": false, "validate": null } }, "item": "CentOS_7", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1712861593.3403735-5233-217596629843713/source", "state": "file", "uid": 1000090000 }, "path": "/WORKDIR/git-use_json42eflxir/tests/roles/caller/vars/CentOS_7.yml", "state": "absent" } changed: [sut -> localhost] => (item={'diff': [], 'dest': '/WORKDIR/git-use_json42eflxir/tests/roles/caller/vars/CentOS.yml', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1712861593.590048-5233-261303912557671/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-use_json42eflxir/tests/roles/caller/vars/CentOS.yml', 'mode': '0600', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1712861593.590048-5233-261303912557671/source', '_original_basename': 'tmpc5vc5_t3', '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-use_json42eflxir/tests/roles/caller/vars/CentOS.yml", "diff": [], "failed": false, "gid": 1001, "group": "jenkins", "invocation": { "module_args": { "_original_basename": "tmpc5vc5_t3", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "dest": "/WORKDIR/git-use_json42eflxir/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-1712861593.590048-5233-261303912557671/source", "unsafe_writes": false, "validate": null } }, "item": "CentOS", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1712861593.590048-5233-261303912557671/source", "state": "file", "uid": 1000090000 }, "path": "/WORKDIR/git-use_json42eflxir/tests/roles/caller/vars/CentOS.yml", "state": "absent" } changed: [sut -> localhost] => (item={'diff': [], 'dest': '/WORKDIR/git-use_json42eflxir/tests/roles/caller/vars/RedHat.yml', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1712861593.8310273-5233-225420242582478/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-use_json42eflxir/tests/roles/caller/vars/RedHat.yml', 'mode': '0600', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1712861593.8310273-5233-225420242582478/source', '_original_basename': 'tmpatu4rclv', '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-use_json42eflxir/tests/roles/caller/vars/RedHat.yml", "diff": [], "failed": false, "gid": 1001, "group": "jenkins", "invocation": { "module_args": { "_original_basename": "tmpatu4rclv", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "dest": "/WORKDIR/git-use_json42eflxir/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-1712861593.8310273-5233-225420242582478/source", "unsafe_writes": false, "validate": null } }, "item": "RedHat", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1712861593.8310273-5233-225420242582478/source", "state": "file", "uid": 1000090000 }, "path": "/WORKDIR/git-use_json42eflxir/tests/roles/caller/vars/RedHat.yml", "state": "absent" } to retry, use: --limit @/tmp/tests_include_vars_from_parent.retry PLAY RECAP ********************************************************************* sut : ok=10 changed=3 unreachable=0 failed=2 skipped=1 rescued=1 ignored=0 Thursday 11 April 2024 18:53:21 +0000 (0:00:00.779) 0:00:10.226 ******** =============================================================================== fedora.linux_system_roles.snapshot : Ensure required packages are installed --- 6.23s /WORKDIR/git-use_json42eflxir/.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.70s /WORKDIR/git-use_json42eflxir/tests/tests_include_vars_from_parent.yml:15 ----- Gathering Facts --------------------------------------------------------- 1.02s /WORKDIR/git-use_json42eflxir/tests/tests_include_vars_from_parent.yml:2 ------ Cleanup ----------------------------------------------------------------- 0.78s /WORKDIR/git-use_json42eflxir/tests/tests_include_vars_from_parent.yml:58 ----- fedora.linux_system_roles.snapshot : Run snapshot command check --------- 0.19s /WORKDIR/git-use_json42eflxir/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:19 fedora.linux_system_roles.snapshot : Check if system is ostree ---------- 0.12s /WORKDIR/git-use_json42eflxir/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/set_vars.yml:10 fedora.linux_system_roles.snapshot : Show snapshot command -------------- 0.03s /WORKDIR/git-use_json42eflxir/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:12 fedora.linux_system_roles.snapshot : Set platform/version specific variables --- 0.03s /WORKDIR/git-use_json42eflxir/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/set_vars.yml:19 fedora.linux_system_roles.snapshot : Ensure ansible_facts used by role --- 0.02s /WORKDIR/git-use_json42eflxir/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/set_vars.yml:2 fedora.linux_system_roles.snapshot : Parse raw output ------------------- 0.02s /WORKDIR/git-use_json42eflxir/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:38 Include role ------------------------------------------------------------ 0.02s /WORKDIR/git-use_json42eflxir/tests/roles/caller/tasks/main.yml:4 ------------- fedora.linux_system_roles.snapshot : Set flag to indicate system is ostree --- 0.02s /WORKDIR/git-use_json42eflxir/.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-use_json42eflxir/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:3 fedora.linux_system_roles.snapshot : Raise error ------------------------ 0.01s /WORKDIR/git-use_json42eflxir/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:28 fedora.linux_system_roles.snapshot : Print out response ----------------- 0.01s /WORKDIR/git-use_json42eflxir/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:33 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---