# 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_jsonwslh0o0h/.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_jsonwslh0o0h/tests/tests_include_vars_from_parent.yml PLAY [Test role include variable override] ************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-use_jsonwslh0o0h/tests/tests_include_vars_from_parent.yml:2 Friday 12 April 2024 00:26:57 +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-use_jsonwslh0o0h/tests/tests_include_vars_from_parent.yml:15 Friday 12 April 2024 00:26:58 +0000 (0:00:00.989) 0:00:01.001 ********** changed: [sut -> localhost] => (item=CentOS-7.9) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-use_jsonwslh0o0h/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-1712881618.2012725-5233-167647314057415/source", "state": "file", "uid": 1000090000 } changed: [sut -> localhost] => (item=CentOS-7) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-use_jsonwslh0o0h/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-1712881618.5808017-5233-131449450320582/source", "state": "file", "uid": 1000090000 } changed: [sut -> localhost] => (item=CentOS_7.9) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-use_jsonwslh0o0h/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-1712881618.8103979-5233-132695203740211/source", "state": "file", "uid": 1000090000 } changed: [sut -> localhost] => (item=CentOS_7) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-use_jsonwslh0o0h/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-1712881619.039853-5233-123941717462843/source", "state": "file", "uid": 1000090000 } changed: [sut -> localhost] => (item=CentOS) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-use_jsonwslh0o0h/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-1712881619.2697253-5233-128059092009570/source", "state": "file", "uid": 1000090000 } changed: [sut -> localhost] => (item=RedHat) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-use_jsonwslh0o0h/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-1712881619.5113022-5233-55494590781278/source", "state": "file", "uid": 1000090000 } TASK [Include role] ************************************************************ task path: /WORKDIR/git-use_jsonwslh0o0h/tests/roles/caller/tasks/main.yml:4 Friday 12 April 2024 00:26:59 +0000 (0:00:01.593) 0:00:02.594 ********** TASK [fedora.linux_system_roles.snapshot : Set platform/version specific variables] *** task path: /WORKDIR/git-use_jsonwslh0o0h/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:3 Friday 12 April 2024 00:26:59 +0000 (0:00:00.019) 0:00:02.614 ********** included: /WORKDIR/git-use_jsonwslh0o0h/.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_jsonwslh0o0h/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/set_vars.yml:2 Friday 12 April 2024 00:26:59 +0000 (0:00:00.014) 0:00:02.628 ********** 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_jsonwslh0o0h/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/set_vars.yml:10 Friday 12 April 2024 00:26:59 +0000 (0:00:00.019) 0:00:02.648 ********** 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_jsonwslh0o0h/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/set_vars.yml:15 Friday 12 April 2024 00:26:59 +0000 (0:00:00.130) 0:00:02.778 ********** 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_jsonwslh0o0h/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/set_vars.yml:19 Friday 12 April 2024 00:26:59 +0000 (0:00:00.016) 0:00:02.795 ********** 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_jsonwslh0o0h/.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_jsonwslh0o0h/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:6 Friday 12 April 2024 00:26:59 +0000 (0:00:00.025) 0:00:02.820 ********** 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 5.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_jsonwslh0o0h/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:12 Friday 12 April 2024 00:27:07 +0000 (0:00:07.582) 0:00:10.403 ********** 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_jsonwslh0o0h/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:19 Friday 12 April 2024 00:27:07 +0000 (0:00:00.025) 0:00:10.428 ********** 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_jsonwslh0o0h/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:28 Friday 12 April 2024 00:27:07 +0000 (0:00:00.212) 0:00:10.641 ********** fatal: [sut]: FAILED! => { "changed": false } MSG: {'changed': False, 'rc': 1, 'stdout': ' File "/root/.ansible/tmp/ansible-tmp-1712881627.622773-5340-190167494043877/snapshot.py", line 333\r\n ) from exc\r\n ^\r\nSyntaxError: invalid syntax\r\n', 'stdout_lines': [' File "/root/.ansible/tmp/ansible-tmp-1712881627.622773-5340-190167494043877/snapshot.py", line 333', ' ) from exc', ' ^', 'SyntaxError: invalid syntax'], 'stderr': 'Shared connection to 10.31.10.173 closed.\r\n', 'stderr_lines': ['Shared connection to 10.31.10.173 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_jsonwslh0o0h/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:33 Friday 12 April 2024 00:27:07 +0000 (0:00:00.012) 0:00:10.654 ********** 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.10.173 closed.\r\n", "stderr_lines": [ "Shared connection to 10.31.10.173 closed." ], "stdout": " File \"/root/.ansible/tmp/ansible-tmp-1712881627.622773-5340-190167494043877/snapshot.py\", line 333\r\n ) from exc\r\n ^\r\nSyntaxError: invalid syntax\r\n", "stdout_lines": [ " File \"/root/.ansible/tmp/ansible-tmp-1712881627.622773-5340-190167494043877/snapshot.py\", line 333", " ) from exc", " ^", "SyntaxError: invalid syntax" ] } } TASK [fedora.linux_system_roles.snapshot : Parse raw output] ******************* task path: /WORKDIR/git-use_jsonwslh0o0h/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:38 Friday 12 April 2024 00:27:07 +0000 (0:00:00.012) 0:00:10.666 ********** 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_jsonwslh0o0h/.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_jsonwslh0o0h/tests/tests_include_vars_from_parent.yml:58 Friday 12 April 2024 00:27:07 +0000 (0:00:00.020) 0:00:10.687 ********** changed: [sut -> localhost] => (item={'diff': [], 'dest': '/WORKDIR/git-use_jsonwslh0o0h/tests/roles/caller/vars/CentOS-7.9.yml', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1712881618.2012725-5233-167647314057415/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_jsonwslh0o0h/tests/roles/caller/vars/CentOS-7.9.yml', 'mode': '0600', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1712881618.2012725-5233-167647314057415/source', '_original_basename': 'tmpxgzsu76g', '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_jsonwslh0o0h/tests/roles/caller/vars/CentOS-7.9.yml", "diff": [], "failed": false, "gid": 1001, "group": "jenkins", "invocation": { "module_args": { "_original_basename": "tmpxgzsu76g", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "dest": "/WORKDIR/git-use_jsonwslh0o0h/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-1712881618.2012725-5233-167647314057415/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-1712881618.2012725-5233-167647314057415/source", "state": "file", "uid": 1000090000 }, "path": "/WORKDIR/git-use_jsonwslh0o0h/tests/roles/caller/vars/CentOS-7.9.yml", "state": "absent" } changed: [sut -> localhost] => (item={'diff': [], 'dest': '/WORKDIR/git-use_jsonwslh0o0h/tests/roles/caller/vars/CentOS-7.yml', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1712881618.5808017-5233-131449450320582/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_jsonwslh0o0h/tests/roles/caller/vars/CentOS-7.yml', 'mode': '0600', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1712881618.5808017-5233-131449450320582/source', '_original_basename': 'tmpllxm_ei9', '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_jsonwslh0o0h/tests/roles/caller/vars/CentOS-7.yml", "diff": [], "failed": false, "gid": 1001, "group": "jenkins", "invocation": { "module_args": { "_original_basename": "tmpllxm_ei9", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "dest": "/WORKDIR/git-use_jsonwslh0o0h/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-1712881618.5808017-5233-131449450320582/source", "unsafe_writes": false, "validate": null } }, "item": "CentOS-7", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1712881618.5808017-5233-131449450320582/source", "state": "file", "uid": 1000090000 }, "path": "/WORKDIR/git-use_jsonwslh0o0h/tests/roles/caller/vars/CentOS-7.yml", "state": "absent" } changed: [sut -> localhost] => (item={'diff': [], 'dest': '/WORKDIR/git-use_jsonwslh0o0h/tests/roles/caller/vars/CentOS_7.9.yml', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1712881618.8103979-5233-132695203740211/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_jsonwslh0o0h/tests/roles/caller/vars/CentOS_7.9.yml', 'mode': '0600', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1712881618.8103979-5233-132695203740211/source', '_original_basename': 'tmp3j3mhidp', '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_jsonwslh0o0h/tests/roles/caller/vars/CentOS_7.9.yml", "diff": [], "failed": false, "gid": 1001, "group": "jenkins", "invocation": { "module_args": { "_original_basename": "tmp3j3mhidp", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "dest": "/WORKDIR/git-use_jsonwslh0o0h/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-1712881618.8103979-5233-132695203740211/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-1712881618.8103979-5233-132695203740211/source", "state": "file", "uid": 1000090000 }, "path": "/WORKDIR/git-use_jsonwslh0o0h/tests/roles/caller/vars/CentOS_7.9.yml", "state": "absent" } changed: [sut -> localhost] => (item={'diff': [], 'dest': '/WORKDIR/git-use_jsonwslh0o0h/tests/roles/caller/vars/CentOS_7.yml', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1712881619.039853-5233-123941717462843/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_jsonwslh0o0h/tests/roles/caller/vars/CentOS_7.yml', 'mode': '0600', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1712881619.039853-5233-123941717462843/source', '_original_basename': 'tmpuujz3tuc', '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_jsonwslh0o0h/tests/roles/caller/vars/CentOS_7.yml", "diff": [], "failed": false, "gid": 1001, "group": "jenkins", "invocation": { "module_args": { "_original_basename": "tmpuujz3tuc", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "dest": "/WORKDIR/git-use_jsonwslh0o0h/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-1712881619.039853-5233-123941717462843/source", "unsafe_writes": false, "validate": null } }, "item": "CentOS_7", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1712881619.039853-5233-123941717462843/source", "state": "file", "uid": 1000090000 }, "path": "/WORKDIR/git-use_jsonwslh0o0h/tests/roles/caller/vars/CentOS_7.yml", "state": "absent" } changed: [sut -> localhost] => (item={'diff': [], 'dest': '/WORKDIR/git-use_jsonwslh0o0h/tests/roles/caller/vars/CentOS.yml', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1712881619.2697253-5233-128059092009570/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_jsonwslh0o0h/tests/roles/caller/vars/CentOS.yml', 'mode': '0600', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1712881619.2697253-5233-128059092009570/source', '_original_basename': 'tmpv8_xq7e0', '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_jsonwslh0o0h/tests/roles/caller/vars/CentOS.yml", "diff": [], "failed": false, "gid": 1001, "group": "jenkins", "invocation": { "module_args": { "_original_basename": "tmpv8_xq7e0", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "dest": "/WORKDIR/git-use_jsonwslh0o0h/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-1712881619.2697253-5233-128059092009570/source", "unsafe_writes": false, "validate": null } }, "item": "CentOS", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1712881619.2697253-5233-128059092009570/source", "state": "file", "uid": 1000090000 }, "path": "/WORKDIR/git-use_jsonwslh0o0h/tests/roles/caller/vars/CentOS.yml", "state": "absent" } changed: [sut -> localhost] => (item={'diff': [], 'dest': '/WORKDIR/git-use_jsonwslh0o0h/tests/roles/caller/vars/RedHat.yml', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1712881619.5113022-5233-55494590781278/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_jsonwslh0o0h/tests/roles/caller/vars/RedHat.yml', 'mode': '0600', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1712881619.5113022-5233-55494590781278/source', '_original_basename': 'tmpxkj3mrum', '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_jsonwslh0o0h/tests/roles/caller/vars/RedHat.yml", "diff": [], "failed": false, "gid": 1001, "group": "jenkins", "invocation": { "module_args": { "_original_basename": "tmpxkj3mrum", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "dest": "/WORKDIR/git-use_jsonwslh0o0h/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-1712881619.5113022-5233-55494590781278/source", "unsafe_writes": false, "validate": null } }, "item": "RedHat", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1712881619.5113022-5233-55494590781278/source", "state": "file", "uid": 1000090000 }, "path": "/WORKDIR/git-use_jsonwslh0o0h/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 Friday 12 April 2024 00:27:08 +0000 (0:00:00.754) 0:00:11.442 ********** =============================================================================== fedora.linux_system_roles.snapshot : Ensure required packages are installed --- 7.58s /WORKDIR/git-use_jsonwslh0o0h/.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.59s /WORKDIR/git-use_jsonwslh0o0h/tests/tests_include_vars_from_parent.yml:15 ----- Gathering Facts --------------------------------------------------------- 0.99s /WORKDIR/git-use_jsonwslh0o0h/tests/tests_include_vars_from_parent.yml:2 ------ Cleanup ----------------------------------------------------------------- 0.75s /WORKDIR/git-use_jsonwslh0o0h/tests/tests_include_vars_from_parent.yml:58 ----- fedora.linux_system_roles.snapshot : Run snapshot command check --------- 0.21s /WORKDIR/git-use_jsonwslh0o0h/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:19 fedora.linux_system_roles.snapshot : Check if system is ostree ---------- 0.13s /WORKDIR/git-use_jsonwslh0o0h/.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.03s /WORKDIR/git-use_jsonwslh0o0h/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/set_vars.yml:19 fedora.linux_system_roles.snapshot : Show snapshot command -------------- 0.03s /WORKDIR/git-use_jsonwslh0o0h/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:12 fedora.linux_system_roles.snapshot : Parse raw output ------------------- 0.02s /WORKDIR/git-use_jsonwslh0o0h/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:38 fedora.linux_system_roles.snapshot : Ensure ansible_facts used by role --- 0.02s /WORKDIR/git-use_jsonwslh0o0h/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/set_vars.yml:2 Include role ------------------------------------------------------------ 0.02s /WORKDIR/git-use_jsonwslh0o0h/tests/roles/caller/tasks/main.yml:4 ------------- fedora.linux_system_roles.snapshot : Set flag to indicate system is ostree --- 0.02s /WORKDIR/git-use_jsonwslh0o0h/.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_jsonwslh0o0h/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:3 fedora.linux_system_roles.snapshot : Print out response ----------------- 0.01s /WORKDIR/git-use_jsonwslh0o0h/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:33 fedora.linux_system_roles.snapshot : Raise error ------------------------ 0.01s /WORKDIR/git-use_jsonwslh0o0h/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:28 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---