# 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-idempotence1g9nonfx/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-idempotence1g9nonfx/tests/roles/linux-system-roles.snapshot/tasks/main.yml:3 Tuesday 20 February 2024 17:51:47 +0000 (0:00:00.021) 0:00:00.021 ****** included: /WORKDIR/git-idempotence1g9nonfx/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-idempotence1g9nonfx/tests/roles/linux-system-roles.snapshot/tasks/set_vars.yml:2 Tuesday 20 February 2024 17:51:47 +0000 (0:00:00.020) 0:00:00.042 ****** ok: [sut] TASK [linux-system-roles.snapshot : Check if system is ostree] ***************** task path: /WORKDIR/git-idempotence1g9nonfx/tests/roles/linux-system-roles.snapshot/tasks/set_vars.yml:11 Tuesday 20 February 2024 17:51:47 +0000 (0:00:00.533) 0:00:00.575 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.snapshot : Set flag to indicate system is ostree] ***** task path: /WORKDIR/git-idempotence1g9nonfx/tests/roles/linux-system-roles.snapshot/tasks/set_vars.yml:16 Tuesday 20 February 2024 17:51:48 +0000 (0:00:00.299) 0:00:00.875 ****** ok: [sut] => { "ansible_facts": { "__snapshot_is_ostree": false }, "changed": false } TASK [linux-system-roles.snapshot : Set platform/version specific variables] *** task path: /WORKDIR/git-idempotence1g9nonfx/tests/roles/linux-system-roles.snapshot/tasks/set_vars.yml:20 Tuesday 20 February 2024 17:51:48 +0000 (0:00:00.029) 0:00:00.905 ****** 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" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.snapshot : Ensure required packages are installed] **** task path: /WORKDIR/git-idempotence1g9nonfx/tests/roles/linux-system-roles.snapshot/tasks/main.yml:6 Tuesday 20 February 2024 17:51:48 +0000 (0:00:00.036) 0:00:00.941 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.snapshot : Show snapshot command] ********************* task path: /WORKDIR/git-idempotence1g9nonfx/tests/roles/linux-system-roles.snapshot/tasks/main.yml:13 Tuesday 20 February 2024 17:51:50 +0000 (0:00:01.894) 0:00:02.836 ****** 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-idempotence1g9nonfx/tests/roles/linux-system-roles.snapshot/tasks/main.yml:18 Tuesday 20 February 2024 17:51:50 +0000 (0:00:00.033) 0:00:02.869 ****** ok: [sut] => { "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 : Print out response] ************************ task path: /WORKDIR/git-idempotence1g9nonfx/tests/roles/linux-system-roles.snapshot/tasks/main.yml:27 Tuesday 20 February 2024 17:51:50 +0000 (0:00:00.290) 0:00:03.159 ****** ok: [sut] => { "snapshot_cmd_raw": { "changed": false, "failed": false, "rc": 0, "stderr": "Shared connection to 10.31.40.37 closed.\r\n", "stderr_lines": [ "Shared connection to 10.31.40.37 closed." ], "stdout": "{\r\n \"return_code\": 0,\r\n \"errors\": [\r\n \"\"\r\n ],\r\n \"changed\": false\r\n}", "stdout_lines": [ "{", " \"return_code\": 0,", " \"errors\": [", " \"\"", " ],", " \"changed\": false", "}" ] } } TASK [linux-system-roles.snapshot : Parse raw output] ************************** task path: /WORKDIR/git-idempotence1g9nonfx/tests/roles/linux-system-roles.snapshot/tasks/main.yml:32 Tuesday 20 February 2024 17:51:50 +0000 (0:00:00.010) 0:00:03.169 ****** ok: [sut] => { "ansible_facts": { "snapshot_cmd": { "changed": false, "errors": [ "" ], "return_code": 0 } }, "changed": false } TASK [linux-system-roles.snapshot : Set snapshot_facts to the JSON results] **** task path: /WORKDIR/git-idempotence1g9nonfx/tests/roles/linux-system-roles.snapshot/tasks/main.yml:37 Tuesday 20 February 2024 17:51:50 +0000 (0:00:00.011) 0:00:03.181 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.snapshot : Show errors] ******************************* task path: /WORKDIR/git-idempotence1g9nonfx/tests/roles/linux-system-roles.snapshot/tasks/main.yml:42 Tuesday 20 February 2024 17:51:50 +0000 (0:00:00.007) 0:00:03.189 ****** skipping: [sut] => {} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=9 changed=0 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 Tuesday 20 February 2024 17:51:50 +0000 (0:00:00.008) 0:00:03.197 ****** =============================================================================== linux-system-roles.snapshot : Ensure required packages are installed ---- 1.89s /WORKDIR/git-idempotence1g9nonfx/tests/roles/linux-system-roles.snapshot/tasks/main.yml:6 linux-system-roles.snapshot : Ensure ansible_facts used by role --------- 0.53s /WORKDIR/git-idempotence1g9nonfx/tests/roles/linux-system-roles.snapshot/tasks/set_vars.yml:2 linux-system-roles.snapshot : Check if system is ostree ----------------- 0.30s /WORKDIR/git-idempotence1g9nonfx/tests/roles/linux-system-roles.snapshot/tasks/set_vars.yml:11 linux-system-roles.snapshot : Run snapshot command check ---------------- 0.29s /WORKDIR/git-idempotence1g9nonfx/tests/roles/linux-system-roles.snapshot/tasks/main.yml:18 linux-system-roles.snapshot : Set platform/version specific variables --- 0.04s /WORKDIR/git-idempotence1g9nonfx/tests/roles/linux-system-roles.snapshot/tasks/set_vars.yml:20 linux-system-roles.snapshot : Show snapshot command --------------------- 0.03s /WORKDIR/git-idempotence1g9nonfx/tests/roles/linux-system-roles.snapshot/tasks/main.yml:13 linux-system-roles.snapshot : Set flag to indicate system is ostree ----- 0.03s /WORKDIR/git-idempotence1g9nonfx/tests/roles/linux-system-roles.snapshot/tasks/set_vars.yml:16 linux-system-roles.snapshot : Set platform/version specific variables --- 0.02s /WORKDIR/git-idempotence1g9nonfx/tests/roles/linux-system-roles.snapshot/tasks/main.yml:3 linux-system-roles.snapshot : Parse raw output -------------------------- 0.01s /WORKDIR/git-idempotence1g9nonfx/tests/roles/linux-system-roles.snapshot/tasks/main.yml:32 linux-system-roles.snapshot : Print out response ------------------------ 0.01s /WORKDIR/git-idempotence1g9nonfx/tests/roles/linux-system-roles.snapshot/tasks/main.yml:27 linux-system-roles.snapshot : Show errors ------------------------------- 0.01s /WORKDIR/git-idempotence1g9nonfx/tests/roles/linux-system-roles.snapshot/tasks/main.yml:42 linux-system-roles.snapshot : Set snapshot_facts to the JSON results ---- 0.01s /WORKDIR/git-idempotence1g9nonfx/tests/roles/linux-system-roles.snapshot/tasks/main.yml:37 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: Distribution centos 9 on host sut should use /usr/libexec/platform-python, but is using /usr/bin/python for backward compatibility with prior Ansible releases. A future Ansible release will default to using the discovered platform python for this host. See https://docs .ansible.com/ansible/2.9/reference_appendices/interpreter_discovery.html for more information. This feature will be removed in version 2.12. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---