ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmp5bkr4li_ executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 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: rhel-7_setup.yml ***************************************************** 1 plays in /cache/rhel-7_setup.yml PLAY [Setup repos] ************************************************************* META: ran handlers TASK [set up internal repositories] ******************************************** task path: /cache/rhel-7_setup.yml:5 Thursday 21 July 2022 16:22:53 +0000 (0:00:00.018) 0:00:00.018 ********* changed: [/cache/rhel-7.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-7.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-7.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-7.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-7.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-7.qcow2 : ok=1 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Thursday 21 July 2022 16:22:54 +0000 (0:00:01.394) 0:00:01.412 ********* =============================================================================== set up internal repositories -------------------------------------------- 1.39s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- PLAYBOOK: tests_swap_scsi_generated.yml **************************************** 2 plays in /tmp/tmpaxjje44y/tests/tests_swap_scsi_generated.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpaxjje44y/tests/tests_swap_scsi_generated.yml:3 Thursday 21 July 2022 16:22:54 +0000 (0:00:00.017) 0:00:01.429 ********* ok: [/cache/rhel-7.qcow2] META: ran handlers TASK [set disk interface for test] ********************************************* task path: /tmp/tmpaxjje44y/tests/tests_swap_scsi_generated.yml:7 Thursday 21 July 2022 16:22:55 +0000 (0:00:00.992) 0:00:02.422 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_use_interface": "scsi" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpaxjje44y/tests/tests_swap.yml:2 Thursday 21 July 2022 16:22:55 +0000 (0:00:00.064) 0:00:02.486 ********* ok: [/cache/rhel-7.qcow2] META: ran handlers TASK [include_role : linux-system-roles.storage] ******************************* task path: /tmp/tmpaxjje44y/tests/tests_swap.yml:10 Thursday 21 July 2022 16:22:56 +0000 (0:00:00.732) 0:00:03.218 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 16:22:56 +0000 (0:00:00.036) 0:00:03.254 ********* included: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/rhel-7.qcow2 TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 16:22:56 +0000 (0:00:00.030) 0:00:03.285 ********* ok: [/cache/rhel-7.qcow2] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 16:22:56 +0000 (0:00:00.399) 0:00:03.684 ********* skipping: [/cache/rhel-7.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-7.qcow2] => (item=RedHat_7.yml) => { "ansible_facts": { "__storage_blivet_diskvolume_mkfs_option_map": { "ext2": "-F", "ext3": "-F", "ext4": "-F" }, "blivet_package_list": [ "python-enum34", "python-blivet3", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/vars/RedHat_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.yml" } skipping: [/cache/rhel-7.qcow2] => (item=RedHat_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 16:22:56 +0000 (0:00:00.053) 0:00:03.738 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 16:22:57 +0000 (0:00:00.030) 0:00:03.768 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 16:22:57 +0000 (0:00:00.029) 0:00:03.798 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/rhel-7.qcow2 TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 16:22:57 +0000 (0:00:00.046) 0:00:03.844 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 16:22:57 +0000 (0:00:00.018) 0:00:03.862 ********* changed: [/cache/rhel-7.qcow2] => { "changed": true, "changes": { "installed": [ "python-enum34", "python-blivet3", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "rc": 0, "results": [ "Loaded plugins: search-disabled-repos\nResolving Dependencies\n--> Running transaction check\n---> Package libblockdev-crypto.x86_64 0:2.18-5.el7 will be installed\n--> Processing Dependency: libblockdev-utils(x86-64) = 2.18-5.el7 for package: libblockdev-crypto-2.18-5.el7.x86_64\n--> Processing Dependency: libvolume_key.so.1()(64bit) for package: libblockdev-crypto-2.18-5.el7.x86_64\n--> Processing Dependency: libbd_utils.so.2()(64bit) for package: libblockdev-crypto-2.18-5.el7.x86_64\n---> Package libblockdev-dm.x86_64 0:2.18-5.el7 will be installed\n--> Processing Dependency: libdmraid.so.1(Base)(64bit) for package: libblockdev-dm-2.18-5.el7.x86_64\n--> Processing Dependency: dmraid for package: libblockdev-dm-2.18-5.el7.x86_64\n--> Processing Dependency: libdmraid.so.1()(64bit) for package: libblockdev-dm-2.18-5.el7.x86_64\n---> Package libblockdev-lvm.x86_64 0:2.18-5.el7 will be installed\n--> Processing Dependency: lvm2 for package: libblockdev-lvm-2.18-5.el7.x86_64\n--> Processing Dependency: device-mapper-persistent-data for package: libblockdev-lvm-2.18-5.el7.x86_64\n---> Package libblockdev-mdraid.x86_64 0:2.18-5.el7 will be installed\n--> Processing Dependency: mdadm for package: libblockdev-mdraid-2.18-5.el7.x86_64\n--> Processing Dependency: libbytesize.so.1()(64bit) for package: libblockdev-mdraid-2.18-5.el7.x86_64\n---> Package libblockdev-swap.x86_64 0:2.18-5.el7 will be installed\n---> Package python-enum34.noarch 0:1.0.4-1.el7 will be installed\n---> Package python2-blivet3.noarch 1:3.1.3-3.el7 will be installed\n--> Processing Dependency: blivet3-data = 1:3.1.3-3.el7 for package: 1:python2-blivet3-3.1.3-3.el7.noarch\n--> Processing Dependency: python2-bytesize >= 0.3 for package: 1:python2-blivet3-3.1.3-3.el7.noarch\n--> Processing Dependency: python2-blockdev >= 2.17 for package: 1:python2-blivet3-3.1.3-3.el7.noarch\n--> Processing Dependency: pyparted >= 3.9 for package: 1:python2-blivet3-3.1.3-3.el7.noarch\n--> Processing Dependency: python2-hawkey for package: 1:python2-blivet3-3.1.3-3.el7.noarch\n--> Processing Dependency: lsof for package: 1:python2-blivet3-3.1.3-3.el7.noarch\n--> Running transaction check\n---> Package blivet3-data.noarch 1:3.1.3-3.el7 will be installed\n---> Package device-mapper-persistent-data.x86_64 0:0.8.5-3.el7_9.2 will be installed\n--> Processing Dependency: libaio.so.1(LIBAIO_0.4)(64bit) for package: device-mapper-persistent-data-0.8.5-3.el7_9.2.x86_64\n--> Processing Dependency: libaio.so.1(LIBAIO_0.1)(64bit) for package: device-mapper-persistent-data-0.8.5-3.el7_9.2.x86_64\n--> Processing Dependency: libaio.so.1()(64bit) for package: device-mapper-persistent-data-0.8.5-3.el7_9.2.x86_64\n---> Package dmraid.x86_64 0:1.0.0.rc16-28.el7 will be installed\n--> Processing Dependency: libdevmapper-event.so.1.02(Base)(64bit) for package: dmraid-1.0.0.rc16-28.el7.x86_64\n--> Processing Dependency: dmraid-events for package: dmraid-1.0.0.rc16-28.el7.x86_64\n--> Processing Dependency: libdevmapper-event.so.1.02()(64bit) for package: dmraid-1.0.0.rc16-28.el7.x86_64\n---> Package libblockdev-utils.x86_64 0:2.18-5.el7 will be installed\n---> Package libbytesize.x86_64 0:1.2-1.el7 will be installed\n--> Processing Dependency: libmpfr.so.4()(64bit) for package: libbytesize-1.2-1.el7.x86_64\n---> Package lsof.x86_64 0:4.87-6.el7 will be installed\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: liblvm2app.so.2.2(Base)(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---> Package mdadm.x86_64 0:4.1-9.el7_9 will be installed\n--> Processing Dependency: libreport-filesystem for package: mdadm-4.1-9.el7_9.x86_64\n---> Package pyparted.x86_64 1:3.9-15.el7 will be installed\n---> Package python2-blockdev.x86_64 0:2.18-5.el7 will be installed\n--> Processing Dependency: libblockdev(x86-64) = 2.18-5.el7 for package: python2-blockdev-2.18-5.el7.x86_64\n---> Package python2-bytesize.x86_64 0:1.2-1.el7 will be installed\n---> Package python2-hawkey.x86_64 0:0.22.5-2.el7_9 will be installed\n--> Processing Dependency: libdnf(x86-64) = 0.22.5-2.el7_9 for package: python2-hawkey-0.22.5-2.el7_9.x86_64\n--> Processing Dependency: python2-libdnf = 0.22.5-2.el7_9 for package: python2-hawkey-0.22.5-2.el7_9.x86_64\n--> Processing Dependency: libsolv.so.0(SOLV_1.0)(64bit) for package: python2-hawkey-0.22.5-2.el7_9.x86_64\n--> Processing Dependency: libsolvext.so.0(SOLV_1.0)(64bit) for package: python2-hawkey-0.22.5-2.el7_9.x86_64\n--> Processing Dependency: libdnf.so.2()(64bit) for package: python2-hawkey-0.22.5-2.el7_9.x86_64\n--> Processing Dependency: libjson-glib-1.0.so.0()(64bit) for package: python2-hawkey-0.22.5-2.el7_9.x86_64\n--> Processing Dependency: libmodulemd.so.1()(64bit) for package: python2-hawkey-0.22.5-2.el7_9.x86_64\n--> Processing Dependency: librepo.so.0()(64bit) for package: python2-hawkey-0.22.5-2.el7_9.x86_64\n--> Processing Dependency: librhsm.so.0()(64bit) for package: python2-hawkey-0.22.5-2.el7_9.x86_64\n--> Processing Dependency: libsolv.so.0()(64bit) for package: python2-hawkey-0.22.5-2.el7_9.x86_64\n--> Processing Dependency: libsolvext.so.0()(64bit) for package: python2-hawkey-0.22.5-2.el7_9.x86_64\n---> Package volume_key-libs.x86_64 0:0.3.9-9.el7 will be installed\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 dmraid-events.x86_64 0:1.0.0.rc16-28.el7 will be installed\n--> Processing Dependency: sgpio for package: dmraid-events-1.0.0.rc16-28.el7.x86_64\n--> Processing Dependency: device-mapper-event for package: dmraid-events-1.0.0.rc16-28.el7.x86_64\n---> Package json-glib.x86_64 0:1.4.2-2.el7 will be installed\n---> Package libaio.x86_64 0:0.3.109-13.el7 will be installed\n---> Package libblockdev.x86_64 0:2.18-5.el7 will be installed\n---> Package libdnf.x86_64 0:0.22.5-2.el7_9 will be installed\n---> Package libmodulemd.x86_64 0:1.6.3-1.el7 will be installed\n---> Package librepo.x86_64 0:1.8.1-8.el7_9 will be installed\n---> Package libreport-filesystem.x86_64 0:2.1.11-53.el7 will be installed\n---> Package librhsm.x86_64 0:0.0.3-3.el7_9 will be installed\n---> Package libsolv.x86_64 0:0.6.34-4.el7 will be installed\n---> Package lvm2-libs.x86_64 7:2.02.187-6.el7_9.5 will be installed\n---> Package mpfr.x86_64 0:3.1.1-4.el7 will be installed\n---> Package python2-libdnf.x86_64 0:0.22.5-2.el7_9 will be installed\n--> Running transaction check\n---> Package device-mapper-event.x86_64 7:1.02.170-6.el7_9.5 will be installed\n---> Package sgpio.x86_64 0:1.2.0.10-13.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n libblockdev-crypto x86_64 2.18-5.el7 rhel 60 k\n libblockdev-dm x86_64 2.18-5.el7 rhel-optional 54 k\n libblockdev-lvm x86_64 2.18-5.el7 rhel 62 k\n libblockdev-mdraid x86_64 2.18-5.el7 rhel 57 k\n libblockdev-swap x86_64 2.18-5.el7 rhel 52 k\n python-enum34 noarch 1.0.4-1.el7 rhel 52 k\n python2-blivet3 noarch 1:3.1.3-3.el7 rhel 851 k\nInstalling for dependencies:\n blivet3-data noarch 1:3.1.3-3.el7 rhel 77 k\n device-mapper-event\n x86_64 7:1.02.170-6.el7_9.5 rhel 192 k\n device-mapper-event-libs\n x86_64 7:1.02.170-6.el7_9.5 rhel 192 k\n device-mapper-persistent-data\n x86_64 0.8.5-3.el7_9.2 rhel 423 k\n dmraid x86_64 1.0.0.rc16-28.el7 rhel 151 k\n dmraid-events x86_64 1.0.0.rc16-28.el7 rhel 21 k\n json-glib x86_64 1.4.2-2.el7 rhel 134 k\n libaio x86_64 0.3.109-13.el7 rhel 24 k\n libblockdev x86_64 2.18-5.el7 rhel 119 k\n libblockdev-utils x86_64 2.18-5.el7 rhel 59 k\n libbytesize x86_64 1.2-1.el7 rhel 52 k\n libdnf x86_64 0.22.5-2.el7_9 rhel-7-server-extras-rpms 536 k\n libmodulemd x86_64 1.6.3-1.el7 rhel-7-server-extras-rpms 153 k\n librepo x86_64 1.8.1-8.el7_9 rhel 82 k\n libreport-filesystem\n x86_64 2.1.11-53.el7 rhel 41 k\n librhsm x86_64 0.0.3-3.el7_9 rhel-7-server-extras-rpms 28 k\n libsolv x86_64 0.6.34-4.el7 rhel 329 k\n lsof x86_64 4.87-6.el7 rhel 331 k\n lvm2 x86_64 7:2.02.187-6.el7_9.5 rhel 1.3 M\n lvm2-libs x86_64 7:2.02.187-6.el7_9.5 rhel 1.1 M\n mdadm x86_64 4.1-9.el7_9 rhel 440 k\n mpfr x86_64 3.1.1-4.el7 rhel 203 k\n pyparted x86_64 1:3.9-15.el7 rhel 195 k\n python2-blockdev x86_64 2.18-5.el7 rhel 61 k\n python2-bytesize x86_64 1.2-1.el7 rhel 22 k\n python2-hawkey x86_64 0.22.5-2.el7_9 rhel-7-server-extras-rpms 71 k\n python2-libdnf x86_64 0.22.5-2.el7_9 rhel-7-server-extras-rpms 611 k\n sgpio x86_64 1.2.0.10-13.el7 rhel 14 k\n volume_key-libs x86_64 0.3.9-9.el7 rhel 141 k\n\nTransaction Summary\n================================================================================\nInstall 7 Packages (+29 Dependent packages)\n\nTotal download size: 8.2 M\nInstalled size: 24 M\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 18 MB/s | 8.2 MB 00:00 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : libblockdev-utils-2.18-5.el7.x86_64 1/36 \n Installing : 7:device-mapper-event-libs-1.02.170-6.el7_9.5.x86_64 2/36 \n Installing : json-glib-1.4.2-2.el7.x86_64 3/36 \n Installing : librhsm-0.0.3-3.el7_9.x86_64 4/36 \n Installing : libsolv-0.6.34-4.el7.x86_64 5/36 \n Installing : libaio-0.3.109-13.el7.x86_64 6/36 \n Installing : librepo-1.8.1-8.el7_9.x86_64 7/36 \n Installing : libmodulemd-1.6.3-1.el7.x86_64 8/36 \n Installing : libdnf-0.22.5-2.el7_9.x86_64 9/36 \n Installing : device-mapper-persistent-data-0.8.5-3.el7_9.2.x86_64 10/36 \n Installing : 7:device-mapper-event-1.02.170-6.el7_9.5.x86_64 11/36 \n Installing : 7:lvm2-libs-2.02.187-6.el7_9.5.x86_64 12/36 \n Installing : 7:lvm2-2.02.187-6.el7_9.5.x86_64 13/36 \n Installing : python2-libdnf-0.22.5-2.el7_9.x86_64 14/36 \n Installing : python2-hawkey-0.22.5-2.el7_9.x86_64 15/36 \n Installing : libblockdev-2.18-5.el7.x86_64 16/36 \n Installing : python2-blockdev-2.18-5.el7.x86_64 17/36 \n Installing : 1:pyparted-3.9-15.el7.x86_64 18/36 \n Installing : sgpio-1.2.0.10-13.el7.x86_64 19/36 \n Installing : dmraid-1.0.0.rc16-28.el7.x86_64 20/36 \n Installing : dmraid-events-1.0.0.rc16-28.el7.x86_64 21/36 \n Installing : volume_key-libs-0.3.9-9.el7.x86_64 22/36 \n Installing : mpfr-3.1.1-4.el7.x86_64 23/36 \n Installing : libbytesize-1.2-1.el7.x86_64 24/36 \n Installing : python2-bytesize-1.2-1.el7.x86_64 25/36 \n Installing : libreport-filesystem-2.1.11-53.el7.x86_64 26/36 \n Installing : mdadm-4.1-9.el7_9.x86_64 27/36 \n Installing : 1:blivet3-data-3.1.3-3.el7.noarch 28/36 \n Installing : lsof-4.87-6.el7.x86_64 29/36 \n Installing : 1:python2-blivet3-3.1.3-3.el7.noarch 30/36 \n Installing : libblockdev-mdraid-2.18-5.el7.x86_64 31/36 \n Installing : libblockdev-crypto-2.18-5.el7.x86_64 32/36 \n Installing : libblockdev-dm-2.18-5.el7.x86_64 33/36 \n Installing : libblockdev-lvm-2.18-5.el7.x86_64 34/36 \n Installing : libblockdev-swap-2.18-5.el7.x86_64 35/36 \n Installing : python-enum34-1.0.4-1.el7.noarch 36/36 \n Verifying : 7:device-mapper-event-1.02.170-6.el7_9.5.x86_64 1/36 \n Verifying : libblockdev-swap-2.18-5.el7.x86_64 2/36 \n Verifying : librhsm-0.0.3-3.el7_9.x86_64 3/36 \n Verifying : libblockdev-lvm-2.18-5.el7.x86_64 4/36 \n Verifying : lsof-4.87-6.el7.x86_64 5/36 \n Verifying : libblockdev-mdraid-2.18-5.el7.x86_64 6/36 \n Verifying : libdnf-0.22.5-2.el7_9.x86_64 7/36 \n Verifying : python-enum34-1.0.4-1.el7.noarch 8/36 \n Verifying : 1:blivet3-data-3.1.3-3.el7.noarch 9/36 \n Verifying : dmraid-events-1.0.0.rc16-28.el7.x86_64 10/36 \n Verifying : python2-blockdev-2.18-5.el7.x86_64 11/36 \n Verifying : libmodulemd-1.6.3-1.el7.x86_64 12/36 \n Verifying : librepo-1.8.1-8.el7_9.x86_64 13/36 \n Verifying : libblockdev-dm-2.18-5.el7.x86_64 14/36 \n Verifying : json-glib-1.4.2-2.el7.x86_64 15/36 \n Verifying : libaio-0.3.109-13.el7.x86_64 16/36 \n Verifying : 7:lvm2-libs-2.02.187-6.el7_9.5.x86_64 17/36 \n Verifying : python2-hawkey-0.22.5-2.el7_9.x86_64 18/36 \n Verifying : python2-bytesize-1.2-1.el7.x86_64 19/36 \n Verifying : libblockdev-2.18-5.el7.x86_64 20/36 \n Verifying : libreport-filesystem-2.1.11-53.el7.x86_64 21/36 \n Verifying : libbytesize-1.2-1.el7.x86_64 22/36 \n Verifying : 7:device-mapper-event-libs-1.02.170-6.el7_9.5.x86_64 23/36 \n Verifying : python2-libdnf-0.22.5-2.el7_9.x86_64 24/36 \n Verifying : 7:lvm2-2.02.187-6.el7_9.5.x86_64 25/36 \n Verifying : libblockdev-utils-2.18-5.el7.x86_64 26/36 \n Verifying : mpfr-3.1.1-4.el7.x86_64 27/36 \n Verifying : volume_key-libs-0.3.9-9.el7.x86_64 28/36 \n Verifying : libsolv-0.6.34-4.el7.x86_64 29/36 \n Verifying : device-mapper-persistent-data-0.8.5-3.el7_9.2.x86_64 30/36 \n Verifying : 1:python2-blivet3-3.1.3-3.el7.noarch 31/36 \n Verifying : dmraid-1.0.0.rc16-28.el7.x86_64 32/36 \n Verifying : mdadm-4.1-9.el7_9.x86_64 33/36 \n Verifying : sgpio-1.2.0.10-13.el7.x86_64 34/36 \n Verifying : libblockdev-crypto-2.18-5.el7.x86_64 35/36 \n Verifying : 1:pyparted-3.9-15.el7.x86_64 36/36 \n\nInstalled:\n libblockdev-crypto.x86_64 0:2.18-5.el7 libblockdev-dm.x86_64 0:2.18-5.el7 \n libblockdev-lvm.x86_64 0:2.18-5.el7 libblockdev-mdraid.x86_64 0:2.18-5.el7\n libblockdev-swap.x86_64 0:2.18-5.el7 python-enum34.noarch 0:1.0.4-1.el7 \n python2-blivet3.noarch 1:3.1.3-3.el7 \n\nDependency Installed:\n blivet3-data.noarch 1:3.1.3-3.el7 \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 dmraid.x86_64 0:1.0.0.rc16-28.el7 \n dmraid-events.x86_64 0:1.0.0.rc16-28.el7 \n json-glib.x86_64 0:1.4.2-2.el7 \n libaio.x86_64 0:0.3.109-13.el7 \n libblockdev.x86_64 0:2.18-5.el7 \n libblockdev-utils.x86_64 0:2.18-5.el7 \n libbytesize.x86_64 0:1.2-1.el7 \n libdnf.x86_64 0:0.22.5-2.el7_9 \n libmodulemd.x86_64 0:1.6.3-1.el7 \n librepo.x86_64 0:1.8.1-8.el7_9 \n libreport-filesystem.x86_64 0:2.1.11-53.el7 \n librhsm.x86_64 0:0.0.3-3.el7_9 \n libsolv.x86_64 0:0.6.34-4.el7 \n lsof.x86_64 0:4.87-6.el7 \n lvm2.x86_64 7:2.02.187-6.el7_9.5 \n lvm2-libs.x86_64 7:2.02.187-6.el7_9.5 \n mdadm.x86_64 0:4.1-9.el7_9 \n mpfr.x86_64 0:3.1.1-4.el7 \n pyparted.x86_64 1:3.9-15.el7 \n python2-blockdev.x86_64 0:2.18-5.el7 \n python2-bytesize.x86_64 0:1.2-1.el7 \n python2-hawkey.x86_64 0:0.22.5-2.el7_9 \n python2-libdnf.x86_64 0:0.22.5-2.el7_9 \n sgpio.x86_64 0:1.2.0.10-13.el7 \n volume_key-libs.x86_64 0:0.3.9-9.el7 \n\nComplete!\n" ] } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 16:23:05 +0000 (0:00:08.636) 0:00:12.498 ********* ok: [/cache/rhel-7.qcow2] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 16:23:05 +0000 (0:00:00.078) 0:00:12.577 ********* ok: [/cache/rhel-7.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 16:23:05 +0000 (0:00:00.060) 0:00:12.637 ********* ok: [/cache/rhel-7.qcow2] => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 16:23:06 +0000 (0:00:00.620) 0:00:13.258 ********* included: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml for /cache/rhel-7.qcow2 TASK [linux-system-roles.storage : check if the COPR support packages should be installed] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml:2 Thursday 21 July 2022 16:23:06 +0000 (0:00:00.039) 0:00:13.298 ********* TASK [linux-system-roles.storage : make sure COPR support packages are present] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml:13 Thursday 21 July 2022 16:23:06 +0000 (0:00:00.028) 0:00:13.326 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable COPRs] ******************************* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml:18 Thursday 21 July 2022 16:23:06 +0000 (0:00:00.033) 0:00:13.359 ********* TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 16:23:06 +0000 (0:00:00.030) 0:00:13.390 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [] } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 16:23:07 +0000 (0:00:00.530) 0:00:13.920 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "services": { "NetworkManager-dispatcher.service": { "name": "NetworkManager-dispatcher.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "NetworkManager-wait-online.service": { "name": "NetworkManager-wait-online.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "NetworkManager.service": { "name": "NetworkManager.service", "source": "systemd", "state": "running", "status": "enabled" }, "arp-ethers.service": { "name": "arp-ethers.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "auditd.service": { "name": "auditd.service", "source": "systemd", "state": "running", "status": "enabled" }, "auth-rpcgss-module.service": { "name": "auth-rpcgss-module.service", "source": "systemd", "state": "stopped", "status": "static" }, "autovt@.service": { "name": "autovt@.service", "source": "systemd", "state": "unknown", "status": "enabled" }, "blivet.service": { "name": "blivet.service", "source": "systemd", "state": "inactive", "status": "static" }, "blk-availability.service": { "name": "blk-availability.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "brandbot.service": { "name": "brandbot.service", "source": "systemd", "state": "stopped", "status": "static" }, "chrony-dnssrv@.service": { "name": "chrony-dnssrv@.service", "source": "systemd", "state": "unknown", "status": "static" }, "chrony-wait.service": { "name": "chrony-wait.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "chronyd.service": { "name": "chronyd.service", "source": "systemd", "state": "running", "status": "enabled" }, "cloud-config.service": { "name": "cloud-config.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-final.service": { "name": "cloud-final.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init-local.service": { "name": "cloud-init-local.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init.service": { "name": "cloud-init.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "console-getty.service": { "name": "console-getty.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "console-shell.service": { "name": "console-shell.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "container-getty@.service": { "name": "container-getty@.service", "source": "systemd", "state": "unknown", "status": "static" }, "cpupower.service": { "name": "cpupower.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "crond.service": { "name": "crond.service", "source": "systemd", "state": "running", "status": "enabled" }, "dbus-org.freedesktop.hostname1.service": { "name": "dbus-org.freedesktop.hostname1.service", "source": "systemd", "state": "active", "status": "static" }, "dbus-org.freedesktop.import1.service": { "name": "dbus-org.freedesktop.import1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus-org.freedesktop.locale1.service": { "name": "dbus-org.freedesktop.locale1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus-org.freedesktop.login1.service": { "name": "dbus-org.freedesktop.login1.service", "source": "systemd", "state": "active", "status": "static" }, "dbus-org.freedesktop.machine1.service": { "name": "dbus-org.freedesktop.machine1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus-org.freedesktop.nm-dispatcher.service": { "name": "dbus-org.freedesktop.nm-dispatcher.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "dbus-org.freedesktop.timedate1.service": { "name": "dbus-org.freedesktop.timedate1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus.service": { "name": "dbus.service", "source": "systemd", "state": "running", "status": "static" }, "debug-shell.service": { "name": "debug-shell.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "display-manager.service": { "name": "display-manager.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "dm-event.service": { "name": "dm-event.service", "source": "systemd", "state": "stopped", "status": "static" }, "dmraid-activation.service": { "name": "dmraid-activation.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "dracut-cmdline.service": { "name": "dracut-cmdline.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-initqueue.service": { "name": "dracut-initqueue.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-mount.service": { "name": "dracut-mount.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-mount.service": { "name": "dracut-pre-mount.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-pivot.service": { "name": "dracut-pre-pivot.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-trigger.service": { "name": "dracut-pre-trigger.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-udev.service": { "name": "dracut-pre-udev.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-shutdown.service": { "name": "dracut-shutdown.service", "source": "systemd", "state": "stopped", "status": "static" }, "emergency.service": { "name": "emergency.service", "source": "systemd", "state": "stopped", "status": "static" }, "exim.service": { "name": "exim.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "fstrim.service": { "name": "fstrim.service", "source": "systemd", "state": "inactive", "status": "static" }, "getty@.service": { "name": "getty@.service", "source": "systemd", "state": "unknown", "status": "enabled" }, "getty@tty1.service": { "name": "getty@tty1.service", "source": "systemd", "state": "running", "status": "active" }, "gssproxy.service": { "name": "gssproxy.service", "source": "systemd", "state": "running", "status": "disabled" }, "halt-local.service": { "name": "halt-local.service", "source": "systemd", "state": "inactive", "status": "static" }, "initrd-cleanup.service": { "name": "initrd-cleanup.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-parse-etc.service": { "name": "initrd-parse-etc.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-switch-root.service": { "name": "initrd-switch-root.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-udevadm-cleanup-db.service": { "name": "initrd-udevadm-cleanup-db.service", "source": "systemd", "state": "stopped", "status": "static" }, "ip6tables.service": { "name": "ip6tables.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "iptables.service": { "name": "iptables.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "irqbalance.service": { "name": "irqbalance.service", "source": "systemd", "state": "running", "status": "enabled" }, "kdump.service": { "name": "kdump.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "kmod-static-nodes.service": { "name": "kmod-static-nodes.service", "source": "systemd", "state": "stopped", "status": "static" }, "lvm2-activation-early.service": { "name": "lvm2-activation-early.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "lvm2-activation.service": { "name": "lvm2-activation.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "lvm2-lvmetad.service": { "name": "lvm2-lvmetad.service", "source": "systemd", "state": "running", "status": "static" }, "lvm2-lvmpolld.service": { "name": "lvm2-lvmpolld.service", "source": "systemd", "state": "stopped", "status": "static" }, "lvm2-monitor.service": { "name": "lvm2-monitor.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "lvm2-pvscan@.service": { "name": "lvm2-pvscan@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdadm-grow-continue@.service": { "name": "mdadm-grow-continue@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdadm-last-resort@.service": { "name": "mdadm-last-resort@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdcheck_continue.service": { "name": "mdcheck_continue.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdcheck_start.service": { "name": "mdcheck_start.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdmon@.service": { "name": "mdmon@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdmonitor-oneshot.service": { "name": "mdmonitor-oneshot.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdmonitor.service": { "name": "mdmonitor.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "messagebus.service": { "name": "messagebus.service", "source": "systemd", "state": "active", "status": "static" }, "microcode.service": { "name": "microcode.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "netconsole": { "name": "netconsole", "source": "sysv", "state": "stopped", "status": "disabled" }, "network": { "name": "network", "source": "sysv", "state": "running", "status": "enabled" }, "network.service": { "name": "network.service", "source": "systemd", "state": "stopped", "status": "active" }, "nfs-blkmap.service": { "name": "nfs-blkmap.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nfs-config.service": { "name": "nfs-config.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-idmap.service": { "name": "nfs-idmap.service", "source": "systemd", "state": "inactive", "status": "static" }, "nfs-idmapd.service": { "name": "nfs-idmapd.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-lock.service": { "name": "nfs-lock.service", "source": "systemd", "state": "inactive", "status": "static" }, "nfs-mountd.service": { "name": "nfs-mountd.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-rquotad.service": { "name": "nfs-rquotad.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nfs-secure-server.service": { "name": "nfs-secure-server.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "nfs-secure.service": { "name": "nfs-secure.service", "source": "systemd", "state": "inactive", "status": "static" }, "nfs-server.service": { "name": "nfs-server.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "nfs-utils.service": { "name": "nfs-utils.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs.service": { "name": "nfs.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nfslock.service": { "name": "nfslock.service", "source": "systemd", "state": "inactive", "status": "static" }, "ntpd.service": { "name": "ntpd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ntpdate.service": { "name": "ntpdate.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ovirt-guest-agent.service": { "name": "ovirt-guest-agent.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "plymouth-quit-wait.service": { "name": "plymouth-quit-wait.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "plymouth-start.service": { "name": "plymouth-start.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "polkit.service": { "name": "polkit.service", "source": "systemd", "state": "running", "status": "static" }, "postfix.service": { "name": "postfix.service", "source": "systemd", "state": "running", "status": "enabled" }, "qemu-guest-agent.service": { "name": "qemu-guest-agent.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "quotaon.service": { "name": "quotaon.service", "source": "systemd", "state": "inactive", "status": "static" }, "rc-local.service": { "name": "rc-local.service", "source": "systemd", "state": "stopped", "status": "static" }, "rdisc.service": { "name": "rdisc.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rescue.service": { "name": "rescue.service", "source": "systemd", "state": "stopped", "status": "static" }, "rhcd.service": { "name": "rhcd.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rhel-autorelabel-mark.service": { "name": "rhel-autorelabel-mark.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-autorelabel.service": { "name": "rhel-autorelabel.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-configure.service": { "name": "rhel-configure.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-dmesg.service": { "name": "rhel-dmesg.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-domainname.service": { "name": "rhel-domainname.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-import-state.service": { "name": "rhel-import-state.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-loadmodules.service": { "name": "rhel-loadmodules.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-readonly.service": { "name": "rhel-readonly.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhnsd": { "name": "rhnsd", "source": "sysv", "state": "running", "status": "enabled" }, "rhnsd.service": { "name": "rhnsd.service", "source": "systemd", "state": "running", "status": "active" }, "rhsm-facts.service": { "name": "rhsm-facts.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rhsm.service": { "name": "rhsm.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rhsmcertd.service": { "name": "rhsmcertd.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rpc-gssd.service": { "name": "rpc-gssd.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpc-rquotad.service": { "name": "rpc-rquotad.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rpc-statd-notify.service": { "name": "rpc-statd-notify.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpc-statd.service": { "name": "rpc-statd.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpcbind.service": { "name": "rpcbind.service", "source": "systemd", "state": "running", "status": "enabled" }, "rpcgssd.service": { "name": "rpcgssd.service", "source": "systemd", "state": "inactive", "status": "static" }, "rpcidmapd.service": { "name": "rpcidmapd.service", "source": "systemd", "state": "inactive", "status": "static" }, "rsyncd.service": { "name": "rsyncd.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rsyncd@.service": { "name": "rsyncd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "rsyslog.service": { "name": "rsyslog.service", "source": "systemd", "state": "running", "status": "enabled" }, "selinux-policy-migrate-local-changes@.service": { "name": "selinux-policy-migrate-local-changes@.service", "source": "systemd", "state": "unknown", "status": "static" }, "selinux-policy-migrate-local-changes@targeted.service": { "name": "selinux-policy-migrate-local-changes@targeted.service", "source": "systemd", "state": "stopped", "status": "active" }, "sendmail.service": { "name": "sendmail.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "serial-getty@.service": { "name": "serial-getty@.service", "source": "systemd", "state": "unknown", "status": "disabled" }, "serial-getty@ttyS0.service": { "name": "serial-getty@ttyS0.service", "source": "systemd", "state": "running", "status": "active" }, "sntp.service": { "name": "sntp.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "sshd-keygen.service": { "name": "sshd-keygen.service", "source": "systemd", "state": "stopped", "status": "static" }, "sshd.service": { "name": "sshd.service", "source": "systemd", "state": "running", "status": "enabled" }, "sshd@.service": { "name": "sshd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "syslog.service": { "name": "syslog.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "systemd-ask-password-console.service": { "name": "systemd-ask-password-console.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-ask-password-wall.service": { "name": "systemd-ask-password-wall.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-backlight@.service": { "name": "systemd-backlight@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-binfmt.service": { "name": "systemd-binfmt.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-bootchart.service": { "name": "systemd-bootchart.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-firstboot.service": { "name": "systemd-firstboot.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-fsck-root.service": { "name": "systemd-fsck-root.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-fsck@.service": { "name": "systemd-fsck@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-halt.service": { "name": "systemd-halt.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-hibernate-resume@.service": { "name": "systemd-hibernate-resume@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-hibernate.service": { "name": "systemd-hibernate.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-hostnamed.service": { "name": "systemd-hostnamed.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-hwdb-update.service": { "name": "systemd-hwdb-update.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-hybrid-sleep.service": { "name": "systemd-hybrid-sleep.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-importd.service": { "name": "systemd-importd.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-initctl.service": { "name": "systemd-initctl.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journal-catalog-update.service": { "name": "systemd-journal-catalog-update.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journal-flush.service": { "name": "systemd-journal-flush.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journald.service": { "name": "systemd-journald.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-kexec.service": { "name": "systemd-kexec.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-localed.service": { "name": "systemd-localed.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-logind.service": { "name": "systemd-logind.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-machine-id-commit.service": { "name": "systemd-machine-id-commit.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-machined.service": { "name": "systemd-machined.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-modules-load.service": { "name": "systemd-modules-load.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-nspawn@.service": { "name": "systemd-nspawn@.service", "source": "systemd", "state": "unknown", "status": "disabled" }, "systemd-poweroff.service": { "name": "systemd-poweroff.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-quotacheck.service": { "name": "systemd-quotacheck.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-random-seed.service": { "name": "systemd-random-seed.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-readahead-collect.service": { "name": "systemd-readahead-collect.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "systemd-readahead-done.service": { "name": "systemd-readahead-done.service", "source": "systemd", "state": "stopped", "status": "indirect" }, "systemd-readahead-drop.service": { "name": "systemd-readahead-drop.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "systemd-readahead-replay.service": { "name": "systemd-readahead-replay.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "systemd-reboot.service": { "name": "systemd-reboot.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-remount-fs.service": { "name": "systemd-remount-fs.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-rfkill@.service": { "name": "systemd-rfkill@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-shutdownd.service": { "name": "systemd-shutdownd.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-suspend.service": { "name": "systemd-suspend.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-sysctl.service": { "name": "systemd-sysctl.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-sysusers.service": { "name": "systemd-sysusers.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "systemd-timedated.service": { "name": "systemd-timedated.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-timesyncd.service": { "name": "systemd-timesyncd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "systemd-tmpfiles-clean.service": { "name": "systemd-tmpfiles-clean.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-tmpfiles-setup-dev.service": { "name": "systemd-tmpfiles-setup-dev.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-tmpfiles-setup.service": { "name": "systemd-tmpfiles-setup.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udev-settle.service": { "name": "systemd-udev-settle.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udev-trigger.service": { "name": "systemd-udev-trigger.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udevd.service": { "name": "systemd-udevd.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-update-done.service": { "name": "systemd-update-done.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-update-utmp-runlevel.service": { "name": "systemd-update-utmp-runlevel.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-update-utmp.service": { "name": "systemd-update-utmp.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-user-sessions.service": { "name": "systemd-user-sessions.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-vconsole-setup.service": { "name": "systemd-vconsole-setup.service", "source": "systemd", "state": "stopped", "status": "static" }, "teamd@.service": { "name": "teamd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "tuned.service": { "name": "tuned.service", "source": "systemd", "state": "running", "status": "enabled" }, "wpa_supplicant.service": { "name": "wpa_supplicant.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "ypbind.service": { "name": "ypbind.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "yppasswdd.service": { "name": "yppasswdd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ypserv.service": { "name": "ypserv.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ypxfrd.service": { "name": "ypxfrd.service", "source": "systemd", "state": "stopped", "status": "not-found" } } }, "changed": false } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 16:23:08 +0000 (0:00:01.108) 0:00:15.029 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 16:23:08 +0000 (0:00:00.057) 0:00:15.086 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 16:23:08 +0000 (0:00:00.023) 0:00:15.110 ********* ok: [/cache/rhel-7.qcow2] => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 16:23:08 +0000 (0:00:00.469) 0:00:15.579 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 16:23:08 +0000 (0:00:00.033) 0:00:15.613 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 16:23:08 +0000 (0:00:00.019) 0:00:15.633 ********* ok: [/cache/rhel-7.qcow2] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 16:23:08 +0000 (0:00:00.040) 0:00:15.673 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 16:23:08 +0000 (0:00:00.036) 0:00:15.709 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 16:23:08 +0000 (0:00:00.035) 0:00:15.745 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 16:23:09 +0000 (0:00:00.035) 0:00:15.780 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 16:23:09 +0000 (0:00:00.022) 0:00:15.803 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 16:23:09 +0000 (0:00:00.035) 0:00:15.838 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 16:23:09 +0000 (0:00:00.023) 0:00:15.862 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1658420582.2812886, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658201031.524, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 70, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1658200515.884, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "18446744071677828413", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 16:23:09 +0000 (0:00:00.434) 0:00:16.296 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 16:23:09 +0000 (0:00:00.023) 0:00:16.320 ********* ok: [/cache/rhel-7.qcow2] META: role_complete for /cache/rhel-7.qcow2 TASK [Mark tasks to be skipped] ************************************************ task path: /tmp/tmpaxjje44y/tests/tests_swap.yml:13 Thursday 21 July 2022 16:23:10 +0000 (0:00:00.835) 0:00:17.155 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_skip_checks": [ "blivet_available", "packages_installed", "service_facts" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpaxjje44y/tests/tests_swap.yml:20 Thursday 21 July 2022 16:23:10 +0000 (0:00:00.034) 0:00:17.190 ********* included: /tmp/tmpaxjje44y/tests/get_unused_disk.yml for /cache/rhel-7.qcow2 TASK [Find unused disks in the system] ***************************************** task path: /tmp/tmpaxjje44y/tests/get_unused_disk.yml:2 Thursday 21 July 2022 16:23:10 +0000 (0:00:00.035) 0:00:17.226 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "disks": [ "sdb", "sdc" ] } TASK [Set unused_disks if necessary] ******************************************* task path: /tmp/tmpaxjje44y/tests/get_unused_disk.yml:9 Thursday 21 July 2022 16:23:10 +0000 (0:00:00.478) 0:00:17.704 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "unused_disks": [ "sdb", "sdc" ] }, "changed": false } TASK [Exit playbook when there's not enough unused disks in the system] ******** task path: /tmp/tmpaxjje44y/tests/get_unused_disk.yml:14 Thursday 21 July 2022 16:23:10 +0000 (0:00:00.037) 0:00:17.742 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Print unused disks] ****************************************************** task path: /tmp/tmpaxjje44y/tests/get_unused_disk.yml:19 Thursday 21 July 2022 16:23:11 +0000 (0:00:00.038) 0:00:17.780 ********* ok: [/cache/rhel-7.qcow2] => { "unused_disks": [ "sdb", "sdc" ] } TASK [Create a disk device with swap] ****************************************** task path: /tmp/tmpaxjje44y/tests/tests_swap.yml:25 Thursday 21 July 2022 16:23:11 +0000 (0:00:00.068) 0:00:17.848 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 16:23:11 +0000 (0:00:00.069) 0:00:17.918 ********* included: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/rhel-7.qcow2 TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 16:23:11 +0000 (0:00:00.032) 0:00:17.951 ********* ok: [/cache/rhel-7.qcow2] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 16:23:11 +0000 (0:00:00.406) 0:00:18.357 ********* skipping: [/cache/rhel-7.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-7.qcow2] => (item=RedHat_7.yml) => { "ansible_facts": { "__storage_blivet_diskvolume_mkfs_option_map": { "ext2": "-F", "ext3": "-F", "ext4": "-F" }, "blivet_package_list": [ "python-enum34", "python-blivet3", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/vars/RedHat_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.yml" } skipping: [/cache/rhel-7.qcow2] => (item=RedHat_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 16:23:11 +0000 (0:00:00.062) 0:00:18.420 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 16:23:11 +0000 (0:00:00.032) 0:00:18.453 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 16:23:11 +0000 (0:00:00.032) 0:00:18.485 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/rhel-7.qcow2 TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 16:23:11 +0000 (0:00:00.046) 0:00:18.532 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 16:23:11 +0000 (0:00:00.021) 0:00:18.553 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 16:23:11 +0000 (0:00:00.028) 0:00:18.582 ********* ok: [/cache/rhel-7.qcow2] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 16:23:11 +0000 (0:00:00.040) 0:00:18.622 ********* ok: [/cache/rhel-7.qcow2] => { "storage_volumes": [ { "disks": [ "sdb" ], "fs_type": "swap", "name": "test1", "type": "disk" } ] } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 16:23:11 +0000 (0:00:00.051) 0:00:18.674 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 16:23:11 +0000 (0:00:00.030) 0:00:18.704 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 16:23:11 +0000 (0:00:00.026) 0:00:18.731 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 16:23:11 +0000 (0:00:00.025) 0:00:18.757 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 16:23:12 +0000 (0:00:00.031) 0:00:18.789 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 16:23:12 +0000 (0:00:00.055) 0:00:18.845 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 16:23:12 +0000 (0:00:00.021) 0:00:18.866 ********* changed: [/cache/rhel-7.qcow2] => { "actions": [ { "action": "create format", "device": "/dev/sdb", "fs_type": "swap" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "dump": 0, "fstype": "swap", "opts": "defaults", "passno": 0, "path": "none", "src": "UUID=020c7944-5f24-4939-8d0e-c58555f4d496", "state": "present" } ], "packages": [ "xfsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sdb", "_kernel_device": "/dev/sdb", "_mount_id": "UUID=020c7944-5f24-4939-8d0e-c58555f4d496", "_raw_device": "/dev/sdb", "_raw_kernel_device": "/dev/sdb", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 16:23:13 +0000 (0:00:01.060) 0:00:19.927 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 16:23:13 +0000 (0:00:00.035) 0:00:19.963 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 16:23:13 +0000 (0:00:00.020) 0:00:19.984 ********* ok: [/cache/rhel-7.qcow2] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/sdb", "fs_type": "swap" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "dump": 0, "fstype": "swap", "opts": "defaults", "passno": 0, "path": "none", "src": "UUID=020c7944-5f24-4939-8d0e-c58555f4d496", "state": "present" } ], "packages": [ "xfsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sdb", "_kernel_device": "/dev/sdb", "_mount_id": "UUID=020c7944-5f24-4939-8d0e-c58555f4d496", "_raw_device": "/dev/sdb", "_raw_kernel_device": "/dev/sdb", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 16:23:13 +0000 (0:00:00.039) 0:00:20.023 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 16:23:13 +0000 (0:00:00.034) 0:00:20.057 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/sdb", "_kernel_device": "/dev/sdb", "_mount_id": "UUID=020c7944-5f24-4939-8d0e-c58555f4d496", "_raw_device": "/dev/sdb", "_raw_kernel_device": "/dev/sdb", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 16:23:13 +0000 (0:00:00.065) 0:00:20.123 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 16:23:13 +0000 (0:00:00.039) 0:00:20.163 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 16:23:14 +0000 (0:00:00.722) 0:00:20.885 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-7.qcow2] => (item={'src': 'UUID=020c7944-5f24-4939-8d0e-c58555f4d496', 'dump': 0, 'passno': 0, 'fstype': 'swap', 'state': 'present', 'path': 'none', 'opts': 'defaults'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "swap", "mount_info": { "dump": 0, "fstype": "swap", "opts": "defaults", "passno": 0, "path": "none", "src": "UUID=020c7944-5f24-4939-8d0e-c58555f4d496", "state": "present" }, "name": "none", "opts": "defaults", "passno": "0", "src": "UUID=020c7944-5f24-4939-8d0e-c58555f4d496" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 16:23:14 +0000 (0:00:00.495) 0:00:21.380 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 16:23:15 +0000 (0:00:00.446) 0:00:21.827 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1658420582.2812886, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658201031.524, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 70, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1658200515.884, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "18446744071677828413", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 16:23:15 +0000 (0:00:00.294) 0:00:22.121 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 16:23:15 +0000 (0:00:00.023) 0:00:22.144 ********* ok: [/cache/rhel-7.qcow2] META: role_complete for /cache/rhel-7.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpaxjje44y/tests/tests_swap.yml:35 Thursday 21 July 2022 16:23:16 +0000 (0:00:00.818) 0:00:22.963 ********* included: /tmp/tmpaxjje44y/tests/verify-role-results.yml for /cache/rhel-7.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:1 Thursday 21 July 2022 16:23:16 +0000 (0:00:00.038) 0:00:23.001 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Print out volume information] ******************************************** task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:6 Thursday 21 July 2022 16:23:16 +0000 (0:00:00.035) 0:00:23.037 ********* ok: [/cache/rhel-7.qcow2] => { "_storage_volumes_list": [ { "_device": "/dev/sdb", "_kernel_device": "/dev/sdb", "_mount_id": "UUID=020c7944-5f24-4939-8d0e-c58555f4d496", "_raw_device": "/dev/sdb", "_raw_kernel_device": "/dev/sdb", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:14 Thursday 21 July 2022 16:23:16 +0000 (0:00:00.046) 0:00:23.084 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "info": { "/dev/fd0": { "fstype": "", "label": "", "name": "/dev/fd0", "size": "4K", "type": "disk", "uuid": "" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "swap", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "020c7944-5f24-4939-8d0e-c58555f4d496" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-16-22-40-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "xfs", "label": "", "name": "/dev/vda1", "size": "10G", "type": "partition", "uuid": "21864ae1-1c29-4009-a1c2-151e41d0e053" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:19 Thursday 21 July 2022 16:23:16 +0000 (0:00:00.454) 0:00:23.539 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003370", "end": "2022-07-21 12:23:15.885521", "rc": 0, "start": "2022-07-21 12:23:15.882151" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jul 19 03:15:15 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk' # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info # UUID=21864ae1-1c29-4009-a1c2-151e41d0e053 / xfs defaults 0 0 UUID=020c7944-5f24-4939-8d0e-c58555f4d496 none swap defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:24 Thursday 21 July 2022 16:23:17 +0000 (0:00:00.423) 0:00:23.963 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003183", "end": "2022-07-21 12:23:16.207280", "failed_when_result": false, "rc": 0, "start": "2022-07-21 12:23:16.204097" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:33 Thursday 21 July 2022 16:23:17 +0000 (0:00:00.319) 0:00:24.282 ********* TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:43 Thursday 21 July 2022 16:23:17 +0000 (0:00:00.020) 0:00:24.303 ********* included: /tmp/tmpaxjje44y/tests/test-verify-volume.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/sdb', 'raid_metadata_version': None, 'mount_device_identifier': 'uuid', 'fs_type': 'swap', 'mount_options': 'defaults', '_device': '/dev/sdb', 'size': 10737418240, 'mount_point': None, 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/sdb', 'encryption': False, 'raid_level': None, 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'type': 'disk', 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': 'UUID=020c7944-5f24-4939-8d0e-c58555f4d496', 'raid_spare_count': None, 'name': 'test1', '_raw_kernel_device': '/dev/sdb', 'cache_mode': None, 'cache_devices': [], 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb'], 'thin': None, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'thin_pool_size': None, 'fs_create_options': ''}) TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume.yml:2 Thursday 21 July 2022 16:23:17 +0000 (0:00:00.054) 0:00:24.358 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume.yml:10 Thursday 21 July 2022 16:23:17 +0000 (0:00:00.071) 0:00:24.429 ********* included: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml for /cache/rhel-7.qcow2 => (item=mount) included: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml for /cache/rhel-7.qcow2 => (item=fstab) included: /tmp/tmpaxjje44y/tests/test-verify-volume-fs.yml for /cache/rhel-7.qcow2 => (item=fs) included: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml for /cache/rhel-7.qcow2 => (item=device) included: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml for /cache/rhel-7.qcow2 => (item=encryption) included: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml for /cache/rhel-7.qcow2 => (item=md) included: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml for /cache/rhel-7.qcow2 => (item=size) included: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml for /cache/rhel-7.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 16:23:17 +0000 (0:00:00.127) 0:00:24.556 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/sdb" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 16:23:17 +0000 (0:00:00.043) 0:00:24.600 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [], "storage_test_mount_expected_match_count": "0", "storage_test_mount_point_matches": [], "storage_test_swap_expected_matches": "1" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 16:23:17 +0000 (0:00:00.057) 0:00:24.657 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 16:23:17 +0000 (0:00:00.023) 0:00:24.681 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 16:23:17 +0000 (0:00:00.050) 0:00:24.731 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 16:23:18 +0000 (0:00:00.035) 0:00:24.767 ********* changed: [/cache/rhel-7.qcow2] => { "changed": true, "cmd": [ "realpath", "/dev/sdb" ], "delta": "0:00:00.004469", "end": "2022-07-21 12:23:16.999243", "rc": 0, "start": "2022-07-21 12:23:16.994774" } STDOUT: /dev/sdb TASK [Gather swap info] ******************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 16:23:18 +0000 (0:00:00.310) 0:00:25.078 ********* changed: [/cache/rhel-7.qcow2] => { "changed": true, "cmd": [ "cat", "/proc/swaps" ], "delta": "0:00:00.003338", "end": "2022-07-21 12:23:17.314665", "rc": 0, "start": "2022-07-21 12:23:17.311327" } STDOUT: Filename Type Size Used Priority /dev/sdb partition 10485756 0 -2 TASK [Verify swap status] ****************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 16:23:18 +0000 (0:00:00.314) 0:00:25.392 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Unset facts] ************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 16:23:18 +0000 (0:00:00.053) 0:00:25.446 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 16:23:18 +0000 (0:00:00.032) 0:00:25.478 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "0", "storage_test_fstab_id_matches": [ "UUID=020c7944-5f24-4939-8d0e-c58555f4d496 " ], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 16:23:18 +0000 (0:00:00.058) 0:00:25.536 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 16:23:18 +0000 (0:00:00.050) 0:00:25.587 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 16:23:18 +0000 (0:00:00.047) 0:00:25.635 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 16:23:18 +0000 (0:00:00.034) 0:00:25.669 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 16:23:18 +0000 (0:00:00.032) 0:00:25.702 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 16:23:18 +0000 (0:00:00.037) 0:00:25.740 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 16:23:19 +0000 (0:00:00.037) 0:00:25.777 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1658420591.8192887, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658420591.8072886, "dev": 5, "device_type": 2064, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 11821, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1658420591.8072886, "nlink": 1, "path": "/dev/sdb", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 16:23:19 +0000 (0:00:00.308) 0:00:26.085 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 16:23:19 +0000 (0:00:00.039) 0:00:26.124 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 16:23:19 +0000 (0:00:00.040) 0:00:26.165 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "st_volume_type": "disk" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 16:23:19 +0000 (0:00:00.037) 0:00:26.202 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 16:23:19 +0000 (0:00:00.022) 0:00:26.224 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 16:23:19 +0000 (0:00:00.037) 0:00:26.262 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 16:23:19 +0000 (0:00:00.024) 0:00:26.287 ********* changed: [/cache/rhel-7.qcow2] => { "changed": true, "changes": { "installed": [ "cryptsetup" ] }, "rc": 0, "results": [ "Loaded plugins: search-disabled-repos\nResolving Dependencies\n--> Running transaction check\n---> Package cryptsetup.x86_64 0:2.0.3-6.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n cryptsetup x86_64 2.0.3-6.el7 rhel 154 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package\n\nTotal download size: 154 k\nInstalled size: 354 k\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : cryptsetup-2.0.3-6.el7.x86_64 1/1 \n Verifying : cryptsetup-2.0.3-6.el7.x86_64 1/1 \n\nInstalled:\n cryptsetup.x86_64 0:2.0.3-6.el7 \n\nComplete!\n" ] } TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 16:23:21 +0000 (0:00:01.486) 0:00:27.774 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 16:23:21 +0000 (0:00:00.023) 0:00:27.798 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 16:23:21 +0000 (0:00:00.023) 0:00:27.821 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 16:23:21 +0000 (0:00:00.081) 0:00:27.903 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 16:23:21 +0000 (0:00:00.025) 0:00:27.928 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 16:23:21 +0000 (0:00:00.023) 0:00:27.952 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 16:23:21 +0000 (0:00:00.023) 0:00:27.976 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 16:23:21 +0000 (0:00:00.024) 0:00:28.000 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 16:23:21 +0000 (0:00:00.024) 0:00:28.025 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 16:23:21 +0000 (0:00:00.051) 0:00:28.076 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 16:23:21 +0000 (0:00:00.083) 0:00:28.159 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 16:23:21 +0000 (0:00:00.035) 0:00:28.195 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 16:23:21 +0000 (0:00:00.067) 0:00:28.262 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 16:23:21 +0000 (0:00:00.033) 0:00:28.296 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 16:23:21 +0000 (0:00:00.031) 0:00:28.327 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 16:23:21 +0000 (0:00:00.036) 0:00:28.364 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 16:23:21 +0000 (0:00:00.038) 0:00:28.402 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 16:23:21 +0000 (0:00:00.036) 0:00:28.438 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 16:23:21 +0000 (0:00:00.036) 0:00:28.475 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 16:23:21 +0000 (0:00:00.036) 0:00:28.512 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 16:23:21 +0000 (0:00:00.034) 0:00:28.546 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 16:23:21 +0000 (0:00:00.033) 0:00:28.580 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 16:23:21 +0000 (0:00:00.022) 0:00:28.603 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 16:23:21 +0000 (0:00:00.036) 0:00:28.639 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 16:23:21 +0000 (0:00:00.032) 0:00:28.672 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 16:23:21 +0000 (0:00:00.032) 0:00:28.704 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 16:23:21 +0000 (0:00:00.033) 0:00:28.737 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 16:23:22 +0000 (0:00:00.034) 0:00:28.772 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 16:23:22 +0000 (0:00:00.034) 0:00:28.806 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 16:23:22 +0000 (0:00:00.042) 0:00:28.849 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 16:23:22 +0000 (0:00:00.042) 0:00:28.891 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 16:23:22 +0000 (0:00:00.038) 0:00:28.930 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 16:23:22 +0000 (0:00:00.033) 0:00:28.963 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 16:23:22 +0000 (0:00:00.022) 0:00:28.985 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 16:23:22 +0000 (0:00:00.021) 0:00:29.007 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 16:23:22 +0000 (0:00:00.023) 0:00:29.030 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 16:23:22 +0000 (0:00:00.021) 0:00:29.052 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 16:23:22 +0000 (0:00:00.021) 0:00:29.073 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 16:23:22 +0000 (0:00:00.021) 0:00:29.095 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 16:23:22 +0000 (0:00:00.025) 0:00:29.120 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume.yml:16 Thursday 21 July 2022 16:23:22 +0000 (0:00:00.022) 0:00:29.142 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:53 Thursday 21 July 2022 16:23:22 +0000 (0:00:00.035) 0:00:29.177 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Format second disk as ext3] ********************************************** task path: /tmp/tmpaxjje44y/tests/tests_swap.yml:37 Thursday 21 July 2022 16:23:22 +0000 (0:00:00.032) 0:00:29.210 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 16:23:22 +0000 (0:00:00.047) 0:00:29.257 ********* included: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/rhel-7.qcow2 TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 16:23:22 +0000 (0:00:00.034) 0:00:29.291 ********* ok: [/cache/rhel-7.qcow2] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 16:23:22 +0000 (0:00:00.414) 0:00:29.706 ********* skipping: [/cache/rhel-7.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-7.qcow2] => (item=RedHat_7.yml) => { "ansible_facts": { "__storage_blivet_diskvolume_mkfs_option_map": { "ext2": "-F", "ext3": "-F", "ext4": "-F" }, "blivet_package_list": [ "python-enum34", "python-blivet3", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/vars/RedHat_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.yml" } skipping: [/cache/rhel-7.qcow2] => (item=RedHat_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 16:23:23 +0000 (0:00:00.145) 0:00:29.851 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 16:23:23 +0000 (0:00:00.034) 0:00:29.886 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 16:23:23 +0000 (0:00:00.032) 0:00:29.918 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/rhel-7.qcow2 TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 16:23:23 +0000 (0:00:00.045) 0:00:29.964 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 16:23:23 +0000 (0:00:00.032) 0:00:29.996 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 16:23:23 +0000 (0:00:00.029) 0:00:30.025 ********* ok: [/cache/rhel-7.qcow2] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 16:23:23 +0000 (0:00:00.037) 0:00:30.063 ********* ok: [/cache/rhel-7.qcow2] => { "storage_volumes": [ { "disks": [ "sdc" ], "fs_type": "ext3", "mount_point": "none", "name": "test2", "type": "disk" } ] } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 16:23:23 +0000 (0:00:00.038) 0:00:30.101 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 16:23:23 +0000 (0:00:00.026) 0:00:30.128 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 16:23:23 +0000 (0:00:00.025) 0:00:30.154 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 16:23:23 +0000 (0:00:00.024) 0:00:30.178 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 16:23:23 +0000 (0:00:00.027) 0:00:30.206 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 16:23:23 +0000 (0:00:00.051) 0:00:30.257 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 16:23:23 +0000 (0:00:00.019) 0:00:30.276 ********* changed: [/cache/rhel-7.qcow2] => { "actions": [ { "action": "create format", "device": "/dev/sdc", "fs_type": "ext3" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [], "packages": [ "xfsprogs", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sdc", "_kernel_device": "/dev/sdc", "_mount_id": "UUID=9d39293d-ac3d-4d3d-87e1-c9c4391ea27c", "_raw_device": "/dev/sdc", "_raw_kernel_device": "/dev/sdc", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "none", "name": "test2", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 16:23:24 +0000 (0:00:01.328) 0:00:31.604 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 16:23:24 +0000 (0:00:00.036) 0:00:31.641 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 16:23:24 +0000 (0:00:00.021) 0:00:31.662 ********* ok: [/cache/rhel-7.qcow2] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/sdc", "fs_type": "ext3" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [], "packages": [ "xfsprogs", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sdc", "_kernel_device": "/dev/sdc", "_mount_id": "UUID=9d39293d-ac3d-4d3d-87e1-c9c4391ea27c", "_raw_device": "/dev/sdc", "_raw_kernel_device": "/dev/sdc", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "none", "name": "test2", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 16:23:24 +0000 (0:00:00.038) 0:00:31.701 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 16:23:24 +0000 (0:00:00.033) 0:00:31.735 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/sdc", "_kernel_device": "/dev/sdc", "_mount_id": "UUID=9d39293d-ac3d-4d3d-87e1-c9c4391ea27c", "_raw_device": "/dev/sdc", "_raw_kernel_device": "/dev/sdc", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "none", "name": "test2", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 16:23:25 +0000 (0:00:00.038) 0:00:31.773 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 16:23:25 +0000 (0:00:00.035) 0:00:31.809 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 16:23:25 +0000 (0:00:00.024) 0:00:31.834 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 16:23:25 +0000 (0:00:00.036) 0:00:31.870 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 16:23:25 +0000 (0:00:00.025) 0:00:31.895 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1658420582.2812886, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658201031.524, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 70, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1658200515.884, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "18446744071677828413", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 16:23:25 +0000 (0:00:00.308) 0:00:32.203 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 16:23:25 +0000 (0:00:00.021) 0:00:32.225 ********* ok: [/cache/rhel-7.qcow2] META: role_complete for /cache/rhel-7.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpaxjje44y/tests/tests_swap.yml:48 Thursday 21 July 2022 16:23:26 +0000 (0:00:00.808) 0:00:33.033 ********* included: /tmp/tmpaxjje44y/tests/verify-role-results.yml for /cache/rhel-7.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:1 Thursday 21 July 2022 16:23:26 +0000 (0:00:00.041) 0:00:33.075 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Print out volume information] ******************************************** task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:6 Thursday 21 July 2022 16:23:26 +0000 (0:00:00.036) 0:00:33.112 ********* ok: [/cache/rhel-7.qcow2] => { "_storage_volumes_list": [ { "_device": "/dev/sdc", "_kernel_device": "/dev/sdc", "_mount_id": "UUID=9d39293d-ac3d-4d3d-87e1-c9c4391ea27c", "_raw_device": "/dev/sdc", "_raw_kernel_device": "/dev/sdc", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "none", "name": "test2", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:14 Thursday 21 July 2022 16:23:26 +0000 (0:00:00.107) 0:00:33.220 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "info": { "/dev/fd0": { "fstype": "", "label": "", "name": "/dev/fd0", "size": "4K", "type": "disk", "uuid": "" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "swap", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "020c7944-5f24-4939-8d0e-c58555f4d496" }, "/dev/sdc": { "fstype": "ext3", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "9d39293d-ac3d-4d3d-87e1-c9c4391ea27c" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-16-22-40-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "xfs", "label": "", "name": "/dev/vda1", "size": "10G", "type": "partition", "uuid": "21864ae1-1c29-4009-a1c2-151e41d0e053" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:19 Thursday 21 July 2022 16:23:27 +0000 (0:00:01.315) 0:00:34.535 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003699", "end": "2022-07-21 12:23:26.782195", "rc": 0, "start": "2022-07-21 12:23:26.778496" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jul 19 03:15:15 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk' # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info # UUID=21864ae1-1c29-4009-a1c2-151e41d0e053 / xfs defaults 0 0 UUID=020c7944-5f24-4939-8d0e-c58555f4d496 none swap defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:24 Thursday 21 July 2022 16:23:28 +0000 (0:00:00.325) 0:00:34.861 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003769", "end": "2022-07-21 12:23:27.102307", "failed_when_result": false, "rc": 0, "start": "2022-07-21 12:23:27.098538" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:33 Thursday 21 July 2022 16:23:28 +0000 (0:00:00.322) 0:00:35.183 ********* TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:43 Thursday 21 July 2022 16:23:28 +0000 (0:00:00.023) 0:00:35.207 ********* included: /tmp/tmpaxjje44y/tests/test-verify-volume.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/sdc', 'raid_metadata_version': None, 'mount_device_identifier': 'uuid', 'fs_type': 'ext3', 'mount_options': 'defaults', '_device': '/dev/sdc', 'size': 10737418240, 'mount_point': 'none', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/sdc', 'encryption': False, 'raid_level': None, 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'type': 'disk', 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': 'UUID=9d39293d-ac3d-4d3d-87e1-c9c4391ea27c', 'raid_spare_count': None, 'name': 'test2', '_raw_kernel_device': '/dev/sdc', 'cache_mode': None, 'cache_devices': [], 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdc'], 'thin': None, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'thin_pool_size': None, 'fs_create_options': ''}) TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume.yml:2 Thursday 21 July 2022 16:23:28 +0000 (0:00:00.063) 0:00:35.270 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume.yml:10 Thursday 21 July 2022 16:23:28 +0000 (0:00:00.054) 0:00:35.325 ********* included: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml for /cache/rhel-7.qcow2 => (item=mount) included: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml for /cache/rhel-7.qcow2 => (item=fstab) included: /tmp/tmpaxjje44y/tests/test-verify-volume-fs.yml for /cache/rhel-7.qcow2 => (item=fs) included: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml for /cache/rhel-7.qcow2 => (item=device) included: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml for /cache/rhel-7.qcow2 => (item=encryption) included: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml for /cache/rhel-7.qcow2 => (item=md) included: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml for /cache/rhel-7.qcow2 => (item=size) included: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml for /cache/rhel-7.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 16:23:28 +0000 (0:00:00.101) 0:00:35.426 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/sdc" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 16:23:28 +0000 (0:00:00.040) 0:00:35.466 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [], "storage_test_mount_expected_match_count": "0", "storage_test_mount_point_matches": [], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 16:23:28 +0000 (0:00:00.058) 0:00:35.525 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 16:23:28 +0000 (0:00:00.054) 0:00:35.579 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 16:23:28 +0000 (0:00:00.084) 0:00:35.663 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 16:23:28 +0000 (0:00:00.038) 0:00:35.702 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 16:23:28 +0000 (0:00:00.026) 0:00:35.729 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 16:23:28 +0000 (0:00:00.024) 0:00:35.753 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 16:23:29 +0000 (0:00:00.024) 0:00:35.777 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 16:23:29 +0000 (0:00:00.033) 0:00:35.811 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "0", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "0", "storage_test_fstab_id_matches": [], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 16:23:29 +0000 (0:00:00.064) 0:00:35.875 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 16:23:29 +0000 (0:00:00.095) 0:00:35.971 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 16:23:29 +0000 (0:00:00.048) 0:00:36.019 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 16:23:29 +0000 (0:00:00.037) 0:00:36.056 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 16:23:29 +0000 (0:00:00.067) 0:00:36.124 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 16:23:29 +0000 (0:00:00.080) 0:00:36.205 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 16:23:29 +0000 (0:00:00.070) 0:00:36.276 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1658420603.4942887, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658420603.4942887, "dev": 5, "device_type": 2080, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 11822, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1658420603.4942887, "nlink": 1, "path": "/dev/sdc", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 16:23:29 +0000 (0:00:00.335) 0:00:36.611 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 16:23:29 +0000 (0:00:00.038) 0:00:36.650 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 16:23:29 +0000 (0:00:00.038) 0:00:36.689 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "st_volume_type": "disk" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 16:23:29 +0000 (0:00:00.032) 0:00:36.721 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 16:23:29 +0000 (0:00:00.022) 0:00:36.744 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 16:23:30 +0000 (0:00:00.040) 0:00:36.784 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 16:23:30 +0000 (0:00:00.026) 0:00:36.810 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "cryptsetup-2.0.3-6.el7.x86_64 providing cryptsetup is already installed" ] } TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 16:23:30 +0000 (0:00:00.532) 0:00:37.342 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 16:23:30 +0000 (0:00:00.023) 0:00:37.365 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 16:23:30 +0000 (0:00:00.023) 0:00:37.389 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 16:23:30 +0000 (0:00:00.049) 0:00:37.439 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 16:23:30 +0000 (0:00:00.025) 0:00:37.464 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 16:23:30 +0000 (0:00:00.024) 0:00:37.489 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 16:23:30 +0000 (0:00:00.023) 0:00:37.512 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 16:23:30 +0000 (0:00:00.021) 0:00:37.533 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 16:23:30 +0000 (0:00:00.022) 0:00:37.555 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 16:23:30 +0000 (0:00:00.046) 0:00:37.602 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 16:23:30 +0000 (0:00:00.046) 0:00:37.649 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 16:23:30 +0000 (0:00:00.033) 0:00:37.682 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 16:23:30 +0000 (0:00:00.035) 0:00:37.717 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 16:23:30 +0000 (0:00:00.032) 0:00:37.750 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 16:23:31 +0000 (0:00:00.030) 0:00:37.781 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 16:23:31 +0000 (0:00:00.036) 0:00:37.818 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 16:23:31 +0000 (0:00:00.040) 0:00:37.858 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 16:23:31 +0000 (0:00:00.035) 0:00:37.894 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 16:23:31 +0000 (0:00:00.033) 0:00:37.927 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 16:23:31 +0000 (0:00:00.031) 0:00:37.959 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 16:23:31 +0000 (0:00:00.035) 0:00:37.994 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 16:23:31 +0000 (0:00:00.032) 0:00:38.027 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 16:23:31 +0000 (0:00:00.022) 0:00:38.049 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 16:23:31 +0000 (0:00:00.032) 0:00:38.082 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 16:23:31 +0000 (0:00:00.038) 0:00:38.120 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 16:23:31 +0000 (0:00:00.034) 0:00:38.155 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 16:23:31 +0000 (0:00:00.036) 0:00:38.192 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 16:23:31 +0000 (0:00:00.035) 0:00:38.228 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 16:23:31 +0000 (0:00:00.067) 0:00:38.295 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 16:23:31 +0000 (0:00:00.037) 0:00:38.333 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 16:23:31 +0000 (0:00:00.035) 0:00:38.369 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 16:23:31 +0000 (0:00:00.092) 0:00:38.461 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 16:23:31 +0000 (0:00:00.036) 0:00:38.498 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 16:23:31 +0000 (0:00:00.024) 0:00:38.522 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 16:23:31 +0000 (0:00:00.024) 0:00:38.546 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 16:23:31 +0000 (0:00:00.024) 0:00:38.571 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 16:23:31 +0000 (0:00:00.022) 0:00:38.594 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 16:23:31 +0000 (0:00:00.023) 0:00:38.617 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 16:23:31 +0000 (0:00:00.022) 0:00:38.640 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 16:23:31 +0000 (0:00:00.027) 0:00:38.667 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume.yml:16 Thursday 21 July 2022 16:23:31 +0000 (0:00:00.028) 0:00:38.695 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:53 Thursday 21 July 2022 16:23:31 +0000 (0:00:00.034) 0:00:38.730 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Change the disk device file system type to ext3] ************************* task path: /tmp/tmpaxjje44y/tests/tests_swap.yml:50 Thursday 21 July 2022 16:23:32 +0000 (0:00:00.037) 0:00:38.768 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 16:23:32 +0000 (0:00:00.058) 0:00:38.826 ********* included: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/rhel-7.qcow2 TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 16:23:32 +0000 (0:00:00.034) 0:00:38.861 ********* ok: [/cache/rhel-7.qcow2] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 16:23:32 +0000 (0:00:00.404) 0:00:39.266 ********* skipping: [/cache/rhel-7.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-7.qcow2] => (item=RedHat_7.yml) => { "ansible_facts": { "__storage_blivet_diskvolume_mkfs_option_map": { "ext2": "-F", "ext3": "-F", "ext4": "-F" }, "blivet_package_list": [ "python-enum34", "python-blivet3", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/vars/RedHat_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.yml" } skipping: [/cache/rhel-7.qcow2] => (item=RedHat_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 16:23:32 +0000 (0:00:00.065) 0:00:39.331 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 16:23:32 +0000 (0:00:00.034) 0:00:39.366 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 16:23:32 +0000 (0:00:00.032) 0:00:39.398 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/rhel-7.qcow2 TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 16:23:32 +0000 (0:00:00.043) 0:00:39.442 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 16:23:32 +0000 (0:00:00.019) 0:00:39.462 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 16:23:32 +0000 (0:00:00.026) 0:00:39.489 ********* ok: [/cache/rhel-7.qcow2] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 16:23:32 +0000 (0:00:00.037) 0:00:39.526 ********* ok: [/cache/rhel-7.qcow2] => { "storage_volumes": [ { "disks": [ "sdb" ], "fs_type": "ext3", "mount_point": "/opt/test", "name": "test1", "type": "disk" } ] } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 16:23:32 +0000 (0:00:00.039) 0:00:39.566 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 16:23:32 +0000 (0:00:00.033) 0:00:39.599 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 16:23:32 +0000 (0:00:00.028) 0:00:39.628 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 16:23:32 +0000 (0:00:00.028) 0:00:39.657 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 16:23:32 +0000 (0:00:00.028) 0:00:39.685 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 16:23:32 +0000 (0:00:00.056) 0:00:39.742 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 16:23:32 +0000 (0:00:00.020) 0:00:39.762 ********* changed: [/cache/rhel-7.qcow2] => { "actions": [ { "action": "destroy format", "device": "/dev/sdb", "fs_type": "swap" }, { "action": "create format", "device": "/dev/sdb", "fs_type": "ext3" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "fstype": "swap", "path": "none", "src": "UUID=020c7944-5f24-4939-8d0e-c58555f4d496", "state": "absent" }, { "fstype": "swap", "path": "none", "src": "UUID=020c7944-5f24-4939-8d0e-c58555f4d496", "state": "absent" }, { "dump": 0, "fstype": "ext3", "opts": "defaults", "passno": 0, "path": "/opt/test", "src": "UUID=e66dec93-cc74-433f-b13d-e74f4139ac35", "state": "mounted" } ], "packages": [ "xfsprogs", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sdb", "_kernel_device": "/dev/sdb", "_mount_id": "UUID=e66dec93-cc74-433f-b13d-e74f4139ac35", "_raw_device": "/dev/sdb", "_raw_kernel_device": "/dev/sdb", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 16:23:34 +0000 (0:00:01.319) 0:00:41.082 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 16:23:34 +0000 (0:00:00.037) 0:00:41.119 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 16:23:34 +0000 (0:00:00.021) 0:00:41.141 ********* ok: [/cache/rhel-7.qcow2] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/sdb", "fs_type": "swap" }, { "action": "create format", "device": "/dev/sdb", "fs_type": "ext3" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "fstype": "swap", "path": "none", "src": "UUID=020c7944-5f24-4939-8d0e-c58555f4d496", "state": "absent" }, { "fstype": "swap", "path": "none", "src": "UUID=020c7944-5f24-4939-8d0e-c58555f4d496", "state": "absent" }, { "dump": 0, "fstype": "ext3", "opts": "defaults", "passno": 0, "path": "/opt/test", "src": "UUID=e66dec93-cc74-433f-b13d-e74f4139ac35", "state": "mounted" } ], "packages": [ "xfsprogs", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sdb", "_kernel_device": "/dev/sdb", "_mount_id": "UUID=e66dec93-cc74-433f-b13d-e74f4139ac35", "_raw_device": "/dev/sdb", "_raw_kernel_device": "/dev/sdb", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 16:23:34 +0000 (0:00:00.038) 0:00:41.180 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 16:23:34 +0000 (0:00:00.037) 0:00:41.218 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/sdb", "_kernel_device": "/dev/sdb", "_mount_id": "UUID=e66dec93-cc74-433f-b13d-e74f4139ac35", "_raw_device": "/dev/sdb", "_raw_kernel_device": "/dev/sdb", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 16:23:34 +0000 (0:00:00.041) 0:00:41.259 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-7.qcow2] => (item={'src': 'UUID=020c7944-5f24-4939-8d0e-c58555f4d496', 'state': 'absent', 'path': 'none', 'fstype': 'swap'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "swap", "mount_info": { "fstype": "swap", "path": "none", "src": "UUID=020c7944-5f24-4939-8d0e-c58555f4d496", "state": "absent" }, "name": "none", "opts": "defaults", "passno": "0", "src": "UUID=020c7944-5f24-4939-8d0e-c58555f4d496" } redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount ok: [/cache/rhel-7.qcow2] => (item={'path': 'none', 'state': 'absent', 'src': 'UUID=020c7944-5f24-4939-8d0e-c58555f4d496', 'fstype': 'swap'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": false, "dump": "0", "fstab": "/etc/fstab", "fstype": "swap", "mount_info": { "fstype": "swap", "path": "none", "src": "UUID=020c7944-5f24-4939-8d0e-c58555f4d496", "state": "absent" }, "name": "none", "opts": "defaults", "passno": "0", "src": "UUID=020c7944-5f24-4939-8d0e-c58555f4d496" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 16:23:35 +0000 (0:00:00.630) 0:00:41.889 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 16:23:35 +0000 (0:00:00.456) 0:00:42.345 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-7.qcow2] => (item={'src': 'UUID=e66dec93-cc74-433f-b13d-e74f4139ac35', 'dump': 0, 'passno': 0, 'fstype': 'ext3', 'state': 'mounted', 'path': '/opt/test', 'opts': 'defaults'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext3", "mount_info": { "dump": 0, "fstype": "ext3", "opts": "defaults", "passno": 0, "path": "/opt/test", "src": "UUID=e66dec93-cc74-433f-b13d-e74f4139ac35", "state": "mounted" }, "name": "/opt/test", "opts": "defaults", "passno": "0", "src": "UUID=e66dec93-cc74-433f-b13d-e74f4139ac35" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 16:23:35 +0000 (0:00:00.354) 0:00:42.700 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 16:23:36 +0000 (0:00:00.462) 0:00:43.163 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1658420582.2812886, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658201031.524, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 70, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1658200515.884, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "18446744071677828413", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 16:23:36 +0000 (0:00:00.325) 0:00:43.488 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 16:23:36 +0000 (0:00:00.023) 0:00:43.512 ********* ok: [/cache/rhel-7.qcow2] META: role_complete for /cache/rhel-7.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpaxjje44y/tests/tests_swap.yml:61 Thursday 21 July 2022 16:23:37 +0000 (0:00:00.833) 0:00:44.345 ********* included: /tmp/tmpaxjje44y/tests/verify-role-results.yml for /cache/rhel-7.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:1 Thursday 21 July 2022 16:23:37 +0000 (0:00:00.043) 0:00:44.389 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Print out volume information] ******************************************** task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:6 Thursday 21 July 2022 16:23:37 +0000 (0:00:00.065) 0:00:44.454 ********* ok: [/cache/rhel-7.qcow2] => { "_storage_volumes_list": [ { "_device": "/dev/sdb", "_kernel_device": "/dev/sdb", "_mount_id": "UUID=e66dec93-cc74-433f-b13d-e74f4139ac35", "_raw_device": "/dev/sdb", "_raw_kernel_device": "/dev/sdb", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:14 Thursday 21 July 2022 16:23:37 +0000 (0:00:00.051) 0:00:44.506 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "info": { "/dev/fd0": { "fstype": "", "label": "", "name": "/dev/fd0", "size": "4K", "type": "disk", "uuid": "" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "ext3", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "e66dec93-cc74-433f-b13d-e74f4139ac35" }, "/dev/sdc": { "fstype": "ext3", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "9d39293d-ac3d-4d3d-87e1-c9c4391ea27c" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-16-22-40-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "xfs", "label": "", "name": "/dev/vda1", "size": "10G", "type": "partition", "uuid": "21864ae1-1c29-4009-a1c2-151e41d0e053" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:19 Thursday 21 July 2022 16:23:39 +0000 (0:00:01.320) 0:00:45.827 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003596", "end": "2022-07-21 12:23:38.058562", "rc": 0, "start": "2022-07-21 12:23:38.054966" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jul 19 03:15:15 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk' # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info # UUID=21864ae1-1c29-4009-a1c2-151e41d0e053 / xfs defaults 0 0 UUID=e66dec93-cc74-433f-b13d-e74f4139ac35 /opt/test ext3 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:24 Thursday 21 July 2022 16:23:39 +0000 (0:00:00.312) 0:00:46.139 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003415", "end": "2022-07-21 12:23:38.375330", "failed_when_result": false, "rc": 0, "start": "2022-07-21 12:23:38.371915" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:33 Thursday 21 July 2022 16:23:39 +0000 (0:00:00.313) 0:00:46.452 ********* TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:43 Thursday 21 July 2022 16:23:39 +0000 (0:00:00.024) 0:00:46.477 ********* included: /tmp/tmpaxjje44y/tests/test-verify-volume.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/sdb', 'raid_metadata_version': None, 'mount_device_identifier': 'uuid', 'fs_type': 'ext3', 'mount_options': 'defaults', '_device': '/dev/sdb', 'size': 10737418240, 'mount_point': '/opt/test', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/sdb', 'encryption': False, 'raid_level': None, 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'type': 'disk', 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': 'UUID=e66dec93-cc74-433f-b13d-e74f4139ac35', 'raid_spare_count': None, 'name': 'test1', '_raw_kernel_device': '/dev/sdb', 'cache_mode': None, 'cache_devices': [], 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb'], 'thin': None, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'thin_pool_size': None, 'fs_create_options': ''}) TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume.yml:2 Thursday 21 July 2022 16:23:39 +0000 (0:00:00.059) 0:00:46.537 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume.yml:10 Thursday 21 July 2022 16:23:39 +0000 (0:00:00.050) 0:00:46.587 ********* included: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml for /cache/rhel-7.qcow2 => (item=mount) included: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml for /cache/rhel-7.qcow2 => (item=fstab) included: /tmp/tmpaxjje44y/tests/test-verify-volume-fs.yml for /cache/rhel-7.qcow2 => (item=fs) included: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml for /cache/rhel-7.qcow2 => (item=device) included: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml for /cache/rhel-7.qcow2 => (item=encryption) included: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml for /cache/rhel-7.qcow2 => (item=md) included: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml for /cache/rhel-7.qcow2 => (item=size) included: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml for /cache/rhel-7.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 16:23:39 +0000 (0:00:00.075) 0:00:46.662 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/sdb" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 16:23:39 +0000 (0:00:00.041) 0:00:46.704 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 2410672, "block_size": 4096, "block_total": 2547534, "block_used": 136862, "device": "/dev/sdb", "fstype": "ext3", "inode_available": 655349, "inode_total": 655360, "inode_used": 11, "mount": "/opt/test", "options": "rw,seclabel,relatime,data=ordered", "size_available": 9874112512, "size_total": 10434699264, "uuid": "e66dec93-cc74-433f-b13d-e74f4139ac35" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 2410672, "block_size": 4096, "block_total": 2547534, "block_used": 136862, "device": "/dev/sdb", "fstype": "ext3", "inode_available": 655349, "inode_total": 655360, "inode_used": 11, "mount": "/opt/test", "options": "rw,seclabel,relatime,data=ordered", "size_available": 9874112512, "size_total": 10434699264, "uuid": "e66dec93-cc74-433f-b13d-e74f4139ac35" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 16:23:39 +0000 (0:00:00.060) 0:00:46.765 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 16:23:40 +0000 (0:00:00.051) 0:00:46.817 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 16:23:40 +0000 (0:00:00.047) 0:00:46.864 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 16:23:40 +0000 (0:00:00.053) 0:00:46.917 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 16:23:40 +0000 (0:00:00.023) 0:00:46.941 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 16:23:40 +0000 (0:00:00.022) 0:00:46.963 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 16:23:40 +0000 (0:00:00.024) 0:00:46.988 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 16:23:40 +0000 (0:00:00.034) 0:00:47.023 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "UUID=e66dec93-cc74-433f-b13d-e74f4139ac35 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test ext3 defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 16:23:40 +0000 (0:00:00.058) 0:00:47.082 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 16:23:40 +0000 (0:00:00.086) 0:00:47.168 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 16:23:40 +0000 (0:00:00.051) 0:00:47.219 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 16:23:40 +0000 (0:00:00.035) 0:00:47.255 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 16:23:40 +0000 (0:00:00.064) 0:00:47.319 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 16:23:40 +0000 (0:00:00.040) 0:00:47.359 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 16:23:40 +0000 (0:00:00.036) 0:00:47.396 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1658420612.9772887, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658420612.9772887, "dev": 5, "device_type": 2064, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 11821, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1658420612.9772887, "nlink": 1, "path": "/dev/sdb", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 16:23:40 +0000 (0:00:00.341) 0:00:47.737 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 16:23:41 +0000 (0:00:00.080) 0:00:47.818 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 16:23:41 +0000 (0:00:00.082) 0:00:47.900 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "st_volume_type": "disk" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 16:23:41 +0000 (0:00:00.033) 0:00:47.934 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 16:23:41 +0000 (0:00:00.021) 0:00:47.955 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 16:23:41 +0000 (0:00:00.041) 0:00:47.996 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 16:23:41 +0000 (0:00:00.024) 0:00:48.021 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "cryptsetup-2.0.3-6.el7.x86_64 providing cryptsetup is already installed" ] } TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 16:23:41 +0000 (0:00:00.522) 0:00:48.543 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 16:23:41 +0000 (0:00:00.025) 0:00:48.568 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 16:23:41 +0000 (0:00:00.025) 0:00:48.593 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 16:23:41 +0000 (0:00:00.051) 0:00:48.645 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 16:23:41 +0000 (0:00:00.024) 0:00:48.670 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 16:23:41 +0000 (0:00:00.023) 0:00:48.693 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 16:23:41 +0000 (0:00:00.023) 0:00:48.717 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 16:23:41 +0000 (0:00:00.022) 0:00:48.739 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 16:23:41 +0000 (0:00:00.025) 0:00:48.765 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 16:23:42 +0000 (0:00:00.049) 0:00:48.814 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 16:23:42 +0000 (0:00:00.049) 0:00:48.864 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 16:23:42 +0000 (0:00:00.039) 0:00:48.903 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 16:23:42 +0000 (0:00:00.035) 0:00:48.938 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 16:23:42 +0000 (0:00:00.035) 0:00:48.974 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 16:23:42 +0000 (0:00:00.037) 0:00:49.012 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 16:23:42 +0000 (0:00:00.038) 0:00:49.050 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 16:23:42 +0000 (0:00:00.035) 0:00:49.086 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 16:23:42 +0000 (0:00:00.036) 0:00:49.123 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 16:23:42 +0000 (0:00:00.033) 0:00:49.156 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 16:23:42 +0000 (0:00:00.035) 0:00:49.192 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 16:23:42 +0000 (0:00:00.033) 0:00:49.225 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 16:23:42 +0000 (0:00:00.034) 0:00:49.260 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 16:23:42 +0000 (0:00:00.025) 0:00:49.285 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 16:23:42 +0000 (0:00:00.037) 0:00:49.323 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 16:23:42 +0000 (0:00:00.033) 0:00:49.356 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 16:23:42 +0000 (0:00:00.035) 0:00:49.392 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 16:23:42 +0000 (0:00:00.035) 0:00:49.428 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 16:23:42 +0000 (0:00:00.038) 0:00:49.466 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 16:23:42 +0000 (0:00:00.035) 0:00:49.501 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 16:23:42 +0000 (0:00:00.033) 0:00:49.534 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 16:23:42 +0000 (0:00:00.032) 0:00:49.567 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 16:23:42 +0000 (0:00:00.064) 0:00:49.631 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 16:23:42 +0000 (0:00:00.037) 0:00:49.668 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 16:23:42 +0000 (0:00:00.023) 0:00:49.692 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 16:23:42 +0000 (0:00:00.022) 0:00:49.714 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 16:23:42 +0000 (0:00:00.022) 0:00:49.737 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 16:23:42 +0000 (0:00:00.025) 0:00:49.762 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 16:23:43 +0000 (0:00:00.023) 0:00:49.785 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 16:23:43 +0000 (0:00:00.024) 0:00:49.810 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 16:23:43 +0000 (0:00:00.051) 0:00:49.862 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume.yml:16 Thursday 21 July 2022 16:23:43 +0000 (0:00:00.023) 0:00:49.886 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:53 Thursday 21 July 2022 16:23:43 +0000 (0:00:00.033) 0:00:49.919 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Repeat the previous invocation to verify idempotence] ******************** task path: /tmp/tmpaxjje44y/tests/tests_swap.yml:63 Thursday 21 July 2022 16:23:43 +0000 (0:00:00.035) 0:00:49.955 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 16:23:43 +0000 (0:00:00.069) 0:00:50.024 ********* included: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/rhel-7.qcow2 TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 16:23:43 +0000 (0:00:00.039) 0:00:50.064 ********* ok: [/cache/rhel-7.qcow2] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 16:23:43 +0000 (0:00:00.420) 0:00:50.485 ********* skipping: [/cache/rhel-7.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-7.qcow2] => (item=RedHat_7.yml) => { "ansible_facts": { "__storage_blivet_diskvolume_mkfs_option_map": { "ext2": "-F", "ext3": "-F", "ext4": "-F" }, "blivet_package_list": [ "python-enum34", "python-blivet3", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/vars/RedHat_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.yml" } skipping: [/cache/rhel-7.qcow2] => (item=RedHat_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 16:23:43 +0000 (0:00:00.062) 0:00:50.548 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 16:23:43 +0000 (0:00:00.031) 0:00:50.579 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 16:23:43 +0000 (0:00:00.033) 0:00:50.613 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/rhel-7.qcow2 TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 16:23:43 +0000 (0:00:00.044) 0:00:50.658 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 16:23:43 +0000 (0:00:00.020) 0:00:50.678 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 16:23:43 +0000 (0:00:00.029) 0:00:50.707 ********* ok: [/cache/rhel-7.qcow2] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 16:23:43 +0000 (0:00:00.039) 0:00:50.747 ********* ok: [/cache/rhel-7.qcow2] => { "storage_volumes": [ { "disks": [ "sdb" ], "fs_type": "ext3", "mount_point": "/opt/test", "name": "test1", "type": "disk" } ] } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 16:23:44 +0000 (0:00:00.038) 0:00:50.786 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 16:23:44 +0000 (0:00:00.026) 0:00:50.812 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 16:23:44 +0000 (0:00:00.028) 0:00:50.841 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 16:23:44 +0000 (0:00:00.026) 0:00:50.868 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 16:23:44 +0000 (0:00:00.025) 0:00:50.893 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 16:23:44 +0000 (0:00:00.057) 0:00:50.950 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 16:23:44 +0000 (0:00:00.021) 0:00:50.972 ********* ok: [/cache/rhel-7.qcow2] => { "actions": [], "changed": false, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "dump": 0, "fstype": "ext3", "opts": "defaults", "passno": 0, "path": "/opt/test", "src": "UUID=e66dec93-cc74-433f-b13d-e74f4139ac35", "state": "mounted" } ], "packages": [ "xfsprogs", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sdb", "_kernel_device": "/dev/sdb", "_mount_id": "UUID=e66dec93-cc74-433f-b13d-e74f4139ac35", "_raw_device": "/dev/sdb", "_raw_kernel_device": "/dev/sdb", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 16:23:45 +0000 (0:00:00.868) 0:00:51.841 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 16:23:45 +0000 (0:00:00.083) 0:00:51.924 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 16:23:45 +0000 (0:00:00.021) 0:00:51.946 ********* ok: [/cache/rhel-7.qcow2] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "dump": 0, "fstype": "ext3", "opts": "defaults", "passno": 0, "path": "/opt/test", "src": "UUID=e66dec93-cc74-433f-b13d-e74f4139ac35", "state": "mounted" } ], "packages": [ "xfsprogs", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sdb", "_kernel_device": "/dev/sdb", "_mount_id": "UUID=e66dec93-cc74-433f-b13d-e74f4139ac35", "_raw_device": "/dev/sdb", "_raw_kernel_device": "/dev/sdb", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 16:23:45 +0000 (0:00:00.036) 0:00:51.983 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 16:23:45 +0000 (0:00:00.034) 0:00:52.018 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/sdb", "_kernel_device": "/dev/sdb", "_mount_id": "UUID=e66dec93-cc74-433f-b13d-e74f4139ac35", "_raw_device": "/dev/sdb", "_raw_kernel_device": "/dev/sdb", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 16:23:45 +0000 (0:00:00.040) 0:00:52.058 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 16:23:45 +0000 (0:00:00.038) 0:00:52.097 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 16:23:45 +0000 (0:00:00.445) 0:00:52.542 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount ok: [/cache/rhel-7.qcow2] => (item={'src': 'UUID=e66dec93-cc74-433f-b13d-e74f4139ac35', 'dump': 0, 'passno': 0, 'fstype': 'ext3', 'state': 'mounted', 'path': '/opt/test', 'opts': 'defaults'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": false, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext3", "mount_info": { "dump": 0, "fstype": "ext3", "opts": "defaults", "passno": 0, "path": "/opt/test", "src": "UUID=e66dec93-cc74-433f-b13d-e74f4139ac35", "state": "mounted" }, "name": "/opt/test", "opts": "defaults", "passno": "0", "src": "UUID=e66dec93-cc74-433f-b13d-e74f4139ac35" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 16:23:46 +0000 (0:00:00.348) 0:00:52.891 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 16:23:46 +0000 (0:00:00.436) 0:00:53.328 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1658420582.2812886, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658201031.524, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 70, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1658200515.884, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "18446744071677828413", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 16:23:46 +0000 (0:00:00.316) 0:00:53.644 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 16:23:46 +0000 (0:00:00.021) 0:00:53.666 ********* ok: [/cache/rhel-7.qcow2] META: role_complete for /cache/rhel-7.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpaxjje44y/tests/tests_swap.yml:74 Thursday 21 July 2022 16:23:47 +0000 (0:00:00.841) 0:00:54.508 ********* included: /tmp/tmpaxjje44y/tests/verify-role-results.yml for /cache/rhel-7.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:1 Thursday 21 July 2022 16:23:47 +0000 (0:00:00.046) 0:00:54.555 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Print out volume information] ******************************************** task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:6 Thursday 21 July 2022 16:23:47 +0000 (0:00:00.036) 0:00:54.591 ********* ok: [/cache/rhel-7.qcow2] => { "_storage_volumes_list": [ { "_device": "/dev/sdb", "_kernel_device": "/dev/sdb", "_mount_id": "UUID=e66dec93-cc74-433f-b13d-e74f4139ac35", "_raw_device": "/dev/sdb", "_raw_kernel_device": "/dev/sdb", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:14 Thursday 21 July 2022 16:23:47 +0000 (0:00:00.075) 0:00:54.666 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "info": { "/dev/fd0": { "fstype": "", "label": "", "name": "/dev/fd0", "size": "4K", "type": "disk", "uuid": "" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "ext3", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "e66dec93-cc74-433f-b13d-e74f4139ac35" }, "/dev/sdc": { "fstype": "ext3", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "9d39293d-ac3d-4d3d-87e1-c9c4391ea27c" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-16-22-40-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "xfs", "label": "", "name": "/dev/vda1", "size": "10G", "type": "partition", "uuid": "21864ae1-1c29-4009-a1c2-151e41d0e053" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:19 Thursday 21 July 2022 16:23:48 +0000 (0:00:00.343) 0:00:55.010 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003425", "end": "2022-07-21 12:23:47.267770", "rc": 0, "start": "2022-07-21 12:23:47.264345" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jul 19 03:15:15 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk' # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info # UUID=21864ae1-1c29-4009-a1c2-151e41d0e053 / xfs defaults 0 0 UUID=e66dec93-cc74-433f-b13d-e74f4139ac35 /opt/test ext3 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:24 Thursday 21 July 2022 16:23:48 +0000 (0:00:00.336) 0:00:55.346 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003456", "end": "2022-07-21 12:23:47.551382", "failed_when_result": false, "rc": 0, "start": "2022-07-21 12:23:47.547926" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:33 Thursday 21 July 2022 16:23:48 +0000 (0:00:00.282) 0:00:55.628 ********* TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:43 Thursday 21 July 2022 16:23:48 +0000 (0:00:00.047) 0:00:55.676 ********* included: /tmp/tmpaxjje44y/tests/test-verify-volume.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/sdb', 'raid_metadata_version': None, 'mount_device_identifier': 'uuid', 'fs_type': 'ext3', 'mount_options': 'defaults', '_device': '/dev/sdb', 'size': 10737418240, 'mount_point': '/opt/test', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/sdb', 'encryption': False, 'raid_level': None, 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'type': 'disk', 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': 'UUID=e66dec93-cc74-433f-b13d-e74f4139ac35', 'raid_spare_count': None, 'name': 'test1', '_raw_kernel_device': '/dev/sdb', 'cache_mode': None, 'cache_devices': [], 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb'], 'thin': None, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'thin_pool_size': None, 'fs_create_options': ''}) TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume.yml:2 Thursday 21 July 2022 16:23:48 +0000 (0:00:00.055) 0:00:55.732 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume.yml:10 Thursday 21 July 2022 16:23:49 +0000 (0:00:00.044) 0:00:55.776 ********* included: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml for /cache/rhel-7.qcow2 => (item=mount) included: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml for /cache/rhel-7.qcow2 => (item=fstab) included: /tmp/tmpaxjje44y/tests/test-verify-volume-fs.yml for /cache/rhel-7.qcow2 => (item=fs) included: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml for /cache/rhel-7.qcow2 => (item=device) included: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml for /cache/rhel-7.qcow2 => (item=encryption) included: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml for /cache/rhel-7.qcow2 => (item=md) included: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml for /cache/rhel-7.qcow2 => (item=size) included: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml for /cache/rhel-7.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 16:23:49 +0000 (0:00:00.074) 0:00:55.851 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/sdb" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 16:23:49 +0000 (0:00:00.039) 0:00:55.890 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 2410672, "block_size": 4096, "block_total": 2547534, "block_used": 136862, "device": "/dev/sdb", "fstype": "ext3", "inode_available": 655349, "inode_total": 655360, "inode_used": 11, "mount": "/opt/test", "options": "rw,seclabel,relatime,data=ordered", "size_available": 9874112512, "size_total": 10434699264, "uuid": "e66dec93-cc74-433f-b13d-e74f4139ac35" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 2410672, "block_size": 4096, "block_total": 2547534, "block_used": 136862, "device": "/dev/sdb", "fstype": "ext3", "inode_available": 655349, "inode_total": 655360, "inode_used": 11, "mount": "/opt/test", "options": "rw,seclabel,relatime,data=ordered", "size_available": 9874112512, "size_total": 10434699264, "uuid": "e66dec93-cc74-433f-b13d-e74f4139ac35" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 16:23:49 +0000 (0:00:00.053) 0:00:55.944 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 16:23:49 +0000 (0:00:00.051) 0:00:55.995 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 16:23:49 +0000 (0:00:00.045) 0:00:56.041 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 16:23:49 +0000 (0:00:00.049) 0:00:56.090 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 16:23:49 +0000 (0:00:00.023) 0:00:56.114 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 16:23:49 +0000 (0:00:00.025) 0:00:56.139 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 16:23:49 +0000 (0:00:00.025) 0:00:56.164 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 16:23:49 +0000 (0:00:00.035) 0:00:56.199 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "UUID=e66dec93-cc74-433f-b13d-e74f4139ac35 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test ext3 defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 16:23:49 +0000 (0:00:00.065) 0:00:56.264 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 16:23:49 +0000 (0:00:00.049) 0:00:56.314 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 16:23:49 +0000 (0:00:00.048) 0:00:56.362 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 16:23:49 +0000 (0:00:00.033) 0:00:56.396 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 16:23:49 +0000 (0:00:00.034) 0:00:56.430 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 16:23:49 +0000 (0:00:00.035) 0:00:56.465 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 16:23:49 +0000 (0:00:00.036) 0:00:56.502 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1658420612.9772887, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658420612.9772887, "dev": 5, "device_type": 2064, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 11821, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1658420612.9772887, "nlink": 1, "path": "/dev/sdb", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 16:23:50 +0000 (0:00:00.322) 0:00:56.825 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 16:23:50 +0000 (0:00:00.039) 0:00:56.864 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 16:23:50 +0000 (0:00:00.035) 0:00:56.900 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "st_volume_type": "disk" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 16:23:50 +0000 (0:00:00.032) 0:00:56.933 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 16:23:50 +0000 (0:00:00.021) 0:00:56.954 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 16:23:50 +0000 (0:00:00.036) 0:00:56.991 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 16:23:50 +0000 (0:00:00.021) 0:00:57.012 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "cryptsetup-2.0.3-6.el7.x86_64 providing cryptsetup is already installed" ] } TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 16:23:50 +0000 (0:00:00.560) 0:00:57.572 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 16:23:50 +0000 (0:00:00.023) 0:00:57.596 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 16:23:50 +0000 (0:00:00.021) 0:00:57.618 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 16:23:50 +0000 (0:00:00.053) 0:00:57.671 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 16:23:50 +0000 (0:00:00.025) 0:00:57.697 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 16:23:50 +0000 (0:00:00.024) 0:00:57.721 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 16:23:50 +0000 (0:00:00.022) 0:00:57.744 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 16:23:51 +0000 (0:00:00.023) 0:00:57.767 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 16:23:51 +0000 (0:00:00.023) 0:00:57.791 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 16:23:51 +0000 (0:00:00.051) 0:00:57.842 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 16:23:51 +0000 (0:00:00.049) 0:00:57.892 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 16:23:51 +0000 (0:00:00.038) 0:00:57.931 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 16:23:51 +0000 (0:00:00.035) 0:00:57.966 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 16:23:51 +0000 (0:00:00.035) 0:00:58.001 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 16:23:51 +0000 (0:00:00.035) 0:00:58.037 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 16:23:51 +0000 (0:00:00.039) 0:00:58.077 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 16:23:51 +0000 (0:00:00.036) 0:00:58.114 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 16:23:51 +0000 (0:00:00.037) 0:00:58.151 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 16:23:51 +0000 (0:00:00.036) 0:00:58.188 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 16:23:51 +0000 (0:00:00.040) 0:00:58.228 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 16:23:51 +0000 (0:00:00.038) 0:00:58.267 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 16:23:51 +0000 (0:00:00.036) 0:00:58.303 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 16:23:51 +0000 (0:00:00.025) 0:00:58.329 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 16:23:51 +0000 (0:00:00.041) 0:00:58.370 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 16:23:51 +0000 (0:00:00.037) 0:00:58.407 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 16:23:51 +0000 (0:00:00.036) 0:00:58.444 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 16:23:51 +0000 (0:00:00.036) 0:00:58.481 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 16:23:51 +0000 (0:00:00.039) 0:00:58.520 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 16:23:51 +0000 (0:00:00.037) 0:00:58.557 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 16:23:51 +0000 (0:00:00.034) 0:00:58.591 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 16:23:51 +0000 (0:00:00.034) 0:00:58.626 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 16:23:51 +0000 (0:00:00.039) 0:00:58.665 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 16:23:51 +0000 (0:00:00.033) 0:00:58.699 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 16:23:51 +0000 (0:00:00.022) 0:00:58.721 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 16:23:51 +0000 (0:00:00.023) 0:00:58.745 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 16:23:52 +0000 (0:00:00.026) 0:00:58.771 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 16:23:52 +0000 (0:00:00.024) 0:00:58.796 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 16:23:52 +0000 (0:00:00.029) 0:00:58.826 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 16:23:52 +0000 (0:00:00.034) 0:00:58.861 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 16:23:52 +0000 (0:00:00.028) 0:00:58.889 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume.yml:16 Thursday 21 July 2022 16:23:52 +0000 (0:00:00.024) 0:00:58.914 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:53 Thursday 21 July 2022 16:23:52 +0000 (0:00:00.083) 0:00:58.997 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Change it back to swap] ************************************************** task path: /tmp/tmpaxjje44y/tests/tests_swap.yml:76 Thursday 21 July 2022 16:23:52 +0000 (0:00:00.081) 0:00:59.079 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 16:23:52 +0000 (0:00:00.099) 0:00:59.179 ********* included: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/rhel-7.qcow2 TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 16:23:52 +0000 (0:00:00.036) 0:00:59.215 ********* ok: [/cache/rhel-7.qcow2] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 16:23:52 +0000 (0:00:00.413) 0:00:59.629 ********* skipping: [/cache/rhel-7.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-7.qcow2] => (item=RedHat_7.yml) => { "ansible_facts": { "__storage_blivet_diskvolume_mkfs_option_map": { "ext2": "-F", "ext3": "-F", "ext4": "-F" }, "blivet_package_list": [ "python-enum34", "python-blivet3", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/vars/RedHat_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.yml" } skipping: [/cache/rhel-7.qcow2] => (item=RedHat_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 16:23:52 +0000 (0:00:00.063) 0:00:59.693 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 16:23:52 +0000 (0:00:00.031) 0:00:59.725 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 16:23:52 +0000 (0:00:00.037) 0:00:59.762 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/rhel-7.qcow2 TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 16:23:53 +0000 (0:00:00.047) 0:00:59.810 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 16:23:53 +0000 (0:00:00.020) 0:00:59.831 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 16:23:53 +0000 (0:00:00.028) 0:00:59.860 ********* ok: [/cache/rhel-7.qcow2] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 16:23:53 +0000 (0:00:00.038) 0:00:59.898 ********* ok: [/cache/rhel-7.qcow2] => { "storage_volumes": [ { "disks": [ "sdb" ], "fs_type": "swap", "name": "test1", "type": "disk" } ] } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 16:23:53 +0000 (0:00:00.036) 0:00:59.935 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 16:23:53 +0000 (0:00:00.031) 0:00:59.966 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 16:23:53 +0000 (0:00:00.030) 0:00:59.996 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 16:23:53 +0000 (0:00:00.029) 0:01:00.026 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 16:23:53 +0000 (0:00:00.027) 0:01:00.054 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 16:23:53 +0000 (0:00:00.054) 0:01:00.109 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 16:23:53 +0000 (0:00:00.021) 0:01:00.130 ********* changed: [/cache/rhel-7.qcow2] => { "actions": [ { "action": "destroy format", "device": "/dev/sdb", "fs_type": "ext3" }, { "action": "create format", "device": "/dev/sdb", "fs_type": "swap" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "fstype": "ext3", "path": "/opt/test", "src": "UUID=e66dec93-cc74-433f-b13d-e74f4139ac35", "state": "absent" }, { "path": "/opt/test", "state": "absent" }, { "dump": 0, "fstype": "swap", "opts": "defaults", "passno": 0, "path": "none", "src": "UUID=dcd53326-0ed8-49a4-ac1a-f37c0b4c2b69", "state": "present" } ], "packages": [ "xfsprogs", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sdb", "_kernel_device": "/dev/sdb", "_mount_id": "UUID=dcd53326-0ed8-49a4-ac1a-f37c0b4c2b69", "_raw_device": "/dev/sdb", "_raw_kernel_device": "/dev/sdb", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 16:23:54 +0000 (0:00:01.235) 0:01:01.365 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 16:23:54 +0000 (0:00:00.038) 0:01:01.404 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 16:23:54 +0000 (0:00:00.023) 0:01:01.427 ********* ok: [/cache/rhel-7.qcow2] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/sdb", "fs_type": "ext3" }, { "action": "create format", "device": "/dev/sdb", "fs_type": "swap" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "fstype": "ext3", "path": "/opt/test", "src": "UUID=e66dec93-cc74-433f-b13d-e74f4139ac35", "state": "absent" }, { "path": "/opt/test", "state": "absent" }, { "dump": 0, "fstype": "swap", "opts": "defaults", "passno": 0, "path": "none", "src": "UUID=dcd53326-0ed8-49a4-ac1a-f37c0b4c2b69", "state": "present" } ], "packages": [ "xfsprogs", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sdb", "_kernel_device": "/dev/sdb", "_mount_id": "UUID=dcd53326-0ed8-49a4-ac1a-f37c0b4c2b69", "_raw_device": "/dev/sdb", "_raw_kernel_device": "/dev/sdb", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 16:23:54 +0000 (0:00:00.075) 0:01:01.502 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 16:23:54 +0000 (0:00:00.079) 0:01:01.582 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/sdb", "_kernel_device": "/dev/sdb", "_mount_id": "UUID=dcd53326-0ed8-49a4-ac1a-f37c0b4c2b69", "_raw_device": "/dev/sdb", "_raw_kernel_device": "/dev/sdb", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 16:23:54 +0000 (0:00:00.072) 0:01:01.654 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-7.qcow2] => (item={'src': 'UUID=e66dec93-cc74-433f-b13d-e74f4139ac35', 'state': 'absent', 'path': '/opt/test', 'fstype': 'ext3'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext3", "mount_info": { "fstype": "ext3", "path": "/opt/test", "src": "UUID=e66dec93-cc74-433f-b13d-e74f4139ac35", "state": "absent" }, "name": "/opt/test", "opts": "defaults", "passno": "0", "src": "UUID=e66dec93-cc74-433f-b13d-e74f4139ac35" } redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount ok: [/cache/rhel-7.qcow2] => (item={'path': '/opt/test', 'state': 'absent'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": false, "dump": "0", "fstab": "/etc/fstab", "mount_info": { "path": "/opt/test", "state": "absent" }, "name": "/opt/test", "opts": "defaults", "passno": "0" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 16:23:55 +0000 (0:00:00.656) 0:01:02.311 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 16:23:56 +0000 (0:00:00.471) 0:01:02.783 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-7.qcow2] => (item={'src': 'UUID=dcd53326-0ed8-49a4-ac1a-f37c0b4c2b69', 'dump': 0, 'passno': 0, 'fstype': 'swap', 'state': 'present', 'path': 'none', 'opts': 'defaults'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "swap", "mount_info": { "dump": 0, "fstype": "swap", "opts": "defaults", "passno": 0, "path": "none", "src": "UUID=dcd53326-0ed8-49a4-ac1a-f37c0b4c2b69", "state": "present" }, "name": "none", "opts": "defaults", "passno": "0", "src": "UUID=dcd53326-0ed8-49a4-ac1a-f37c0b4c2b69" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 16:23:56 +0000 (0:00:00.333) 0:01:03.116 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 16:23:56 +0000 (0:00:00.426) 0:01:03.543 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1658420582.2812886, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658201031.524, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 70, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1658200515.884, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "18446744071677828413", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 16:23:57 +0000 (0:00:00.303) 0:01:03.846 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 16:23:57 +0000 (0:00:00.022) 0:01:03.869 ********* ok: [/cache/rhel-7.qcow2] META: role_complete for /cache/rhel-7.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpaxjje44y/tests/tests_swap.yml:86 Thursday 21 July 2022 16:23:57 +0000 (0:00:00.841) 0:01:04.710 ********* included: /tmp/tmpaxjje44y/tests/verify-role-results.yml for /cache/rhel-7.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:1 Thursday 21 July 2022 16:23:58 +0000 (0:00:00.059) 0:01:04.769 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Print out volume information] ******************************************** task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:6 Thursday 21 July 2022 16:23:58 +0000 (0:00:00.045) 0:01:04.814 ********* ok: [/cache/rhel-7.qcow2] => { "_storage_volumes_list": [ { "_device": "/dev/sdb", "_kernel_device": "/dev/sdb", "_mount_id": "UUID=dcd53326-0ed8-49a4-ac1a-f37c0b4c2b69", "_raw_device": "/dev/sdb", "_raw_kernel_device": "/dev/sdb", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:14 Thursday 21 July 2022 16:23:58 +0000 (0:00:00.059) 0:01:04.874 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "info": { "/dev/fd0": { "fstype": "", "label": "", "name": "/dev/fd0", "size": "4K", "type": "disk", "uuid": "" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "swap", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "dcd53326-0ed8-49a4-ac1a-f37c0b4c2b69" }, "/dev/sdc": { "fstype": "ext3", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "9d39293d-ac3d-4d3d-87e1-c9c4391ea27c" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-16-22-40-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "xfs", "label": "", "name": "/dev/vda1", "size": "10G", "type": "partition", "uuid": "21864ae1-1c29-4009-a1c2-151e41d0e053" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:19 Thursday 21 July 2022 16:23:58 +0000 (0:00:00.331) 0:01:05.205 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003307", "end": "2022-07-21 12:23:57.482055", "rc": 0, "start": "2022-07-21 12:23:57.478748" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jul 19 03:15:15 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk' # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info # UUID=21864ae1-1c29-4009-a1c2-151e41d0e053 / xfs defaults 0 0 UUID=dcd53326-0ed8-49a4-ac1a-f37c0b4c2b69 none swap defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:24 Thursday 21 July 2022 16:23:58 +0000 (0:00:00.353) 0:01:05.558 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003711", "end": "2022-07-21 12:23:57.791719", "failed_when_result": false, "rc": 0, "start": "2022-07-21 12:23:57.788008" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:33 Thursday 21 July 2022 16:23:59 +0000 (0:00:00.313) 0:01:05.872 ********* TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:43 Thursday 21 July 2022 16:23:59 +0000 (0:00:00.022) 0:01:05.895 ********* included: /tmp/tmpaxjje44y/tests/test-verify-volume.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/sdb', 'raid_metadata_version': None, 'mount_device_identifier': 'uuid', 'fs_type': 'swap', 'mount_options': 'defaults', '_device': '/dev/sdb', 'size': 10737418240, 'mount_point': None, 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/sdb', 'encryption': False, 'raid_level': None, 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'type': 'disk', 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': 'UUID=dcd53326-0ed8-49a4-ac1a-f37c0b4c2b69', 'raid_spare_count': None, 'name': 'test1', '_raw_kernel_device': '/dev/sdb', 'cache_mode': None, 'cache_devices': [], 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb'], 'thin': None, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'thin_pool_size': None, 'fs_create_options': ''}) TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume.yml:2 Thursday 21 July 2022 16:23:59 +0000 (0:00:00.058) 0:01:05.954 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume.yml:10 Thursday 21 July 2022 16:23:59 +0000 (0:00:00.113) 0:01:06.067 ********* included: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml for /cache/rhel-7.qcow2 => (item=mount) included: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml for /cache/rhel-7.qcow2 => (item=fstab) included: /tmp/tmpaxjje44y/tests/test-verify-volume-fs.yml for /cache/rhel-7.qcow2 => (item=fs) included: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml for /cache/rhel-7.qcow2 => (item=device) included: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml for /cache/rhel-7.qcow2 => (item=encryption) included: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml for /cache/rhel-7.qcow2 => (item=md) included: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml for /cache/rhel-7.qcow2 => (item=size) included: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml for /cache/rhel-7.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 16:23:59 +0000 (0:00:00.070) 0:01:06.138 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/sdb" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 16:23:59 +0000 (0:00:00.037) 0:01:06.175 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [], "storage_test_mount_expected_match_count": "0", "storage_test_mount_point_matches": [], "storage_test_swap_expected_matches": "1" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 16:23:59 +0000 (0:00:00.051) 0:01:06.227 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 16:23:59 +0000 (0:00:00.022) 0:01:06.250 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 16:23:59 +0000 (0:00:00.043) 0:01:06.293 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 16:23:59 +0000 (0:00:00.032) 0:01:06.326 ********* changed: [/cache/rhel-7.qcow2] => { "changed": true, "cmd": [ "realpath", "/dev/sdb" ], "delta": "0:00:00.003411", "end": "2022-07-21 12:23:58.561216", "rc": 0, "start": "2022-07-21 12:23:58.557805" } STDOUT: /dev/sdb TASK [Gather swap info] ******************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 16:23:59 +0000 (0:00:00.312) 0:01:06.638 ********* changed: [/cache/rhel-7.qcow2] => { "changed": true, "cmd": [ "cat", "/proc/swaps" ], "delta": "0:00:00.003583", "end": "2022-07-21 12:23:58.866850", "rc": 0, "start": "2022-07-21 12:23:58.863267" } STDOUT: Filename Type Size Used Priority /dev/sdb partition 10485756 0 -2 TASK [Verify swap status] ****************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 16:24:00 +0000 (0:00:00.307) 0:01:06.945 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Unset facts] ************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 16:24:00 +0000 (0:00:00.049) 0:01:06.995 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 16:24:00 +0000 (0:00:00.032) 0:01:07.028 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "0", "storage_test_fstab_id_matches": [ "UUID=dcd53326-0ed8-49a4-ac1a-f37c0b4c2b69 " ], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 16:24:00 +0000 (0:00:00.058) 0:01:07.086 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 16:24:00 +0000 (0:00:00.048) 0:01:07.134 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 16:24:00 +0000 (0:00:00.046) 0:01:07.181 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 16:24:00 +0000 (0:00:00.033) 0:01:07.214 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 16:24:00 +0000 (0:00:00.034) 0:01:07.249 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 16:24:00 +0000 (0:00:00.035) 0:01:07.284 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 16:24:00 +0000 (0:00:00.040) 0:01:07.324 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1658420633.2592888, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658420633.2472887, "dev": 5, "device_type": 2064, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 11821, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1658420633.2472887, "nlink": 1, "path": "/dev/sdb", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 16:24:00 +0000 (0:00:00.313) 0:01:07.638 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 16:24:00 +0000 (0:00:00.040) 0:01:07.678 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 16:24:00 +0000 (0:00:00.039) 0:01:07.718 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "st_volume_type": "disk" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 16:24:00 +0000 (0:00:00.033) 0:01:07.752 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 16:24:01 +0000 (0:00:00.022) 0:01:07.774 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 16:24:01 +0000 (0:00:00.036) 0:01:07.811 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 16:24:01 +0000 (0:00:00.023) 0:01:07.834 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "cryptsetup-2.0.3-6.el7.x86_64 providing cryptsetup is already installed" ] } TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 16:24:01 +0000 (0:00:00.539) 0:01:08.374 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 16:24:01 +0000 (0:00:00.023) 0:01:08.398 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 16:24:01 +0000 (0:00:00.023) 0:01:08.421 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 16:24:01 +0000 (0:00:00.081) 0:01:08.503 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 16:24:01 +0000 (0:00:00.051) 0:01:08.554 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 16:24:01 +0000 (0:00:00.023) 0:01:08.578 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 16:24:01 +0000 (0:00:00.022) 0:01:08.600 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 16:24:01 +0000 (0:00:00.021) 0:01:08.621 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 16:24:01 +0000 (0:00:00.023) 0:01:08.645 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 16:24:01 +0000 (0:00:00.046) 0:01:08.691 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 16:24:01 +0000 (0:00:00.047) 0:01:08.738 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 16:24:02 +0000 (0:00:00.036) 0:01:08.775 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 16:24:02 +0000 (0:00:00.040) 0:01:08.815 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 16:24:02 +0000 (0:00:00.035) 0:01:08.851 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 16:24:02 +0000 (0:00:00.032) 0:01:08.884 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 16:24:02 +0000 (0:00:00.033) 0:01:08.917 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 16:24:02 +0000 (0:00:00.035) 0:01:08.953 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 16:24:02 +0000 (0:00:00.032) 0:01:08.986 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 16:24:02 +0000 (0:00:00.032) 0:01:09.018 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 16:24:02 +0000 (0:00:00.034) 0:01:09.052 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 16:24:02 +0000 (0:00:00.040) 0:01:09.093 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 16:24:02 +0000 (0:00:00.034) 0:01:09.127 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 16:24:02 +0000 (0:00:00.022) 0:01:09.150 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 16:24:02 +0000 (0:00:00.039) 0:01:09.190 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 16:24:02 +0000 (0:00:00.041) 0:01:09.231 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 16:24:02 +0000 (0:00:00.033) 0:01:09.265 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 16:24:02 +0000 (0:00:00.034) 0:01:09.300 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 16:24:02 +0000 (0:00:00.034) 0:01:09.334 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 16:24:02 +0000 (0:00:00.038) 0:01:09.373 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 16:24:02 +0000 (0:00:00.034) 0:01:09.408 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 16:24:02 +0000 (0:00:00.035) 0:01:09.443 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 16:24:02 +0000 (0:00:00.035) 0:01:09.478 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 16:24:02 +0000 (0:00:00.035) 0:01:09.514 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 16:24:02 +0000 (0:00:00.024) 0:01:09.538 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 16:24:02 +0000 (0:00:00.024) 0:01:09.563 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 16:24:02 +0000 (0:00:00.023) 0:01:09.586 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 16:24:02 +0000 (0:00:00.026) 0:01:09.613 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 16:24:02 +0000 (0:00:00.023) 0:01:09.636 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 16:24:02 +0000 (0:00:00.024) 0:01:09.661 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 16:24:02 +0000 (0:00:00.022) 0:01:09.684 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume.yml:16 Thursday 21 July 2022 16:24:02 +0000 (0:00:00.023) 0:01:09.707 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:53 Thursday 21 July 2022 16:24:02 +0000 (0:00:00.031) 0:01:09.738 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Repeat the previous invocation to verify idempotence] ******************** task path: /tmp/tmpaxjje44y/tests/tests_swap.yml:88 Thursday 21 July 2022 16:24:03 +0000 (0:00:00.032) 0:01:09.770 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 16:24:03 +0000 (0:00:00.064) 0:01:09.834 ********* included: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/rhel-7.qcow2 TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 16:24:03 +0000 (0:00:00.091) 0:01:09.926 ********* ok: [/cache/rhel-7.qcow2] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 16:24:03 +0000 (0:00:00.448) 0:01:10.374 ********* skipping: [/cache/rhel-7.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-7.qcow2] => (item=RedHat_7.yml) => { "ansible_facts": { "__storage_blivet_diskvolume_mkfs_option_map": { "ext2": "-F", "ext3": "-F", "ext4": "-F" }, "blivet_package_list": [ "python-enum34", "python-blivet3", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/vars/RedHat_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.yml" } skipping: [/cache/rhel-7.qcow2] => (item=RedHat_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 16:24:03 +0000 (0:00:00.057) 0:01:10.431 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 16:24:03 +0000 (0:00:00.031) 0:01:10.463 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 16:24:03 +0000 (0:00:00.032) 0:01:10.495 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/rhel-7.qcow2 TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 16:24:03 +0000 (0:00:00.045) 0:01:10.540 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 16:24:03 +0000 (0:00:00.019) 0:01:10.560 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 16:24:03 +0000 (0:00:00.031) 0:01:10.591 ********* ok: [/cache/rhel-7.qcow2] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 16:24:03 +0000 (0:00:00.039) 0:01:10.631 ********* ok: [/cache/rhel-7.qcow2] => { "storage_volumes": [ { "disks": [ "sdb" ], "fs_type": "swap", "name": "test1", "type": "disk" } ] } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 16:24:03 +0000 (0:00:00.035) 0:01:10.667 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 16:24:03 +0000 (0:00:00.027) 0:01:10.694 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 16:24:03 +0000 (0:00:00.026) 0:01:10.720 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 16:24:03 +0000 (0:00:00.027) 0:01:10.748 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 16:24:04 +0000 (0:00:00.027) 0:01:10.775 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 16:24:04 +0000 (0:00:00.056) 0:01:10.831 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 16:24:04 +0000 (0:00:00.022) 0:01:10.854 ********* ok: [/cache/rhel-7.qcow2] => { "actions": [], "changed": false, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "fstype": "swap", "path": "none", "src": "UUID=dcd53326-0ed8-49a4-ac1a-f37c0b4c2b69", "state": "absent" }, { "dump": 0, "fstype": "swap", "opts": "defaults", "passno": 0, "path": "none", "src": "UUID=dcd53326-0ed8-49a4-ac1a-f37c0b4c2b69", "state": "present" } ], "packages": [ "xfsprogs", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sdb", "_kernel_device": "/dev/sdb", "_mount_id": "UUID=dcd53326-0ed8-49a4-ac1a-f37c0b4c2b69", "_raw_device": "/dev/sdb", "_raw_kernel_device": "/dev/sdb", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 16:24:05 +0000 (0:00:00.928) 0:01:11.783 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 16:24:05 +0000 (0:00:00.035) 0:01:11.819 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 16:24:05 +0000 (0:00:00.022) 0:01:11.841 ********* ok: [/cache/rhel-7.qcow2] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "fstype": "swap", "path": "none", "src": "UUID=dcd53326-0ed8-49a4-ac1a-f37c0b4c2b69", "state": "absent" }, { "dump": 0, "fstype": "swap", "opts": "defaults", "passno": 0, "path": "none", "src": "UUID=dcd53326-0ed8-49a4-ac1a-f37c0b4c2b69", "state": "present" } ], "packages": [ "xfsprogs", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sdb", "_kernel_device": "/dev/sdb", "_mount_id": "UUID=dcd53326-0ed8-49a4-ac1a-f37c0b4c2b69", "_raw_device": "/dev/sdb", "_raw_kernel_device": "/dev/sdb", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 16:24:05 +0000 (0:00:00.041) 0:01:11.882 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 16:24:05 +0000 (0:00:00.037) 0:01:11.919 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/sdb", "_kernel_device": "/dev/sdb", "_mount_id": "UUID=dcd53326-0ed8-49a4-ac1a-f37c0b4c2b69", "_raw_device": "/dev/sdb", "_raw_kernel_device": "/dev/sdb", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 16:24:05 +0000 (0:00:00.035) 0:01:11.954 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-7.qcow2] => (item={'path': 'none', 'state': 'absent', 'src': 'UUID=dcd53326-0ed8-49a4-ac1a-f37c0b4c2b69', 'fstype': 'swap'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "swap", "mount_info": { "fstype": "swap", "path": "none", "src": "UUID=dcd53326-0ed8-49a4-ac1a-f37c0b4c2b69", "state": "absent" }, "name": "none", "opts": "defaults", "passno": "0", "src": "UUID=dcd53326-0ed8-49a4-ac1a-f37c0b4c2b69" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 16:24:05 +0000 (0:00:00.372) 0:01:12.327 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 16:24:06 +0000 (0:00:00.516) 0:01:12.844 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-7.qcow2] => (item={'src': 'UUID=dcd53326-0ed8-49a4-ac1a-f37c0b4c2b69', 'dump': 0, 'passno': 0, 'fstype': 'swap', 'state': 'present', 'path': 'none', 'opts': 'defaults'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "swap", "mount_info": { "dump": 0, "fstype": "swap", "opts": "defaults", "passno": 0, "path": "none", "src": "UUID=dcd53326-0ed8-49a4-ac1a-f37c0b4c2b69", "state": "present" }, "name": "none", "opts": "defaults", "passno": "0", "src": "UUID=dcd53326-0ed8-49a4-ac1a-f37c0b4c2b69" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 16:24:06 +0000 (0:00:00.386) 0:01:13.230 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 16:24:07 +0000 (0:00:00.556) 0:01:13.787 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1658420582.2812886, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658201031.524, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 70, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1658200515.884, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "18446744071677828413", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 16:24:07 +0000 (0:00:00.412) 0:01:14.200 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 16:24:07 +0000 (0:00:00.022) 0:01:14.223 ********* ok: [/cache/rhel-7.qcow2] META: role_complete for /cache/rhel-7.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpaxjje44y/tests/tests_swap.yml:98 Thursday 21 July 2022 16:24:08 +0000 (0:00:00.846) 0:01:15.070 ********* included: /tmp/tmpaxjje44y/tests/verify-role-results.yml for /cache/rhel-7.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:1 Thursday 21 July 2022 16:24:08 +0000 (0:00:00.054) 0:01:15.125 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Print out volume information] ******************************************** task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:6 Thursday 21 July 2022 16:24:08 +0000 (0:00:00.051) 0:01:15.177 ********* ok: [/cache/rhel-7.qcow2] => { "_storage_volumes_list": [ { "_device": "/dev/sdb", "_kernel_device": "/dev/sdb", "_mount_id": "UUID=dcd53326-0ed8-49a4-ac1a-f37c0b4c2b69", "_raw_device": "/dev/sdb", "_raw_kernel_device": "/dev/sdb", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:14 Thursday 21 July 2022 16:24:08 +0000 (0:00:00.064) 0:01:15.242 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "info": { "/dev/fd0": { "fstype": "", "label": "", "name": "/dev/fd0", "size": "4K", "type": "disk", "uuid": "" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "swap", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "dcd53326-0ed8-49a4-ac1a-f37c0b4c2b69" }, "/dev/sdc": { "fstype": "ext3", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "9d39293d-ac3d-4d3d-87e1-c9c4391ea27c" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-16-22-40-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "xfs", "label": "", "name": "/dev/vda1", "size": "10G", "type": "partition", "uuid": "21864ae1-1c29-4009-a1c2-151e41d0e053" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:19 Thursday 21 July 2022 16:24:09 +0000 (0:00:01.321) 0:01:16.563 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003863", "end": "2022-07-21 12:24:08.792606", "rc": 0, "start": "2022-07-21 12:24:08.788743" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jul 19 03:15:15 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk' # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info # UUID=21864ae1-1c29-4009-a1c2-151e41d0e053 / xfs defaults 0 0 UUID=dcd53326-0ed8-49a4-ac1a-f37c0b4c2b69 none swap defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:24 Thursday 21 July 2022 16:24:10 +0000 (0:00:00.308) 0:01:16.871 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003330", "end": "2022-07-21 12:24:09.112682", "failed_when_result": false, "rc": 0, "start": "2022-07-21 12:24:09.109352" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:33 Thursday 21 July 2022 16:24:10 +0000 (0:00:00.320) 0:01:17.192 ********* TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:43 Thursday 21 July 2022 16:24:10 +0000 (0:00:00.021) 0:01:17.213 ********* included: /tmp/tmpaxjje44y/tests/test-verify-volume.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/sdb', 'raid_metadata_version': None, 'mount_device_identifier': 'uuid', 'fs_type': 'swap', 'mount_options': 'defaults', '_device': '/dev/sdb', 'size': 10737418240, 'mount_point': None, 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/sdb', 'encryption': False, 'raid_level': None, 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'type': 'disk', 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': 'UUID=dcd53326-0ed8-49a4-ac1a-f37c0b4c2b69', 'raid_spare_count': None, 'name': 'test1', '_raw_kernel_device': '/dev/sdb', 'cache_mode': None, 'cache_devices': [], 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb'], 'thin': None, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'thin_pool_size': None, 'fs_create_options': ''}) TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume.yml:2 Thursday 21 July 2022 16:24:10 +0000 (0:00:00.060) 0:01:17.274 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume.yml:10 Thursday 21 July 2022 16:24:10 +0000 (0:00:00.046) 0:01:17.321 ********* included: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml for /cache/rhel-7.qcow2 => (item=mount) included: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml for /cache/rhel-7.qcow2 => (item=fstab) included: /tmp/tmpaxjje44y/tests/test-verify-volume-fs.yml for /cache/rhel-7.qcow2 => (item=fs) included: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml for /cache/rhel-7.qcow2 => (item=device) included: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml for /cache/rhel-7.qcow2 => (item=encryption) included: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml for /cache/rhel-7.qcow2 => (item=md) included: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml for /cache/rhel-7.qcow2 => (item=size) included: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml for /cache/rhel-7.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 16:24:10 +0000 (0:00:00.070) 0:01:17.392 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/sdb" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 16:24:10 +0000 (0:00:00.096) 0:01:17.488 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [], "storage_test_mount_expected_match_count": "0", "storage_test_mount_point_matches": [], "storage_test_swap_expected_matches": "1" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 16:24:10 +0000 (0:00:00.096) 0:01:17.585 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 16:24:10 +0000 (0:00:00.023) 0:01:17.608 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 16:24:10 +0000 (0:00:00.087) 0:01:17.695 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 16:24:10 +0000 (0:00:00.035) 0:01:17.731 ********* changed: [/cache/rhel-7.qcow2] => { "changed": true, "cmd": [ "realpath", "/dev/sdb" ], "delta": "0:00:00.003583", "end": "2022-07-21 12:24:09.953856", "rc": 0, "start": "2022-07-21 12:24:09.950273" } STDOUT: /dev/sdb TASK [Gather swap info] ******************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 16:24:11 +0000 (0:00:00.300) 0:01:18.031 ********* changed: [/cache/rhel-7.qcow2] => { "changed": true, "cmd": [ "cat", "/proc/swaps" ], "delta": "0:00:00.003395", "end": "2022-07-21 12:24:10.251781", "rc": 0, "start": "2022-07-21 12:24:10.248386" } STDOUT: Filename Type Size Used Priority /dev/sdb partition 10485756 0 -2 TASK [Verify swap status] ****************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 16:24:11 +0000 (0:00:00.300) 0:01:18.332 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Unset facts] ************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 16:24:11 +0000 (0:00:00.052) 0:01:18.384 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 16:24:11 +0000 (0:00:00.031) 0:01:18.416 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "0", "storage_test_fstab_id_matches": [ "UUID=dcd53326-0ed8-49a4-ac1a-f37c0b4c2b69 " ], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 16:24:11 +0000 (0:00:00.058) 0:01:18.475 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 16:24:11 +0000 (0:00:00.049) 0:01:18.524 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 16:24:11 +0000 (0:00:00.046) 0:01:18.571 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 16:24:11 +0000 (0:00:00.032) 0:01:18.603 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 16:24:11 +0000 (0:00:00.031) 0:01:18.635 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 16:24:11 +0000 (0:00:00.036) 0:01:18.672 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 16:24:11 +0000 (0:00:00.035) 0:01:18.708 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1658420633.2592888, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658420633.2472887, "dev": 5, "device_type": 2064, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 11821, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1658420633.2472887, "nlink": 1, "path": "/dev/sdb", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 16:24:12 +0000 (0:00:00.313) 0:01:19.021 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 16:24:12 +0000 (0:00:00.037) 0:01:19.058 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 16:24:12 +0000 (0:00:00.036) 0:01:19.095 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "st_volume_type": "disk" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 16:24:12 +0000 (0:00:00.036) 0:01:19.132 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 16:24:12 +0000 (0:00:00.024) 0:01:19.156 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 16:24:12 +0000 (0:00:00.036) 0:01:19.193 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 16:24:12 +0000 (0:00:00.024) 0:01:19.217 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "cryptsetup-2.0.3-6.el7.x86_64 providing cryptsetup is already installed" ] } TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 16:24:12 +0000 (0:00:00.527) 0:01:19.745 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 16:24:13 +0000 (0:00:00.026) 0:01:19.772 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 16:24:13 +0000 (0:00:00.025) 0:01:19.797 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 16:24:13 +0000 (0:00:00.085) 0:01:19.883 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 16:24:13 +0000 (0:00:00.025) 0:01:19.908 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 16:24:13 +0000 (0:00:00.024) 0:01:19.932 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 16:24:13 +0000 (0:00:00.024) 0:01:19.956 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 16:24:13 +0000 (0:00:00.025) 0:01:19.982 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 16:24:13 +0000 (0:00:00.024) 0:01:20.007 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 16:24:13 +0000 (0:00:00.048) 0:01:20.055 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 16:24:13 +0000 (0:00:00.081) 0:01:20.137 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 16:24:13 +0000 (0:00:00.035) 0:01:20.172 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 16:24:13 +0000 (0:00:00.037) 0:01:20.210 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 16:24:13 +0000 (0:00:00.037) 0:01:20.247 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 16:24:13 +0000 (0:00:00.083) 0:01:20.331 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 16:24:13 +0000 (0:00:00.041) 0:01:20.372 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 16:24:13 +0000 (0:00:00.035) 0:01:20.407 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 16:24:13 +0000 (0:00:00.033) 0:01:20.441 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 16:24:13 +0000 (0:00:00.033) 0:01:20.475 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 16:24:13 +0000 (0:00:00.070) 0:01:20.545 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 16:24:13 +0000 (0:00:00.044) 0:01:20.589 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 16:24:13 +0000 (0:00:00.034) 0:01:20.624 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 16:24:13 +0000 (0:00:00.024) 0:01:20.649 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 16:24:13 +0000 (0:00:00.045) 0:01:20.694 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 16:24:13 +0000 (0:00:00.045) 0:01:20.739 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 16:24:14 +0000 (0:00:00.048) 0:01:20.787 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 16:24:14 +0000 (0:00:00.039) 0:01:20.827 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 16:24:14 +0000 (0:00:00.039) 0:01:20.867 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 16:24:14 +0000 (0:00:00.038) 0:01:20.905 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 16:24:14 +0000 (0:00:00.037) 0:01:20.943 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 16:24:14 +0000 (0:00:00.038) 0:01:20.981 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 16:24:14 +0000 (0:00:00.038) 0:01:21.020 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 16:24:14 +0000 (0:00:00.036) 0:01:21.057 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 16:24:14 +0000 (0:00:00.032) 0:01:21.089 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 16:24:14 +0000 (0:00:00.027) 0:01:21.116 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 16:24:14 +0000 (0:00:00.028) 0:01:21.145 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 16:24:14 +0000 (0:00:00.025) 0:01:21.171 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 16:24:14 +0000 (0:00:00.028) 0:01:21.199 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 16:24:14 +0000 (0:00:00.024) 0:01:21.224 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 16:24:14 +0000 (0:00:00.026) 0:01:21.251 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume.yml:16 Thursday 21 July 2022 16:24:14 +0000 (0:00:00.026) 0:01:21.277 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:53 Thursday 21 July 2022 16:24:14 +0000 (0:00:00.038) 0:01:21.316 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Clean up] **************************************************************** task path: /tmp/tmpaxjje44y/tests/tests_swap.yml:100 Thursday 21 July 2022 16:24:14 +0000 (0:00:00.033) 0:01:21.350 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 16:24:14 +0000 (0:00:00.075) 0:01:21.425 ********* included: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/rhel-7.qcow2 TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 16:24:14 +0000 (0:00:00.032) 0:01:21.458 ********* ok: [/cache/rhel-7.qcow2] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 16:24:15 +0000 (0:00:00.408) 0:01:21.867 ********* skipping: [/cache/rhel-7.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-7.qcow2] => (item=RedHat_7.yml) => { "ansible_facts": { "__storage_blivet_diskvolume_mkfs_option_map": { "ext2": "-F", "ext3": "-F", "ext4": "-F" }, "blivet_package_list": [ "python-enum34", "python-blivet3", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/vars/RedHat_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.yml" } skipping: [/cache/rhel-7.qcow2] => (item=RedHat_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 16:24:15 +0000 (0:00:00.063) 0:01:21.930 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 16:24:15 +0000 (0:00:00.034) 0:01:21.964 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 16:24:15 +0000 (0:00:00.037) 0:01:22.001 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/rhel-7.qcow2 TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 16:24:15 +0000 (0:00:00.048) 0:01:22.050 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 16:24:15 +0000 (0:00:00.022) 0:01:22.072 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 16:24:15 +0000 (0:00:00.033) 0:01:22.106 ********* ok: [/cache/rhel-7.qcow2] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 16:24:15 +0000 (0:00:00.036) 0:01:22.143 ********* ok: [/cache/rhel-7.qcow2] => { "storage_volumes": [ { "disks": [ "sdb" ], "mount_point": "/opt/test", "name": "test1", "state": "absent", "type": "disk" }, { "disks": [ "sdc" ], "mount_point": "none", "name": "test2", "state": "absent", "type": "disk" } ] } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 16:24:15 +0000 (0:00:00.089) 0:01:22.233 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 16:24:15 +0000 (0:00:00.031) 0:01:22.264 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 16:24:15 +0000 (0:00:00.097) 0:01:22.362 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 16:24:15 +0000 (0:00:00.029) 0:01:22.392 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 16:24:15 +0000 (0:00:00.030) 0:01:22.422 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 16:24:15 +0000 (0:00:00.060) 0:01:22.482 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 16:24:15 +0000 (0:00:00.021) 0:01:22.503 ********* changed: [/cache/rhel-7.qcow2] => { "actions": [ { "action": "destroy format", "device": "/dev/sdc", "fs_type": "ext3" }, { "action": "destroy format", "device": "/dev/sdb", "fs_type": "swap" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "fstype": "swap", "path": "none", "src": "UUID=dcd53326-0ed8-49a4-ac1a-f37c0b4c2b69", "state": "absent" } ], "packages": [ "xfsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sdb", "_mount_id": "UUID=dcd53326-0ed8-49a4-ac1a-f37c0b4c2b69", "_raw_device": "/dev/sdb", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null }, { "_device": "/dev/sdc", "_mount_id": "UUID=9d39293d-ac3d-4d3d-87e1-c9c4391ea27c", "_raw_device": "/dev/sdc", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "none", "name": "test2", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 16:24:16 +0000 (0:00:01.084) 0:01:23.588 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 16:24:16 +0000 (0:00:00.038) 0:01:23.626 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 16:24:16 +0000 (0:00:00.020) 0:01:23.647 ********* ok: [/cache/rhel-7.qcow2] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/sdc", "fs_type": "ext3" }, { "action": "destroy format", "device": "/dev/sdb", "fs_type": "swap" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "fstype": "swap", "path": "none", "src": "UUID=dcd53326-0ed8-49a4-ac1a-f37c0b4c2b69", "state": "absent" } ], "packages": [ "xfsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sdb", "_mount_id": "UUID=dcd53326-0ed8-49a4-ac1a-f37c0b4c2b69", "_raw_device": "/dev/sdb", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null }, { "_device": "/dev/sdc", "_mount_id": "UUID=9d39293d-ac3d-4d3d-87e1-c9c4391ea27c", "_raw_device": "/dev/sdc", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "none", "name": "test2", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 16:24:16 +0000 (0:00:00.038) 0:01:23.685 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 16:24:16 +0000 (0:00:00.037) 0:01:23.723 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/sdb", "_mount_id": "UUID=dcd53326-0ed8-49a4-ac1a-f37c0b4c2b69", "_raw_device": "/dev/sdb", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null }, { "_device": "/dev/sdc", "_mount_id": "UUID=9d39293d-ac3d-4d3d-87e1-c9c4391ea27c", "_raw_device": "/dev/sdc", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "none", "name": "test2", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 16:24:16 +0000 (0:00:00.035) 0:01:23.759 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-7.qcow2] => (item={'src': 'UUID=dcd53326-0ed8-49a4-ac1a-f37c0b4c2b69', 'state': 'absent', 'path': 'none', 'fstype': 'swap'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "swap", "mount_info": { "fstype": "swap", "path": "none", "src": "UUID=dcd53326-0ed8-49a4-ac1a-f37c0b4c2b69", "state": "absent" }, "name": "none", "opts": "defaults", "passno": "0", "src": "UUID=dcd53326-0ed8-49a4-ac1a-f37c0b4c2b69" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 16:24:17 +0000 (0:00:00.327) 0:01:24.087 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 16:24:17 +0000 (0:00:00.451) 0:01:24.538 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 16:24:17 +0000 (0:00:00.040) 0:01:24.579 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 16:24:18 +0000 (0:00:00.447) 0:01:25.027 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1658420582.2812886, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658201031.524, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 70, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1658200515.884, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "18446744071677828413", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 16:24:18 +0000 (0:00:00.327) 0:01:25.355 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 16:24:18 +0000 (0:00:00.023) 0:01:25.378 ********* ok: [/cache/rhel-7.qcow2] META: role_complete for /cache/rhel-7.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpaxjje44y/tests/tests_swap.yml:116 Thursday 21 July 2022 16:24:19 +0000 (0:00:00.883) 0:01:26.262 ********* included: /tmp/tmpaxjje44y/tests/verify-role-results.yml for /cache/rhel-7.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:1 Thursday 21 July 2022 16:24:19 +0000 (0:00:00.057) 0:01:26.320 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Print out volume information] ******************************************** task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:6 Thursday 21 July 2022 16:24:19 +0000 (0:00:00.037) 0:01:26.357 ********* ok: [/cache/rhel-7.qcow2] => { "_storage_volumes_list": [ { "_device": "/dev/sdb", "_mount_id": "UUID=dcd53326-0ed8-49a4-ac1a-f37c0b4c2b69", "_raw_device": "/dev/sdb", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null }, { "_device": "/dev/sdc", "_mount_id": "UUID=9d39293d-ac3d-4d3d-87e1-c9c4391ea27c", "_raw_device": "/dev/sdc", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "none", "name": "test2", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:14 Thursday 21 July 2022 16:24:19 +0000 (0:00:00.109) 0:01:26.466 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "info": { "/dev/fd0": { "fstype": "", "label": "", "name": "/dev/fd0", "size": "4K", "type": "disk", "uuid": "" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-16-22-40-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "xfs", "label": "", "name": "/dev/vda1", "size": "10G", "type": "partition", "uuid": "21864ae1-1c29-4009-a1c2-151e41d0e053" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:19 Thursday 21 July 2022 16:24:20 +0000 (0:00:00.315) 0:01:26.782 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003291", "end": "2022-07-21 12:24:19.007676", "rc": 0, "start": "2022-07-21 12:24:19.004385" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jul 19 03:15:15 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk' # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info # UUID=21864ae1-1c29-4009-a1c2-151e41d0e053 / xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:24 Thursday 21 July 2022 16:24:20 +0000 (0:00:00.305) 0:01:27.087 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003499", "end": "2022-07-21 12:24:19.317857", "failed_when_result": false, "rc": 0, "start": "2022-07-21 12:24:19.314358" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:33 Thursday 21 July 2022 16:24:20 +0000 (0:00:00.313) 0:01:27.400 ********* TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:43 Thursday 21 July 2022 16:24:20 +0000 (0:00:00.022) 0:01:27.423 ********* included: /tmp/tmpaxjje44y/tests/test-verify-volume.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/sdb', 'raid_metadata_version': None, 'mount_device_identifier': 'uuid', 'fs_type': 'swap', 'mount_options': 'defaults', '_device': '/dev/sdb', 'size': 10737418240, 'mount_point': '/opt/test', 'compression': None, 'encryption_password': None, 'encryption': False, 'raid_level': None, 'raid_device_count': None, 'state': 'absent', 'vdo_pool_size': None, 'thin_pool_name': None, 'type': 'disk', 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': 'UUID=dcd53326-0ed8-49a4-ac1a-f37c0b4c2b69', 'raid_spare_count': None, 'name': 'test1', 'cache_mode': None, 'cache_devices': [], 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb'], 'thin': None, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'thin_pool_size': None, 'fs_create_options': ''}) included: /tmp/tmpaxjje44y/tests/test-verify-volume.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/sdc', 'raid_metadata_version': None, 'mount_device_identifier': 'uuid', 'fs_type': 'ext3', 'mount_options': 'defaults', '_device': '/dev/sdc', 'size': 10737418240, 'mount_point': 'none', 'compression': None, 'encryption_password': None, 'encryption': False, 'raid_level': None, 'raid_device_count': None, 'state': 'absent', 'vdo_pool_size': None, 'thin_pool_name': None, 'type': 'disk', 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': 'UUID=9d39293d-ac3d-4d3d-87e1-c9c4391ea27c', 'raid_spare_count': None, 'name': 'test2', 'cache_mode': None, 'cache_devices': [], 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdc'], 'thin': None, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'thin_pool_size': None, 'fs_create_options': ''}) TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume.yml:2 Thursday 21 July 2022 16:24:20 +0000 (0:00:00.065) 0:01:27.489 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_volume_present": false, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume.yml:10 Thursday 21 July 2022 16:24:20 +0000 (0:00:00.046) 0:01:27.535 ********* included: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml for /cache/rhel-7.qcow2 => (item=mount) included: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml for /cache/rhel-7.qcow2 => (item=fstab) included: /tmp/tmpaxjje44y/tests/test-verify-volume-fs.yml for /cache/rhel-7.qcow2 => (item=fs) included: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml for /cache/rhel-7.qcow2 => (item=device) included: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml for /cache/rhel-7.qcow2 => (item=encryption) included: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml for /cache/rhel-7.qcow2 => (item=md) included: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml for /cache/rhel-7.qcow2 => (item=size) included: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml for /cache/rhel-7.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 16:24:20 +0000 (0:00:00.071) 0:01:27.607 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/sdb" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 16:24:20 +0000 (0:00:00.039) 0:01:27.647 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [], "storage_test_mount_expected_match_count": "0", "storage_test_mount_point_matches": [], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 16:24:20 +0000 (0:00:00.052) 0:01:27.699 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 16:24:20 +0000 (0:00:00.022) 0:01:27.722 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 16:24:21 +0000 (0:00:00.047) 0:01:27.770 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 16:24:21 +0000 (0:00:00.034) 0:01:27.804 ********* changed: [/cache/rhel-7.qcow2] => { "changed": true, "cmd": [ "realpath", "/dev/sdb" ], "delta": "0:00:00.003949", "end": "2022-07-21 12:24:20.049189", "rc": 0, "start": "2022-07-21 12:24:20.045240" } STDOUT: /dev/sdb TASK [Gather swap info] ******************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 16:24:21 +0000 (0:00:00.328) 0:01:28.133 ********* changed: [/cache/rhel-7.qcow2] => { "changed": true, "cmd": [ "cat", "/proc/swaps" ], "delta": "0:00:00.003656", "end": "2022-07-21 12:24:20.356430", "rc": 0, "start": "2022-07-21 12:24:20.352774" } STDOUT: Filename Type Size Used Priority TASK [Verify swap status] ****************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 16:24:21 +0000 (0:00:00.307) 0:01:28.440 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Unset facts] ************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 16:24:21 +0000 (0:00:00.050) 0:01:28.491 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 16:24:21 +0000 (0:00:00.036) 0:01:28.527 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "0", "storage_test_fstab_expected_mount_options_matches": "0", "storage_test_fstab_expected_mount_point_matches": "0", "storage_test_fstab_id_matches": [], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 16:24:21 +0000 (0:00:00.105) 0:01:28.632 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 16:24:21 +0000 (0:00:00.024) 0:01:28.656 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 16:24:21 +0000 (0:00:00.080) 0:01:28.737 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 16:24:22 +0000 (0:00:00.034) 0:01:28.771 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 16:24:22 +0000 (0:00:00.032) 0:01:28.804 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 16:24:22 +0000 (0:00:00.023) 0:01:28.827 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 16:24:22 +0000 (0:00:00.023) 0:01:28.850 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1658420655.4712887, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658420655.4712887, "dev": 5, "device_type": 2064, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 11821, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1658420655.4712887, "nlink": 1, "path": "/dev/sdb", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 16:24:22 +0000 (0:00:00.332) 0:01:29.183 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 16:24:22 +0000 (0:00:00.053) 0:01:29.236 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 16:24:22 +0000 (0:00:00.022) 0:01:29.259 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "st_volume_type": "disk" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 16:24:22 +0000 (0:00:00.032) 0:01:29.292 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 16:24:22 +0000 (0:00:00.021) 0:01:29.313 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 16:24:22 +0000 (0:00:00.021) 0:01:29.334 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 16:24:22 +0000 (0:00:00.022) 0:01:29.357 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "cryptsetup-2.0.3-6.el7.x86_64 providing cryptsetup is already installed" ] } TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 16:24:23 +0000 (0:00:00.520) 0:01:29.878 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 16:24:23 +0000 (0:00:00.023) 0:01:29.901 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 16:24:23 +0000 (0:00:00.026) 0:01:29.928 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 16:24:23 +0000 (0:00:00.024) 0:01:29.952 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 16:24:23 +0000 (0:00:00.025) 0:01:29.977 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 16:24:23 +0000 (0:00:00.026) 0:01:30.003 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 16:24:23 +0000 (0:00:00.025) 0:01:30.029 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 16:24:23 +0000 (0:00:00.024) 0:01:30.053 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 16:24:23 +0000 (0:00:00.025) 0:01:30.078 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 16:24:23 +0000 (0:00:00.055) 0:01:30.134 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 16:24:23 +0000 (0:00:00.047) 0:01:30.182 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 16:24:23 +0000 (0:00:00.033) 0:01:30.216 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 16:24:23 +0000 (0:00:00.033) 0:01:30.249 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 16:24:23 +0000 (0:00:00.041) 0:01:30.290 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 16:24:23 +0000 (0:00:00.033) 0:01:30.324 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 16:24:23 +0000 (0:00:00.037) 0:01:30.361 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 16:24:23 +0000 (0:00:00.037) 0:01:30.399 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 16:24:23 +0000 (0:00:00.038) 0:01:30.438 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 16:24:23 +0000 (0:00:00.046) 0:01:30.485 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 16:24:23 +0000 (0:00:00.036) 0:01:30.522 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 16:24:23 +0000 (0:00:00.037) 0:01:30.560 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 16:24:23 +0000 (0:00:00.040) 0:01:30.600 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 16:24:23 +0000 (0:00:00.025) 0:01:30.625 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 16:24:23 +0000 (0:00:00.038) 0:01:30.664 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 16:24:23 +0000 (0:00:00.039) 0:01:30.703 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 16:24:24 +0000 (0:00:00.099) 0:01:30.803 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 16:24:24 +0000 (0:00:00.038) 0:01:30.842 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 16:24:24 +0000 (0:00:00.036) 0:01:30.878 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 16:24:24 +0000 (0:00:00.036) 0:01:30.915 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 16:24:24 +0000 (0:00:00.036) 0:01:30.952 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 16:24:24 +0000 (0:00:00.038) 0:01:30.990 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 16:24:24 +0000 (0:00:00.035) 0:01:31.025 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 16:24:24 +0000 (0:00:00.035) 0:01:31.060 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 16:24:24 +0000 (0:00:00.021) 0:01:31.082 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 16:24:24 +0000 (0:00:00.021) 0:01:31.103 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 16:24:24 +0000 (0:00:00.020) 0:01:31.124 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 16:24:24 +0000 (0:00:00.024) 0:01:31.149 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 16:24:24 +0000 (0:00:00.021) 0:01:31.170 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 16:24:24 +0000 (0:00:00.020) 0:01:31.191 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 16:24:24 +0000 (0:00:00.023) 0:01:31.215 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume.yml:16 Thursday 21 July 2022 16:24:24 +0000 (0:00:00.026) 0:01:31.241 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume.yml:2 Thursday 21 July 2022 16:24:24 +0000 (0:00:00.033) 0:01:31.275 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_volume_present": false, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume.yml:10 Thursday 21 July 2022 16:24:24 +0000 (0:00:00.049) 0:01:31.324 ********* included: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml for /cache/rhel-7.qcow2 => (item=mount) included: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml for /cache/rhel-7.qcow2 => (item=fstab) included: /tmp/tmpaxjje44y/tests/test-verify-volume-fs.yml for /cache/rhel-7.qcow2 => (item=fs) included: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml for /cache/rhel-7.qcow2 => (item=device) included: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml for /cache/rhel-7.qcow2 => (item=encryption) included: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml for /cache/rhel-7.qcow2 => (item=md) included: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml for /cache/rhel-7.qcow2 => (item=size) included: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml for /cache/rhel-7.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 16:24:24 +0000 (0:00:00.074) 0:01:31.399 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/sdc" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 16:24:24 +0000 (0:00:00.042) 0:01:31.441 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [], "storage_test_mount_expected_match_count": "0", "storage_test_mount_point_matches": [], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 16:24:24 +0000 (0:00:00.055) 0:01:31.497 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 16:24:24 +0000 (0:00:00.023) 0:01:31.521 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 16:24:24 +0000 (0:00:00.047) 0:01:31.568 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 16:24:24 +0000 (0:00:00.036) 0:01:31.604 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 16:24:24 +0000 (0:00:00.022) 0:01:31.626 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 16:24:24 +0000 (0:00:00.021) 0:01:31.648 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 16:24:24 +0000 (0:00:00.021) 0:01:31.669 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 16:24:24 +0000 (0:00:00.048) 0:01:31.718 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "0", "storage_test_fstab_expected_mount_options_matches": "0", "storage_test_fstab_expected_mount_point_matches": "0", "storage_test_fstab_id_matches": [], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 16:24:25 +0000 (0:00:00.072) 0:01:31.790 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 16:24:25 +0000 (0:00:00.025) 0:01:31.816 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 16:24:25 +0000 (0:00:00.054) 0:01:31.870 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 16:24:25 +0000 (0:00:00.038) 0:01:31.909 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 16:24:25 +0000 (0:00:00.037) 0:01:31.947 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 16:24:25 +0000 (0:00:00.024) 0:01:31.971 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 16:24:25 +0000 (0:00:00.024) 0:01:31.995 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1658420655.4382887, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658420655.4382887, "dev": 5, "device_type": 2080, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 11822, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1658420655.4382887, "nlink": 1, "path": "/dev/sdc", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 16:24:25 +0000 (0:00:00.375) 0:01:32.371 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 16:24:25 +0000 (0:00:00.040) 0:01:32.412 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 16:24:25 +0000 (0:00:00.024) 0:01:32.436 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "st_volume_type": "disk" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 16:24:25 +0000 (0:00:00.038) 0:01:32.475 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 16:24:25 +0000 (0:00:00.024) 0:01:32.499 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 16:24:25 +0000 (0:00:00.025) 0:01:32.525 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 16:24:25 +0000 (0:00:00.024) 0:01:32.549 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "cryptsetup-2.0.3-6.el7.x86_64 providing cryptsetup is already installed" ] } TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 16:24:26 +0000 (0:00:00.552) 0:01:33.102 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 16:24:26 +0000 (0:00:00.026) 0:01:33.128 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 16:24:26 +0000 (0:00:00.024) 0:01:33.152 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 16:24:26 +0000 (0:00:00.024) 0:01:33.176 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 16:24:26 +0000 (0:00:00.024) 0:01:33.201 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 16:24:26 +0000 (0:00:00.023) 0:01:33.224 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 16:24:26 +0000 (0:00:00.022) 0:01:33.247 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 16:24:26 +0000 (0:00:00.022) 0:01:33.270 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 16:24:26 +0000 (0:00:00.022) 0:01:33.292 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 16:24:26 +0000 (0:00:00.049) 0:01:33.342 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 16:24:26 +0000 (0:00:00.053) 0:01:33.395 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 16:24:26 +0000 (0:00:00.035) 0:01:33.431 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 16:24:26 +0000 (0:00:00.037) 0:01:33.469 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 16:24:26 +0000 (0:00:00.035) 0:01:33.504 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 16:24:26 +0000 (0:00:00.040) 0:01:33.545 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 16:24:26 +0000 (0:00:00.037) 0:01:33.582 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 16:24:26 +0000 (0:00:00.039) 0:01:33.622 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 16:24:26 +0000 (0:00:00.037) 0:01:33.659 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 16:24:26 +0000 (0:00:00.038) 0:01:33.698 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 16:24:26 +0000 (0:00:00.038) 0:01:33.737 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 16:24:27 +0000 (0:00:00.037) 0:01:33.774 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 16:24:27 +0000 (0:00:00.035) 0:01:33.810 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 16:24:27 +0000 (0:00:00.024) 0:01:33.834 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 16:24:27 +0000 (0:00:00.039) 0:01:33.874 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 16:24:27 +0000 (0:00:00.037) 0:01:33.911 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 16:24:27 +0000 (0:00:00.040) 0:01:33.952 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 16:24:27 +0000 (0:00:00.037) 0:01:33.989 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 16:24:27 +0000 (0:00:00.039) 0:01:34.029 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 16:24:27 +0000 (0:00:00.036) 0:01:34.066 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 16:24:27 +0000 (0:00:00.034) 0:01:34.100 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 16:24:27 +0000 (0:00:00.035) 0:01:34.136 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 16:24:27 +0000 (0:00:00.075) 0:01:34.211 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 16:24:27 +0000 (0:00:00.036) 0:01:34.248 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 16:24:27 +0000 (0:00:00.025) 0:01:34.274 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 16:24:27 +0000 (0:00:00.024) 0:01:34.298 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 16:24:27 +0000 (0:00:00.022) 0:01:34.321 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 16:24:27 +0000 (0:00:00.022) 0:01:34.343 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 16:24:27 +0000 (0:00:00.022) 0:01:34.366 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 16:24:27 +0000 (0:00:00.023) 0:01:34.389 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 16:24:27 +0000 (0:00:00.022) 0:01:34.411 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume.yml:16 Thursday 21 July 2022 16:24:27 +0000 (0:00:00.024) 0:01:34.436 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:53 Thursday 21 July 2022 16:24:27 +0000 (0:00:00.033) 0:01:34.469 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-7.qcow2 : ok=474 changed=24 unreachable=0 failed=0 skipped=427 rescued=0 ignored=0 Thursday 21 July 2022 16:24:27 +0000 (0:00:00.045) 0:01:34.514 ********* =============================================================================== linux-system-roles.storage : make sure blivet is available -------------- 8.64s /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Ensure cryptsetup is present -------------------------------------------- 1.49s /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:10 ------------------- set up internal repositories -------------------------------------------- 1.39s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- linux-system-roles.storage : manage the pools and volumes to match the specified state --- 1.33s /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Collect info about the volumes. ----------------------------------------- 1.32s /tmp/tmpaxjje44y/tests/verify-role-results.yml:14 ----------------------------- Collect info about the volumes. ----------------------------------------- 1.32s /tmp/tmpaxjje44y/tests/verify-role-results.yml:14 ----------------------------- linux-system-roles.storage : manage the pools and volumes to match the specified state --- 1.32s /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Collect info about the volumes. ----------------------------------------- 1.32s /tmp/tmpaxjje44y/tests/verify-role-results.yml:14 ----------------------------- linux-system-roles.storage : manage the pools and volumes to match the specified state --- 1.24s /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : get service facts -------------------------- 1.11s /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 linux-system-roles.storage : manage the pools and volumes to match the specified state --- 1.08s /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : manage the pools and volumes to match the specified state --- 1.06s /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Gathering Facts --------------------------------------------------------- 0.99s /tmp/tmpaxjje44y/tests/tests_swap_scsi_generated.yml:3 ------------------------ linux-system-roles.storage : manage the pools and volumes to match the specified state --- 0.93s /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : Update facts ------------------------------- 0.88s /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 linux-system-roles.storage : manage the pools and volumes to match the specified state --- 0.87s /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : Update facts ------------------------------- 0.85s /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 linux-system-roles.storage : Update facts ------------------------------- 0.84s /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 linux-system-roles.storage : Update facts ------------------------------- 0.84s /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 linux-system-roles.storage : Update facts ------------------------------- 0.84s /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmp5bkr4li_ executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 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: rhel-7_setup.yml ***************************************************** 1 plays in /cache/rhel-7_setup.yml PLAY [Setup repos] ************************************************************* META: ran handlers TASK [set up internal repositories] ******************************************** task path: /cache/rhel-7_setup.yml:5 Thursday 21 July 2022 19:31:36 +0000 (0:00:00.017) 0:00:00.017 ********* changed: [/cache/rhel-7.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-7.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-7.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-7.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-7.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-7.qcow2 : ok=1 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Thursday 21 July 2022 19:31:38 +0000 (0:00:01.425) 0:00:01.443 ********* =============================================================================== set up internal repositories -------------------------------------------- 1.43s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- PLAYBOOK: tests_swap_scsi_generated.yml **************************************** 2 plays in /tmp/tmptomayb7j/tests/storage/tests_swap_scsi_generated.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmptomayb7j/tests/storage/tests_swap_scsi_generated.yml:3 Thursday 21 July 2022 19:31:38 +0000 (0:00:00.016) 0:00:01.459 ********* ok: [/cache/rhel-7.qcow2] META: ran handlers TASK [set disk interface for test] ********************************************* task path: /tmp/tmptomayb7j/tests/storage/tests_swap_scsi_generated.yml:7 Thursday 21 July 2022 19:31:39 +0000 (0:00:00.985) 0:00:02.444 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_use_interface": "scsi" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmptomayb7j/tests/storage/tests_swap.yml:2 Thursday 21 July 2022 19:31:39 +0000 (0:00:00.046) 0:00:02.491 ********* ok: [/cache/rhel-7.qcow2] META: ran handlers TASK [include_role : fedora.linux_system_roles.storage] ************************ task path: /tmp/tmptomayb7j/tests/storage/tests_swap.yml:10 Thursday 21 July 2022 19:31:39 +0000 (0:00:00.734) 0:00:03.225 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 19:31:40 +0000 (0:00:00.037) 0:00:03.263 ********* included: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/rhel-7.qcow2 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 19:31:40 +0000 (0:00:00.029) 0:00:03.292 ********* ok: [/cache/rhel-7.qcow2] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 19:31:40 +0000 (0:00:00.408) 0:00:03.701 ********* skipping: [/cache/rhel-7.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-7.qcow2] => (item=RedHat_7.yml) => { "ansible_facts": { "__storage_blivet_diskvolume_mkfs_option_map": { "ext2": "-F", "ext3": "-F", "ext4": "-F" }, "blivet_package_list": [ "python-enum34", "python-blivet3", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/vars/RedHat_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.yml" } skipping: [/cache/rhel-7.qcow2] => (item=RedHat_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 19:31:40 +0000 (0:00:00.054) 0:00:03.756 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 19:31:40 +0000 (0:00:00.032) 0:00:03.788 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 19:31:40 +0000 (0:00:00.030) 0:00:03.819 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/rhel-7.qcow2 TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 19:31:40 +0000 (0:00:00.054) 0:00:03.874 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 19:31:40 +0000 (0:00:00.018) 0:00:03.892 ********* changed: [/cache/rhel-7.qcow2] => { "changed": true, "changes": { "installed": [ "python-enum34", "python-blivet3", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "rc": 0, "results": [ "Loaded plugins: search-disabled-repos\nResolving Dependencies\n--> Running transaction check\n---> Package libblockdev-crypto.x86_64 0:2.18-5.el7 will be installed\n--> Processing Dependency: libblockdev-utils(x86-64) = 2.18-5.el7 for package: libblockdev-crypto-2.18-5.el7.x86_64\n--> Processing Dependency: libvolume_key.so.1()(64bit) for package: libblockdev-crypto-2.18-5.el7.x86_64\n--> Processing Dependency: libbd_utils.so.2()(64bit) for package: libblockdev-crypto-2.18-5.el7.x86_64\n---> Package libblockdev-dm.x86_64 0:2.18-5.el7 will be installed\n--> Processing Dependency: libdmraid.so.1(Base)(64bit) for package: libblockdev-dm-2.18-5.el7.x86_64\n--> Processing Dependency: dmraid for package: libblockdev-dm-2.18-5.el7.x86_64\n--> Processing Dependency: libdmraid.so.1()(64bit) for package: libblockdev-dm-2.18-5.el7.x86_64\n---> Package libblockdev-lvm.x86_64 0:2.18-5.el7 will be installed\n--> Processing Dependency: lvm2 for package: libblockdev-lvm-2.18-5.el7.x86_64\n--> Processing Dependency: device-mapper-persistent-data for package: libblockdev-lvm-2.18-5.el7.x86_64\n---> Package libblockdev-mdraid.x86_64 0:2.18-5.el7 will be installed\n--> Processing Dependency: mdadm for package: libblockdev-mdraid-2.18-5.el7.x86_64\n--> Processing Dependency: libbytesize.so.1()(64bit) for package: libblockdev-mdraid-2.18-5.el7.x86_64\n---> Package libblockdev-swap.x86_64 0:2.18-5.el7 will be installed\n---> Package python-enum34.noarch 0:1.0.4-1.el7 will be installed\n---> Package python2-blivet3.noarch 1:3.1.3-3.el7 will be installed\n--> Processing Dependency: blivet3-data = 1:3.1.3-3.el7 for package: 1:python2-blivet3-3.1.3-3.el7.noarch\n--> Processing Dependency: python2-bytesize >= 0.3 for package: 1:python2-blivet3-3.1.3-3.el7.noarch\n--> Processing Dependency: python2-blockdev >= 2.17 for package: 1:python2-blivet3-3.1.3-3.el7.noarch\n--> Processing Dependency: pyparted >= 3.9 for package: 1:python2-blivet3-3.1.3-3.el7.noarch\n--> Processing Dependency: python2-hawkey for package: 1:python2-blivet3-3.1.3-3.el7.noarch\n--> Processing Dependency: lsof for package: 1:python2-blivet3-3.1.3-3.el7.noarch\n--> Running transaction check\n---> Package blivet3-data.noarch 1:3.1.3-3.el7 will be installed\n---> Package device-mapper-persistent-data.x86_64 0:0.8.5-3.el7_9.2 will be installed\n--> Processing Dependency: libaio.so.1(LIBAIO_0.4)(64bit) for package: device-mapper-persistent-data-0.8.5-3.el7_9.2.x86_64\n--> Processing Dependency: libaio.so.1(LIBAIO_0.1)(64bit) for package: device-mapper-persistent-data-0.8.5-3.el7_9.2.x86_64\n--> Processing Dependency: libaio.so.1()(64bit) for package: device-mapper-persistent-data-0.8.5-3.el7_9.2.x86_64\n---> Package dmraid.x86_64 0:1.0.0.rc16-28.el7 will be installed\n--> Processing Dependency: libdevmapper-event.so.1.02(Base)(64bit) for package: dmraid-1.0.0.rc16-28.el7.x86_64\n--> Processing Dependency: dmraid-events for package: dmraid-1.0.0.rc16-28.el7.x86_64\n--> Processing Dependency: libdevmapper-event.so.1.02()(64bit) for package: dmraid-1.0.0.rc16-28.el7.x86_64\n---> Package libblockdev-utils.x86_64 0:2.18-5.el7 will be installed\n---> Package libbytesize.x86_64 0:1.2-1.el7 will be installed\n--> Processing Dependency: libmpfr.so.4()(64bit) for package: libbytesize-1.2-1.el7.x86_64\n---> Package lsof.x86_64 0:4.87-6.el7 will be installed\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: liblvm2app.so.2.2(Base)(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---> Package mdadm.x86_64 0:4.1-9.el7_9 will be installed\n--> Processing Dependency: libreport-filesystem for package: mdadm-4.1-9.el7_9.x86_64\n---> Package pyparted.x86_64 1:3.9-15.el7 will be installed\n---> Package python2-blockdev.x86_64 0:2.18-5.el7 will be installed\n--> Processing Dependency: libblockdev(x86-64) = 2.18-5.el7 for package: python2-blockdev-2.18-5.el7.x86_64\n---> Package python2-bytesize.x86_64 0:1.2-1.el7 will be installed\n---> Package python2-hawkey.x86_64 0:0.22.5-2.el7_9 will be installed\n--> Processing Dependency: libdnf(x86-64) = 0.22.5-2.el7_9 for package: python2-hawkey-0.22.5-2.el7_9.x86_64\n--> Processing Dependency: python2-libdnf = 0.22.5-2.el7_9 for package: python2-hawkey-0.22.5-2.el7_9.x86_64\n--> Processing Dependency: libsolv.so.0(SOLV_1.0)(64bit) for package: python2-hawkey-0.22.5-2.el7_9.x86_64\n--> Processing Dependency: libsolvext.so.0(SOLV_1.0)(64bit) for package: python2-hawkey-0.22.5-2.el7_9.x86_64\n--> Processing Dependency: libdnf.so.2()(64bit) for package: python2-hawkey-0.22.5-2.el7_9.x86_64\n--> Processing Dependency: libjson-glib-1.0.so.0()(64bit) for package: python2-hawkey-0.22.5-2.el7_9.x86_64\n--> Processing Dependency: libmodulemd.so.1()(64bit) for package: python2-hawkey-0.22.5-2.el7_9.x86_64\n--> Processing Dependency: librepo.so.0()(64bit) for package: python2-hawkey-0.22.5-2.el7_9.x86_64\n--> Processing Dependency: librhsm.so.0()(64bit) for package: python2-hawkey-0.22.5-2.el7_9.x86_64\n--> Processing Dependency: libsolv.so.0()(64bit) for package: python2-hawkey-0.22.5-2.el7_9.x86_64\n--> Processing Dependency: libsolvext.so.0()(64bit) for package: python2-hawkey-0.22.5-2.el7_9.x86_64\n---> Package volume_key-libs.x86_64 0:0.3.9-9.el7 will be installed\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 dmraid-events.x86_64 0:1.0.0.rc16-28.el7 will be installed\n--> Processing Dependency: sgpio for package: dmraid-events-1.0.0.rc16-28.el7.x86_64\n--> Processing Dependency: device-mapper-event for package: dmraid-events-1.0.0.rc16-28.el7.x86_64\n---> Package json-glib.x86_64 0:1.4.2-2.el7 will be installed\n---> Package libaio.x86_64 0:0.3.109-13.el7 will be installed\n---> Package libblockdev.x86_64 0:2.18-5.el7 will be installed\n---> Package libdnf.x86_64 0:0.22.5-2.el7_9 will be installed\n---> Package libmodulemd.x86_64 0:1.6.3-1.el7 will be installed\n---> Package librepo.x86_64 0:1.8.1-8.el7_9 will be installed\n---> Package libreport-filesystem.x86_64 0:2.1.11-53.el7 will be installed\n---> Package librhsm.x86_64 0:0.0.3-3.el7_9 will be installed\n---> Package libsolv.x86_64 0:0.6.34-4.el7 will be installed\n---> Package lvm2-libs.x86_64 7:2.02.187-6.el7_9.5 will be installed\n---> Package mpfr.x86_64 0:3.1.1-4.el7 will be installed\n---> Package python2-libdnf.x86_64 0:0.22.5-2.el7_9 will be installed\n--> Running transaction check\n---> Package device-mapper-event.x86_64 7:1.02.170-6.el7_9.5 will be installed\n---> Package sgpio.x86_64 0:1.2.0.10-13.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n libblockdev-crypto x86_64 2.18-5.el7 rhel 60 k\n libblockdev-dm x86_64 2.18-5.el7 rhel-optional 54 k\n libblockdev-lvm x86_64 2.18-5.el7 rhel 62 k\n libblockdev-mdraid x86_64 2.18-5.el7 rhel 57 k\n libblockdev-swap x86_64 2.18-5.el7 rhel 52 k\n python-enum34 noarch 1.0.4-1.el7 rhel 52 k\n python2-blivet3 noarch 1:3.1.3-3.el7 rhel 851 k\nInstalling for dependencies:\n blivet3-data noarch 1:3.1.3-3.el7 rhel 77 k\n device-mapper-event\n x86_64 7:1.02.170-6.el7_9.5 rhel 192 k\n device-mapper-event-libs\n x86_64 7:1.02.170-6.el7_9.5 rhel 192 k\n device-mapper-persistent-data\n x86_64 0.8.5-3.el7_9.2 rhel 423 k\n dmraid x86_64 1.0.0.rc16-28.el7 rhel 151 k\n dmraid-events x86_64 1.0.0.rc16-28.el7 rhel 21 k\n json-glib x86_64 1.4.2-2.el7 rhel 134 k\n libaio x86_64 0.3.109-13.el7 rhel 24 k\n libblockdev x86_64 2.18-5.el7 rhel 119 k\n libblockdev-utils x86_64 2.18-5.el7 rhel 59 k\n libbytesize x86_64 1.2-1.el7 rhel 52 k\n libdnf x86_64 0.22.5-2.el7_9 rhel-7-server-extras-rpms 536 k\n libmodulemd x86_64 1.6.3-1.el7 rhel-7-server-extras-rpms 153 k\n librepo x86_64 1.8.1-8.el7_9 rhel 82 k\n libreport-filesystem\n x86_64 2.1.11-53.el7 rhel 41 k\n librhsm x86_64 0.0.3-3.el7_9 rhel-7-server-extras-rpms 28 k\n libsolv x86_64 0.6.34-4.el7 rhel 329 k\n lsof x86_64 4.87-6.el7 rhel 331 k\n lvm2 x86_64 7:2.02.187-6.el7_9.5 rhel 1.3 M\n lvm2-libs x86_64 7:2.02.187-6.el7_9.5 rhel 1.1 M\n mdadm x86_64 4.1-9.el7_9 rhel 440 k\n mpfr x86_64 3.1.1-4.el7 rhel 203 k\n pyparted x86_64 1:3.9-15.el7 rhel 195 k\n python2-blockdev x86_64 2.18-5.el7 rhel 61 k\n python2-bytesize x86_64 1.2-1.el7 rhel 22 k\n python2-hawkey x86_64 0.22.5-2.el7_9 rhel-7-server-extras-rpms 71 k\n python2-libdnf x86_64 0.22.5-2.el7_9 rhel-7-server-extras-rpms 611 k\n sgpio x86_64 1.2.0.10-13.el7 rhel 14 k\n volume_key-libs x86_64 0.3.9-9.el7 rhel 141 k\n\nTransaction Summary\n================================================================================\nInstall 7 Packages (+29 Dependent packages)\n\nTotal download size: 8.2 M\nInstalled size: 24 M\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 20 MB/s | 8.2 MB 00:00 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : libblockdev-utils-2.18-5.el7.x86_64 1/36 \n Installing : 7:device-mapper-event-libs-1.02.170-6.el7_9.5.x86_64 2/36 \n Installing : json-glib-1.4.2-2.el7.x86_64 3/36 \n Installing : librhsm-0.0.3-3.el7_9.x86_64 4/36 \n Installing : libsolv-0.6.34-4.el7.x86_64 5/36 \n Installing : libaio-0.3.109-13.el7.x86_64 6/36 \n Installing : librepo-1.8.1-8.el7_9.x86_64 7/36 \n Installing : libmodulemd-1.6.3-1.el7.x86_64 8/36 \n Installing : libdnf-0.22.5-2.el7_9.x86_64 9/36 \n Installing : device-mapper-persistent-data-0.8.5-3.el7_9.2.x86_64 10/36 \n Installing : 7:device-mapper-event-1.02.170-6.el7_9.5.x86_64 11/36 \n Installing : 7:lvm2-libs-2.02.187-6.el7_9.5.x86_64 12/36 \n Installing : 7:lvm2-2.02.187-6.el7_9.5.x86_64 13/36 \n Installing : python2-libdnf-0.22.5-2.el7_9.x86_64 14/36 \n Installing : python2-hawkey-0.22.5-2.el7_9.x86_64 15/36 \n Installing : libblockdev-2.18-5.el7.x86_64 16/36 \n Installing : python2-blockdev-2.18-5.el7.x86_64 17/36 \n Installing : 1:pyparted-3.9-15.el7.x86_64 18/36 \n Installing : sgpio-1.2.0.10-13.el7.x86_64 19/36 \n Installing : dmraid-1.0.0.rc16-28.el7.x86_64 20/36 \n Installing : dmraid-events-1.0.0.rc16-28.el7.x86_64 21/36 \n Installing : volume_key-libs-0.3.9-9.el7.x86_64 22/36 \n Installing : mpfr-3.1.1-4.el7.x86_64 23/36 \n Installing : libbytesize-1.2-1.el7.x86_64 24/36 \n Installing : python2-bytesize-1.2-1.el7.x86_64 25/36 \n Installing : libreport-filesystem-2.1.11-53.el7.x86_64 26/36 \n Installing : mdadm-4.1-9.el7_9.x86_64 27/36 \n Installing : 1:blivet3-data-3.1.3-3.el7.noarch 28/36 \n Installing : lsof-4.87-6.el7.x86_64 29/36 \n Installing : 1:python2-blivet3-3.1.3-3.el7.noarch 30/36 \n Installing : libblockdev-mdraid-2.18-5.el7.x86_64 31/36 \n Installing : libblockdev-crypto-2.18-5.el7.x86_64 32/36 \n Installing : libblockdev-dm-2.18-5.el7.x86_64 33/36 \n Installing : libblockdev-lvm-2.18-5.el7.x86_64 34/36 \n Installing : libblockdev-swap-2.18-5.el7.x86_64 35/36 \n Installing : python-enum34-1.0.4-1.el7.noarch 36/36 \n Verifying : 7:device-mapper-event-1.02.170-6.el7_9.5.x86_64 1/36 \n Verifying : libblockdev-swap-2.18-5.el7.x86_64 2/36 \n Verifying : librhsm-0.0.3-3.el7_9.x86_64 3/36 \n Verifying : libblockdev-lvm-2.18-5.el7.x86_64 4/36 \n Verifying : lsof-4.87-6.el7.x86_64 5/36 \n Verifying : libblockdev-mdraid-2.18-5.el7.x86_64 6/36 \n Verifying : libdnf-0.22.5-2.el7_9.x86_64 7/36 \n Verifying : python-enum34-1.0.4-1.el7.noarch 8/36 \n Verifying : 1:blivet3-data-3.1.3-3.el7.noarch 9/36 \n Verifying : dmraid-events-1.0.0.rc16-28.el7.x86_64 10/36 \n Verifying : python2-blockdev-2.18-5.el7.x86_64 11/36 \n Verifying : libmodulemd-1.6.3-1.el7.x86_64 12/36 \n Verifying : librepo-1.8.1-8.el7_9.x86_64 13/36 \n Verifying : libblockdev-dm-2.18-5.el7.x86_64 14/36 \n Verifying : json-glib-1.4.2-2.el7.x86_64 15/36 \n Verifying : libaio-0.3.109-13.el7.x86_64 16/36 \n Verifying : 7:lvm2-libs-2.02.187-6.el7_9.5.x86_64 17/36 \n Verifying : python2-hawkey-0.22.5-2.el7_9.x86_64 18/36 \n Verifying : python2-bytesize-1.2-1.el7.x86_64 19/36 \n Verifying : libblockdev-2.18-5.el7.x86_64 20/36 \n Verifying : libreport-filesystem-2.1.11-53.el7.x86_64 21/36 \n Verifying : libbytesize-1.2-1.el7.x86_64 22/36 \n Verifying : 7:device-mapper-event-libs-1.02.170-6.el7_9.5.x86_64 23/36 \n Verifying : python2-libdnf-0.22.5-2.el7_9.x86_64 24/36 \n Verifying : 7:lvm2-2.02.187-6.el7_9.5.x86_64 25/36 \n Verifying : libblockdev-utils-2.18-5.el7.x86_64 26/36 \n Verifying : mpfr-3.1.1-4.el7.x86_64 27/36 \n Verifying : volume_key-libs-0.3.9-9.el7.x86_64 28/36 \n Verifying : libsolv-0.6.34-4.el7.x86_64 29/36 \n Verifying : device-mapper-persistent-data-0.8.5-3.el7_9.2.x86_64 30/36 \n Verifying : 1:python2-blivet3-3.1.3-3.el7.noarch 31/36 \n Verifying : dmraid-1.0.0.rc16-28.el7.x86_64 32/36 \n Verifying : mdadm-4.1-9.el7_9.x86_64 33/36 \n Verifying : sgpio-1.2.0.10-13.el7.x86_64 34/36 \n Verifying : libblockdev-crypto-2.18-5.el7.x86_64 35/36 \n Verifying : 1:pyparted-3.9-15.el7.x86_64 36/36 \n\nInstalled:\n libblockdev-crypto.x86_64 0:2.18-5.el7 libblockdev-dm.x86_64 0:2.18-5.el7 \n libblockdev-lvm.x86_64 0:2.18-5.el7 libblockdev-mdraid.x86_64 0:2.18-5.el7\n libblockdev-swap.x86_64 0:2.18-5.el7 python-enum34.noarch 0:1.0.4-1.el7 \n python2-blivet3.noarch 1:3.1.3-3.el7 \n\nDependency Installed:\n blivet3-data.noarch 1:3.1.3-3.el7 \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 dmraid.x86_64 0:1.0.0.rc16-28.el7 \n dmraid-events.x86_64 0:1.0.0.rc16-28.el7 \n json-glib.x86_64 0:1.4.2-2.el7 \n libaio.x86_64 0:0.3.109-13.el7 \n libblockdev.x86_64 0:2.18-5.el7 \n libblockdev-utils.x86_64 0:2.18-5.el7 \n libbytesize.x86_64 0:1.2-1.el7 \n libdnf.x86_64 0:0.22.5-2.el7_9 \n libmodulemd.x86_64 0:1.6.3-1.el7 \n librepo.x86_64 0:1.8.1-8.el7_9 \n libreport-filesystem.x86_64 0:2.1.11-53.el7 \n librhsm.x86_64 0:0.0.3-3.el7_9 \n libsolv.x86_64 0:0.6.34-4.el7 \n lsof.x86_64 0:4.87-6.el7 \n lvm2.x86_64 7:2.02.187-6.el7_9.5 \n lvm2-libs.x86_64 7:2.02.187-6.el7_9.5 \n mdadm.x86_64 0:4.1-9.el7_9 \n mpfr.x86_64 0:3.1.1-4.el7 \n pyparted.x86_64 1:3.9-15.el7 \n python2-blockdev.x86_64 0:2.18-5.el7 \n python2-bytesize.x86_64 0:1.2-1.el7 \n python2-hawkey.x86_64 0:0.22.5-2.el7_9 \n python2-libdnf.x86_64 0:0.22.5-2.el7_9 \n sgpio.x86_64 0:1.2.0.10-13.el7 \n volume_key-libs.x86_64 0:0.3.9-9.el7 \n\nComplete!\n" ] } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 19:31:49 +0000 (0:00:08.507) 0:00:12.400 ********* ok: [/cache/rhel-7.qcow2] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 19:31:49 +0000 (0:00:00.063) 0:00:12.464 ********* ok: [/cache/rhel-7.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 19:31:49 +0000 (0:00:00.063) 0:00:12.527 ********* ok: [/cache/rhel-7.qcow2] => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 19:31:49 +0000 (0:00:00.637) 0:00:13.165 ********* included: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml for /cache/rhel-7.qcow2 TASK [fedora.linux_system_roles.storage : check if the COPR support packages should be installed] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:2 Thursday 21 July 2022 19:31:49 +0000 (0:00:00.044) 0:00:13.209 ********* TASK [fedora.linux_system_roles.storage : make sure COPR support packages are present] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:13 Thursday 21 July 2022 19:31:49 +0000 (0:00:00.031) 0:00:13.240 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable COPRs] ************************ task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:18 Thursday 21 July 2022 19:31:50 +0000 (0:00:00.039) 0:00:13.280 ********* TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 19:31:50 +0000 (0:00:00.036) 0:00:13.316 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [] } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 19:31:50 +0000 (0:00:00.575) 0:00:13.891 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "services": { "NetworkManager-dispatcher.service": { "name": "NetworkManager-dispatcher.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "NetworkManager-wait-online.service": { "name": "NetworkManager-wait-online.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "NetworkManager.service": { "name": "NetworkManager.service", "source": "systemd", "state": "running", "status": "enabled" }, "arp-ethers.service": { "name": "arp-ethers.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "auditd.service": { "name": "auditd.service", "source": "systemd", "state": "running", "status": "enabled" }, "auth-rpcgss-module.service": { "name": "auth-rpcgss-module.service", "source": "systemd", "state": "stopped", "status": "static" }, "autovt@.service": { "name": "autovt@.service", "source": "systemd", "state": "unknown", "status": "enabled" }, "blivet.service": { "name": "blivet.service", "source": "systemd", "state": "inactive", "status": "static" }, "blk-availability.service": { "name": "blk-availability.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "brandbot.service": { "name": "brandbot.service", "source": "systemd", "state": "stopped", "status": "static" }, "chrony-dnssrv@.service": { "name": "chrony-dnssrv@.service", "source": "systemd", "state": "unknown", "status": "static" }, "chrony-wait.service": { "name": "chrony-wait.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "chronyd.service": { "name": "chronyd.service", "source": "systemd", "state": "running", "status": "enabled" }, "cloud-config.service": { "name": "cloud-config.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-final.service": { "name": "cloud-final.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init-local.service": { "name": "cloud-init-local.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init.service": { "name": "cloud-init.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "console-getty.service": { "name": "console-getty.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "console-shell.service": { "name": "console-shell.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "container-getty@.service": { "name": "container-getty@.service", "source": "systemd", "state": "unknown", "status": "static" }, "cpupower.service": { "name": "cpupower.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "crond.service": { "name": "crond.service", "source": "systemd", "state": "running", "status": "enabled" }, "dbus-org.freedesktop.hostname1.service": { "name": "dbus-org.freedesktop.hostname1.service", "source": "systemd", "state": "active", "status": "static" }, "dbus-org.freedesktop.import1.service": { "name": "dbus-org.freedesktop.import1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus-org.freedesktop.locale1.service": { "name": "dbus-org.freedesktop.locale1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus-org.freedesktop.login1.service": { "name": "dbus-org.freedesktop.login1.service", "source": "systemd", "state": "active", "status": "static" }, "dbus-org.freedesktop.machine1.service": { "name": "dbus-org.freedesktop.machine1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus-org.freedesktop.nm-dispatcher.service": { "name": "dbus-org.freedesktop.nm-dispatcher.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "dbus-org.freedesktop.timedate1.service": { "name": "dbus-org.freedesktop.timedate1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus.service": { "name": "dbus.service", "source": "systemd", "state": "running", "status": "static" }, "debug-shell.service": { "name": "debug-shell.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "display-manager.service": { "name": "display-manager.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "dm-event.service": { "name": "dm-event.service", "source": "systemd", "state": "stopped", "status": "static" }, "dmraid-activation.service": { "name": "dmraid-activation.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "dracut-cmdline.service": { "name": "dracut-cmdline.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-initqueue.service": { "name": "dracut-initqueue.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-mount.service": { "name": "dracut-mount.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-mount.service": { "name": "dracut-pre-mount.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-pivot.service": { "name": "dracut-pre-pivot.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-trigger.service": { "name": "dracut-pre-trigger.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-udev.service": { "name": "dracut-pre-udev.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-shutdown.service": { "name": "dracut-shutdown.service", "source": "systemd", "state": "stopped", "status": "static" }, "emergency.service": { "name": "emergency.service", "source": "systemd", "state": "stopped", "status": "static" }, "exim.service": { "name": "exim.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "fstrim.service": { "name": "fstrim.service", "source": "systemd", "state": "inactive", "status": "static" }, "getty@.service": { "name": "getty@.service", "source": "systemd", "state": "unknown", "status": "enabled" }, "getty@tty1.service": { "name": "getty@tty1.service", "source": "systemd", "state": "running", "status": "active" }, "gssproxy.service": { "name": "gssproxy.service", "source": "systemd", "state": "running", "status": "disabled" }, "halt-local.service": { "name": "halt-local.service", "source": "systemd", "state": "inactive", "status": "static" }, "initrd-cleanup.service": { "name": "initrd-cleanup.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-parse-etc.service": { "name": "initrd-parse-etc.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-switch-root.service": { "name": "initrd-switch-root.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-udevadm-cleanup-db.service": { "name": "initrd-udevadm-cleanup-db.service", "source": "systemd", "state": "stopped", "status": "static" }, "ip6tables.service": { "name": "ip6tables.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "iptables.service": { "name": "iptables.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "irqbalance.service": { "name": "irqbalance.service", "source": "systemd", "state": "running", "status": "enabled" }, "kdump.service": { "name": "kdump.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "kmod-static-nodes.service": { "name": "kmod-static-nodes.service", "source": "systemd", "state": "stopped", "status": "static" }, "lvm2-activation-early.service": { "name": "lvm2-activation-early.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "lvm2-activation.service": { "name": "lvm2-activation.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "lvm2-lvmetad.service": { "name": "lvm2-lvmetad.service", "source": "systemd", "state": "running", "status": "static" }, "lvm2-lvmpolld.service": { "name": "lvm2-lvmpolld.service", "source": "systemd", "state": "stopped", "status": "static" }, "lvm2-monitor.service": { "name": "lvm2-monitor.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "lvm2-pvscan@.service": { "name": "lvm2-pvscan@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdadm-grow-continue@.service": { "name": "mdadm-grow-continue@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdadm-last-resort@.service": { "name": "mdadm-last-resort@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdcheck_continue.service": { "name": "mdcheck_continue.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdcheck_start.service": { "name": "mdcheck_start.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdmon@.service": { "name": "mdmon@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdmonitor-oneshot.service": { "name": "mdmonitor-oneshot.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdmonitor.service": { "name": "mdmonitor.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "messagebus.service": { "name": "messagebus.service", "source": "systemd", "state": "active", "status": "static" }, "microcode.service": { "name": "microcode.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "netconsole": { "name": "netconsole", "source": "sysv", "state": "stopped", "status": "disabled" }, "network": { "name": "network", "source": "sysv", "state": "running", "status": "enabled" }, "network.service": { "name": "network.service", "source": "systemd", "state": "stopped", "status": "active" }, "nfs-blkmap.service": { "name": "nfs-blkmap.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nfs-config.service": { "name": "nfs-config.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-idmap.service": { "name": "nfs-idmap.service", "source": "systemd", "state": "inactive", "status": "static" }, "nfs-idmapd.service": { "name": "nfs-idmapd.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-lock.service": { "name": "nfs-lock.service", "source": "systemd", "state": "inactive", "status": "static" }, "nfs-mountd.service": { "name": "nfs-mountd.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-rquotad.service": { "name": "nfs-rquotad.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nfs-secure-server.service": { "name": "nfs-secure-server.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "nfs-secure.service": { "name": "nfs-secure.service", "source": "systemd", "state": "inactive", "status": "static" }, "nfs-server.service": { "name": "nfs-server.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "nfs-utils.service": { "name": "nfs-utils.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs.service": { "name": "nfs.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nfslock.service": { "name": "nfslock.service", "source": "systemd", "state": "inactive", "status": "static" }, "ntpd.service": { "name": "ntpd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ntpdate.service": { "name": "ntpdate.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ovirt-guest-agent.service": { "name": "ovirt-guest-agent.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "plymouth-quit-wait.service": { "name": "plymouth-quit-wait.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "plymouth-start.service": { "name": "plymouth-start.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "polkit.service": { "name": "polkit.service", "source": "systemd", "state": "running", "status": "static" }, "postfix.service": { "name": "postfix.service", "source": "systemd", "state": "running", "status": "enabled" }, "qemu-guest-agent.service": { "name": "qemu-guest-agent.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "quotaon.service": { "name": "quotaon.service", "source": "systemd", "state": "inactive", "status": "static" }, "rc-local.service": { "name": "rc-local.service", "source": "systemd", "state": "stopped", "status": "static" }, "rdisc.service": { "name": "rdisc.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rescue.service": { "name": "rescue.service", "source": "systemd", "state": "stopped", "status": "static" }, "rhcd.service": { "name": "rhcd.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rhel-autorelabel-mark.service": { "name": "rhel-autorelabel-mark.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-autorelabel.service": { "name": "rhel-autorelabel.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-configure.service": { "name": "rhel-configure.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-dmesg.service": { "name": "rhel-dmesg.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-domainname.service": { "name": "rhel-domainname.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-import-state.service": { "name": "rhel-import-state.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-loadmodules.service": { "name": "rhel-loadmodules.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-readonly.service": { "name": "rhel-readonly.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhnsd": { "name": "rhnsd", "source": "sysv", "state": "running", "status": "enabled" }, "rhnsd.service": { "name": "rhnsd.service", "source": "systemd", "state": "running", "status": "active" }, "rhsm-facts.service": { "name": "rhsm-facts.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rhsm.service": { "name": "rhsm.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rhsmcertd.service": { "name": "rhsmcertd.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rpc-gssd.service": { "name": "rpc-gssd.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpc-rquotad.service": { "name": "rpc-rquotad.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rpc-statd-notify.service": { "name": "rpc-statd-notify.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpc-statd.service": { "name": "rpc-statd.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpcbind.service": { "name": "rpcbind.service", "source": "systemd", "state": "running", "status": "enabled" }, "rpcgssd.service": { "name": "rpcgssd.service", "source": "systemd", "state": "inactive", "status": "static" }, "rpcidmapd.service": { "name": "rpcidmapd.service", "source": "systemd", "state": "inactive", "status": "static" }, "rsyncd.service": { "name": "rsyncd.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rsyncd@.service": { "name": "rsyncd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "rsyslog.service": { "name": "rsyslog.service", "source": "systemd", "state": "running", "status": "enabled" }, "selinux-policy-migrate-local-changes@.service": { "name": "selinux-policy-migrate-local-changes@.service", "source": "systemd", "state": "unknown", "status": "static" }, "selinux-policy-migrate-local-changes@targeted.service": { "name": "selinux-policy-migrate-local-changes@targeted.service", "source": "systemd", "state": "stopped", "status": "active" }, "sendmail.service": { "name": "sendmail.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "serial-getty@.service": { "name": "serial-getty@.service", "source": "systemd", "state": "unknown", "status": "disabled" }, "serial-getty@ttyS0.service": { "name": "serial-getty@ttyS0.service", "source": "systemd", "state": "running", "status": "active" }, "sntp.service": { "name": "sntp.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "sshd-keygen.service": { "name": "sshd-keygen.service", "source": "systemd", "state": "stopped", "status": "static" }, "sshd.service": { "name": "sshd.service", "source": "systemd", "state": "running", "status": "enabled" }, "sshd@.service": { "name": "sshd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "syslog.service": { "name": "syslog.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "systemd-ask-password-console.service": { "name": "systemd-ask-password-console.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-ask-password-wall.service": { "name": "systemd-ask-password-wall.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-backlight@.service": { "name": "systemd-backlight@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-binfmt.service": { "name": "systemd-binfmt.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-bootchart.service": { "name": "systemd-bootchart.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-firstboot.service": { "name": "systemd-firstboot.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-fsck-root.service": { "name": "systemd-fsck-root.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-fsck@.service": { "name": "systemd-fsck@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-halt.service": { "name": "systemd-halt.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-hibernate-resume@.service": { "name": "systemd-hibernate-resume@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-hibernate.service": { "name": "systemd-hibernate.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-hostnamed.service": { "name": "systemd-hostnamed.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-hwdb-update.service": { "name": "systemd-hwdb-update.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-hybrid-sleep.service": { "name": "systemd-hybrid-sleep.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-importd.service": { "name": "systemd-importd.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-initctl.service": { "name": "systemd-initctl.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journal-catalog-update.service": { "name": "systemd-journal-catalog-update.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journal-flush.service": { "name": "systemd-journal-flush.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journald.service": { "name": "systemd-journald.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-kexec.service": { "name": "systemd-kexec.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-localed.service": { "name": "systemd-localed.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-logind.service": { "name": "systemd-logind.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-machine-id-commit.service": { "name": "systemd-machine-id-commit.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-machined.service": { "name": "systemd-machined.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-modules-load.service": { "name": "systemd-modules-load.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-nspawn@.service": { "name": "systemd-nspawn@.service", "source": "systemd", "state": "unknown", "status": "disabled" }, "systemd-poweroff.service": { "name": "systemd-poweroff.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-quotacheck.service": { "name": "systemd-quotacheck.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-random-seed.service": { "name": "systemd-random-seed.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-readahead-collect.service": { "name": "systemd-readahead-collect.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "systemd-readahead-done.service": { "name": "systemd-readahead-done.service", "source": "systemd", "state": "stopped", "status": "indirect" }, "systemd-readahead-drop.service": { "name": "systemd-readahead-drop.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "systemd-readahead-replay.service": { "name": "systemd-readahead-replay.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "systemd-reboot.service": { "name": "systemd-reboot.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-remount-fs.service": { "name": "systemd-remount-fs.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-rfkill@.service": { "name": "systemd-rfkill@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-shutdownd.service": { "name": "systemd-shutdownd.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-suspend.service": { "name": "systemd-suspend.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-sysctl.service": { "name": "systemd-sysctl.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-sysusers.service": { "name": "systemd-sysusers.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "systemd-timedated.service": { "name": "systemd-timedated.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-timesyncd.service": { "name": "systemd-timesyncd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "systemd-tmpfiles-clean.service": { "name": "systemd-tmpfiles-clean.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-tmpfiles-setup-dev.service": { "name": "systemd-tmpfiles-setup-dev.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-tmpfiles-setup.service": { "name": "systemd-tmpfiles-setup.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udev-settle.service": { "name": "systemd-udev-settle.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udev-trigger.service": { "name": "systemd-udev-trigger.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udevd.service": { "name": "systemd-udevd.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-update-done.service": { "name": "systemd-update-done.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-update-utmp-runlevel.service": { "name": "systemd-update-utmp-runlevel.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-update-utmp.service": { "name": "systemd-update-utmp.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-user-sessions.service": { "name": "systemd-user-sessions.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-vconsole-setup.service": { "name": "systemd-vconsole-setup.service", "source": "systemd", "state": "stopped", "status": "static" }, "teamd@.service": { "name": "teamd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "tuned.service": { "name": "tuned.service", "source": "systemd", "state": "running", "status": "enabled" }, "wpa_supplicant.service": { "name": "wpa_supplicant.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "ypbind.service": { "name": "ypbind.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "yppasswdd.service": { "name": "yppasswdd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ypserv.service": { "name": "ypserv.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ypxfrd.service": { "name": "ypxfrd.service", "source": "systemd", "state": "stopped", "status": "not-found" } } }, "changed": false } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 19:31:51 +0000 (0:00:01.134) 0:00:15.025 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 19:31:51 +0000 (0:00:00.054) 0:00:15.080 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 19:31:51 +0000 (0:00:00.020) 0:00:15.100 ********* ok: [/cache/rhel-7.qcow2] => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 19:31:52 +0000 (0:00:00.461) 0:00:15.562 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 19:31:52 +0000 (0:00:00.035) 0:00:15.597 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 19:31:52 +0000 (0:00:00.022) 0:00:15.620 ********* ok: [/cache/rhel-7.qcow2] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 19:31:52 +0000 (0:00:00.036) 0:00:15.656 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 19:31:52 +0000 (0:00:00.036) 0:00:15.692 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 19:31:52 +0000 (0:00:00.038) 0:00:15.731 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 19:31:52 +0000 (0:00:00.033) 0:00:15.765 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 19:31:52 +0000 (0:00:00.024) 0:00:15.789 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 19:31:52 +0000 (0:00:00.035) 0:00:15.825 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 19:31:52 +0000 (0:00:00.024) 0:00:15.850 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1658431907.0404563, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658201031.524, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 70, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1658200515.884, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "18446744071677828413", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 19:31:53 +0000 (0:00:00.439) 0:00:16.290 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 19:31:53 +0000 (0:00:00.022) 0:00:16.313 ********* ok: [/cache/rhel-7.qcow2] META: role_complete for /cache/rhel-7.qcow2 TASK [Mark tasks to be skipped] ************************************************ task path: /tmp/tmptomayb7j/tests/storage/tests_swap.yml:13 Thursday 21 July 2022 19:31:53 +0000 (0:00:00.867) 0:00:17.180 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_skip_checks": [ "blivet_available", "packages_installed", "service_facts" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmptomayb7j/tests/storage/tests_swap.yml:20 Thursday 21 July 2022 19:31:53 +0000 (0:00:00.034) 0:00:17.215 ********* included: /tmp/tmptomayb7j/tests/storage/get_unused_disk.yml for /cache/rhel-7.qcow2 TASK [Find unused disks in the system] ***************************************** task path: /tmp/tmptomayb7j/tests/storage/get_unused_disk.yml:2 Thursday 21 July 2022 19:31:53 +0000 (0:00:00.038) 0:00:17.253 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "disks": [ "sdb", "sdc" ] } TASK [Set unused_disks if necessary] ******************************************* task path: /tmp/tmptomayb7j/tests/storage/get_unused_disk.yml:9 Thursday 21 July 2022 19:31:54 +0000 (0:00:00.481) 0:00:17.735 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "unused_disks": [ "sdb", "sdc" ] }, "changed": false } TASK [Exit playbook when there's not enough unused disks in the system] ******** task path: /tmp/tmptomayb7j/tests/storage/get_unused_disk.yml:14 Thursday 21 July 2022 19:31:54 +0000 (0:00:00.038) 0:00:17.773 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Print unused disks] ****************************************************** task path: /tmp/tmptomayb7j/tests/storage/get_unused_disk.yml:19 Thursday 21 July 2022 19:31:54 +0000 (0:00:00.038) 0:00:17.811 ********* ok: [/cache/rhel-7.qcow2] => { "unused_disks": [ "sdb", "sdc" ] } TASK [Create a disk device with swap] ****************************************** task path: /tmp/tmptomayb7j/tests/storage/tests_swap.yml:25 Thursday 21 July 2022 19:31:54 +0000 (0:00:00.036) 0:00:17.848 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 19:31:54 +0000 (0:00:00.043) 0:00:17.891 ********* included: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/rhel-7.qcow2 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 19:31:54 +0000 (0:00:00.035) 0:00:17.927 ********* ok: [/cache/rhel-7.qcow2] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 19:31:55 +0000 (0:00:00.410) 0:00:18.337 ********* skipping: [/cache/rhel-7.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-7.qcow2] => (item=RedHat_7.yml) => { "ansible_facts": { "__storage_blivet_diskvolume_mkfs_option_map": { "ext2": "-F", "ext3": "-F", "ext4": "-F" }, "blivet_package_list": [ "python-enum34", "python-blivet3", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/vars/RedHat_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.yml" } skipping: [/cache/rhel-7.qcow2] => (item=RedHat_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 19:31:55 +0000 (0:00:00.060) 0:00:18.398 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 19:31:55 +0000 (0:00:00.033) 0:00:18.431 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 19:31:55 +0000 (0:00:00.032) 0:00:18.463 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/rhel-7.qcow2 TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 19:31:55 +0000 (0:00:00.053) 0:00:18.516 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 19:31:55 +0000 (0:00:00.018) 0:00:18.535 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 19:31:55 +0000 (0:00:00.025) 0:00:18.560 ********* ok: [/cache/rhel-7.qcow2] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 19:31:55 +0000 (0:00:00.035) 0:00:18.596 ********* ok: [/cache/rhel-7.qcow2] => { "storage_volumes": [ { "disks": [ "sdb" ], "fs_type": "swap", "name": "test1", "type": "disk" } ] } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 19:31:55 +0000 (0:00:00.035) 0:00:18.631 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 19:31:55 +0000 (0:00:00.029) 0:00:18.660 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 19:31:55 +0000 (0:00:00.026) 0:00:18.687 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 19:31:55 +0000 (0:00:00.031) 0:00:18.719 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 19:31:55 +0000 (0:00:00.028) 0:00:18.748 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 19:31:55 +0000 (0:00:00.058) 0:00:18.806 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 19:31:55 +0000 (0:00:00.023) 0:00:18.830 ********* changed: [/cache/rhel-7.qcow2] => { "actions": [ { "action": "create format", "device": "/dev/sdb", "fs_type": "swap" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "dump": 0, "fstype": "swap", "opts": "defaults", "passno": 0, "path": "none", "src": "UUID=fb046353-1476-48fb-9b13-5e0327c505f4", "state": "present" } ], "packages": [ "xfsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sdb", "_kernel_device": "/dev/sdb", "_mount_id": "UUID=fb046353-1476-48fb-9b13-5e0327c505f4", "_raw_device": "/dev/sdb", "_raw_kernel_device": "/dev/sdb", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 19:31:56 +0000 (0:00:01.057) 0:00:19.888 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 19:31:56 +0000 (0:00:00.035) 0:00:19.923 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 19:31:56 +0000 (0:00:00.022) 0:00:19.946 ********* ok: [/cache/rhel-7.qcow2] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/sdb", "fs_type": "swap" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "dump": 0, "fstype": "swap", "opts": "defaults", "passno": 0, "path": "none", "src": "UUID=fb046353-1476-48fb-9b13-5e0327c505f4", "state": "present" } ], "packages": [ "xfsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sdb", "_kernel_device": "/dev/sdb", "_mount_id": "UUID=fb046353-1476-48fb-9b13-5e0327c505f4", "_raw_device": "/dev/sdb", "_raw_kernel_device": "/dev/sdb", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 19:31:56 +0000 (0:00:00.063) 0:00:20.010 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 19:31:56 +0000 (0:00:00.034) 0:00:20.045 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/sdb", "_kernel_device": "/dev/sdb", "_mount_id": "UUID=fb046353-1476-48fb-9b13-5e0327c505f4", "_raw_device": "/dev/sdb", "_raw_kernel_device": "/dev/sdb", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 19:31:56 +0000 (0:00:00.038) 0:00:20.084 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 19:31:56 +0000 (0:00:00.036) 0:00:20.121 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 19:31:57 +0000 (0:00:00.709) 0:00:20.830 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-7.qcow2] => (item={'src': 'UUID=fb046353-1476-48fb-9b13-5e0327c505f4', 'dump': 0, 'passno': 0, 'fstype': 'swap', 'state': 'present', 'path': 'none', 'opts': 'defaults'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "swap", "mount_info": { "dump": 0, "fstype": "swap", "opts": "defaults", "passno": 0, "path": "none", "src": "UUID=fb046353-1476-48fb-9b13-5e0327c505f4", "state": "present" }, "name": "none", "opts": "defaults", "passno": "0", "src": "UUID=fb046353-1476-48fb-9b13-5e0327c505f4" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 19:31:58 +0000 (0:00:00.468) 0:00:21.299 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 19:31:58 +0000 (0:00:00.448) 0:00:21.747 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1658431907.0404563, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658201031.524, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 70, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1658200515.884, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "18446744071677828413", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 19:31:58 +0000 (0:00:00.308) 0:00:22.056 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 19:31:58 +0000 (0:00:00.022) 0:00:22.079 ********* ok: [/cache/rhel-7.qcow2] META: role_complete for /cache/rhel-7.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmptomayb7j/tests/storage/tests_swap.yml:35 Thursday 21 July 2022 19:31:59 +0000 (0:00:00.817) 0:00:22.896 ********* included: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml for /cache/rhel-7.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 19:31:59 +0000 (0:00:00.038) 0:00:22.935 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Print out volume information] ******************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 19:31:59 +0000 (0:00:00.033) 0:00:22.969 ********* ok: [/cache/rhel-7.qcow2] => { "_storage_volumes_list": [ { "_device": "/dev/sdb", "_kernel_device": "/dev/sdb", "_mount_id": "UUID=fb046353-1476-48fb-9b13-5e0327c505f4", "_raw_device": "/dev/sdb", "_raw_kernel_device": "/dev/sdb", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 19:31:59 +0000 (0:00:00.046) 0:00:23.015 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "info": { "/dev/fd0": { "fstype": "", "label": "", "name": "/dev/fd0", "size": "4K", "type": "disk", "uuid": "" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "swap", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "fb046353-1476-48fb-9b13-5e0327c505f4" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-19-31-24-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "xfs", "label": "", "name": "/dev/vda1", "size": "10G", "type": "partition", "uuid": "21864ae1-1c29-4009-a1c2-151e41d0e053" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 19:32:00 +0000 (0:00:00.433) 0:00:23.448 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003510", "end": "2022-07-21 15:32:00.671152", "rc": 0, "start": "2022-07-21 15:32:00.667642" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jul 19 03:15:15 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk' # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info # UUID=21864ae1-1c29-4009-a1c2-151e41d0e053 / xfs defaults 0 0 UUID=fb046353-1476-48fb-9b13-5e0327c505f4 none swap defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 19:32:00 +0000 (0:00:00.433) 0:00:23.882 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003503", "end": "2022-07-21 15:32:01.012190", "failed_when_result": false, "rc": 0, "start": "2022-07-21 15:32:01.008687" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 19:32:00 +0000 (0:00:00.339) 0:00:24.222 ********* TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 19:32:00 +0000 (0:00:00.026) 0:00:24.248 ********* included: /tmp/tmptomayb7j/tests/storage/test-verify-volume.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/sdb', 'raid_metadata_version': None, 'mount_device_identifier': 'uuid', 'fs_type': 'swap', 'mount_options': 'defaults', '_device': '/dev/sdb', 'size': 10737418240, 'mount_point': None, 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/sdb', 'encryption': False, 'raid_level': None, 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'type': 'disk', 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': 'UUID=fb046353-1476-48fb-9b13-5e0327c505f4', 'raid_spare_count': None, 'name': 'test1', '_raw_kernel_device': '/dev/sdb', 'cache_mode': None, 'cache_devices': [], 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb'], 'thin': None, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'thin_pool_size': None, 'fs_create_options': ''}) TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 19:32:01 +0000 (0:00:00.060) 0:00:24.309 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 19:32:01 +0000 (0:00:00.048) 0:00:24.357 ********* included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml for /cache/rhel-7.qcow2 => (item=mount) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml for /cache/rhel-7.qcow2 => (item=fstab) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fs.yml for /cache/rhel-7.qcow2 => (item=fs) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml for /cache/rhel-7.qcow2 => (item=device) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml for /cache/rhel-7.qcow2 => (item=encryption) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml for /cache/rhel-7.qcow2 => (item=md) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml for /cache/rhel-7.qcow2 => (item=size) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml for /cache/rhel-7.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 19:32:01 +0000 (0:00:00.077) 0:00:24.435 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/sdb" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 19:32:01 +0000 (0:00:00.040) 0:00:24.476 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [], "storage_test_mount_expected_match_count": "0", "storage_test_mount_point_matches": [], "storage_test_swap_expected_matches": "1" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 19:32:01 +0000 (0:00:00.066) 0:00:24.542 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 19:32:01 +0000 (0:00:00.035) 0:00:24.578 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 19:32:01 +0000 (0:00:00.049) 0:00:24.628 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 19:32:01 +0000 (0:00:00.042) 0:00:24.671 ********* changed: [/cache/rhel-7.qcow2] => { "changed": true, "cmd": [ "realpath", "/dev/sdb" ], "delta": "0:00:00.005115", "end": "2022-07-21 15:32:01.785822", "rc": 0, "start": "2022-07-21 15:32:01.780707" } STDOUT: /dev/sdb TASK [Gather swap info] ******************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 19:32:01 +0000 (0:00:00.324) 0:00:24.995 ********* changed: [/cache/rhel-7.qcow2] => { "changed": true, "cmd": [ "cat", "/proc/swaps" ], "delta": "0:00:00.003545", "end": "2022-07-21 15:32:02.092173", "rc": 0, "start": "2022-07-21 15:32:02.088628" } STDOUT: Filename Type Size Used Priority /dev/sdb partition 10485756 0 -2 TASK [Verify swap status] ****************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 19:32:02 +0000 (0:00:00.308) 0:00:25.303 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Unset facts] ************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 19:32:02 +0000 (0:00:00.057) 0:00:25.361 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 19:32:02 +0000 (0:00:00.032) 0:00:25.393 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "0", "storage_test_fstab_id_matches": [ "UUID=fb046353-1476-48fb-9b13-5e0327c505f4 " ], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 19:32:02 +0000 (0:00:00.056) 0:00:25.450 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 19:32:02 +0000 (0:00:00.046) 0:00:25.496 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 19:32:02 +0000 (0:00:00.051) 0:00:25.548 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 19:32:02 +0000 (0:00:00.035) 0:00:25.584 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 19:32:02 +0000 (0:00:00.032) 0:00:25.616 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 19:32:02 +0000 (0:00:00.039) 0:00:25.656 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 19:32:02 +0000 (0:00:00.038) 0:00:25.695 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1658431916.6454563, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658431916.6314564, "dev": 5, "device_type": 2064, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 11539, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1658431916.6314564, "nlink": 1, "path": "/dev/sdb", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 19:32:02 +0000 (0:00:00.322) 0:00:26.017 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 19:32:02 +0000 (0:00:00.090) 0:00:26.107 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 19:32:02 +0000 (0:00:00.108) 0:00:26.216 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "st_volume_type": "disk" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 19:32:02 +0000 (0:00:00.034) 0:00:26.251 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 19:32:03 +0000 (0:00:00.021) 0:00:26.272 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 19:32:03 +0000 (0:00:00.038) 0:00:26.311 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 19:32:03 +0000 (0:00:00.024) 0:00:26.336 ********* changed: [/cache/rhel-7.qcow2] => { "changed": true, "changes": { "installed": [ "cryptsetup" ] }, "rc": 0, "results": [ "Loaded plugins: search-disabled-repos\nResolving Dependencies\n--> Running transaction check\n---> Package cryptsetup.x86_64 0:2.0.3-6.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n cryptsetup x86_64 2.0.3-6.el7 rhel 154 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package\n\nTotal download size: 154 k\nInstalled size: 354 k\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : cryptsetup-2.0.3-6.el7.x86_64 1/1 \n Verifying : cryptsetup-2.0.3-6.el7.x86_64 1/1 \n\nInstalled:\n cryptsetup.x86_64 0:2.0.3-6.el7 \n\nComplete!\n" ] } TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 19:32:04 +0000 (0:00:01.462) 0:00:27.799 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 19:32:04 +0000 (0:00:00.024) 0:00:27.823 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 19:32:04 +0000 (0:00:00.024) 0:00:27.848 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 19:32:04 +0000 (0:00:00.051) 0:00:27.899 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 19:32:04 +0000 (0:00:00.024) 0:00:27.924 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 19:32:04 +0000 (0:00:00.024) 0:00:27.948 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 19:32:04 +0000 (0:00:00.022) 0:00:27.971 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 19:32:04 +0000 (0:00:00.023) 0:00:27.994 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 19:32:04 +0000 (0:00:00.024) 0:00:28.019 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 19:32:04 +0000 (0:00:00.048) 0:00:28.067 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 19:32:04 +0000 (0:00:00.045) 0:00:28.113 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 19:32:04 +0000 (0:00:00.041) 0:00:28.155 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 19:32:04 +0000 (0:00:00.038) 0:00:28.193 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 19:32:04 +0000 (0:00:00.035) 0:00:28.229 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 19:32:05 +0000 (0:00:00.035) 0:00:28.264 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 19:32:05 +0000 (0:00:00.035) 0:00:28.299 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 19:32:05 +0000 (0:00:00.037) 0:00:28.337 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 19:32:05 +0000 (0:00:00.036) 0:00:28.373 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 19:32:05 +0000 (0:00:00.036) 0:00:28.409 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 19:32:05 +0000 (0:00:00.041) 0:00:28.451 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 19:32:05 +0000 (0:00:00.046) 0:00:28.498 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 19:32:05 +0000 (0:00:00.034) 0:00:28.532 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 19:32:05 +0000 (0:00:00.024) 0:00:28.557 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 19:32:05 +0000 (0:00:00.034) 0:00:28.592 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 19:32:05 +0000 (0:00:00.037) 0:00:28.629 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 19:32:05 +0000 (0:00:00.033) 0:00:28.662 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 19:32:05 +0000 (0:00:00.033) 0:00:28.696 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 19:32:05 +0000 (0:00:00.037) 0:00:28.734 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 19:32:05 +0000 (0:00:00.039) 0:00:28.773 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 19:32:05 +0000 (0:00:00.036) 0:00:28.810 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 19:32:05 +0000 (0:00:00.036) 0:00:28.846 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 19:32:05 +0000 (0:00:00.067) 0:00:28.914 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 19:32:05 +0000 (0:00:00.035) 0:00:28.950 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 19:32:05 +0000 (0:00:00.022) 0:00:28.972 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 19:32:05 +0000 (0:00:00.021) 0:00:28.994 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 19:32:05 +0000 (0:00:00.021) 0:00:29.016 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 19:32:05 +0000 (0:00:00.047) 0:00:29.063 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 19:32:05 +0000 (0:00:00.025) 0:00:29.088 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 19:32:05 +0000 (0:00:00.023) 0:00:29.112 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 19:32:05 +0000 (0:00:00.022) 0:00:29.135 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 19:32:05 +0000 (0:00:00.025) 0:00:29.161 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 19:32:05 +0000 (0:00:00.035) 0:00:29.196 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Format second disk as ext3] ********************************************** task path: /tmp/tmptomayb7j/tests/storage/tests_swap.yml:37 Thursday 21 July 2022 19:32:05 +0000 (0:00:00.034) 0:00:29.231 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 19:32:06 +0000 (0:00:00.050) 0:00:29.282 ********* included: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/rhel-7.qcow2 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 19:32:06 +0000 (0:00:00.034) 0:00:29.316 ********* ok: [/cache/rhel-7.qcow2] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 19:32:06 +0000 (0:00:00.404) 0:00:29.721 ********* skipping: [/cache/rhel-7.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-7.qcow2] => (item=RedHat_7.yml) => { "ansible_facts": { "__storage_blivet_diskvolume_mkfs_option_map": { "ext2": "-F", "ext3": "-F", "ext4": "-F" }, "blivet_package_list": [ "python-enum34", "python-blivet3", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/vars/RedHat_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.yml" } skipping: [/cache/rhel-7.qcow2] => (item=RedHat_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 19:32:06 +0000 (0:00:00.062) 0:00:29.783 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 19:32:06 +0000 (0:00:00.035) 0:00:29.819 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 19:32:06 +0000 (0:00:00.033) 0:00:29.853 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/rhel-7.qcow2 TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 19:32:06 +0000 (0:00:00.053) 0:00:29.907 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 19:32:06 +0000 (0:00:00.021) 0:00:29.928 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 19:32:06 +0000 (0:00:00.027) 0:00:29.956 ********* ok: [/cache/rhel-7.qcow2] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 19:32:06 +0000 (0:00:00.035) 0:00:29.991 ********* ok: [/cache/rhel-7.qcow2] => { "storage_volumes": [ { "disks": [ "sdc" ], "fs_type": "ext3", "mount_point": "none", "name": "test2", "type": "disk" } ] } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 19:32:06 +0000 (0:00:00.036) 0:00:30.027 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 19:32:06 +0000 (0:00:00.028) 0:00:30.056 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 19:32:06 +0000 (0:00:00.025) 0:00:30.082 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 19:32:06 +0000 (0:00:00.025) 0:00:30.107 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 19:32:06 +0000 (0:00:00.024) 0:00:30.132 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 19:32:06 +0000 (0:00:00.058) 0:00:30.190 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 19:32:06 +0000 (0:00:00.022) 0:00:30.213 ********* changed: [/cache/rhel-7.qcow2] => { "actions": [ { "action": "create format", "device": "/dev/sdc", "fs_type": "ext3" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [], "packages": [ "xfsprogs", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sdc", "_kernel_device": "/dev/sdc", "_mount_id": "UUID=37c097b0-26ee-4aec-bbf8-38b72e2948fe", "_raw_device": "/dev/sdc", "_raw_kernel_device": "/dev/sdc", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "none", "name": "test2", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 19:32:08 +0000 (0:00:01.330) 0:00:31.543 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 19:32:08 +0000 (0:00:00.039) 0:00:31.582 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 19:32:08 +0000 (0:00:00.023) 0:00:31.606 ********* ok: [/cache/rhel-7.qcow2] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/sdc", "fs_type": "ext3" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [], "packages": [ "xfsprogs", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sdc", "_kernel_device": "/dev/sdc", "_mount_id": "UUID=37c097b0-26ee-4aec-bbf8-38b72e2948fe", "_raw_device": "/dev/sdc", "_raw_kernel_device": "/dev/sdc", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "none", "name": "test2", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 19:32:08 +0000 (0:00:00.076) 0:00:31.682 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 19:32:08 +0000 (0:00:00.096) 0:00:31.779 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/sdc", "_kernel_device": "/dev/sdc", "_mount_id": "UUID=37c097b0-26ee-4aec-bbf8-38b72e2948fe", "_raw_device": "/dev/sdc", "_raw_kernel_device": "/dev/sdc", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "none", "name": "test2", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 19:32:08 +0000 (0:00:00.039) 0:00:31.818 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 19:32:08 +0000 (0:00:00.037) 0:00:31.856 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 19:32:08 +0000 (0:00:00.025) 0:00:31.882 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 19:32:08 +0000 (0:00:00.040) 0:00:31.922 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 19:32:08 +0000 (0:00:00.025) 0:00:31.947 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1658431907.0404563, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658201031.524, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 70, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1658200515.884, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "18446744071677828413", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 19:32:09 +0000 (0:00:00.329) 0:00:32.277 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 19:32:09 +0000 (0:00:00.023) 0:00:32.300 ********* ok: [/cache/rhel-7.qcow2] META: role_complete for /cache/rhel-7.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmptomayb7j/tests/storage/tests_swap.yml:48 Thursday 21 July 2022 19:32:09 +0000 (0:00:00.844) 0:00:33.145 ********* included: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml for /cache/rhel-7.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 19:32:09 +0000 (0:00:00.043) 0:00:33.189 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Print out volume information] ******************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 19:32:09 +0000 (0:00:00.038) 0:00:33.227 ********* ok: [/cache/rhel-7.qcow2] => { "_storage_volumes_list": [ { "_device": "/dev/sdc", "_kernel_device": "/dev/sdc", "_mount_id": "UUID=37c097b0-26ee-4aec-bbf8-38b72e2948fe", "_raw_device": "/dev/sdc", "_raw_kernel_device": "/dev/sdc", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "none", "name": "test2", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 19:32:10 +0000 (0:00:00.049) 0:00:33.277 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "info": { "/dev/fd0": { "fstype": "", "label": "", "name": "/dev/fd0", "size": "4K", "type": "disk", "uuid": "" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "swap", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "fb046353-1476-48fb-9b13-5e0327c505f4" }, "/dev/sdc": { "fstype": "ext3", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "37c097b0-26ee-4aec-bbf8-38b72e2948fe" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-19-31-24-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "xfs", "label": "", "name": "/dev/vda1", "size": "10G", "type": "partition", "uuid": "21864ae1-1c29-4009-a1c2-151e41d0e053" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 19:32:10 +0000 (0:00:00.328) 0:00:33.606 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003350", "end": "2022-07-21 15:32:10.698323", "rc": 0, "start": "2022-07-21 15:32:10.694973" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jul 19 03:15:15 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk' # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info # UUID=21864ae1-1c29-4009-a1c2-151e41d0e053 / xfs defaults 0 0 UUID=fb046353-1476-48fb-9b13-5e0327c505f4 none swap defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 19:32:10 +0000 (0:00:00.304) 0:00:33.910 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003345", "end": "2022-07-21 15:32:11.005319", "failed_when_result": false, "rc": 0, "start": "2022-07-21 15:32:11.001974" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 19:32:10 +0000 (0:00:00.309) 0:00:34.219 ********* TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 19:32:10 +0000 (0:00:00.022) 0:00:34.242 ********* included: /tmp/tmptomayb7j/tests/storage/test-verify-volume.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/sdc', 'raid_metadata_version': None, 'mount_device_identifier': 'uuid', 'fs_type': 'ext3', 'mount_options': 'defaults', '_device': '/dev/sdc', 'size': 10737418240, 'mount_point': 'none', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/sdc', 'encryption': False, 'raid_level': None, 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'type': 'disk', 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': 'UUID=37c097b0-26ee-4aec-bbf8-38b72e2948fe', 'raid_spare_count': None, 'name': 'test2', '_raw_kernel_device': '/dev/sdc', 'cache_mode': None, 'cache_devices': [], 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdc'], 'thin': None, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'thin_pool_size': None, 'fs_create_options': ''}) TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 19:32:11 +0000 (0:00:00.058) 0:00:34.300 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 19:32:11 +0000 (0:00:00.077) 0:00:34.378 ********* included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml for /cache/rhel-7.qcow2 => (item=mount) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml for /cache/rhel-7.qcow2 => (item=fstab) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fs.yml for /cache/rhel-7.qcow2 => (item=fs) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml for /cache/rhel-7.qcow2 => (item=device) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml for /cache/rhel-7.qcow2 => (item=encryption) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml for /cache/rhel-7.qcow2 => (item=md) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml for /cache/rhel-7.qcow2 => (item=size) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml for /cache/rhel-7.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 19:32:11 +0000 (0:00:00.110) 0:00:34.488 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/sdc" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 19:32:11 +0000 (0:00:00.039) 0:00:34.528 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [], "storage_test_mount_expected_match_count": "0", "storage_test_mount_point_matches": [], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 19:32:11 +0000 (0:00:00.051) 0:00:34.580 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 19:32:11 +0000 (0:00:00.051) 0:00:34.632 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 19:32:11 +0000 (0:00:00.048) 0:00:34.680 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 19:32:11 +0000 (0:00:00.041) 0:00:34.722 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 19:32:11 +0000 (0:00:00.024) 0:00:34.746 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 19:32:11 +0000 (0:00:00.023) 0:00:34.769 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 19:32:11 +0000 (0:00:00.024) 0:00:34.794 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 19:32:11 +0000 (0:00:00.035) 0:00:34.829 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "0", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "0", "storage_test_fstab_id_matches": [], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 19:32:11 +0000 (0:00:00.059) 0:00:34.889 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 19:32:11 +0000 (0:00:00.053) 0:00:34.943 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 19:32:11 +0000 (0:00:00.055) 0:00:34.998 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 19:32:11 +0000 (0:00:00.043) 0:00:35.042 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 19:32:11 +0000 (0:00:00.041) 0:00:35.083 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 19:32:11 +0000 (0:00:00.044) 0:00:35.127 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 19:32:11 +0000 (0:00:00.047) 0:00:35.174 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1658431928.3004563, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658431928.3004563, "dev": 5, "device_type": 2080, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 11538, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1658431928.3004563, "nlink": 1, "path": "/dev/sdc", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 19:32:12 +0000 (0:00:00.334) 0:00:35.509 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 19:32:12 +0000 (0:00:00.040) 0:00:35.549 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 19:32:12 +0000 (0:00:00.039) 0:00:35.589 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "st_volume_type": "disk" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 19:32:12 +0000 (0:00:00.036) 0:00:35.626 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 19:32:12 +0000 (0:00:00.024) 0:00:35.651 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 19:32:12 +0000 (0:00:00.041) 0:00:35.693 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 19:32:12 +0000 (0:00:00.021) 0:00:35.715 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "cryptsetup-2.0.3-6.el7.x86_64 providing cryptsetup is already installed" ] } TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 19:32:12 +0000 (0:00:00.539) 0:00:36.255 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 19:32:13 +0000 (0:00:00.025) 0:00:36.280 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 19:32:13 +0000 (0:00:00.024) 0:00:36.305 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 19:32:13 +0000 (0:00:00.054) 0:00:36.360 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 19:32:13 +0000 (0:00:00.024) 0:00:36.384 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 19:32:13 +0000 (0:00:00.023) 0:00:36.408 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 19:32:13 +0000 (0:00:00.022) 0:00:36.430 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 19:32:13 +0000 (0:00:00.023) 0:00:36.454 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 19:32:13 +0000 (0:00:00.024) 0:00:36.479 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 19:32:13 +0000 (0:00:00.082) 0:00:36.561 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 19:32:13 +0000 (0:00:00.080) 0:00:36.642 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 19:32:13 +0000 (0:00:00.069) 0:00:36.711 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 19:32:13 +0000 (0:00:00.034) 0:00:36.746 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 19:32:13 +0000 (0:00:00.036) 0:00:36.783 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 19:32:13 +0000 (0:00:00.036) 0:00:36.820 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 19:32:13 +0000 (0:00:00.038) 0:00:36.858 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 19:32:13 +0000 (0:00:00.037) 0:00:36.895 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 19:32:13 +0000 (0:00:00.037) 0:00:36.932 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 19:32:13 +0000 (0:00:00.038) 0:00:36.971 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 19:32:13 +0000 (0:00:00.035) 0:00:37.006 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 19:32:13 +0000 (0:00:00.035) 0:00:37.042 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 19:32:13 +0000 (0:00:00.038) 0:00:37.080 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 19:32:13 +0000 (0:00:00.026) 0:00:37.106 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 19:32:13 +0000 (0:00:00.034) 0:00:37.140 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 19:32:13 +0000 (0:00:00.034) 0:00:37.174 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 19:32:13 +0000 (0:00:00.034) 0:00:37.208 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 19:32:13 +0000 (0:00:00.035) 0:00:37.244 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 19:32:14 +0000 (0:00:00.034) 0:00:37.279 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 19:32:14 +0000 (0:00:00.036) 0:00:37.315 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 19:32:14 +0000 (0:00:00.037) 0:00:37.353 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 19:32:14 +0000 (0:00:00.038) 0:00:37.391 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 19:32:14 +0000 (0:00:00.036) 0:00:37.428 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 19:32:14 +0000 (0:00:00.036) 0:00:37.465 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 19:32:14 +0000 (0:00:00.024) 0:00:37.489 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 19:32:14 +0000 (0:00:00.024) 0:00:37.514 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 19:32:14 +0000 (0:00:00.024) 0:00:37.538 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 19:32:14 +0000 (0:00:00.024) 0:00:37.563 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 19:32:14 +0000 (0:00:00.023) 0:00:37.586 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 19:32:14 +0000 (0:00:00.026) 0:00:37.613 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 19:32:14 +0000 (0:00:00.022) 0:00:37.635 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 19:32:14 +0000 (0:00:00.022) 0:00:37.658 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 19:32:14 +0000 (0:00:00.032) 0:00:37.690 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Change the disk device file system type to ext3] ************************* task path: /tmp/tmptomayb7j/tests/storage/tests_swap.yml:50 Thursday 21 July 2022 19:32:14 +0000 (0:00:00.033) 0:00:37.724 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 19:32:14 +0000 (0:00:00.053) 0:00:37.777 ********* included: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/rhel-7.qcow2 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 19:32:14 +0000 (0:00:00.036) 0:00:37.814 ********* ok: [/cache/rhel-7.qcow2] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 19:32:14 +0000 (0:00:00.418) 0:00:38.233 ********* skipping: [/cache/rhel-7.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-7.qcow2] => (item=RedHat_7.yml) => { "ansible_facts": { "__storage_blivet_diskvolume_mkfs_option_map": { "ext2": "-F", "ext3": "-F", "ext4": "-F" }, "blivet_package_list": [ "python-enum34", "python-blivet3", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/vars/RedHat_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.yml" } skipping: [/cache/rhel-7.qcow2] => (item=RedHat_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 19:32:15 +0000 (0:00:00.089) 0:00:38.323 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 19:32:15 +0000 (0:00:00.039) 0:00:38.362 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 19:32:15 +0000 (0:00:00.038) 0:00:38.400 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/rhel-7.qcow2 TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 19:32:15 +0000 (0:00:00.056) 0:00:38.457 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 19:32:15 +0000 (0:00:00.021) 0:00:38.479 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 19:32:15 +0000 (0:00:00.028) 0:00:38.507 ********* ok: [/cache/rhel-7.qcow2] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 19:32:15 +0000 (0:00:00.040) 0:00:38.547 ********* ok: [/cache/rhel-7.qcow2] => { "storage_volumes": [ { "disks": [ "sdb" ], "fs_type": "ext3", "mount_point": "/opt/test", "name": "test1", "type": "disk" } ] } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 19:32:15 +0000 (0:00:00.039) 0:00:38.587 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 19:32:15 +0000 (0:00:00.028) 0:00:38.615 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 19:32:15 +0000 (0:00:00.028) 0:00:38.644 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 19:32:15 +0000 (0:00:00.028) 0:00:38.673 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 19:32:15 +0000 (0:00:00.027) 0:00:38.700 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 19:32:15 +0000 (0:00:00.057) 0:00:38.758 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 19:32:15 +0000 (0:00:00.023) 0:00:38.781 ********* changed: [/cache/rhel-7.qcow2] => { "actions": [ { "action": "destroy format", "device": "/dev/sdb", "fs_type": "swap" }, { "action": "create format", "device": "/dev/sdb", "fs_type": "ext3" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "fstype": "swap", "path": "none", "src": "UUID=fb046353-1476-48fb-9b13-5e0327c505f4", "state": "absent" }, { "fstype": "swap", "path": "none", "src": "UUID=fb046353-1476-48fb-9b13-5e0327c505f4", "state": "absent" }, { "dump": 0, "fstype": "ext3", "opts": "defaults", "passno": 0, "path": "/opt/test", "src": "UUID=6345be36-cb6e-44cc-8476-0132be8c8950", "state": "mounted" } ], "packages": [ "xfsprogs", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sdb", "_kernel_device": "/dev/sdb", "_mount_id": "UUID=6345be36-cb6e-44cc-8476-0132be8c8950", "_raw_device": "/dev/sdb", "_raw_kernel_device": "/dev/sdb", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 19:32:16 +0000 (0:00:01.393) 0:00:40.175 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 19:32:16 +0000 (0:00:00.034) 0:00:40.210 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 19:32:16 +0000 (0:00:00.020) 0:00:40.231 ********* ok: [/cache/rhel-7.qcow2] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/sdb", "fs_type": "swap" }, { "action": "create format", "device": "/dev/sdb", "fs_type": "ext3" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "fstype": "swap", "path": "none", "src": "UUID=fb046353-1476-48fb-9b13-5e0327c505f4", "state": "absent" }, { "fstype": "swap", "path": "none", "src": "UUID=fb046353-1476-48fb-9b13-5e0327c505f4", "state": "absent" }, { "dump": 0, "fstype": "ext3", "opts": "defaults", "passno": 0, "path": "/opt/test", "src": "UUID=6345be36-cb6e-44cc-8476-0132be8c8950", "state": "mounted" } ], "packages": [ "xfsprogs", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sdb", "_kernel_device": "/dev/sdb", "_mount_id": "UUID=6345be36-cb6e-44cc-8476-0132be8c8950", "_raw_device": "/dev/sdb", "_raw_kernel_device": "/dev/sdb", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 19:32:17 +0000 (0:00:00.041) 0:00:40.272 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 19:32:17 +0000 (0:00:00.042) 0:00:40.314 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/sdb", "_kernel_device": "/dev/sdb", "_mount_id": "UUID=6345be36-cb6e-44cc-8476-0132be8c8950", "_raw_device": "/dev/sdb", "_raw_kernel_device": "/dev/sdb", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 19:32:17 +0000 (0:00:00.041) 0:00:40.356 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-7.qcow2] => (item={'src': 'UUID=fb046353-1476-48fb-9b13-5e0327c505f4', 'state': 'absent', 'path': 'none', 'fstype': 'swap'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "swap", "mount_info": { "fstype": "swap", "path": "none", "src": "UUID=fb046353-1476-48fb-9b13-5e0327c505f4", "state": "absent" }, "name": "none", "opts": "defaults", "passno": "0", "src": "UUID=fb046353-1476-48fb-9b13-5e0327c505f4" } redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount ok: [/cache/rhel-7.qcow2] => (item={'path': 'none', 'state': 'absent', 'src': 'UUID=fb046353-1476-48fb-9b13-5e0327c505f4', 'fstype': 'swap'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": false, "dump": "0", "fstab": "/etc/fstab", "fstype": "swap", "mount_info": { "fstype": "swap", "path": "none", "src": "UUID=fb046353-1476-48fb-9b13-5e0327c505f4", "state": "absent" }, "name": "none", "opts": "defaults", "passno": "0", "src": "UUID=fb046353-1476-48fb-9b13-5e0327c505f4" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 19:32:17 +0000 (0:00:00.628) 0:00:40.985 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 19:32:18 +0000 (0:00:00.494) 0:00:41.479 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-7.qcow2] => (item={'src': 'UUID=6345be36-cb6e-44cc-8476-0132be8c8950', 'dump': 0, 'passno': 0, 'fstype': 'ext3', 'state': 'mounted', 'path': '/opt/test', 'opts': 'defaults'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext3", "mount_info": { "dump": 0, "fstype": "ext3", "opts": "defaults", "passno": 0, "path": "/opt/test", "src": "UUID=6345be36-cb6e-44cc-8476-0132be8c8950", "state": "mounted" }, "name": "/opt/test", "opts": "defaults", "passno": "0", "src": "UUID=6345be36-cb6e-44cc-8476-0132be8c8950" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 19:32:18 +0000 (0:00:00.389) 0:00:41.869 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 19:32:19 +0000 (0:00:00.479) 0:00:42.348 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1658431907.0404563, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658201031.524, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 70, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1658200515.884, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "18446744071677828413", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 19:32:19 +0000 (0:00:00.316) 0:00:42.665 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 19:32:19 +0000 (0:00:00.022) 0:00:42.687 ********* ok: [/cache/rhel-7.qcow2] META: role_complete for /cache/rhel-7.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmptomayb7j/tests/storage/tests_swap.yml:61 Thursday 21 July 2022 19:32:20 +0000 (0:00:00.844) 0:00:43.532 ********* included: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml for /cache/rhel-7.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 19:32:20 +0000 (0:00:00.047) 0:00:43.580 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Print out volume information] ******************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 19:32:20 +0000 (0:00:00.034) 0:00:43.614 ********* ok: [/cache/rhel-7.qcow2] => { "_storage_volumes_list": [ { "_device": "/dev/sdb", "_kernel_device": "/dev/sdb", "_mount_id": "UUID=6345be36-cb6e-44cc-8476-0132be8c8950", "_raw_device": "/dev/sdb", "_raw_kernel_device": "/dev/sdb", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 19:32:20 +0000 (0:00:00.048) 0:00:43.663 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "info": { "/dev/fd0": { "fstype": "", "label": "", "name": "/dev/fd0", "size": "4K", "type": "disk", "uuid": "" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "ext3", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "6345be36-cb6e-44cc-8476-0132be8c8950" }, "/dev/sdc": { "fstype": "ext3", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "37c097b0-26ee-4aec-bbf8-38b72e2948fe" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-19-31-24-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "xfs", "label": "", "name": "/dev/vda1", "size": "10G", "type": "partition", "uuid": "21864ae1-1c29-4009-a1c2-151e41d0e053" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 19:32:20 +0000 (0:00:00.331) 0:00:43.995 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003872", "end": "2022-07-21 15:32:21.099340", "rc": 0, "start": "2022-07-21 15:32:21.095468" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jul 19 03:15:15 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk' # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info # UUID=21864ae1-1c29-4009-a1c2-151e41d0e053 / xfs defaults 0 0 UUID=6345be36-cb6e-44cc-8476-0132be8c8950 /opt/test ext3 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 19:32:21 +0000 (0:00:00.317) 0:00:44.313 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003559", "end": "2022-07-21 15:32:21.416502", "failed_when_result": false, "rc": 0, "start": "2022-07-21 15:32:21.412943" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 19:32:21 +0000 (0:00:00.317) 0:00:44.630 ********* TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 19:32:21 +0000 (0:00:00.022) 0:00:44.652 ********* included: /tmp/tmptomayb7j/tests/storage/test-verify-volume.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/sdb', 'raid_metadata_version': None, 'mount_device_identifier': 'uuid', 'fs_type': 'ext3', 'mount_options': 'defaults', '_device': '/dev/sdb', 'size': 10737418240, 'mount_point': '/opt/test', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/sdb', 'encryption': False, 'raid_level': None, 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'type': 'disk', 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': 'UUID=6345be36-cb6e-44cc-8476-0132be8c8950', 'raid_spare_count': None, 'name': 'test1', '_raw_kernel_device': '/dev/sdb', 'cache_mode': None, 'cache_devices': [], 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb'], 'thin': None, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'thin_pool_size': None, 'fs_create_options': ''}) TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 19:32:21 +0000 (0:00:00.054) 0:00:44.707 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 19:32:21 +0000 (0:00:00.048) 0:00:44.755 ********* included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml for /cache/rhel-7.qcow2 => (item=mount) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml for /cache/rhel-7.qcow2 => (item=fstab) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fs.yml for /cache/rhel-7.qcow2 => (item=fs) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml for /cache/rhel-7.qcow2 => (item=device) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml for /cache/rhel-7.qcow2 => (item=encryption) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml for /cache/rhel-7.qcow2 => (item=md) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml for /cache/rhel-7.qcow2 => (item=size) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml for /cache/rhel-7.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 19:32:21 +0000 (0:00:00.072) 0:00:44.828 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/sdb" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 19:32:21 +0000 (0:00:00.097) 0:00:44.925 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 2410672, "block_size": 4096, "block_total": 2547534, "block_used": 136862, "device": "/dev/sdb", "fstype": "ext3", "inode_available": 655349, "inode_total": 655360, "inode_used": 11, "mount": "/opt/test", "options": "rw,seclabel,relatime,data=ordered", "size_available": 9874112512, "size_total": 10434699264, "uuid": "6345be36-cb6e-44cc-8476-0132be8c8950" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 2410672, "block_size": 4096, "block_total": 2547534, "block_used": 136862, "device": "/dev/sdb", "fstype": "ext3", "inode_available": 655349, "inode_total": 655360, "inode_used": 11, "mount": "/opt/test", "options": "rw,seclabel,relatime,data=ordered", "size_available": 9874112512, "size_total": 10434699264, "uuid": "6345be36-cb6e-44cc-8476-0132be8c8950" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 19:32:21 +0000 (0:00:00.085) 0:00:45.010 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 19:32:21 +0000 (0:00:00.051) 0:00:45.062 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 19:32:21 +0000 (0:00:00.049) 0:00:45.111 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 19:32:21 +0000 (0:00:00.051) 0:00:45.163 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 19:32:21 +0000 (0:00:00.025) 0:00:45.188 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 19:32:21 +0000 (0:00:00.023) 0:00:45.212 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 19:32:21 +0000 (0:00:00.025) 0:00:45.238 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 19:32:22 +0000 (0:00:00.034) 0:00:45.273 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "UUID=6345be36-cb6e-44cc-8476-0132be8c8950 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test ext3 defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 19:32:22 +0000 (0:00:00.059) 0:00:45.332 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 19:32:22 +0000 (0:00:00.051) 0:00:45.383 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 19:32:22 +0000 (0:00:00.050) 0:00:45.433 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 19:32:22 +0000 (0:00:00.036) 0:00:45.470 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 19:32:22 +0000 (0:00:00.036) 0:00:45.507 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 19:32:22 +0000 (0:00:00.044) 0:00:45.551 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 19:32:22 +0000 (0:00:00.038) 0:00:45.590 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1658431936.9284563, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658431936.9284563, "dev": 5, "device_type": 2064, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 11539, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1658431936.9284563, "nlink": 1, "path": "/dev/sdb", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 19:32:22 +0000 (0:00:00.344) 0:00:45.934 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 19:32:22 +0000 (0:00:00.040) 0:00:45.975 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 19:32:22 +0000 (0:00:00.040) 0:00:46.016 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "st_volume_type": "disk" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 19:32:22 +0000 (0:00:00.033) 0:00:46.049 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 19:32:22 +0000 (0:00:00.022) 0:00:46.072 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 19:32:22 +0000 (0:00:00.037) 0:00:46.110 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 19:32:22 +0000 (0:00:00.023) 0:00:46.133 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "cryptsetup-2.0.3-6.el7.x86_64 providing cryptsetup is already installed" ] } TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 19:32:23 +0000 (0:00:00.526) 0:00:46.660 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 19:32:23 +0000 (0:00:00.025) 0:00:46.685 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 19:32:23 +0000 (0:00:00.023) 0:00:46.709 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 19:32:23 +0000 (0:00:00.050) 0:00:46.760 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 19:32:23 +0000 (0:00:00.024) 0:00:46.784 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 19:32:23 +0000 (0:00:00.025) 0:00:46.810 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 19:32:23 +0000 (0:00:00.022) 0:00:46.832 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 19:32:23 +0000 (0:00:00.021) 0:00:46.854 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 19:32:23 +0000 (0:00:00.021) 0:00:46.876 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 19:32:23 +0000 (0:00:00.106) 0:00:46.982 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 19:32:23 +0000 (0:00:00.088) 0:00:47.071 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 19:32:23 +0000 (0:00:00.035) 0:00:47.106 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 19:32:23 +0000 (0:00:00.098) 0:00:47.204 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 19:32:23 +0000 (0:00:00.035) 0:00:47.240 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 19:32:24 +0000 (0:00:00.032) 0:00:47.273 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 19:32:24 +0000 (0:00:00.035) 0:00:47.309 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 19:32:24 +0000 (0:00:00.034) 0:00:47.343 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 19:32:24 +0000 (0:00:00.037) 0:00:47.380 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 19:32:24 +0000 (0:00:00.035) 0:00:47.416 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 19:32:24 +0000 (0:00:00.038) 0:00:47.454 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 19:32:24 +0000 (0:00:00.036) 0:00:47.491 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 19:32:24 +0000 (0:00:00.045) 0:00:47.537 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 19:32:24 +0000 (0:00:00.024) 0:00:47.561 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 19:32:24 +0000 (0:00:00.035) 0:00:47.597 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 19:32:24 +0000 (0:00:00.034) 0:00:47.632 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 19:32:24 +0000 (0:00:00.033) 0:00:47.665 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 19:32:24 +0000 (0:00:00.034) 0:00:47.699 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 19:32:24 +0000 (0:00:00.035) 0:00:47.735 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 19:32:24 +0000 (0:00:00.035) 0:00:47.771 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 19:32:24 +0000 (0:00:00.036) 0:00:47.807 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 19:32:24 +0000 (0:00:00.036) 0:00:47.844 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 19:32:24 +0000 (0:00:00.037) 0:00:47.881 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 19:32:24 +0000 (0:00:00.035) 0:00:47.917 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 19:32:24 +0000 (0:00:00.022) 0:00:47.940 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 19:32:24 +0000 (0:00:00.022) 0:00:47.963 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 19:32:24 +0000 (0:00:00.036) 0:00:47.999 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 19:32:24 +0000 (0:00:00.027) 0:00:48.026 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 19:32:24 +0000 (0:00:00.028) 0:00:48.055 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 19:32:24 +0000 (0:00:00.024) 0:00:48.080 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 19:32:24 +0000 (0:00:00.023) 0:00:48.104 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 19:32:24 +0000 (0:00:00.022) 0:00:48.126 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 19:32:24 +0000 (0:00:00.032) 0:00:48.158 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Repeat the previous invocation to verify idempotence] ******************** task path: /tmp/tmptomayb7j/tests/storage/tests_swap.yml:63 Thursday 21 July 2022 19:32:24 +0000 (0:00:00.033) 0:00:48.192 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 19:32:24 +0000 (0:00:00.059) 0:00:48.252 ********* included: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/rhel-7.qcow2 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 19:32:25 +0000 (0:00:00.044) 0:00:48.296 ********* ok: [/cache/rhel-7.qcow2] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 19:32:25 +0000 (0:00:00.411) 0:00:48.708 ********* skipping: [/cache/rhel-7.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-7.qcow2] => (item=RedHat_7.yml) => { "ansible_facts": { "__storage_blivet_diskvolume_mkfs_option_map": { "ext2": "-F", "ext3": "-F", "ext4": "-F" }, "blivet_package_list": [ "python-enum34", "python-blivet3", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/vars/RedHat_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.yml" } skipping: [/cache/rhel-7.qcow2] => (item=RedHat_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 19:32:25 +0000 (0:00:00.146) 0:00:48.854 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 19:32:25 +0000 (0:00:00.035) 0:00:48.890 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 19:32:25 +0000 (0:00:00.036) 0:00:48.927 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/rhel-7.qcow2 TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 19:32:25 +0000 (0:00:00.057) 0:00:48.984 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 19:32:25 +0000 (0:00:00.021) 0:00:49.006 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 19:32:25 +0000 (0:00:00.029) 0:00:49.035 ********* ok: [/cache/rhel-7.qcow2] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 19:32:25 +0000 (0:00:00.039) 0:00:49.075 ********* ok: [/cache/rhel-7.qcow2] => { "storage_volumes": [ { "disks": [ "sdb" ], "fs_type": "ext3", "mount_point": "/opt/test", "name": "test1", "type": "disk" } ] } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 19:32:25 +0000 (0:00:00.038) 0:00:49.113 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 19:32:25 +0000 (0:00:00.030) 0:00:49.144 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 19:32:25 +0000 (0:00:00.027) 0:00:49.171 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 19:32:25 +0000 (0:00:00.030) 0:00:49.201 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 19:32:25 +0000 (0:00:00.027) 0:00:49.228 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 19:32:26 +0000 (0:00:00.055) 0:00:49.284 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 19:32:26 +0000 (0:00:00.021) 0:00:49.306 ********* ok: [/cache/rhel-7.qcow2] => { "actions": [], "changed": false, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "dump": 0, "fstype": "ext3", "opts": "defaults", "passno": 0, "path": "/opt/test", "src": "UUID=6345be36-cb6e-44cc-8476-0132be8c8950", "state": "mounted" } ], "packages": [ "xfsprogs", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sdb", "_kernel_device": "/dev/sdb", "_mount_id": "UUID=6345be36-cb6e-44cc-8476-0132be8c8950", "_raw_device": "/dev/sdb", "_raw_kernel_device": "/dev/sdb", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 19:32:26 +0000 (0:00:00.894) 0:00:50.200 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 19:32:26 +0000 (0:00:00.038) 0:00:50.238 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 19:32:27 +0000 (0:00:00.022) 0:00:50.261 ********* ok: [/cache/rhel-7.qcow2] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "dump": 0, "fstype": "ext3", "opts": "defaults", "passno": 0, "path": "/opt/test", "src": "UUID=6345be36-cb6e-44cc-8476-0132be8c8950", "state": "mounted" } ], "packages": [ "xfsprogs", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sdb", "_kernel_device": "/dev/sdb", "_mount_id": "UUID=6345be36-cb6e-44cc-8476-0132be8c8950", "_raw_device": "/dev/sdb", "_raw_kernel_device": "/dev/sdb", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 19:32:27 +0000 (0:00:00.040) 0:00:50.302 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 19:32:27 +0000 (0:00:00.036) 0:00:50.339 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/sdb", "_kernel_device": "/dev/sdb", "_mount_id": "UUID=6345be36-cb6e-44cc-8476-0132be8c8950", "_raw_device": "/dev/sdb", "_raw_kernel_device": "/dev/sdb", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 19:32:27 +0000 (0:00:00.040) 0:00:50.379 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 19:32:27 +0000 (0:00:00.038) 0:00:50.417 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 19:32:27 +0000 (0:00:00.459) 0:00:50.877 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount ok: [/cache/rhel-7.qcow2] => (item={'src': 'UUID=6345be36-cb6e-44cc-8476-0132be8c8950', 'dump': 0, 'passno': 0, 'fstype': 'ext3', 'state': 'mounted', 'path': '/opt/test', 'opts': 'defaults'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": false, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext3", "mount_info": { "dump": 0, "fstype": "ext3", "opts": "defaults", "passno": 0, "path": "/opt/test", "src": "UUID=6345be36-cb6e-44cc-8476-0132be8c8950", "state": "mounted" }, "name": "/opt/test", "opts": "defaults", "passno": "0", "src": "UUID=6345be36-cb6e-44cc-8476-0132be8c8950" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 19:32:27 +0000 (0:00:00.343) 0:00:51.220 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 19:32:28 +0000 (0:00:00.445) 0:00:51.666 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1658431907.0404563, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658201031.524, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 70, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1658200515.884, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "18446744071677828413", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 19:32:28 +0000 (0:00:00.322) 0:00:51.988 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 19:32:28 +0000 (0:00:00.023) 0:00:52.011 ********* ok: [/cache/rhel-7.qcow2] META: role_complete for /cache/rhel-7.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmptomayb7j/tests/storage/tests_swap.yml:74 Thursday 21 July 2022 19:32:29 +0000 (0:00:00.860) 0:00:52.872 ********* included: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml for /cache/rhel-7.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 19:32:29 +0000 (0:00:00.048) 0:00:52.921 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Print out volume information] ******************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 19:32:29 +0000 (0:00:00.034) 0:00:52.955 ********* ok: [/cache/rhel-7.qcow2] => { "_storage_volumes_list": [ { "_device": "/dev/sdb", "_kernel_device": "/dev/sdb", "_mount_id": "UUID=6345be36-cb6e-44cc-8476-0132be8c8950", "_raw_device": "/dev/sdb", "_raw_kernel_device": "/dev/sdb", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 19:32:29 +0000 (0:00:00.048) 0:00:53.004 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "info": { "/dev/fd0": { "fstype": "", "label": "", "name": "/dev/fd0", "size": "4K", "type": "disk", "uuid": "" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "ext3", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "6345be36-cb6e-44cc-8476-0132be8c8950" }, "/dev/sdc": { "fstype": "ext3", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "37c097b0-26ee-4aec-bbf8-38b72e2948fe" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-19-31-24-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "xfs", "label": "", "name": "/dev/vda1", "size": "10G", "type": "partition", "uuid": "21864ae1-1c29-4009-a1c2-151e41d0e053" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 19:32:30 +0000 (0:00:00.317) 0:00:53.321 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003411", "end": "2022-07-21 15:32:30.419026", "rc": 0, "start": "2022-07-21 15:32:30.415615" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jul 19 03:15:15 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk' # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info # UUID=21864ae1-1c29-4009-a1c2-151e41d0e053 / xfs defaults 0 0 UUID=6345be36-cb6e-44cc-8476-0132be8c8950 /opt/test ext3 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 19:32:30 +0000 (0:00:00.310) 0:00:53.632 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003657", "end": "2022-07-21 15:32:30.735180", "failed_when_result": false, "rc": 0, "start": "2022-07-21 15:32:30.731523" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 19:32:30 +0000 (0:00:00.319) 0:00:53.951 ********* TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 19:32:30 +0000 (0:00:00.022) 0:00:53.974 ********* included: /tmp/tmptomayb7j/tests/storage/test-verify-volume.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/sdb', 'raid_metadata_version': None, 'mount_device_identifier': 'uuid', 'fs_type': 'ext3', 'mount_options': 'defaults', '_device': '/dev/sdb', 'size': 10737418240, 'mount_point': '/opt/test', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/sdb', 'encryption': False, 'raid_level': None, 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'type': 'disk', 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': 'UUID=6345be36-cb6e-44cc-8476-0132be8c8950', 'raid_spare_count': None, 'name': 'test1', '_raw_kernel_device': '/dev/sdb', 'cache_mode': None, 'cache_devices': [], 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb'], 'thin': None, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'thin_pool_size': None, 'fs_create_options': ''}) TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 19:32:30 +0000 (0:00:00.057) 0:00:54.031 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 19:32:30 +0000 (0:00:00.048) 0:00:54.079 ********* included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml for /cache/rhel-7.qcow2 => (item=mount) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml for /cache/rhel-7.qcow2 => (item=fstab) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fs.yml for /cache/rhel-7.qcow2 => (item=fs) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml for /cache/rhel-7.qcow2 => (item=device) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml for /cache/rhel-7.qcow2 => (item=encryption) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml for /cache/rhel-7.qcow2 => (item=md) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml for /cache/rhel-7.qcow2 => (item=size) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml for /cache/rhel-7.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 19:32:30 +0000 (0:00:00.076) 0:00:54.155 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/sdb" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 19:32:30 +0000 (0:00:00.041) 0:00:54.197 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 2410672, "block_size": 4096, "block_total": 2547534, "block_used": 136862, "device": "/dev/sdb", "fstype": "ext3", "inode_available": 655349, "inode_total": 655360, "inode_used": 11, "mount": "/opt/test", "options": "rw,seclabel,relatime,data=ordered", "size_available": 9874112512, "size_total": 10434699264, "uuid": "6345be36-cb6e-44cc-8476-0132be8c8950" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 2410672, "block_size": 4096, "block_total": 2547534, "block_used": 136862, "device": "/dev/sdb", "fstype": "ext3", "inode_available": 655349, "inode_total": 655360, "inode_used": 11, "mount": "/opt/test", "options": "rw,seclabel,relatime,data=ordered", "size_available": 9874112512, "size_total": 10434699264, "uuid": "6345be36-cb6e-44cc-8476-0132be8c8950" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 19:32:30 +0000 (0:00:00.055) 0:00:54.252 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 19:32:31 +0000 (0:00:00.050) 0:00:54.303 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 19:32:31 +0000 (0:00:00.082) 0:00:54.385 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 19:32:31 +0000 (0:00:00.083) 0:00:54.468 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 19:32:31 +0000 (0:00:00.024) 0:00:54.492 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 19:32:31 +0000 (0:00:00.024) 0:00:54.517 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 19:32:31 +0000 (0:00:00.024) 0:00:54.541 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 19:32:31 +0000 (0:00:00.093) 0:00:54.635 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "UUID=6345be36-cb6e-44cc-8476-0132be8c8950 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test ext3 defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 19:32:31 +0000 (0:00:00.059) 0:00:54.694 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 19:32:31 +0000 (0:00:00.048) 0:00:54.742 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 19:32:31 +0000 (0:00:00.049) 0:00:54.792 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 19:32:31 +0000 (0:00:00.033) 0:00:54.826 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 19:32:31 +0000 (0:00:00.035) 0:00:54.862 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 19:32:31 +0000 (0:00:00.039) 0:00:54.901 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 19:32:31 +0000 (0:00:00.044) 0:00:54.946 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1658431936.9284563, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658431936.9284563, "dev": 5, "device_type": 2064, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 11539, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1658431936.9284563, "nlink": 1, "path": "/dev/sdb", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 19:32:32 +0000 (0:00:00.321) 0:00:55.267 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 19:32:32 +0000 (0:00:00.039) 0:00:55.307 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 19:32:32 +0000 (0:00:00.043) 0:00:55.350 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "st_volume_type": "disk" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 19:32:32 +0000 (0:00:00.039) 0:00:55.390 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 19:32:32 +0000 (0:00:00.025) 0:00:55.416 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 19:32:32 +0000 (0:00:00.036) 0:00:55.452 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 19:32:32 +0000 (0:00:00.021) 0:00:55.474 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "cryptsetup-2.0.3-6.el7.x86_64 providing cryptsetup is already installed" ] } TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 19:32:32 +0000 (0:00:00.532) 0:00:56.006 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 19:32:32 +0000 (0:00:00.023) 0:00:56.030 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 19:32:32 +0000 (0:00:00.025) 0:00:56.055 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 19:32:32 +0000 (0:00:00.051) 0:00:56.107 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 19:32:32 +0000 (0:00:00.024) 0:00:56.131 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 19:32:32 +0000 (0:00:00.025) 0:00:56.156 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 19:32:32 +0000 (0:00:00.032) 0:00:56.188 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 19:32:32 +0000 (0:00:00.028) 0:00:56.217 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 19:32:32 +0000 (0:00:00.025) 0:00:56.243 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 19:32:33 +0000 (0:00:00.058) 0:00:56.301 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 19:32:33 +0000 (0:00:00.050) 0:00:56.352 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 19:32:33 +0000 (0:00:00.037) 0:00:56.389 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 19:32:33 +0000 (0:00:00.034) 0:00:56.424 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 19:32:33 +0000 (0:00:00.033) 0:00:56.458 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 19:32:33 +0000 (0:00:00.034) 0:00:56.492 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 19:32:33 +0000 (0:00:00.034) 0:00:56.527 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 19:32:33 +0000 (0:00:00.036) 0:00:56.564 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 19:32:33 +0000 (0:00:00.036) 0:00:56.600 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 19:32:33 +0000 (0:00:00.040) 0:00:56.641 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 19:32:33 +0000 (0:00:00.037) 0:00:56.679 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 19:32:33 +0000 (0:00:00.036) 0:00:56.715 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 19:32:33 +0000 (0:00:00.037) 0:00:56.753 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 19:32:33 +0000 (0:00:00.024) 0:00:56.777 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 19:32:33 +0000 (0:00:00.036) 0:00:56.814 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 19:32:33 +0000 (0:00:00.037) 0:00:56.851 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 19:32:33 +0000 (0:00:00.084) 0:00:56.936 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 19:32:33 +0000 (0:00:00.037) 0:00:56.973 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 19:32:33 +0000 (0:00:00.036) 0:00:57.009 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 19:32:33 +0000 (0:00:00.034) 0:00:57.043 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 19:32:33 +0000 (0:00:00.036) 0:00:57.080 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 19:32:33 +0000 (0:00:00.083) 0:00:57.164 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 19:32:33 +0000 (0:00:00.034) 0:00:57.198 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 19:32:33 +0000 (0:00:00.035) 0:00:57.234 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 19:32:34 +0000 (0:00:00.026) 0:00:57.260 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 19:32:34 +0000 (0:00:00.024) 0:00:57.285 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 19:32:34 +0000 (0:00:00.024) 0:00:57.310 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 19:32:34 +0000 (0:00:00.024) 0:00:57.334 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 19:32:34 +0000 (0:00:00.026) 0:00:57.361 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 19:32:34 +0000 (0:00:00.023) 0:00:57.384 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 19:32:34 +0000 (0:00:00.024) 0:00:57.409 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 19:32:34 +0000 (0:00:00.024) 0:00:57.433 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 19:32:34 +0000 (0:00:00.037) 0:00:57.471 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Change it back to swap] ************************************************** task path: /tmp/tmptomayb7j/tests/storage/tests_swap.yml:76 Thursday 21 July 2022 19:32:34 +0000 (0:00:00.034) 0:00:57.506 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 19:32:34 +0000 (0:00:00.063) 0:00:57.570 ********* included: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/rhel-7.qcow2 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 19:32:34 +0000 (0:00:00.035) 0:00:57.606 ********* ok: [/cache/rhel-7.qcow2] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 19:32:34 +0000 (0:00:00.410) 0:00:58.016 ********* skipping: [/cache/rhel-7.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-7.qcow2] => (item=RedHat_7.yml) => { "ansible_facts": { "__storage_blivet_diskvolume_mkfs_option_map": { "ext2": "-F", "ext3": "-F", "ext4": "-F" }, "blivet_package_list": [ "python-enum34", "python-blivet3", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/vars/RedHat_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.yml" } skipping: [/cache/rhel-7.qcow2] => (item=RedHat_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 19:32:34 +0000 (0:00:00.065) 0:00:58.081 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 19:32:34 +0000 (0:00:00.041) 0:00:58.123 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 19:32:34 +0000 (0:00:00.036) 0:00:58.159 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/rhel-7.qcow2 TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 19:32:34 +0000 (0:00:00.060) 0:00:58.220 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 19:32:34 +0000 (0:00:00.022) 0:00:58.242 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 19:32:35 +0000 (0:00:00.034) 0:00:58.277 ********* ok: [/cache/rhel-7.qcow2] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 19:32:35 +0000 (0:00:00.038) 0:00:58.316 ********* ok: [/cache/rhel-7.qcow2] => { "storage_volumes": [ { "disks": [ "sdb" ], "fs_type": "swap", "name": "test1", "type": "disk" } ] } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 19:32:35 +0000 (0:00:00.039) 0:00:58.355 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 19:32:35 +0000 (0:00:00.029) 0:00:58.385 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 19:32:35 +0000 (0:00:00.032) 0:00:58.418 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 19:32:35 +0000 (0:00:00.033) 0:00:58.451 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 19:32:35 +0000 (0:00:00.033) 0:00:58.485 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 19:32:35 +0000 (0:00:00.061) 0:00:58.546 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 19:32:35 +0000 (0:00:00.023) 0:00:58.570 ********* changed: [/cache/rhel-7.qcow2] => { "actions": [ { "action": "destroy format", "device": "/dev/sdb", "fs_type": "ext3" }, { "action": "create format", "device": "/dev/sdb", "fs_type": "swap" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "fstype": "ext3", "path": "/opt/test", "src": "UUID=6345be36-cb6e-44cc-8476-0132be8c8950", "state": "absent" }, { "path": "/opt/test", "state": "absent" }, { "dump": 0, "fstype": "swap", "opts": "defaults", "passno": 0, "path": "none", "src": "UUID=d441d742-7368-40d2-9df1-f7f9020c5583", "state": "present" } ], "packages": [ "xfsprogs", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sdb", "_kernel_device": "/dev/sdb", "_mount_id": "UUID=d441d742-7368-40d2-9df1-f7f9020c5583", "_raw_device": "/dev/sdb", "_raw_kernel_device": "/dev/sdb", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 19:32:36 +0000 (0:00:01.227) 0:00:59.797 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 19:32:36 +0000 (0:00:00.038) 0:00:59.836 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 19:32:36 +0000 (0:00:00.020) 0:00:59.857 ********* ok: [/cache/rhel-7.qcow2] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/sdb", "fs_type": "ext3" }, { "action": "create format", "device": "/dev/sdb", "fs_type": "swap" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "fstype": "ext3", "path": "/opt/test", "src": "UUID=6345be36-cb6e-44cc-8476-0132be8c8950", "state": "absent" }, { "path": "/opt/test", "state": "absent" }, { "dump": 0, "fstype": "swap", "opts": "defaults", "passno": 0, "path": "none", "src": "UUID=d441d742-7368-40d2-9df1-f7f9020c5583", "state": "present" } ], "packages": [ "xfsprogs", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sdb", "_kernel_device": "/dev/sdb", "_mount_id": "UUID=d441d742-7368-40d2-9df1-f7f9020c5583", "_raw_device": "/dev/sdb", "_raw_kernel_device": "/dev/sdb", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 19:32:36 +0000 (0:00:00.039) 0:00:59.897 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 19:32:36 +0000 (0:00:00.040) 0:00:59.937 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/sdb", "_kernel_device": "/dev/sdb", "_mount_id": "UUID=d441d742-7368-40d2-9df1-f7f9020c5583", "_raw_device": "/dev/sdb", "_raw_kernel_device": "/dev/sdb", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 19:32:36 +0000 (0:00:00.040) 0:00:59.978 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-7.qcow2] => (item={'src': 'UUID=6345be36-cb6e-44cc-8476-0132be8c8950', 'state': 'absent', 'path': '/opt/test', 'fstype': 'ext3'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext3", "mount_info": { "fstype": "ext3", "path": "/opt/test", "src": "UUID=6345be36-cb6e-44cc-8476-0132be8c8950", "state": "absent" }, "name": "/opt/test", "opts": "defaults", "passno": "0", "src": "UUID=6345be36-cb6e-44cc-8476-0132be8c8950" } redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount ok: [/cache/rhel-7.qcow2] => (item={'path': '/opt/test', 'state': 'absent'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": false, "dump": "0", "fstab": "/etc/fstab", "mount_info": { "path": "/opt/test", "state": "absent" }, "name": "/opt/test", "opts": "defaults", "passno": "0" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 19:32:37 +0000 (0:00:00.633) 0:01:00.611 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 19:32:37 +0000 (0:00:00.452) 0:01:01.064 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-7.qcow2] => (item={'src': 'UUID=d441d742-7368-40d2-9df1-f7f9020c5583', 'dump': 0, 'passno': 0, 'fstype': 'swap', 'state': 'present', 'path': 'none', 'opts': 'defaults'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "swap", "mount_info": { "dump": 0, "fstype": "swap", "opts": "defaults", "passno": 0, "path": "none", "src": "UUID=d441d742-7368-40d2-9df1-f7f9020c5583", "state": "present" }, "name": "none", "opts": "defaults", "passno": "0", "src": "UUID=d441d742-7368-40d2-9df1-f7f9020c5583" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 19:32:38 +0000 (0:00:00.343) 0:01:01.408 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 19:32:38 +0000 (0:00:00.455) 0:01:01.864 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1658431907.0404563, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658201031.524, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 70, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1658200515.884, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "18446744071677828413", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 19:32:38 +0000 (0:00:00.320) 0:01:02.184 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 19:32:38 +0000 (0:00:00.024) 0:01:02.209 ********* ok: [/cache/rhel-7.qcow2] META: role_complete for /cache/rhel-7.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmptomayb7j/tests/storage/tests_swap.yml:86 Thursday 21 July 2022 19:32:39 +0000 (0:00:00.832) 0:01:03.042 ********* included: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml for /cache/rhel-7.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 19:32:39 +0000 (0:00:00.052) 0:01:03.094 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Print out volume information] ******************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 19:32:39 +0000 (0:00:00.034) 0:01:03.128 ********* ok: [/cache/rhel-7.qcow2] => { "_storage_volumes_list": [ { "_device": "/dev/sdb", "_kernel_device": "/dev/sdb", "_mount_id": "UUID=d441d742-7368-40d2-9df1-f7f9020c5583", "_raw_device": "/dev/sdb", "_raw_kernel_device": "/dev/sdb", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 19:32:39 +0000 (0:00:00.048) 0:01:03.177 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "info": { "/dev/fd0": { "fstype": "", "label": "", "name": "/dev/fd0", "size": "4K", "type": "disk", "uuid": "" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "swap", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "d441d742-7368-40d2-9df1-f7f9020c5583" }, "/dev/sdc": { "fstype": "ext3", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "37c097b0-26ee-4aec-bbf8-38b72e2948fe" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-19-31-24-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "xfs", "label": "", "name": "/dev/vda1", "size": "10G", "type": "partition", "uuid": "21864ae1-1c29-4009-a1c2-151e41d0e053" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 19:32:41 +0000 (0:00:01.311) 0:01:04.488 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003699", "end": "2022-07-21 15:32:41.591133", "rc": 0, "start": "2022-07-21 15:32:41.587434" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jul 19 03:15:15 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk' # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info # UUID=21864ae1-1c29-4009-a1c2-151e41d0e053 / xfs defaults 0 0 UUID=d441d742-7368-40d2-9df1-f7f9020c5583 none swap defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 19:32:41 +0000 (0:00:00.317) 0:01:04.805 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.004036", "end": "2022-07-21 15:32:41.943318", "failed_when_result": false, "rc": 0, "start": "2022-07-21 15:32:41.939282" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 19:32:41 +0000 (0:00:00.351) 0:01:05.157 ********* TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 19:32:41 +0000 (0:00:00.021) 0:01:05.179 ********* included: /tmp/tmptomayb7j/tests/storage/test-verify-volume.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/sdb', 'raid_metadata_version': None, 'mount_device_identifier': 'uuid', 'fs_type': 'swap', 'mount_options': 'defaults', '_device': '/dev/sdb', 'size': 10737418240, 'mount_point': None, 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/sdb', 'encryption': False, 'raid_level': None, 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'type': 'disk', 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': 'UUID=d441d742-7368-40d2-9df1-f7f9020c5583', 'raid_spare_count': None, 'name': 'test1', '_raw_kernel_device': '/dev/sdb', 'cache_mode': None, 'cache_devices': [], 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb'], 'thin': None, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'thin_pool_size': None, 'fs_create_options': ''}) TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 19:32:42 +0000 (0:00:00.087) 0:01:05.266 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 19:32:42 +0000 (0:00:00.050) 0:01:05.317 ********* included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml for /cache/rhel-7.qcow2 => (item=mount) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml for /cache/rhel-7.qcow2 => (item=fstab) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fs.yml for /cache/rhel-7.qcow2 => (item=fs) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml for /cache/rhel-7.qcow2 => (item=device) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml for /cache/rhel-7.qcow2 => (item=encryption) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml for /cache/rhel-7.qcow2 => (item=md) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml for /cache/rhel-7.qcow2 => (item=size) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml for /cache/rhel-7.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 19:32:42 +0000 (0:00:00.077) 0:01:05.394 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/sdb" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 19:32:42 +0000 (0:00:00.044) 0:01:05.439 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [], "storage_test_mount_expected_match_count": "0", "storage_test_mount_point_matches": [], "storage_test_swap_expected_matches": "1" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 19:32:42 +0000 (0:00:00.053) 0:01:05.493 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 19:32:42 +0000 (0:00:00.024) 0:01:05.517 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 19:32:42 +0000 (0:00:00.050) 0:01:05.568 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 19:32:42 +0000 (0:00:00.036) 0:01:05.605 ********* changed: [/cache/rhel-7.qcow2] => { "changed": true, "cmd": [ "realpath", "/dev/sdb" ], "delta": "0:00:00.004024", "end": "2022-07-21 15:32:42.711476", "rc": 0, "start": "2022-07-21 15:32:42.707452" } STDOUT: /dev/sdb TASK [Gather swap info] ******************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 19:32:42 +0000 (0:00:00.321) 0:01:05.927 ********* changed: [/cache/rhel-7.qcow2] => { "changed": true, "cmd": [ "cat", "/proc/swaps" ], "delta": "0:00:00.003944", "end": "2022-07-21 15:32:43.035684", "rc": 0, "start": "2022-07-21 15:32:43.031740" } STDOUT: Filename Type Size Used Priority /dev/sdb partition 10485756 0 -2 TASK [Verify swap status] ****************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 19:32:42 +0000 (0:00:00.324) 0:01:06.251 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Unset facts] ************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 19:32:43 +0000 (0:00:00.060) 0:01:06.312 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 19:32:43 +0000 (0:00:00.041) 0:01:06.354 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "0", "storage_test_fstab_id_matches": [ "UUID=d441d742-7368-40d2-9df1-f7f9020c5583 " ], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 19:32:43 +0000 (0:00:00.066) 0:01:06.421 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 19:32:43 +0000 (0:00:00.048) 0:01:06.470 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 19:32:43 +0000 (0:00:00.053) 0:01:06.524 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 19:32:43 +0000 (0:00:00.038) 0:01:06.563 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 19:32:43 +0000 (0:00:00.037) 0:01:06.600 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 19:32:43 +0000 (0:00:00.041) 0:01:06.642 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 19:32:43 +0000 (0:00:00.041) 0:01:06.683 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1658431956.5594563, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658431956.5474563, "dev": 5, "device_type": 2064, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 11539, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1658431956.5474563, "nlink": 1, "path": "/dev/sdb", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 19:32:43 +0000 (0:00:00.320) 0:01:07.004 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 19:32:43 +0000 (0:00:00.040) 0:01:07.044 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 19:32:43 +0000 (0:00:00.039) 0:01:07.084 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "st_volume_type": "disk" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 19:32:43 +0000 (0:00:00.038) 0:01:07.122 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 19:32:43 +0000 (0:00:00.023) 0:01:07.146 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 19:32:43 +0000 (0:00:00.088) 0:01:07.235 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 19:32:44 +0000 (0:00:00.025) 0:01:07.260 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "cryptsetup-2.0.3-6.el7.x86_64 providing cryptsetup is already installed" ] } TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 19:32:44 +0000 (0:00:00.560) 0:01:07.821 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 19:32:44 +0000 (0:00:00.053) 0:01:07.874 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 19:32:44 +0000 (0:00:00.023) 0:01:07.898 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 19:32:44 +0000 (0:00:00.054) 0:01:07.953 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 19:32:44 +0000 (0:00:00.023) 0:01:07.976 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 19:32:44 +0000 (0:00:00.023) 0:01:08.000 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 19:32:44 +0000 (0:00:00.023) 0:01:08.024 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 19:32:44 +0000 (0:00:00.022) 0:01:08.046 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 19:32:44 +0000 (0:00:00.024) 0:01:08.071 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 19:32:44 +0000 (0:00:00.050) 0:01:08.121 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 19:32:44 +0000 (0:00:00.048) 0:01:08.169 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 19:32:44 +0000 (0:00:00.037) 0:01:08.207 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 19:32:44 +0000 (0:00:00.037) 0:01:08.244 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 19:32:45 +0000 (0:00:00.033) 0:01:08.278 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 19:32:45 +0000 (0:00:00.032) 0:01:08.310 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 19:32:45 +0000 (0:00:00.034) 0:01:08.345 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 19:32:45 +0000 (0:00:00.037) 0:01:08.382 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 19:32:45 +0000 (0:00:00.034) 0:01:08.417 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 19:32:45 +0000 (0:00:00.038) 0:01:08.455 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 19:32:45 +0000 (0:00:00.038) 0:01:08.493 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 19:32:45 +0000 (0:00:00.041) 0:01:08.535 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 19:32:45 +0000 (0:00:00.038) 0:01:08.574 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 19:32:45 +0000 (0:00:00.023) 0:01:08.597 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 19:32:45 +0000 (0:00:00.035) 0:01:08.633 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 19:32:45 +0000 (0:00:00.041) 0:01:08.675 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 19:32:45 +0000 (0:00:00.036) 0:01:08.711 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 19:32:45 +0000 (0:00:00.038) 0:01:08.749 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 19:32:45 +0000 (0:00:00.037) 0:01:08.787 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 19:32:45 +0000 (0:00:00.041) 0:01:08.829 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 19:32:45 +0000 (0:00:00.035) 0:01:08.865 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 19:32:45 +0000 (0:00:00.034) 0:01:08.899 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 19:32:45 +0000 (0:00:00.037) 0:01:08.937 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 19:32:45 +0000 (0:00:00.040) 0:01:08.977 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 19:32:45 +0000 (0:00:00.022) 0:01:09.000 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 19:32:45 +0000 (0:00:00.022) 0:01:09.022 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 19:32:45 +0000 (0:00:00.024) 0:01:09.046 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 19:32:45 +0000 (0:00:00.025) 0:01:09.072 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 19:32:45 +0000 (0:00:00.023) 0:01:09.095 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 19:32:45 +0000 (0:00:00.023) 0:01:09.118 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 19:32:45 +0000 (0:00:00.026) 0:01:09.145 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 19:32:45 +0000 (0:00:00.031) 0:01:09.176 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 19:32:45 +0000 (0:00:00.035) 0:01:09.212 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Repeat the previous invocation to verify idempotence] ******************** task path: /tmp/tmptomayb7j/tests/storage/tests_swap.yml:88 Thursday 21 July 2022 19:32:46 +0000 (0:00:00.084) 0:01:09.296 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 19:32:46 +0000 (0:00:00.108) 0:01:09.405 ********* included: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/rhel-7.qcow2 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 19:32:46 +0000 (0:00:00.037) 0:01:09.442 ********* ok: [/cache/rhel-7.qcow2] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 19:32:46 +0000 (0:00:00.419) 0:01:09.862 ********* skipping: [/cache/rhel-7.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-7.qcow2] => (item=RedHat_7.yml) => { "ansible_facts": { "__storage_blivet_diskvolume_mkfs_option_map": { "ext2": "-F", "ext3": "-F", "ext4": "-F" }, "blivet_package_list": [ "python-enum34", "python-blivet3", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/vars/RedHat_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.yml" } skipping: [/cache/rhel-7.qcow2] => (item=RedHat_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 19:32:46 +0000 (0:00:00.063) 0:01:09.926 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 19:32:46 +0000 (0:00:00.035) 0:01:09.962 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 19:32:46 +0000 (0:00:00.036) 0:01:09.999 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/rhel-7.qcow2 TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 19:32:46 +0000 (0:00:00.057) 0:01:10.056 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 19:32:46 +0000 (0:00:00.022) 0:01:10.079 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 19:32:46 +0000 (0:00:00.026) 0:01:10.105 ********* ok: [/cache/rhel-7.qcow2] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 19:32:46 +0000 (0:00:00.036) 0:01:10.142 ********* ok: [/cache/rhel-7.qcow2] => { "storage_volumes": [ { "disks": [ "sdb" ], "fs_type": "swap", "name": "test1", "type": "disk" } ] } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 19:32:46 +0000 (0:00:00.034) 0:01:10.176 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 19:32:46 +0000 (0:00:00.027) 0:01:10.203 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 19:32:46 +0000 (0:00:00.028) 0:01:10.231 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 19:32:47 +0000 (0:00:00.030) 0:01:10.262 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 19:32:47 +0000 (0:00:00.030) 0:01:10.292 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 19:32:47 +0000 (0:00:00.058) 0:01:10.351 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 19:32:47 +0000 (0:00:00.022) 0:01:10.374 ********* ok: [/cache/rhel-7.qcow2] => { "actions": [], "changed": false, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "fstype": "swap", "path": "none", "src": "UUID=d441d742-7368-40d2-9df1-f7f9020c5583", "state": "absent" }, { "dump": 0, "fstype": "swap", "opts": "defaults", "passno": 0, "path": "none", "src": "UUID=d441d742-7368-40d2-9df1-f7f9020c5583", "state": "present" } ], "packages": [ "xfsprogs", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sdb", "_kernel_device": "/dev/sdb", "_mount_id": "UUID=d441d742-7368-40d2-9df1-f7f9020c5583", "_raw_device": "/dev/sdb", "_raw_kernel_device": "/dev/sdb", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 19:32:47 +0000 (0:00:00.881) 0:01:11.255 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 19:32:48 +0000 (0:00:00.039) 0:01:11.295 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 19:32:48 +0000 (0:00:00.022) 0:01:11.317 ********* ok: [/cache/rhel-7.qcow2] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "fstype": "swap", "path": "none", "src": "UUID=d441d742-7368-40d2-9df1-f7f9020c5583", "state": "absent" }, { "dump": 0, "fstype": "swap", "opts": "defaults", "passno": 0, "path": "none", "src": "UUID=d441d742-7368-40d2-9df1-f7f9020c5583", "state": "present" } ], "packages": [ "xfsprogs", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sdb", "_kernel_device": "/dev/sdb", "_mount_id": "UUID=d441d742-7368-40d2-9df1-f7f9020c5583", "_raw_device": "/dev/sdb", "_raw_kernel_device": "/dev/sdb", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 19:32:48 +0000 (0:00:00.077) 0:01:11.395 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 19:32:48 +0000 (0:00:00.076) 0:01:11.471 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/sdb", "_kernel_device": "/dev/sdb", "_mount_id": "UUID=d441d742-7368-40d2-9df1-f7f9020c5583", "_raw_device": "/dev/sdb", "_raw_kernel_device": "/dev/sdb", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 19:32:48 +0000 (0:00:00.040) 0:01:11.511 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-7.qcow2] => (item={'path': 'none', 'state': 'absent', 'src': 'UUID=d441d742-7368-40d2-9df1-f7f9020c5583', 'fstype': 'swap'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "swap", "mount_info": { "fstype": "swap", "path": "none", "src": "UUID=d441d742-7368-40d2-9df1-f7f9020c5583", "state": "absent" }, "name": "none", "opts": "defaults", "passno": "0", "src": "UUID=d441d742-7368-40d2-9df1-f7f9020c5583" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 19:32:48 +0000 (0:00:00.382) 0:01:11.894 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 19:32:49 +0000 (0:00:00.491) 0:01:12.385 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-7.qcow2] => (item={'src': 'UUID=d441d742-7368-40d2-9df1-f7f9020c5583', 'dump': 0, 'passno': 0, 'fstype': 'swap', 'state': 'present', 'path': 'none', 'opts': 'defaults'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "swap", "mount_info": { "dump": 0, "fstype": "swap", "opts": "defaults", "passno": 0, "path": "none", "src": "UUID=d441d742-7368-40d2-9df1-f7f9020c5583", "state": "present" }, "name": "none", "opts": "defaults", "passno": "0", "src": "UUID=d441d742-7368-40d2-9df1-f7f9020c5583" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 19:32:49 +0000 (0:00:00.330) 0:01:12.715 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 19:32:49 +0000 (0:00:00.458) 0:01:13.174 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1658431907.0404563, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658201031.524, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 70, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1658200515.884, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "18446744071677828413", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 19:32:50 +0000 (0:00:00.326) 0:01:13.501 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 19:32:50 +0000 (0:00:00.024) 0:01:13.525 ********* ok: [/cache/rhel-7.qcow2] META: role_complete for /cache/rhel-7.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmptomayb7j/tests/storage/tests_swap.yml:98 Thursday 21 July 2022 19:32:51 +0000 (0:00:00.870) 0:01:14.395 ********* included: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml for /cache/rhel-7.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 19:32:51 +0000 (0:00:00.058) 0:01:14.454 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Print out volume information] ******************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 19:32:51 +0000 (0:00:00.041) 0:01:14.495 ********* ok: [/cache/rhel-7.qcow2] => { "_storage_volumes_list": [ { "_device": "/dev/sdb", "_kernel_device": "/dev/sdb", "_mount_id": "UUID=d441d742-7368-40d2-9df1-f7f9020c5583", "_raw_device": "/dev/sdb", "_raw_kernel_device": "/dev/sdb", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 19:32:51 +0000 (0:00:00.057) 0:01:14.552 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "info": { "/dev/fd0": { "fstype": "", "label": "", "name": "/dev/fd0", "size": "4K", "type": "disk", "uuid": "" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "swap", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "d441d742-7368-40d2-9df1-f7f9020c5583" }, "/dev/sdc": { "fstype": "ext3", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "37c097b0-26ee-4aec-bbf8-38b72e2948fe" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-19-31-24-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "xfs", "label": "", "name": "/dev/vda1", "size": "10G", "type": "partition", "uuid": "21864ae1-1c29-4009-a1c2-151e41d0e053" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 19:32:51 +0000 (0:00:00.328) 0:01:14.881 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003387", "end": "2022-07-21 15:32:51.973557", "rc": 0, "start": "2022-07-21 15:32:51.970170" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jul 19 03:15:15 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk' # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info # UUID=21864ae1-1c29-4009-a1c2-151e41d0e053 / xfs defaults 0 0 UUID=d441d742-7368-40d2-9df1-f7f9020c5583 none swap defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 19:32:51 +0000 (0:00:00.309) 0:01:15.190 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003276", "end": "2022-07-21 15:32:52.302120", "failed_when_result": false, "rc": 0, "start": "2022-07-21 15:32:52.298844" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 19:32:52 +0000 (0:00:00.325) 0:01:15.516 ********* TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 19:32:52 +0000 (0:00:00.023) 0:01:15.539 ********* included: /tmp/tmptomayb7j/tests/storage/test-verify-volume.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/sdb', 'raid_metadata_version': None, 'mount_device_identifier': 'uuid', 'fs_type': 'swap', 'mount_options': 'defaults', '_device': '/dev/sdb', 'size': 10737418240, 'mount_point': None, 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/sdb', 'encryption': False, 'raid_level': None, 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'type': 'disk', 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': 'UUID=d441d742-7368-40d2-9df1-f7f9020c5583', 'raid_spare_count': None, 'name': 'test1', '_raw_kernel_device': '/dev/sdb', 'cache_mode': None, 'cache_devices': [], 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb'], 'thin': None, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'thin_pool_size': None, 'fs_create_options': ''}) TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 19:32:52 +0000 (0:00:00.059) 0:01:15.598 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 19:32:52 +0000 (0:00:00.134) 0:01:15.733 ********* included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml for /cache/rhel-7.qcow2 => (item=mount) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml for /cache/rhel-7.qcow2 => (item=fstab) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fs.yml for /cache/rhel-7.qcow2 => (item=fs) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml for /cache/rhel-7.qcow2 => (item=device) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml for /cache/rhel-7.qcow2 => (item=encryption) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml for /cache/rhel-7.qcow2 => (item=md) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml for /cache/rhel-7.qcow2 => (item=size) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml for /cache/rhel-7.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 19:32:52 +0000 (0:00:00.076) 0:01:15.809 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/sdb" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 19:32:52 +0000 (0:00:00.043) 0:01:15.852 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [], "storage_test_mount_expected_match_count": "0", "storage_test_mount_point_matches": [], "storage_test_swap_expected_matches": "1" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 19:32:52 +0000 (0:00:00.055) 0:01:15.908 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 19:32:52 +0000 (0:00:00.023) 0:01:15.931 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 19:32:52 +0000 (0:00:00.044) 0:01:15.976 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 19:32:52 +0000 (0:00:00.032) 0:01:16.008 ********* changed: [/cache/rhel-7.qcow2] => { "changed": true, "cmd": [ "realpath", "/dev/sdb" ], "delta": "0:00:00.003382", "end": "2022-07-21 15:32:53.115241", "rc": 0, "start": "2022-07-21 15:32:53.111859" } STDOUT: /dev/sdb TASK [Gather swap info] ******************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 19:32:53 +0000 (0:00:00.321) 0:01:16.330 ********* changed: [/cache/rhel-7.qcow2] => { "changed": true, "cmd": [ "cat", "/proc/swaps" ], "delta": "0:00:00.003334", "end": "2022-07-21 15:32:53.429109", "rc": 0, "start": "2022-07-21 15:32:53.425775" } STDOUT: Filename Type Size Used Priority /dev/sdb partition 10485756 0 -2 TASK [Verify swap status] ****************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 19:32:53 +0000 (0:00:00.310) 0:01:16.641 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Unset facts] ************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 19:32:53 +0000 (0:00:00.052) 0:01:16.694 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 19:32:53 +0000 (0:00:00.035) 0:01:16.729 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "0", "storage_test_fstab_id_matches": [ "UUID=d441d742-7368-40d2-9df1-f7f9020c5583 " ], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 19:32:53 +0000 (0:00:00.059) 0:01:16.789 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 19:32:53 +0000 (0:00:00.047) 0:01:16.836 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 19:32:53 +0000 (0:00:00.047) 0:01:16.884 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 19:32:53 +0000 (0:00:00.036) 0:01:16.920 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 19:32:53 +0000 (0:00:00.036) 0:01:16.957 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 19:32:53 +0000 (0:00:00.038) 0:01:16.996 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 19:32:53 +0000 (0:00:00.039) 0:01:17.035 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1658431956.5594563, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658431956.5474563, "dev": 5, "device_type": 2064, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 11539, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1658431956.5474563, "nlink": 1, "path": "/dev/sdb", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 19:32:54 +0000 (0:00:00.318) 0:01:17.354 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 19:32:54 +0000 (0:00:00.040) 0:01:17.395 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 19:32:54 +0000 (0:00:00.040) 0:01:17.435 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "st_volume_type": "disk" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 19:32:54 +0000 (0:00:00.036) 0:01:17.471 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 19:32:54 +0000 (0:00:00.023) 0:01:17.495 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 19:32:54 +0000 (0:00:00.036) 0:01:17.532 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 19:32:54 +0000 (0:00:00.022) 0:01:17.554 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "cryptsetup-2.0.3-6.el7.x86_64 providing cryptsetup is already installed" ] } TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 19:32:54 +0000 (0:00:00.524) 0:01:18.079 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 19:32:54 +0000 (0:00:00.025) 0:01:18.104 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 19:32:54 +0000 (0:00:00.023) 0:01:18.128 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 19:32:54 +0000 (0:00:00.085) 0:01:18.213 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 19:32:54 +0000 (0:00:00.024) 0:01:18.237 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 19:32:55 +0000 (0:00:00.021) 0:01:18.259 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 19:32:55 +0000 (0:00:00.021) 0:01:18.280 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 19:32:55 +0000 (0:00:00.021) 0:01:18.301 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 19:32:55 +0000 (0:00:00.049) 0:01:18.351 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 19:32:55 +0000 (0:00:00.054) 0:01:18.405 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 19:32:55 +0000 (0:00:00.055) 0:01:18.460 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 19:32:55 +0000 (0:00:00.039) 0:01:18.500 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 19:32:55 +0000 (0:00:00.037) 0:01:18.537 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 19:32:55 +0000 (0:00:00.037) 0:01:18.575 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 19:32:55 +0000 (0:00:00.037) 0:01:18.613 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 19:32:55 +0000 (0:00:00.036) 0:01:18.650 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 19:32:55 +0000 (0:00:00.035) 0:01:18.685 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 19:32:55 +0000 (0:00:00.039) 0:01:18.725 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 19:32:55 +0000 (0:00:00.037) 0:01:18.763 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 19:32:55 +0000 (0:00:00.042) 0:01:18.806 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 19:32:55 +0000 (0:00:00.038) 0:01:18.844 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 19:32:55 +0000 (0:00:00.038) 0:01:18.882 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 19:32:55 +0000 (0:00:00.025) 0:01:18.908 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 19:32:55 +0000 (0:00:00.039) 0:01:18.947 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 19:32:55 +0000 (0:00:00.037) 0:01:18.984 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 19:32:55 +0000 (0:00:00.039) 0:01:19.023 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 19:32:55 +0000 (0:00:00.036) 0:01:19.059 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 19:32:55 +0000 (0:00:00.036) 0:01:19.096 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 19:32:55 +0000 (0:00:00.036) 0:01:19.132 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 19:32:55 +0000 (0:00:00.037) 0:01:19.170 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 19:32:55 +0000 (0:00:00.035) 0:01:19.206 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 19:32:55 +0000 (0:00:00.036) 0:01:19.243 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 19:32:56 +0000 (0:00:00.033) 0:01:19.276 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 19:32:56 +0000 (0:00:00.022) 0:01:19.299 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 19:32:56 +0000 (0:00:00.024) 0:01:19.324 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 19:32:56 +0000 (0:00:00.023) 0:01:19.347 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 19:32:56 +0000 (0:00:00.022) 0:01:19.369 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 19:32:56 +0000 (0:00:00.022) 0:01:19.392 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 19:32:56 +0000 (0:00:00.021) 0:01:19.414 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 19:32:56 +0000 (0:00:00.025) 0:01:19.439 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 19:32:56 +0000 (0:00:00.024) 0:01:19.464 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 19:32:56 +0000 (0:00:00.035) 0:01:19.499 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Clean up] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/tests_swap.yml:100 Thursday 21 July 2022 19:32:56 +0000 (0:00:00.036) 0:01:19.536 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 19:32:56 +0000 (0:00:00.079) 0:01:19.616 ********* included: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/rhel-7.qcow2 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 19:32:56 +0000 (0:00:00.038) 0:01:19.654 ********* ok: [/cache/rhel-7.qcow2] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 19:32:56 +0000 (0:00:00.465) 0:01:20.119 ********* skipping: [/cache/rhel-7.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-7.qcow2] => (item=RedHat_7.yml) => { "ansible_facts": { "__storage_blivet_diskvolume_mkfs_option_map": { "ext2": "-F", "ext3": "-F", "ext4": "-F" }, "blivet_package_list": [ "python-enum34", "python-blivet3", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/vars/RedHat_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.yml" } skipping: [/cache/rhel-7.qcow2] => (item=RedHat_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 19:32:56 +0000 (0:00:00.060) 0:01:20.180 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 19:32:56 +0000 (0:00:00.036) 0:01:20.216 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 19:32:56 +0000 (0:00:00.037) 0:01:20.253 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/rhel-7.qcow2 TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 19:32:57 +0000 (0:00:00.057) 0:01:20.311 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 19:32:57 +0000 (0:00:00.022) 0:01:20.334 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 19:32:57 +0000 (0:00:00.030) 0:01:20.364 ********* ok: [/cache/rhel-7.qcow2] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 19:32:57 +0000 (0:00:00.040) 0:01:20.405 ********* ok: [/cache/rhel-7.qcow2] => { "storage_volumes": [ { "disks": [ "sdb" ], "mount_point": "/opt/test", "name": "test1", "state": "absent", "type": "disk" }, { "disks": [ "sdc" ], "mount_point": "none", "name": "test2", "state": "absent", "type": "disk" } ] } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 19:32:57 +0000 (0:00:00.041) 0:01:20.447 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 19:32:57 +0000 (0:00:00.027) 0:01:20.474 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 19:32:57 +0000 (0:00:00.026) 0:01:20.501 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 19:32:57 +0000 (0:00:00.033) 0:01:20.534 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 19:32:57 +0000 (0:00:00.029) 0:01:20.564 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 19:32:57 +0000 (0:00:00.055) 0:01:20.619 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 19:32:57 +0000 (0:00:00.021) 0:01:20.641 ********* changed: [/cache/rhel-7.qcow2] => { "actions": [ { "action": "destroy format", "device": "/dev/sdc", "fs_type": "ext3" }, { "action": "destroy format", "device": "/dev/sdb", "fs_type": "swap" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "fstype": "swap", "path": "none", "src": "UUID=d441d742-7368-40d2-9df1-f7f9020c5583", "state": "absent" } ], "packages": [ "xfsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sdb", "_mount_id": "UUID=d441d742-7368-40d2-9df1-f7f9020c5583", "_raw_device": "/dev/sdb", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null }, { "_device": "/dev/sdc", "_mount_id": "UUID=37c097b0-26ee-4aec-bbf8-38b72e2948fe", "_raw_device": "/dev/sdc", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "none", "name": "test2", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 19:32:58 +0000 (0:00:01.073) 0:01:21.715 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 19:32:58 +0000 (0:00:00.039) 0:01:21.754 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 19:32:58 +0000 (0:00:00.022) 0:01:21.776 ********* ok: [/cache/rhel-7.qcow2] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/sdc", "fs_type": "ext3" }, { "action": "destroy format", "device": "/dev/sdb", "fs_type": "swap" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "fstype": "swap", "path": "none", "src": "UUID=d441d742-7368-40d2-9df1-f7f9020c5583", "state": "absent" } ], "packages": [ "xfsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sdb", "_mount_id": "UUID=d441d742-7368-40d2-9df1-f7f9020c5583", "_raw_device": "/dev/sdb", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null }, { "_device": "/dev/sdc", "_mount_id": "UUID=37c097b0-26ee-4aec-bbf8-38b72e2948fe", "_raw_device": "/dev/sdc", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "none", "name": "test2", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 19:32:58 +0000 (0:00:00.039) 0:01:21.816 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 19:32:58 +0000 (0:00:00.037) 0:01:21.853 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/sdb", "_mount_id": "UUID=d441d742-7368-40d2-9df1-f7f9020c5583", "_raw_device": "/dev/sdb", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null }, { "_device": "/dev/sdc", "_mount_id": "UUID=37c097b0-26ee-4aec-bbf8-38b72e2948fe", "_raw_device": "/dev/sdc", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "none", "name": "test2", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 19:32:58 +0000 (0:00:00.038) 0:01:21.892 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-7.qcow2] => (item={'src': 'UUID=d441d742-7368-40d2-9df1-f7f9020c5583', 'state': 'absent', 'path': 'none', 'fstype': 'swap'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "swap", "mount_info": { "fstype": "swap", "path": "none", "src": "UUID=d441d742-7368-40d2-9df1-f7f9020c5583", "state": "absent" }, "name": "none", "opts": "defaults", "passno": "0", "src": "UUID=d441d742-7368-40d2-9df1-f7f9020c5583" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 19:32:58 +0000 (0:00:00.343) 0:01:22.235 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 19:32:59 +0000 (0:00:00.459) 0:01:22.695 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 19:32:59 +0000 (0:00:00.042) 0:01:22.737 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 19:32:59 +0000 (0:00:00.439) 0:01:23.177 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1658431907.0404563, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658201031.524, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 70, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1658200515.884, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "18446744071677828413", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 19:33:00 +0000 (0:00:00.371) 0:01:23.548 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 19:33:00 +0000 (0:00:00.022) 0:01:23.571 ********* ok: [/cache/rhel-7.qcow2] META: role_complete for /cache/rhel-7.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmptomayb7j/tests/storage/tests_swap.yml:116 Thursday 21 July 2022 19:33:01 +0000 (0:00:00.879) 0:01:24.450 ********* included: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml for /cache/rhel-7.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 19:33:01 +0000 (0:00:00.058) 0:01:24.509 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Print out volume information] ******************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 19:33:01 +0000 (0:00:00.037) 0:01:24.547 ********* ok: [/cache/rhel-7.qcow2] => { "_storage_volumes_list": [ { "_device": "/dev/sdb", "_mount_id": "UUID=d441d742-7368-40d2-9df1-f7f9020c5583", "_raw_device": "/dev/sdb", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null }, { "_device": "/dev/sdc", "_mount_id": "UUID=37c097b0-26ee-4aec-bbf8-38b72e2948fe", "_raw_device": "/dev/sdc", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "none", "name": "test2", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 19:33:01 +0000 (0:00:00.052) 0:01:24.599 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "info": { "/dev/fd0": { "fstype": "", "label": "", "name": "/dev/fd0", "size": "4K", "type": "disk", "uuid": "" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-19-31-24-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "xfs", "label": "", "name": "/dev/vda1", "size": "10G", "type": "partition", "uuid": "21864ae1-1c29-4009-a1c2-151e41d0e053" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 19:33:01 +0000 (0:00:00.304) 0:01:24.904 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003607", "end": "2022-07-21 15:33:01.994395", "rc": 0, "start": "2022-07-21 15:33:01.990788" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jul 19 03:15:15 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk' # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info # UUID=21864ae1-1c29-4009-a1c2-151e41d0e053 / xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 19:33:01 +0000 (0:00:00.307) 0:01:25.212 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003307", "end": "2022-07-21 15:33:02.311354", "failed_when_result": false, "rc": 0, "start": "2022-07-21 15:33:02.308047" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 19:33:02 +0000 (0:00:00.314) 0:01:25.526 ********* TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 19:33:02 +0000 (0:00:00.022) 0:01:25.549 ********* included: /tmp/tmptomayb7j/tests/storage/test-verify-volume.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/sdb', 'raid_metadata_version': None, 'mount_device_identifier': 'uuid', 'fs_type': 'swap', 'mount_options': 'defaults', '_device': '/dev/sdb', 'size': 10737418240, 'mount_point': '/opt/test', 'compression': None, 'encryption_password': None, 'encryption': False, 'raid_level': None, 'raid_device_count': None, 'state': 'absent', 'vdo_pool_size': None, 'thin_pool_name': None, 'type': 'disk', 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': 'UUID=d441d742-7368-40d2-9df1-f7f9020c5583', 'raid_spare_count': None, 'name': 'test1', 'cache_mode': None, 'cache_devices': [], 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb'], 'thin': None, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'thin_pool_size': None, 'fs_create_options': ''}) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/sdc', 'raid_metadata_version': None, 'mount_device_identifier': 'uuid', 'fs_type': 'ext3', 'mount_options': 'defaults', '_device': '/dev/sdc', 'size': 10737418240, 'mount_point': 'none', 'compression': None, 'encryption_password': None, 'encryption': False, 'raid_level': None, 'raid_device_count': None, 'state': 'absent', 'vdo_pool_size': None, 'thin_pool_name': None, 'type': 'disk', 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': 'UUID=37c097b0-26ee-4aec-bbf8-38b72e2948fe', 'raid_spare_count': None, 'name': 'test2', 'cache_mode': None, 'cache_devices': [], 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdc'], 'thin': None, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'thin_pool_size': None, 'fs_create_options': ''}) TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 19:33:02 +0000 (0:00:00.065) 0:01:25.615 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_volume_present": false, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 19:33:02 +0000 (0:00:00.047) 0:01:25.663 ********* included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml for /cache/rhel-7.qcow2 => (item=mount) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml for /cache/rhel-7.qcow2 => (item=fstab) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fs.yml for /cache/rhel-7.qcow2 => (item=fs) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml for /cache/rhel-7.qcow2 => (item=device) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml for /cache/rhel-7.qcow2 => (item=encryption) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml for /cache/rhel-7.qcow2 => (item=md) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml for /cache/rhel-7.qcow2 => (item=size) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml for /cache/rhel-7.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 19:33:02 +0000 (0:00:00.074) 0:01:25.737 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/sdb" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 19:33:02 +0000 (0:00:00.049) 0:01:25.786 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [], "storage_test_mount_expected_match_count": "0", "storage_test_mount_point_matches": [], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 19:33:02 +0000 (0:00:00.057) 0:01:25.844 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 19:33:02 +0000 (0:00:00.023) 0:01:25.867 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 19:33:02 +0000 (0:00:00.095) 0:01:25.963 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 19:33:02 +0000 (0:00:00.043) 0:01:26.006 ********* changed: [/cache/rhel-7.qcow2] => { "changed": true, "cmd": [ "realpath", "/dev/sdb" ], "delta": "0:00:00.003330", "end": "2022-07-21 15:33:03.148588", "rc": 0, "start": "2022-07-21 15:33:03.145258" } STDOUT: /dev/sdb TASK [Gather swap info] ******************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 19:33:03 +0000 (0:00:00.361) 0:01:26.368 ********* changed: [/cache/rhel-7.qcow2] => { "changed": true, "cmd": [ "cat", "/proc/swaps" ], "delta": "0:00:00.003243", "end": "2022-07-21 15:33:03.467817", "rc": 0, "start": "2022-07-21 15:33:03.464574" } STDOUT: Filename Type Size Used Priority TASK [Verify swap status] ****************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 19:33:03 +0000 (0:00:00.312) 0:01:26.681 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Unset facts] ************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 19:33:03 +0000 (0:00:00.051) 0:01:26.732 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 19:33:03 +0000 (0:00:00.037) 0:01:26.770 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "0", "storage_test_fstab_expected_mount_options_matches": "0", "storage_test_fstab_expected_mount_point_matches": "0", "storage_test_fstab_id_matches": [], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 19:33:03 +0000 (0:00:00.061) 0:01:26.832 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 19:33:03 +0000 (0:00:00.022) 0:01:26.854 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 19:33:03 +0000 (0:00:00.047) 0:01:26.902 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 19:33:03 +0000 (0:00:00.036) 0:01:26.938 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 19:33:03 +0000 (0:00:00.032) 0:01:26.971 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 19:33:03 +0000 (0:00:00.022) 0:01:26.993 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 19:33:03 +0000 (0:00:00.024) 0:01:27.018 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1658431978.4644563, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658431978.4644563, "dev": 5, "device_type": 2064, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 11539, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1658431978.4644563, "nlink": 1, "path": "/dev/sdb", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 19:33:04 +0000 (0:00:00.312) 0:01:27.330 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 19:33:04 +0000 (0:00:00.038) 0:01:27.369 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 19:33:04 +0000 (0:00:00.021) 0:01:27.391 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "st_volume_type": "disk" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 19:33:04 +0000 (0:00:00.038) 0:01:27.429 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 19:33:04 +0000 (0:00:00.032) 0:01:27.462 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 19:33:04 +0000 (0:00:00.030) 0:01:27.492 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 19:33:04 +0000 (0:00:00.026) 0:01:27.518 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "cryptsetup-2.0.3-6.el7.x86_64 providing cryptsetup is already installed" ] } TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 19:33:04 +0000 (0:00:00.528) 0:01:28.046 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 19:33:04 +0000 (0:00:00.027) 0:01:28.073 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 19:33:04 +0000 (0:00:00.024) 0:01:28.098 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 19:33:04 +0000 (0:00:00.026) 0:01:28.124 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 19:33:04 +0000 (0:00:00.025) 0:01:28.150 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 19:33:04 +0000 (0:00:00.025) 0:01:28.175 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 19:33:04 +0000 (0:00:00.025) 0:01:28.200 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 19:33:04 +0000 (0:00:00.025) 0:01:28.226 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 19:33:04 +0000 (0:00:00.023) 0:01:28.249 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 19:33:05 +0000 (0:00:00.102) 0:01:28.352 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 19:33:05 +0000 (0:00:00.052) 0:01:28.404 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 19:33:05 +0000 (0:00:00.036) 0:01:28.440 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 19:33:05 +0000 (0:00:00.037) 0:01:28.478 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 19:33:05 +0000 (0:00:00.037) 0:01:28.515 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 19:33:05 +0000 (0:00:00.037) 0:01:28.553 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 19:33:05 +0000 (0:00:00.043) 0:01:28.596 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 19:33:05 +0000 (0:00:00.037) 0:01:28.633 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 19:33:05 +0000 (0:00:00.039) 0:01:28.672 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 19:33:05 +0000 (0:00:00.039) 0:01:28.712 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 19:33:05 +0000 (0:00:00.079) 0:01:28.791 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 19:33:05 +0000 (0:00:00.038) 0:01:28.829 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 19:33:05 +0000 (0:00:00.041) 0:01:28.871 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 19:33:05 +0000 (0:00:00.025) 0:01:28.897 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 19:33:05 +0000 (0:00:00.041) 0:01:28.938 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 19:33:05 +0000 (0:00:00.041) 0:01:28.980 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 19:33:05 +0000 (0:00:00.038) 0:01:29.018 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 19:33:05 +0000 (0:00:00.039) 0:01:29.058 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 19:33:05 +0000 (0:00:00.036) 0:01:29.095 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 19:33:05 +0000 (0:00:00.038) 0:01:29.133 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 19:33:05 +0000 (0:00:00.038) 0:01:29.171 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 19:33:05 +0000 (0:00:00.037) 0:01:29.208 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 19:33:05 +0000 (0:00:00.034) 0:01:29.243 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 19:33:06 +0000 (0:00:00.035) 0:01:29.279 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 19:33:06 +0000 (0:00:00.025) 0:01:29.304 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 19:33:06 +0000 (0:00:00.024) 0:01:29.329 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 19:33:06 +0000 (0:00:00.022) 0:01:29.351 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 19:33:06 +0000 (0:00:00.021) 0:01:29.372 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 19:33:06 +0000 (0:00:00.021) 0:01:29.394 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 19:33:06 +0000 (0:00:00.022) 0:01:29.416 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 19:33:06 +0000 (0:00:00.025) 0:01:29.441 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 19:33:06 +0000 (0:00:00.024) 0:01:29.466 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 19:33:06 +0000 (0:00:00.033) 0:01:29.499 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_volume_present": false, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 19:33:06 +0000 (0:00:00.052) 0:01:29.552 ********* included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml for /cache/rhel-7.qcow2 => (item=mount) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml for /cache/rhel-7.qcow2 => (item=fstab) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fs.yml for /cache/rhel-7.qcow2 => (item=fs) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml for /cache/rhel-7.qcow2 => (item=device) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml for /cache/rhel-7.qcow2 => (item=encryption) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml for /cache/rhel-7.qcow2 => (item=md) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml for /cache/rhel-7.qcow2 => (item=size) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml for /cache/rhel-7.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 19:33:06 +0000 (0:00:00.075) 0:01:29.627 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/sdc" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 19:33:06 +0000 (0:00:00.040) 0:01:29.668 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [], "storage_test_mount_expected_match_count": "0", "storage_test_mount_point_matches": [], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 19:33:06 +0000 (0:00:00.056) 0:01:29.724 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 19:33:06 +0000 (0:00:00.024) 0:01:29.749 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 19:33:06 +0000 (0:00:00.050) 0:01:29.799 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 19:33:06 +0000 (0:00:00.038) 0:01:29.837 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 19:33:06 +0000 (0:00:00.031) 0:01:29.869 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 19:33:06 +0000 (0:00:00.029) 0:01:29.899 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 19:33:06 +0000 (0:00:00.027) 0:01:29.926 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 19:33:06 +0000 (0:00:00.036) 0:01:29.962 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "0", "storage_test_fstab_expected_mount_options_matches": "0", "storage_test_fstab_expected_mount_point_matches": "0", "storage_test_fstab_id_matches": [], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 19:33:06 +0000 (0:00:00.065) 0:01:30.028 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 19:33:06 +0000 (0:00:00.026) 0:01:30.054 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 19:33:06 +0000 (0:00:00.050) 0:01:30.104 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 19:33:06 +0000 (0:00:00.036) 0:01:30.140 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 19:33:06 +0000 (0:00:00.083) 0:01:30.224 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 19:33:07 +0000 (0:00:00.066) 0:01:30.290 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 19:33:07 +0000 (0:00:00.022) 0:01:30.313 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1658431978.4354563, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658431978.4354563, "dev": 5, "device_type": 2080, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 11538, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1658431978.4354563, "nlink": 1, "path": "/dev/sdc", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 19:33:07 +0000 (0:00:00.333) 0:01:30.647 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 19:33:07 +0000 (0:00:00.040) 0:01:30.688 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 19:33:07 +0000 (0:00:00.025) 0:01:30.713 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "st_volume_type": "disk" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 19:33:07 +0000 (0:00:00.036) 0:01:30.750 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 19:33:07 +0000 (0:00:00.024) 0:01:30.774 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 19:33:07 +0000 (0:00:00.024) 0:01:30.798 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 19:33:07 +0000 (0:00:00.024) 0:01:30.823 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "cryptsetup-2.0.3-6.el7.x86_64 providing cryptsetup is already installed" ] } TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 19:33:08 +0000 (0:00:00.525) 0:01:31.349 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 19:33:08 +0000 (0:00:00.023) 0:01:31.372 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 19:33:08 +0000 (0:00:00.023) 0:01:31.395 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 19:33:08 +0000 (0:00:00.022) 0:01:31.418 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 19:33:08 +0000 (0:00:00.025) 0:01:31.444 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 19:33:08 +0000 (0:00:00.022) 0:01:31.467 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 19:33:08 +0000 (0:00:00.022) 0:01:31.489 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 19:33:08 +0000 (0:00:00.022) 0:01:31.511 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 19:33:08 +0000 (0:00:00.026) 0:01:31.538 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 19:33:08 +0000 (0:00:00.049) 0:01:31.588 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 19:33:08 +0000 (0:00:00.051) 0:01:31.639 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 19:33:08 +0000 (0:00:00.037) 0:01:31.677 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 19:33:08 +0000 (0:00:00.040) 0:01:31.717 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 19:33:08 +0000 (0:00:00.037) 0:01:31.754 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 19:33:08 +0000 (0:00:00.033) 0:01:31.788 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 19:33:08 +0000 (0:00:00.036) 0:01:31.825 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 19:33:08 +0000 (0:00:00.037) 0:01:31.863 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 19:33:08 +0000 (0:00:00.034) 0:01:31.897 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 19:33:08 +0000 (0:00:00.039) 0:01:31.937 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 19:33:08 +0000 (0:00:00.035) 0:01:31.972 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 19:33:08 +0000 (0:00:00.038) 0:01:32.010 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 19:33:08 +0000 (0:00:00.035) 0:01:32.045 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 19:33:08 +0000 (0:00:00.023) 0:01:32.069 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 19:33:08 +0000 (0:00:00.037) 0:01:32.106 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 19:33:08 +0000 (0:00:00.039) 0:01:32.145 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 19:33:08 +0000 (0:00:00.035) 0:01:32.181 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 19:33:08 +0000 (0:00:00.035) 0:01:32.217 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 19:33:08 +0000 (0:00:00.034) 0:01:32.251 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 19:33:09 +0000 (0:00:00.040) 0:01:32.292 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 19:33:09 +0000 (0:00:00.037) 0:01:32.329 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 19:33:09 +0000 (0:00:00.037) 0:01:32.366 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 19:33:09 +0000 (0:00:00.073) 0:01:32.439 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 19:33:09 +0000 (0:00:00.033) 0:01:32.473 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 19:33:09 +0000 (0:00:00.022) 0:01:32.496 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 19:33:09 +0000 (0:00:00.023) 0:01:32.520 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 19:33:09 +0000 (0:00:00.024) 0:01:32.544 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 19:33:09 +0000 (0:00:00.058) 0:01:32.603 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 19:33:09 +0000 (0:00:00.024) 0:01:32.628 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 19:33:09 +0000 (0:00:00.022) 0:01:32.650 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 19:33:09 +0000 (0:00:00.023) 0:01:32.673 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 19:33:09 +0000 (0:00:00.024) 0:01:32.697 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 19:33:09 +0000 (0:00:00.031) 0:01:32.728 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-7.qcow2 : ok=474 changed=24 unreachable=0 failed=0 skipped=427 rescued=0 ignored=0 Thursday 21 July 2022 19:33:09 +0000 (0:00:00.054) 0:01:32.783 ********* =============================================================================== fedora.linux_system_roles.storage : make sure blivet is available ------- 8.51s /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Ensure cryptsetup is present -------------------------------------------- 1.46s /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:10 ----------- set up internal repositories -------------------------------------------- 1.43s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 1.39s /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 1.33s /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Collect info about the volumes. ----------------------------------------- 1.31s /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:14 --------------------- fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 1.23s /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : get service facts ------------------- 1.13s /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 1.07s /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 1.06s /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Gathering Facts --------------------------------------------------------- 0.99s /tmp/tmptomayb7j/tests/storage/tests_swap_scsi_generated.yml:3 ---------------- fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 0.89s /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 0.88s /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : Update facts ------------------------ 0.88s /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 fedora.linux_system_roles.storage : Update facts ------------------------ 0.87s /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 fedora.linux_system_roles.storage : Update facts ------------------------ 0.87s /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 fedora.linux_system_roles.storage : Update facts ------------------------ 0.86s /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 fedora.linux_system_roles.storage : Update facts ------------------------ 0.84s /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 fedora.linux_system_roles.storage : Update facts ------------------------ 0.84s /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 fedora.linux_system_roles.storage : Update facts ------------------------ 0.83s /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183