# 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-weekly-ciz_5_0kno/.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_default.yml **************************************************** 1 plays in /WORKDIR/git-weekly-ciz_5_0kno/tests/tests_default.yml PLAY [Ensure that the role runs with default parameters] *********************** TASK [fedora.linux_system_roles.snapshot : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-ciz_5_0kno/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:3 Sunday 23 June 2024 01:29:16 +0000 (0:00:00.014) 0:00:00.014 *********** included: /WORKDIR/git-weekly-ciz_5_0kno/.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-weekly-ciz_5_0kno/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/set_vars.yml:2 Sunday 23 June 2024 01:29:16 +0000 (0:00:00.010) 0:00:00.025 *********** ok: [sut] TASK [fedora.linux_system_roles.snapshot : Check if system is ostree] ********** task path: /WORKDIR/git-weekly-ciz_5_0kno/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/set_vars.yml:10 Sunday 23 June 2024 01:29:17 +0000 (0:00:00.426) 0:00:00.452 *********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.snapshot : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-weekly-ciz_5_0kno/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/set_vars.yml:15 Sunday 23 June 2024 01:29:17 +0000 (0:00:00.182) 0:00:00.634 *********** 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-weekly-ciz_5_0kno/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/set_vars.yml:19 Sunday 23 June 2024 01:29:17 +0000 (0:00:00.014) 0:00:00.649 *********** 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-weekly-ciz_5_0kno/.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-weekly-ciz_5_0kno/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:6 Sunday 23 June 2024 01:29:17 +0000 (0:00:00.026) 0:00:00.676 *********** ok: [sut] => { "changed": false, "rc": 0, "results": [ "7:lvm2-2.02.187-6.el7_9.5.x86_64 providing lvm2 is already installed", "util-linux-2.23.2-65.el7_9.1.x86_64 providing util-linux is already installed" ] } lsrpackages: lvm2 util-linux TASK [fedora.linux_system_roles.snapshot : Show snapshot command] ************** task path: /WORKDIR/git-weekly-ciz_5_0kno/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:12 Sunday 23 June 2024 01:29:18 +0000 (0:00:00.596) 0:00:01.272 *********** 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-weekly-ciz_5_0kno/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:19 Sunday 23 June 2024 01:29:18 +0000 (0:00:00.025) 0:00:01.298 *********** ok: [sut] => { "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 : Print out response] ***************** task path: /WORKDIR/git-weekly-ciz_5_0kno/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:33 Sunday 23 June 2024 01:29:18 +0000 (0:00:00.258) 0:00:01.557 *********** ok: [sut] => { "snapshot_cmd_raw": { "changed": false, "failed": false, "rc": 0, "stderr": "Shared connection to 10.31.44.72 closed.\r\n", "stderr_lines": [ "Shared connection to 10.31.44.72 closed." ], "stdout": "{\r\n \"errors\": [\r\n \"\"\r\n ], \r\n \"return_code\": 0, \r\n \"changed\": false\r\n}", "stdout_lines": [ "{", " \"errors\": [", " \"\"", " ], ", " \"return_code\": 0, ", " \"changed\": false", "}" ] } } TASK [fedora.linux_system_roles.snapshot : Parse raw output] ******************* task path: /WORKDIR/git-weekly-ciz_5_0kno/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:38 Sunday 23 June 2024 01:29:18 +0000 (0:00:00.010) 0:00:01.567 *********** ok: [sut] => { "ansible_facts": { "snapshot_cmd": { "changed": false, "errors": [ "" ], "return_code": 0 } }, "changed": false } TASK [fedora.linux_system_roles.snapshot : Set snapshot_facts to the JSON results] *** task path: /WORKDIR/git-weekly-ciz_5_0kno/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:43 Sunday 23 June 2024 01:29:18 +0000 (0:00:00.022) 0:00:01.589 *********** skipping: [sut] => { "changed": false, "false_condition": "snapshot_lvm_action == \"list\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.snapshot : Show errors] ************************ task path: /WORKDIR/git-weekly-ciz_5_0kno/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:48 Sunday 23 June 2024 01:29:18 +0000 (0:00:00.007) 0:00:01.596 *********** skipping: [sut] => { "false_condition": "snapshot_cmd[\"return_code\"] != 0" } PLAY RECAP ********************************************************************* sut : ok=10 changed=0 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 Sunday 23 June 2024 01:29:18 +0000 (0:00:00.012) 0:00:01.609 *********** =============================================================================== fedora.linux_system_roles.snapshot : Ensure required packages are installed --- 0.60s /WORKDIR/git-weekly-ciz_5_0kno/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:6 fedora.linux_system_roles.snapshot : Ensure ansible_facts used by role --- 0.43s /WORKDIR/git-weekly-ciz_5_0kno/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/set_vars.yml:2 fedora.linux_system_roles.snapshot : Run snapshot command check --------- 0.26s /WORKDIR/git-weekly-ciz_5_0kno/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:19 fedora.linux_system_roles.snapshot : Check if system is ostree ---------- 0.18s /WORKDIR/git-weekly-ciz_5_0kno/.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-weekly-ciz_5_0kno/.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-weekly-ciz_5_0kno/.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-weekly-ciz_5_0kno/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:38 fedora.linux_system_roles.snapshot : Set flag to indicate system is ostree --- 0.01s /WORKDIR/git-weekly-ciz_5_0kno/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/set_vars.yml:15 fedora.linux_system_roles.snapshot : Show errors ------------------------ 0.01s /WORKDIR/git-weekly-ciz_5_0kno/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:48 fedora.linux_system_roles.snapshot : Set platform/version specific variables --- 0.01s /WORKDIR/git-weekly-ciz_5_0kno/.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-weekly-ciz_5_0kno/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:33 fedora.linux_system_roles.snapshot : Set snapshot_facts to the JSON results --- 0.01s /WORKDIR/git-weekly-ciz_5_0kno/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:43 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---