# 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-use_jsonmv7t6qeh/tests/tests_include_vars_from_parent.yml PLAY [Test role include variable override] ************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-use_jsonmv7t6qeh/tests/tests_include_vars_from_parent.yml:2 Thursday 11 April 2024 18:58:06 +0000 (0:00:00.012) 0:00:00.012 ******** ok: [sut] META: ran handlers TASK [Create var file in caller that can override the one in called role] ****** task path: /WORKDIR/git-use_jsonmv7t6qeh/tests/tests_include_vars_from_parent.yml:15 Thursday 11 April 2024 18:58:06 +0000 (0:00:00.813) 0:00:00.825 ******** changed: [sut -> localhost] => (item=CentOS-7.9) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-use_jsonmv7t6qeh/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-1712861886.8524199-6271-175628736931893/source", "state": "file", "uid": 1000090000 } changed: [sut -> localhost] => (item=CentOS-7) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-use_jsonmv7t6qeh/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-1712861887.2278643-6271-247049722258529/source", "state": "file", "uid": 1000090000 } changed: [sut -> localhost] => (item=CentOS_7.9) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-use_jsonmv7t6qeh/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-1712861887.4501204-6271-28662031936363/source", "state": "file", "uid": 1000090000 } changed: [sut -> localhost] => (item=CentOS_7) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-use_jsonmv7t6qeh/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-1712861887.682534-6271-81734929683084/source", "state": "file", "uid": 1000090000 } changed: [sut -> localhost] => (item=CentOS) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-use_jsonmv7t6qeh/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-1712861887.904976-6271-179205100663642/source", "state": "file", "uid": 1000090000 } changed: [sut -> localhost] => (item=RedHat) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-use_jsonmv7t6qeh/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-1712861888.1304548-6271-145266461783731/source", "state": "file", "uid": 1000090000 } TASK [Include role] ************************************************************ task path: /WORKDIR/git-use_jsonmv7t6qeh/tests/roles/caller/tasks/main.yml:4 Thursday 11 April 2024 18:58:08 +0000 (0:00:01.523) 0:00:02.348 ******** TASK [linux-system-roles.snapshot : Set platform/version specific variables] *** task path: /WORKDIR/git-use_jsonmv7t6qeh/tests/roles/linux-system-roles.snapshot/tasks/main.yml:3 Thursday 11 April 2024 18:58:08 +0000 (0:00:00.018) 0:00:02.367 ******** included: /WORKDIR/git-use_jsonmv7t6qeh/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-use_jsonmv7t6qeh/tests/roles/linux-system-roles.snapshot/tasks/set_vars.yml:2 Thursday 11 April 2024 18:58:08 +0000 (0:00:00.016) 0:00:02.383 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.snapshot : Check if system is ostree] ***************** task path: /WORKDIR/git-use_jsonmv7t6qeh/tests/roles/linux-system-roles.snapshot/tasks/set_vars.yml:11 Thursday 11 April 2024 18:58:08 +0000 (0:00:00.012) 0:00:02.395 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.snapshot : Set flag to indicate system is ostree] ***** task path: /WORKDIR/git-use_jsonmv7t6qeh/tests/roles/linux-system-roles.snapshot/tasks/set_vars.yml:16 Thursday 11 April 2024 18:58:08 +0000 (0:00:00.137) 0:00:02.533 ******** ok: [sut] => { "ansible_facts": { "__snapshot_is_ostree": false }, "changed": false } TASK [linux-system-roles.snapshot : Set platform/version specific variables] *** task path: /WORKDIR/git-use_jsonmv7t6qeh/tests/roles/linux-system-roles.snapshot/tasks/set_vars.yml:20 Thursday 11 April 2024 18:58:08 +0000 (0:00:00.013) 0:00:02.547 ******** 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" } 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_jsonmv7t6qeh/tests/roles/linux-system-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, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.snapshot : Ensure required packages are installed] **** task path: /WORKDIR/git-use_jsonmv7t6qeh/tests/roles/linux-system-roles.snapshot/tasks/main.yml:6 Thursday 11 April 2024 18:58:08 +0000 (0:00:00.027) 0:00:02.574 ******** 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.4 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 [linux-system-roles.snapshot : Show snapshot command] ********************* task path: /WORKDIR/git-use_jsonmv7t6qeh/tests/roles/linux-system-roles.snapshot/tasks/main.yml:13 Thursday 11 April 2024 18:58:15 +0000 (0:00:06.432) 0:00:09.007 ******** ok: [sut] => { "__snapshot_cmd": "snapshot.py check -a -r 2 -s snapset1 --vg-include '^test_'" } TASK [linux-system-roles.snapshot : Run snapshot command check] **************** task path: /WORKDIR/git-use_jsonmv7t6qeh/tests/roles/linux-system-roles.snapshot/tasks/main.yml:20 Thursday 11 April 2024 18:58:15 +0000 (0:00:00.019) 0:00:09.026 ******** 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 [linux-system-roles.snapshot : Raise error] ******************************* task path: /WORKDIR/git-use_jsonmv7t6qeh/tests/roles/linux-system-roles.snapshot/tasks/main.yml:29 Thursday 11 April 2024 18:58:15 +0000 (0:00:00.216) 0:00:09.243 ******** fatal: [sut]: FAILED! => { "changed": false } MSG: {'changed': False, 'rc': 1, 'stdout': ' File "/root/.ansible/tmp/ansible-tmp-1712861895.0683527-6405-40606071848223/snapshot.py", line 330\r\n ) from exc\r\n ^\r\nSyntaxError: invalid syntax\r\n', 'stdout_lines': [' File "/root/.ansible/tmp/ansible-tmp-1712861895.0683527-6405-40606071848223/snapshot.py", line 330', ' ) from exc', ' ^', 'SyntaxError: invalid syntax'], 'stderr': 'Shared connection to 10.31.43.107 closed.\r\n', 'stderr_lines': ['Shared connection to 10.31.43.107 closed.'], 'failed': True, 'msg': 'non-zero return code', '_ansible_no_log': True} TASK [linux-system-roles.snapshot : Print out response] ************************ task path: /WORKDIR/git-use_jsonmv7t6qeh/tests/roles/linux-system-roles.snapshot/tasks/main.yml:34 Thursday 11 April 2024 18:58:15 +0000 (0:00:00.012) 0:00:09.255 ******** ok: [sut] => { "snapshot_cmd_raw": { "changed": false, "failed": true, "msg": "non-zero return code", "rc": 1, "stderr": "Shared connection to 10.31.43.107 closed.\r\n", "stderr_lines": [ "Shared connection to 10.31.43.107 closed." ], "stdout": " File \"/root/.ansible/tmp/ansible-tmp-1712861895.0683527-6405-40606071848223/snapshot.py\", line 330\r\n ) from exc\r\n ^\r\nSyntaxError: invalid syntax\r\n", "stdout_lines": [ " File \"/root/.ansible/tmp/ansible-tmp-1712861895.0683527-6405-40606071848223/snapshot.py\", line 330", " ) from exc", " ^", "SyntaxError: invalid syntax" ] } } TASK [linux-system-roles.snapshot : Parse raw output] ************************** task path: /WORKDIR/git-use_jsonmv7t6qeh/tests/roles/linux-system-roles.snapshot/tasks/main.yml:39 Thursday 11 April 2024 18:58:15 +0000 (0:00:00.014) 0:00:09.269 ******** 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_jsonmv7t6qeh/tests/roles/linux-system-roles.snapshot/tasks/main.yml': line 39, 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_jsonmv7t6qeh/tests/tests_include_vars_from_parent.yml:60 Thursday 11 April 2024 18:58:15 +0000 (0:00:00.015) 0:00:09.285 ******** changed: [sut -> localhost] => (item={'diff': [], 'dest': '/WORKDIR/git-use_jsonmv7t6qeh/tests/roles/caller/vars/CentOS-7.9.yml', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1712861886.8524199-6271-175628736931893/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_jsonmv7t6qeh/tests/roles/caller/vars/CentOS-7.9.yml', 'mode': '0600', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1712861886.8524199-6271-175628736931893/source', '_original_basename': 'tmpxv0oa56m', '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-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_jsonmv7t6qeh/tests/roles/caller/vars/CentOS-7.9.yml", "diff": [], "failed": false, "gid": 1001, "group": "jenkins", "invocation": { "module_args": { "_original_basename": "tmpxv0oa56m", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "delimiter": null, "dest": "/WORKDIR/git-use_jsonmv7t6qeh/tests/roles/caller/vars/CentOS-7.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-1712861886.8524199-6271-175628736931893/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-1712861886.8524199-6271-175628736931893/source", "state": "file", "uid": 1000090000 }, "path": "/WORKDIR/git-use_jsonmv7t6qeh/tests/roles/caller/vars/CentOS-7.9.yml", "state": "absent" } changed: [sut -> localhost] => (item={'diff': [], 'dest': '/WORKDIR/git-use_jsonmv7t6qeh/tests/roles/caller/vars/CentOS-7.yml', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1712861887.2278643-6271-247049722258529/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_jsonmv7t6qeh/tests/roles/caller/vars/CentOS-7.yml', 'mode': '0600', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1712861887.2278643-6271-247049722258529/source', '_original_basename': 'tmpgonfshfs', '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-7', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-use_jsonmv7t6qeh/tests/roles/caller/vars/CentOS-7.yml", "diff": [], "failed": false, "gid": 1001, "group": "jenkins", "invocation": { "module_args": { "_original_basename": "tmpgonfshfs", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "delimiter": null, "dest": "/WORKDIR/git-use_jsonmv7t6qeh/tests/roles/caller/vars/CentOS-7.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-1712861887.2278643-6271-247049722258529/source", "unsafe_writes": false, "validate": null } }, "item": "CentOS-7", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1712861887.2278643-6271-247049722258529/source", "state": "file", "uid": 1000090000 }, "path": "/WORKDIR/git-use_jsonmv7t6qeh/tests/roles/caller/vars/CentOS-7.yml", "state": "absent" } changed: [sut -> localhost] => (item={'diff': [], 'dest': '/WORKDIR/git-use_jsonmv7t6qeh/tests/roles/caller/vars/CentOS_7.9.yml', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1712861887.4501204-6271-28662031936363/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_jsonmv7t6qeh/tests/roles/caller/vars/CentOS_7.9.yml', 'mode': '0600', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1712861887.4501204-6271-28662031936363/source', '_original_basename': 'tmp4o8i6579', '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_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_jsonmv7t6qeh/tests/roles/caller/vars/CentOS_7.9.yml", "diff": [], "failed": false, "gid": 1001, "group": "jenkins", "invocation": { "module_args": { "_original_basename": "tmp4o8i6579", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "delimiter": null, "dest": "/WORKDIR/git-use_jsonmv7t6qeh/tests/roles/caller/vars/CentOS_7.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-1712861887.4501204-6271-28662031936363/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-1712861887.4501204-6271-28662031936363/source", "state": "file", "uid": 1000090000 }, "path": "/WORKDIR/git-use_jsonmv7t6qeh/tests/roles/caller/vars/CentOS_7.9.yml", "state": "absent" } changed: [sut -> localhost] => (item={'diff': [], 'dest': '/WORKDIR/git-use_jsonmv7t6qeh/tests/roles/caller/vars/CentOS_7.yml', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1712861887.682534-6271-81734929683084/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_jsonmv7t6qeh/tests/roles/caller/vars/CentOS_7.yml', 'mode': '0600', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1712861887.682534-6271-81734929683084/source', '_original_basename': 'tmph2w4ipv3', '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_7', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-use_jsonmv7t6qeh/tests/roles/caller/vars/CentOS_7.yml", "diff": [], "failed": false, "gid": 1001, "group": "jenkins", "invocation": { "module_args": { "_original_basename": "tmph2w4ipv3", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "delimiter": null, "dest": "/WORKDIR/git-use_jsonmv7t6qeh/tests/roles/caller/vars/CentOS_7.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-1712861887.682534-6271-81734929683084/source", "unsafe_writes": false, "validate": null } }, "item": "CentOS_7", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1712861887.682534-6271-81734929683084/source", "state": "file", "uid": 1000090000 }, "path": "/WORKDIR/git-use_jsonmv7t6qeh/tests/roles/caller/vars/CentOS_7.yml", "state": "absent" } changed: [sut -> localhost] => (item={'diff': [], 'dest': '/WORKDIR/git-use_jsonmv7t6qeh/tests/roles/caller/vars/CentOS.yml', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1712861887.904976-6271-179205100663642/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_jsonmv7t6qeh/tests/roles/caller/vars/CentOS.yml', 'mode': '0600', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1712861887.904976-6271-179205100663642/source', '_original_basename': 'tmpaexf5wb2', '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-use_jsonmv7t6qeh/tests/roles/caller/vars/CentOS.yml", "diff": [], "failed": false, "gid": 1001, "group": "jenkins", "invocation": { "module_args": { "_original_basename": "tmpaexf5wb2", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "delimiter": null, "dest": "/WORKDIR/git-use_jsonmv7t6qeh/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-1712861887.904976-6271-179205100663642/source", "unsafe_writes": false, "validate": null } }, "item": "CentOS", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1712861887.904976-6271-179205100663642/source", "state": "file", "uid": 1000090000 }, "path": "/WORKDIR/git-use_jsonmv7t6qeh/tests/roles/caller/vars/CentOS.yml", "state": "absent" } changed: [sut -> localhost] => (item={'diff': [], 'dest': '/WORKDIR/git-use_jsonmv7t6qeh/tests/roles/caller/vars/RedHat.yml', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1712861888.1304548-6271-145266461783731/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_jsonmv7t6qeh/tests/roles/caller/vars/RedHat.yml', 'mode': '0600', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1712861888.1304548-6271-145266461783731/source', '_original_basename': 'tmpgf48pt3g', '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-use_jsonmv7t6qeh/tests/roles/caller/vars/RedHat.yml", "diff": [], "failed": false, "gid": 1001, "group": "jenkins", "invocation": { "module_args": { "_original_basename": "tmpgf48pt3g", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "delimiter": null, "dest": "/WORKDIR/git-use_jsonmv7t6qeh/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-1712861888.1304548-6271-145266461783731/source", "unsafe_writes": false, "validate": null } }, "item": "RedHat", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1712861888.1304548-6271-145266461783731/source", "state": "file", "uid": 1000090000 }, "path": "/WORKDIR/git-use_jsonmv7t6qeh/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:58:15 +0000 (0:00:00.701) 0:00:09.987 ******** =============================================================================== linux-system-roles.snapshot : Ensure required packages are installed ---- 6.43s /WORKDIR/git-use_jsonmv7t6qeh/tests/roles/linux-system-roles.snapshot/tasks/main.yml:6 Create var file in caller that can override the one in called role ------ 1.52s /WORKDIR/git-use_jsonmv7t6qeh/tests/tests_include_vars_from_parent.yml:15 ----- Gathering Facts --------------------------------------------------------- 0.81s /WORKDIR/git-use_jsonmv7t6qeh/tests/tests_include_vars_from_parent.yml:2 ------ Cleanup ----------------------------------------------------------------- 0.70s /WORKDIR/git-use_jsonmv7t6qeh/tests/tests_include_vars_from_parent.yml:60 ----- linux-system-roles.snapshot : Run snapshot command check ---------------- 0.22s /WORKDIR/git-use_jsonmv7t6qeh/tests/roles/linux-system-roles.snapshot/tasks/main.yml:20 linux-system-roles.snapshot : Check if system is ostree ----------------- 0.14s /WORKDIR/git-use_jsonmv7t6qeh/tests/roles/linux-system-roles.snapshot/tasks/set_vars.yml:11 linux-system-roles.snapshot : Set platform/version specific variables --- 0.03s /WORKDIR/git-use_jsonmv7t6qeh/tests/roles/linux-system-roles.snapshot/tasks/set_vars.yml:20 linux-system-roles.snapshot : Show snapshot command --------------------- 0.02s /WORKDIR/git-use_jsonmv7t6qeh/tests/roles/linux-system-roles.snapshot/tasks/main.yml:13 Include role ------------------------------------------------------------ 0.02s /WORKDIR/git-use_jsonmv7t6qeh/tests/roles/caller/tasks/main.yml:4 ------------- linux-system-roles.snapshot : Set platform/version specific variables --- 0.02s /WORKDIR/git-use_jsonmv7t6qeh/tests/roles/linux-system-roles.snapshot/tasks/main.yml:3 linux-system-roles.snapshot : Parse raw output -------------------------- 0.02s /WORKDIR/git-use_jsonmv7t6qeh/tests/roles/linux-system-roles.snapshot/tasks/main.yml:39 linux-system-roles.snapshot : Print out response ------------------------ 0.01s /WORKDIR/git-use_jsonmv7t6qeh/tests/roles/linux-system-roles.snapshot/tasks/main.yml:34 linux-system-roles.snapshot : Set flag to indicate system is ostree ----- 0.01s /WORKDIR/git-use_jsonmv7t6qeh/tests/roles/linux-system-roles.snapshot/tasks/set_vars.yml:16 linux-system-roles.snapshot : Ensure ansible_facts used by role --------- 0.01s /WORKDIR/git-use_jsonmv7t6qeh/tests/roles/linux-system-roles.snapshot/tasks/set_vars.yml:2 linux-system-roles.snapshot : Raise error ------------------------------- 0.01s /WORKDIR/git-use_jsonmv7t6qeh/tests/roles/linux-system-roles.snapshot/tasks/main.yml:29 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---