# 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_default.yml **************************************************** 1 plays in /WORKDIR/git-module_work2pggjj3e/tests/tests_default.yml PLAY [Ensure that the role runs with default parameters] *********************** META: ran handlers TASK [linux-system-roles.snapshot : Set platform/version specific variables] *** task path: /WORKDIR/git-module_work2pggjj3e/tests/roles/linux-system-roles.snapshot/tasks/main.yml:3 Tuesday 02 July 2024 01:50:17 +0000 (0:00:00.013) 0:00:00.013 ********** included: /WORKDIR/git-module_work2pggjj3e/tests/roles/linux-system-roles.snapshot/tasks/set_vars.yml for sut TASK [linux-system-roles.snapshot : Ensure ansible_facts used by role] ********* task path: /WORKDIR/git-module_work2pggjj3e/tests/roles/linux-system-roles.snapshot/tasks/set_vars.yml:2 Tuesday 02 July 2024 01:50:17 +0000 (0:00:00.012) 0:00:00.026 ********** ok: [sut] TASK [linux-system-roles.snapshot : Check if system is ostree] ***************** task path: /WORKDIR/git-module_work2pggjj3e/tests/roles/linux-system-roles.snapshot/tasks/set_vars.yml:11 Tuesday 02 July 2024 01:50:17 +0000 (0:00:00.494) 0:00:00.520 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.snapshot : Set flag to indicate system is ostree] ***** task path: /WORKDIR/git-module_work2pggjj3e/tests/roles/linux-system-roles.snapshot/tasks/set_vars.yml:16 Tuesday 02 July 2024 01:50:18 +0000 (0:00:00.239) 0:00:00.760 ********** ok: [sut] => { "ansible_facts": { "__snapshot_is_ostree": false }, "changed": false } TASK [linux-system-roles.snapshot : Set platform/version specific variables] *** task path: /WORKDIR/git-module_work2pggjj3e/tests/roles/linux-system-roles.snapshot/tasks/set_vars.yml:20 Tuesday 02 July 2024 01:50:18 +0000 (0:00:00.019) 0:00:00.780 ********** 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_8.yml) => { "ansible_facts": { "__snapshot_packages": [ "lvm2", "util-linux" ], "__snapshot_python": "/usr/libexec/platform-python" }, "ansible_included_var_files": [ "/WORKDIR/git-module_work2pggjj3e/tests/roles/linux-system-roles.snapshot/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [sut] => (item=CentOS_8.yml) => { "ansible_facts": { "__snapshot_packages": [ "lvm2", "util-linux" ], "__snapshot_python": "/usr/libexec/platform-python" }, "ansible_included_var_files": [ "/WORKDIR/git-module_work2pggjj3e/tests/roles/linux-system-roles.snapshot/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [linux-system-roles.snapshot : Ensure required packages are installed] **** task path: /WORKDIR/git-module_work2pggjj3e/tests/roles/linux-system-roles.snapshot/tasks/main.yml:6 Tuesday 02 July 2024 01:50:18 +0000 (0:00:00.032) 0:00:00.812 ********** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.snapshot : Run snapshot module check] ***************** task path: /WORKDIR/git-module_work2pggjj3e/tests/roles/linux-system-roles.snapshot/tasks/main.yml:15 Tuesday 02 July 2024 01:50:20 +0000 (0:00:02.732) 0:00:03.544 ********** ok: [sut] => { "changed": false, "errors": "", "message": "", "return_code": 0 } TASK [linux-system-roles.snapshot : Print out response] ************************ task path: /WORKDIR/git-module_work2pggjj3e/tests/roles/linux-system-roles.snapshot/tasks/main.yml:43 Tuesday 02 July 2024 01:50:21 +0000 (0:00:00.332) 0:00:03.877 ********** ok: [sut] => { "snapshot_cmd": { "changed": false, "errors": "", "failed": false, "message": "", "msg": "", "return_code": 0 } } TASK [linux-system-roles.snapshot : Set result] ******************************** task path: /WORKDIR/git-module_work2pggjj3e/tests/roles/linux-system-roles.snapshot/tasks/main.yml:48 Tuesday 02 July 2024 01:50:21 +0000 (0:00:00.010) 0:00:03.887 ********** ok: [sut] => { "ansible_facts": { "snapshot_cmd": { "changed": false, "errors": "", "failed": false, "message": "", "msg": "", "return_code": 0 } }, "changed": false } TASK [linux-system-roles.snapshot : Set snapshot_facts to the JSON results] **** task path: /WORKDIR/git-module_work2pggjj3e/tests/roles/linux-system-roles.snapshot/tasks/main.yml:52 Tuesday 02 July 2024 01:50:21 +0000 (0:00:00.008) 0:00:03.896 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.snapshot : Show errors] ******************************* task path: /WORKDIR/git-module_work2pggjj3e/tests/roles/linux-system-roles.snapshot/tasks/main.yml:57 Tuesday 02 July 2024 01:50:21 +0000 (0:00:00.007) 0:00:03.903 ********** skipping: [sut] => {} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=9 changed=0 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 Tuesday 02 July 2024 01:50:21 +0000 (0:00:00.007) 0:00:03.911 ********** =============================================================================== linux-system-roles.snapshot : Ensure required packages are installed ---- 2.73s /WORKDIR/git-module_work2pggjj3e/tests/roles/linux-system-roles.snapshot/tasks/main.yml:6 linux-system-roles.snapshot : Ensure ansible_facts used by role --------- 0.49s /WORKDIR/git-module_work2pggjj3e/tests/roles/linux-system-roles.snapshot/tasks/set_vars.yml:2 linux-system-roles.snapshot : Run snapshot module check ----------------- 0.33s /WORKDIR/git-module_work2pggjj3e/tests/roles/linux-system-roles.snapshot/tasks/main.yml:15 linux-system-roles.snapshot : Check if system is ostree ----------------- 0.24s /WORKDIR/git-module_work2pggjj3e/tests/roles/linux-system-roles.snapshot/tasks/set_vars.yml:11 linux-system-roles.snapshot : Set platform/version specific variables --- 0.03s /WORKDIR/git-module_work2pggjj3e/tests/roles/linux-system-roles.snapshot/tasks/set_vars.yml:20 linux-system-roles.snapshot : Set flag to indicate system is ostree ----- 0.02s /WORKDIR/git-module_work2pggjj3e/tests/roles/linux-system-roles.snapshot/tasks/set_vars.yml:16 linux-system-roles.snapshot : Set platform/version specific variables --- 0.01s /WORKDIR/git-module_work2pggjj3e/tests/roles/linux-system-roles.snapshot/tasks/main.yml:3 linux-system-roles.snapshot : Print out response ------------------------ 0.01s /WORKDIR/git-module_work2pggjj3e/tests/roles/linux-system-roles.snapshot/tasks/main.yml:43 linux-system-roles.snapshot : Set result -------------------------------- 0.01s /WORKDIR/git-module_work2pggjj3e/tests/roles/linux-system-roles.snapshot/tasks/main.yml:48 linux-system-roles.snapshot : Show errors ------------------------------- 0.01s /WORKDIR/git-module_work2pggjj3e/tests/roles/linux-system-roles.snapshot/tasks/main.yml:57 linux-system-roles.snapshot : Set snapshot_facts to the JSON results ---- 0.01s /WORKDIR/git-module_work2pggjj3e/tests/roles/linux-system-roles.snapshot/tasks/main.yml:52 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---