# 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_workiutp7wl1/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_workiutp7wl1/tests/roles/linux-system-roles.snapshot/tasks/main.yml:3 Wednesday 22 May 2024 11:17:47 +0000 (0:00:00.013) 0:00:00.013 ********* included: /WORKDIR/git-module_workiutp7wl1/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_workiutp7wl1/tests/roles/linux-system-roles.snapshot/tasks/set_vars.yml:2 Wednesday 22 May 2024 11:17:47 +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_workiutp7wl1/tests/roles/linux-system-roles.snapshot/tasks/set_vars.yml:11 Wednesday 22 May 2024 11:17:47 +0000 (0:00:00.564) 0:00:00.590 ********* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.snapshot : Set flag to indicate system is ostree] ***** task path: /WORKDIR/git-module_workiutp7wl1/tests/roles/linux-system-roles.snapshot/tasks/set_vars.yml:16 Wednesday 22 May 2024 11:17:47 +0000 (0:00:00.194) 0:00:00.785 ********* 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_workiutp7wl1/tests/roles/linux-system-roles.snapshot/tasks/set_vars.yml:20 Wednesday 22 May 2024 11:17:47 +0000 (0:00:00.020) 0:00:00.806 ********* 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-module_workiutp7wl1/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-module_workiutp7wl1/tests/roles/linux-system-roles.snapshot/tasks/main.yml:6 Wednesday 22 May 2024 11:17:47 +0000 (0:00:00.032) 0:00:00.839 ********* 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 7.0 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 : Run snapshot module check] ***************** task path: /WORKDIR/git-module_workiutp7wl1/tests/roles/linux-system-roles.snapshot/tasks/main.yml:15 Wednesday 22 May 2024 11:17:54 +0000 (0:00:06.403) 0:00:07.242 ********* ok: [sut] => { "changed": false, "errors": [ "" ], "message": "", "return_code": 0 } MSG: [''] TASK [linux-system-roles.snapshot : Print out response] ************************ task path: /WORKDIR/git-module_workiutp7wl1/tests/roles/linux-system-roles.snapshot/tasks/main.yml:43 Wednesday 22 May 2024 11:17:54 +0000 (0:00:00.273) 0:00:07.515 ********* ok: [sut] => { "snapshot_cmd_raw": { "changed": false, "errors": [ "" ], "failed": false, "message": "", "msg": [ "" ], "return_code": 0 } } TASK [linux-system-roles.snapshot : Set result] ******************************** task path: /WORKDIR/git-module_workiutp7wl1/tests/roles/linux-system-roles.snapshot/tasks/main.yml:48 Wednesday 22 May 2024 11:17:54 +0000 (0:00:00.010) 0:00:07.525 ********* 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_workiutp7wl1/tests/roles/linux-system-roles.snapshot/tasks/main.yml:52 Wednesday 22 May 2024 11:17:54 +0000 (0:00:00.011) 0:00:07.537 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.snapshot : Show errors] ******************************* task path: /WORKDIR/git-module_workiutp7wl1/tests/roles/linux-system-roles.snapshot/tasks/main.yml:57 Wednesday 22 May 2024 11:17:54 +0000 (0:00:00.011) 0:00:07.548 ********* skipping: [sut] => {} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=9 changed=1 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 Wednesday 22 May 2024 11:17:54 +0000 (0:00:00.008) 0:00:07.556 ********* =============================================================================== linux-system-roles.snapshot : Ensure required packages are installed ---- 6.40s /WORKDIR/git-module_workiutp7wl1/tests/roles/linux-system-roles.snapshot/tasks/main.yml:6 linux-system-roles.snapshot : Ensure ansible_facts used by role --------- 0.56s /WORKDIR/git-module_workiutp7wl1/tests/roles/linux-system-roles.snapshot/tasks/set_vars.yml:2 linux-system-roles.snapshot : Run snapshot module check ----------------- 0.27s /WORKDIR/git-module_workiutp7wl1/tests/roles/linux-system-roles.snapshot/tasks/main.yml:15 linux-system-roles.snapshot : Check if system is ostree ----------------- 0.19s /WORKDIR/git-module_workiutp7wl1/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_workiutp7wl1/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_workiutp7wl1/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_workiutp7wl1/tests/roles/linux-system-roles.snapshot/tasks/main.yml:3 linux-system-roles.snapshot : Set result -------------------------------- 0.01s /WORKDIR/git-module_workiutp7wl1/tests/roles/linux-system-roles.snapshot/tasks/main.yml:48 linux-system-roles.snapshot : Set snapshot_facts to the JSON results ---- 0.01s /WORKDIR/git-module_workiutp7wl1/tests/roles/linux-system-roles.snapshot/tasks/main.yml:52 linux-system-roles.snapshot : Print out response ------------------------ 0.01s /WORKDIR/git-module_workiutp7wl1/tests/roles/linux-system-roles.snapshot/tasks/main.yml:43 linux-system-roles.snapshot : Show errors ------------------------------- 0.01s /WORKDIR/git-module_workiutp7wl1/tests/roles/linux-system-roles.snapshot/tasks/main.yml:57 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---