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/tmpj2uhjp4w 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-8_setup.yml ***************************************************** 1 plays in /cache/rhel-8_setup.yml PLAY [Setup repos] ************************************************************* META: ran handlers TASK [set up internal repositories] ******************************************** task path: /cache/rhel-8_setup.yml:5 Thursday 21 July 2022 17:35:27 +0000 (0:00:00.017) 0:00:00.017 ********* changed: [/cache/rhel-8.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-8.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-8.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-8.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-8.qcow2 : ok=1 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Thursday 21 July 2022 17:35:28 +0000 (0:00:01.370) 0:00:01.388 ********* =============================================================================== set up internal repositories -------------------------------------------- 1.37s /cache/rhel-8_setup.yml:5 ----------------------------------------------------- PLAYBOOK: tests_resize.yml ***************************************************** 1 plays in /tmp/tmpw6dixrb5/tests/tests_resize.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpw6dixrb5/tests/tests_resize.yml:1 Thursday 21 July 2022 17:35:28 +0000 (0:00:00.027) 0:00:01.416 ********* ok: [/cache/rhel-8.qcow2] META: ran handlers TASK [include_role : linux-system-roles.storage] ******************************* task path: /tmp/tmpw6dixrb5/tests/tests_resize.yml:20 Thursday 21 July 2022 17:35:30 +0000 (0:00:01.101) 0:00:02.518 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 17:35:30 +0000 (0:00:00.035) 0:00:02.554 ********* included: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 17:35:30 +0000 (0:00:00.031) 0:00:02.585 ********* ok: [/cache/rhel-8.qcow2] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 17:35:30 +0000 (0:00:00.583) 0:00:03.168 ********* skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8.qcow2] => (item=RedHat_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.6.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/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 17:35:30 +0000 (0:00:00.055) 0:00:03.224 ********* ok: [/cache/rhel-8.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/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 17:35:30 +0000 (0:00:00.028) 0:00:03.252 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 17:35:30 +0000 (0:00:00.029) 0:00:03.282 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 17:35:30 +0000 (0:00:00.046) 0:00:03.328 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 17:35:30 +0000 (0:00:00.016) 0:00:03.345 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "rc": 0, "results": [ "Installed: libblockdev-loop-2.24-8.el8.x86_64", "Installed: libblockdev-lvm-2.24-8.el8.x86_64", "Installed: device-mapper-event-8:1.02.181-3.el8.x86_64", "Installed: libblockdev-mdraid-2.24-8.el8.x86_64", "Installed: device-mapper-event-libs-8:1.02.181-3.el8.x86_64", "Installed: libblockdev-mpath-2.24-8.el8.x86_64", "Installed: device-mapper-multipath-0.8.4-22.el8.x86_64", "Installed: libblockdev-nvdimm-2.24-8.el8.x86_64", "Installed: device-mapper-multipath-libs-0.8.4-22.el8.x86_64", "Installed: libblockdev-part-2.24-8.el8.x86_64", "Installed: device-mapper-persistent-data-0.9.0-6.el8.x86_64", "Installed: libblockdev-swap-2.24-8.el8.x86_64", "Installed: libaio-0.3.112-1.el8.x86_64", "Installed: libblockdev-utils-2.24-8.el8.x86_64", "Installed: libbytesize-1.4-3.el8.x86_64", "Installed: python3-blivet-1:3.4.0-9.el8.noarch", "Installed: python3-blockdev-2.24-8.el8.x86_64", "Installed: python3-pyparted-1:3.11.7-4.el8.x86_64", "Installed: python3-bytesize-1.4-3.el8.x86_64", "Installed: blivet-data-1:3.4.0-9.el8.noarch", "Installed: lsof-4.93.2-1.el8.x86_64", "Installed: lvm2-8:2.03.14-3.el8.x86_64", "Installed: lvm2-libs-8:2.03.14-3.el8.x86_64", "Installed: volume_key-libs-0.3.11-5.el8.x86_64", "Installed: nspr-4.32.0-1.el8_4.x86_64", "Installed: nss-3.67.0-7.el8_5.x86_64", "Installed: mdadm-4.2-2.el8.x86_64", "Installed: nss-softokn-3.67.0-7.el8_5.x86_64", "Installed: nss-softokn-freebl-3.67.0-7.el8_5.x86_64", "Installed: nss-sysinit-3.67.0-7.el8_5.x86_64", "Installed: nss-util-3.67.0-7.el8_5.x86_64", "Installed: userspace-rcu-0.10.1-4.el8.x86_64", "Installed: vdo-6.2.6.14-14.el8.x86_64", "Installed: ndctl-71.1-3.el8.x86_64", "Installed: ndctl-libs-71.1-3.el8.x86_64", "Installed: daxctl-libs-71.1-3.el8.x86_64", "Installed: libblockdev-2.24-8.el8.x86_64", "Installed: kmod-kvdo-6.2.6.14-84.el8.x86_64", "Installed: libblockdev-crypto-2.24-8.el8.x86_64", "Installed: libblockdev-dm-2.24-8.el8.x86_64", "Installed: libblockdev-fs-2.24-8.el8.x86_64", "Installed: libblockdev-kbd-2.24-8.el8.x86_64" ] } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 17:36:22 +0000 (0:00:51.214) 0:00:54.560 ********* ok: [/cache/rhel-8.qcow2] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 17:36:22 +0000 (0:00:00.034) 0:00:54.595 ********* ok: [/cache/rhel-8.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 17:36:22 +0000 (0:00:00.033) 0:00:54.629 ********* ok: [/cache/rhel-8.qcow2] => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 17:36:22 +0000 (0:00:00.725) 0:00:55.354 ********* included: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.storage : check if the COPR support packages should be installed] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml:2 Thursday 21 July 2022 17:36:22 +0000 (0:00:00.039) 0:00:55.394 ********* TASK [linux-system-roles.storage : make sure COPR support packages are present] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml:13 Thursday 21 July 2022 17:36:22 +0000 (0:00:00.031) 0:00:55.426 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable COPRs] ******************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml:18 Thursday 21 July 2022 17:36:23 +0000 (0:00:00.034) 0:00:55.460 ********* TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 17:36:23 +0000 (0:00:00.032) 0:00:55.493 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 17:36:24 +0000 (0:00:01.273) 0:00:56.766 ********* ok: [/cache/rhel-8.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": "stopped", "status": "disabled" }, "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" }, "cockpit-motd.service": { "name": "cockpit-motd.service", "source": "systemd", "state": "inactive", "status": "static" }, "cockpit-wsinstance-http.service": { "name": "cockpit-wsinstance-http.service", "source": "systemd", "state": "inactive", "status": "static" }, "cockpit-wsinstance-https-factory@.service": { "name": "cockpit-wsinstance-https-factory@.service", "source": "systemd", "state": "unknown", "status": "static" }, "cockpit-wsinstance-https@.service": { "name": "cockpit-wsinstance-https@.service", "source": "systemd", "state": "unknown", "status": "static" }, "cockpit.service": { "name": "cockpit.service", "source": "systemd", "state": "inactive", "status": "static" }, "console-getty.service": { "name": "console-getty.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": "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.nm-dispatcher.service": { "name": "dbus-org.freedesktop.nm-dispatcher.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "dbus-org.freedesktop.portable1.service": { "name": "dbus-org.freedesktop.portable1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus-org.freedesktop.timedate1.service": { "name": "dbus-org.freedesktop.timedate1.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "dbus.service": { "name": "dbus.service", "source": "systemd", "state": "running", "status": "static" }, "dbxtool.service": { "name": "dbxtool.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "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" }, "dnf-makecache.service": { "name": "dnf-makecache.service", "source": "systemd", "state": "stopped", "status": "static" }, "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" }, "fcoe.service": { "name": "fcoe.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" }, "grub-boot-indeterminate.service": { "name": "grub-boot-indeterminate.service", "source": "systemd", "state": "inactive", "status": "static" }, "gssproxy.service": { "name": "gssproxy.service", "source": "systemd", "state": "running", "status": "disabled" }, "halt-local.service": { "name": "halt-local.service", "source": "systemd", "state": "inactive", "status": "static" }, "import-state.service": { "name": "import-state.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "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" }, "insights-client-boot.service": { "name": "insights-client-boot.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "insights-client-results.service": { "name": "insights-client-results.service", "source": "systemd", "state": "inactive", "status": "static" }, "insights-client.service": { "name": "insights-client.service", "source": "systemd", "state": "inactive", "status": "static" }, "irqbalance.service": { "name": "irqbalance.service", "source": "systemd", "state": "running", "status": "enabled" }, "iscsi-shutdown.service": { "name": "iscsi-shutdown.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "iscsi.service": { "name": "iscsi.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "iscsid.service": { "name": "iscsid.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "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" }, "kvm_stat.service": { "name": "kvm_stat.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "ldconfig.service": { "name": "ldconfig.service", "source": "systemd", "state": "stopped", "status": "static" }, "loadmodules.service": { "name": "loadmodules.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "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-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" }, "man-db-cache-update.service": { "name": "man-db-cache-update.service", "source": "systemd", "state": "stopped", "status": "static" }, "man-db-restart-cache-update.service": { "name": "man-db-restart-cache-update.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "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" }, "multipathd.service": { "name": "multipathd.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "ndctl-monitor.service": { "name": "ndctl-monitor.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "network.service": { "name": "network.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "nfs-blkmap.service": { "name": "nfs-blkmap.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nfs-convert.service": { "name": "nfs-convert.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nfs-idmapd.service": { "name": "nfs-idmapd.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-mountd.service": { "name": "nfs-mountd.service", "source": "systemd", "state": "stopped", "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" }, "nfsdcld.service": { "name": "nfsdcld.service", "source": "systemd", "state": "stopped", "status": "static" }, "nis-domainname.service": { "name": "nis-domainname.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "ntpd.service": { "name": "ntpd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ntpdate.service": { "name": "ntpdate.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "oddjobd.service": { "name": "oddjobd.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "packagekit-offline-update.service": { "name": "packagekit-offline-update.service", "source": "systemd", "state": "inactive", "status": "static" }, "packagekit.service": { "name": "packagekit.service", "source": "systemd", "state": "inactive", "status": "static" }, "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" }, "qemu-guest-agent.service": { "name": "qemu-guest-agent.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "quotaon.service": { "name": "quotaon.service", "source": "systemd", "state": "inactive", "status": "static" }, "rbdmap.service": { "name": "rbdmap.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "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" }, "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": "running", "status": "enabled" }, "rpc-gssd.service": { "name": "rpc-gssd.service", "source": "systemd", "state": "stopped", "status": "static" }, "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" }, "rsyslog.service": { "name": "rsyslog.service", "source": "systemd", "state": "running", "status": "enabled" }, "run-r88affbe3998f4e448d0c9baf80d55a5c.service": { "name": "run-r88affbe3998f4e448d0c9baf80d55a5c.service", "source": "systemd", "state": "running", "status": "transient" }, "selinux-autorelabel-mark.service": { "name": "selinux-autorelabel-mark.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "selinux-autorelabel.service": { "name": "selinux-autorelabel.service", "source": "systemd", "state": "inactive", "status": "static" }, "serial-getty@.service": { "name": "serial-getty@.service", "source": "systemd", "state": "unknown", "status": "indirect" }, "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": "not-found" }, "sshd-keygen@.service": { "name": "sshd-keygen@.service", "source": "systemd", "state": "unknown", "status": "disabled" }, "sshd-keygen@ecdsa.service": { "name": "sshd-keygen@ecdsa.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd-keygen@ed25519.service": { "name": "sshd-keygen@ed25519.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd-keygen@rsa.service": { "name": "sshd-keygen@rsa.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd.service": { "name": "sshd.service", "source": "systemd", "state": "running", "status": "enabled" }, "sshd@.service": { "name": "sshd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "sssd-autofs.service": { "name": "sssd-autofs.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-kcm.service": { "name": "sssd-kcm.service", "source": "systemd", "state": "stopped", "status": "indirect" }, "sssd-nss.service": { "name": "sssd-nss.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-pac.service": { "name": "sssd-pac.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-pam.service": { "name": "sssd-pam.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-ssh.service": { "name": "sssd-ssh.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-sudo.service": { "name": "sssd-sudo.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd.service": { "name": "sssd.service", "source": "systemd", "state": "running", "status": "enabled" }, "syslog.service": { "name": "syslog.service", "source": "systemd", "state": "active", "status": "enabled" }, "system-update-cleanup.service": { "name": "system-update-cleanup.service", "source": "systemd", "state": "inactive", "status": "static" }, "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-coredump@.service": { "name": "systemd-coredump@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-exit.service": { "name": "systemd-exit.service", "source": "systemd", "state": "inactive", "status": "static" }, "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-fsck@dev-disk-by\\x2duuid-7B77\\x2d95E7.service": { "name": "systemd-fsck@dev-disk-by\\x2duuid-7B77\\x2d95E7.service", "source": "systemd", "state": "stopped", "status": "active" }, "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": "inactive", "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-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-modules-load.service": { "name": "systemd-modules-load.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-portabled.service": { "name": "systemd-portabled.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-poweroff.service": { "name": "systemd-poweroff.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-quotacheck.service": { "name": "systemd-quotacheck.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-random-seed.service": { "name": "systemd-random-seed.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-reboot.service": { "name": "systemd-reboot.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-remount-fs.service": { "name": "systemd-remount-fs.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-resolved.service": { "name": "systemd-resolved.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-rfkill.service": { "name": "systemd-rfkill.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-suspend-then-hibernate.service": { "name": "systemd-suspend-then-hibernate.service", "source": "systemd", "state": "inactive", "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": "static" }, "systemd-timedated.service": { "name": "systemd-timedated.service", "source": "systemd", "state": "inactive", "status": "masked" }, "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" }, "systemd-volatile-root.service": { "name": "systemd-volatile-root.service", "source": "systemd", "state": "inactive", "status": "static" }, "tcsd.service": { "name": "tcsd.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "teamd@.service": { "name": "teamd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "timedatex.service": { "name": "timedatex.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "tuned.service": { "name": "tuned.service", "source": "systemd", "state": "running", "status": "enabled" }, "unbound-anchor.service": { "name": "unbound-anchor.service", "source": "systemd", "state": "stopped", "status": "static" }, "user-runtime-dir@.service": { "name": "user-runtime-dir@.service", "source": "systemd", "state": "unknown", "status": "static" }, "user-runtime-dir@0.service": { "name": "user-runtime-dir@0.service", "source": "systemd", "state": "stopped", "status": "active" }, "user@.service": { "name": "user@.service", "source": "systemd", "state": "unknown", "status": "static" }, "user@0.service": { "name": "user@0.service", "source": "systemd", "state": "running", "status": "active" }, "vdo-start-by-dev@.service": { "name": "vdo-start-by-dev@.service", "source": "systemd", "state": "unknown", "status": "static" }, "vdo.service": { "name": "vdo.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "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/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 17:36:26 +0000 (0:00:01.856) 0:00:58.623 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 17:36:26 +0000 (0:00:00.056) 0:00:58.679 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 17:36:26 +0000 (0:00:00.022) 0:00:58.701 ********* ok: [/cache/rhel-8.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/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 17:36:26 +0000 (0:00:00.533) 0:00:59.235 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 17:36:26 +0000 (0:00:00.035) 0:00:59.271 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 17:36:26 +0000 (0:00:00.026) 0:00:59.298 ********* ok: [/cache/rhel-8.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/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 17:36:26 +0000 (0:00:00.042) 0:00:59.341 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 17:36:26 +0000 (0:00:00.036) 0:00:59.377 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 17:36:27 +0000 (0:00:00.084) 0:00:59.462 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 17:36:27 +0000 (0:00:00.037) 0:00:59.499 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 17:36:27 +0000 (0:00:00.022) 0:00:59.522 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 17:36:27 +0000 (0:00:00.032) 0:00:59.555 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 17:36:27 +0000 (0:00:00.020) 0:00:59.575 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 17:36:27 +0000 (0:00:00.484) 0:01:00.060 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 17:36:27 +0000 (0:00:00.021) 0:01:00.081 ********* ok: [/cache/rhel-8.qcow2] META: role_complete for /cache/rhel-8.qcow2 TASK [Mark tasks to be skipped] ************************************************ task path: /tmp/tmpw6dixrb5/tests/tests_resize.yml:23 Thursday 21 July 2022 17:36:28 +0000 (0:00:00.930) 0:01:01.012 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_skip_checks": [ "blivet_available", "packages_installed", "service_facts" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/tests_resize.yml:30 Thursday 21 July 2022 17:36:28 +0000 (0:00:00.035) 0:01:01.047 ********* included: /tmp/tmpw6dixrb5/tests/get_unused_disk.yml for /cache/rhel-8.qcow2 TASK [Find unused disks in the system] ***************************************** task path: /tmp/tmpw6dixrb5/tests/get_unused_disk.yml:2 Thursday 21 July 2022 17:36:28 +0000 (0:00:00.035) 0:01:01.083 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "disks": [ "sda" ] } TASK [Set unused_disks if necessary] ******************************************* task path: /tmp/tmpw6dixrb5/tests/get_unused_disk.yml:9 Thursday 21 July 2022 17:36:29 +0000 (0:00:00.509) 0:01:01.592 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "unused_disks": [ "sda" ] }, "changed": false } TASK [Exit playbook when there's not enough unused disks in the system] ******** task path: /tmp/tmpw6dixrb5/tests/get_unused_disk.yml:14 Thursday 21 July 2022 17:36:29 +0000 (0:00:00.036) 0:01:01.629 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Print unused disks] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/get_unused_disk.yml:19 Thursday 21 July 2022 17:36:29 +0000 (0:00:00.036) 0:01:01.665 ********* ok: [/cache/rhel-8.qcow2] => { "unused_disks": [ "sda" ] } TASK [Create one LVM logical volume with "5g" under one volume group] ********** task path: /tmp/tmpw6dixrb5/tests/tests_resize.yml:37 Thursday 21 July 2022 17:36:29 +0000 (0:00:00.033) 0:01:01.699 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 17:36:29 +0000 (0:00:00.040) 0:01:01.739 ********* included: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 17:36:29 +0000 (0:00:00.032) 0:01:01.772 ********* ok: [/cache/rhel-8.qcow2] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 17:36:29 +0000 (0:00:00.515) 0:01:02.288 ********* skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8.qcow2] => (item=RedHat_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.6.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/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 17:36:29 +0000 (0:00:00.089) 0:01:02.377 ********* ok: [/cache/rhel-8.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/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 17:36:29 +0000 (0:00:00.035) 0:01:02.413 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 17:36:29 +0000 (0:00:00.033) 0:01:02.447 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 17:36:30 +0000 (0:00:00.047) 0:01:02.494 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 17:36:30 +0000 (0:00:00.020) 0:01:02.515 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 17:36:30 +0000 (0:00:00.026) 0:01:02.541 ********* ok: [/cache/rhel-8.qcow2] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "type": "lvm", "volumes": [ { "fs_type": "ext4", "mount_point": "/opt/test1", "name": "test1", "size": "5g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 17:36:30 +0000 (0:00:00.068) 0:01:02.609 ********* ok: [/cache/rhel-8.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 17:36:30 +0000 (0:00:00.094) 0:01:02.704 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 17:36:30 +0000 (0:00:00.027) 0:01:02.731 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 17:36:30 +0000 (0:00:00.028) 0:01:02.759 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 17:36:30 +0000 (0:00:00.027) 0:01:02.787 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 17:36:30 +0000 (0:00:00.025) 0:01:02.812 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 17:36:30 +0000 (0:00:00.055) 0:01:02.868 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 17:36:30 +0000 (0:00:00.020) 0:01:02.888 ********* changed: [/cache/rhel-8.qcow2] => { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "ext4" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd", "/dev/mapper/foo-test1" ], "mounts": [ { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "dosfstools", "xfsprogs", "e2fsprogs", "lvm2" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "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": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 17:36:32 +0000 (0:00:01.691) 0:01:04.579 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 17:36:32 +0000 (0:00:00.035) 0:01:04.615 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 17:36:32 +0000 (0:00:00.021) 0:01:04.637 ********* ok: [/cache/rhel-8.qcow2] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "ext4" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd", "/dev/mapper/foo-test1" ], "mounts": [ { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "dosfstools", "xfsprogs", "e2fsprogs", "lvm2" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "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": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 17:36:32 +0000 (0:00:00.035) 0:01:04.672 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "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": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 17:36:32 +0000 (0:00:00.034) 0:01:04.706 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 17:36:32 +0000 (0:00:00.037) 0:01:04.744 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 17:36:32 +0000 (0:00:00.036) 0:01:04.781 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 17:36:33 +0000 (0:00:00.926) 0:01:05.708 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-8.qcow2] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': 'ext4', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext4", "mount_info": { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 17:36:33 +0000 (0:00:00.613) 0:01:06.321 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 17:36:34 +0000 (0:00:00.610) 0:01:06.931 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 17:36:34 +0000 (0:00:00.395) 0:01:07.327 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 17:36:34 +0000 (0:00:00.022) 0:01:07.350 ********* ok: [/cache/rhel-8.qcow2] META: role_complete for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/tests_resize.yml:52 Thursday 21 July 2022 17:36:35 +0000 (0:00:00.997) 0:01:08.348 ********* included: /tmp/tmpw6dixrb5/tests/verify-role-results.yml for /cache/rhel-8.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:1 Thursday 21 July 2022 17:36:35 +0000 (0:00:00.068) 0:01:08.416 ********* ok: [/cache/rhel-8.qcow2] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "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": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:6 Thursday 21 July 2022 17:36:36 +0000 (0:00:00.050) 0:01:08.467 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:14 Thursday 21 July 2022 17:36:36 +0000 (0:00:00.033) 0:01:08.500 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "ext4", "label": "", "name": "/dev/mapper/foo-test1", "size": "5G", "type": "lvm", "uuid": "05604bf7-cb17-4ecc-b33b-aab87996f877" }, "/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": "LVM2_member", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "7UAk9T-2Y3w-z3so-yy8l-6RPU-5bbz-nqQicp" }, "/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-17-35-15-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "vfat", "label": "", "name": "/dev/vda2", "size": "100M", "type": "partition", "uuid": "7B77-95E7" }, "/dev/vda3": { "fstype": "xfs", "label": "root", "name": "/dev/vda3", "size": "9.9G", "type": "partition", "uuid": "853ae189-b3fe-4a45-8485-75bbb1421bbe" }, "/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/tmpw6dixrb5/tests/verify-role-results.yml:19 Thursday 21 July 2022 17:36:36 +0000 (0:00:00.462) 0:01:08.962 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002678", "end": "2022-07-21 13:36:37.011304", "rc": 0, "start": "2022-07-21 13:36:37.008626" } STDOUT: UUID=853ae189-b3fe-4a45-8485-75bbb1421bbe / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 /dev/mapper/foo-test1 /opt/test1 ext4 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:24 Thursday 21 July 2022 17:36:36 +0000 (0:00:00.460) 0:01:09.423 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002655", "end": "2022-07-21 13:36:37.383973", "failed_when_result": false, "rc": 1, "start": "2022-07-21 13:36:37.381318" } STDERR: cat: /etc/crypttab: No such file or directory MSG: non-zero return code TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:33 Thursday 21 July 2022 17:36:37 +0000 (0:00:00.368) 0:01:09.791 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-pool.yml for /cache/rhel-8.qcow2 => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-pool.yml:5 Thursday 21 July 2022 17:36:37 +0000 (0:00:00.060) 0:01:09.852 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool.yml:18 Thursday 21 July 2022 17:36:37 +0000 (0:00:00.032) 0:01:09.884 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml for /cache/rhel-8.qcow2 => (item=members) included: /tmp/tmpw6dixrb5/tests/test-verify-pool-volumes.yml for /cache/rhel-8.qcow2 => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:1 Thursday 21 July 2022 17:36:37 +0000 (0:00:00.046) 0:01:09.930 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/sda" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 17:36:37 +0000 (0:00:00.050) 0:01:09.981 ********* ok: [/cache/rhel-8.qcow2] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda", "pv": "/dev/sda" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 17:36:38 +0000 (0:00:00.490) 0:01:10.471 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 17:36:38 +0000 (0:00:00.049) 0:01:10.521 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 17:36:38 +0000 (0:00:00.051) 0:01:10.572 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 17:36:38 +0000 (0:00:00.050) 0:01:10.623 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 17:36:38 +0000 (0:00:00.036) 0:01:10.659 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 17:36:38 +0000 (0:00:00.047) 0:01:10.706 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:46 Thursday 21 July 2022 17:36:38 +0000 (0:00:00.023) 0:01:10.729 ********* ok: [/cache/rhel-8.qcow2] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 17:36:38 +0000 (0:00:00.039) 0:01:10.768 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml for /cache/rhel-8.qcow2 TASK [get information about RAID] ********************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:6 Thursday 21 July 2022 17:36:38 +0000 (0:00:00.040) 0:01:10.809 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:12 Thursday 21 July 2022 17:36:38 +0000 (0:00:00.023) 0:01:10.832 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:16 Thursday 21 July 2022 17:36:38 +0000 (0:00:00.022) 0:01:10.855 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:20 Thursday 21 July 2022 17:36:38 +0000 (0:00:00.023) 0:01:10.878 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:24 Thursday 21 July 2022 17:36:38 +0000 (0:00:00.023) 0:01:10.901 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:30 Thursday 21 July 2022 17:36:38 +0000 (0:00:00.023) 0:01:10.925 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:36 Thursday 21 July 2022 17:36:38 +0000 (0:00:00.022) 0:01:10.947 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:44 Thursday 21 July 2022 17:36:38 +0000 (0:00:00.022) 0:01:10.970 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:59 Thursday 21 July 2022 17:36:38 +0000 (0:00:00.064) 0:01:11.034 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-lvmraid.yml for /cache/rhel-8.qcow2 TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 17:36:38 +0000 (0:00:00.071) 0:01:11.106 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 17:36:38 +0000 (0:00:00.043) 0:01:11.149 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 17:36:38 +0000 (0:00:00.026) 0:01:11.176 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 17:36:38 +0000 (0:00:00.026) 0:01:11.202 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 17:36:38 +0000 (0:00:00.027) 0:01:11.230 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-thin.yml for /cache/rhel-8.qcow2 TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-thin.yml:1 Thursday 21 July 2022 17:36:38 +0000 (0:00:00.046) 0:01:11.276 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 17:36:38 +0000 (0:00:00.044) 0:01:11.321 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 17:36:38 +0000 (0:00:00.025) 0:01:11.346 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 17:36:38 +0000 (0:00:00.030) 0:01:11.377 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 17:36:38 +0000 (0:00:00.024) 0:01:11.402 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 17:36:38 +0000 (0:00:00.023) 0:01:11.425 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml for /cache/rhel-8.qcow2 TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 17:36:39 +0000 (0:00:00.047) 0:01:11.473 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 17:36:39 +0000 (0:00:00.056) 0:01:11.529 ********* skipping: [/cache/rhel-8.qcow2] => (item=/dev/sda) => { "_storage_test_pool_member_path": "/dev/sda", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 17:36:39 +0000 (0:00:00.029) 0:01:11.559 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml for /cache/rhel-8.qcow2 => (item=/dev/sda) TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 17:36:39 +0000 (0:00:00.043) 0:01:11.603 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:6 Thursday 21 July 2022 17:36:39 +0000 (0:00:00.049) 0:01:11.652 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:11 Thursday 21 July 2022 17:36:39 +0000 (0:00:00.050) 0:01:11.703 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:17 Thursday 21 July 2022 17:36:39 +0000 (0:00:00.037) 0:01:11.740 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:23 Thursday 21 July 2022 17:36:39 +0000 (0:00:00.040) 0:01:11.780 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:29 Thursday 21 July 2022 17:36:39 +0000 (0:00:00.035) 0:01:11.816 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 17:36:39 +0000 (0:00:00.034) 0:01:11.851 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 17:36:39 +0000 (0:00:00.031) 0:01:11.883 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-vdo.yml for /cache/rhel-8.qcow2 TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 17:36:39 +0000 (0:00:00.046) 0:01:11.929 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 17:36:39 +0000 (0:00:00.044) 0:01:11.974 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 17:36:39 +0000 (0:00:00.023) 0:01:11.997 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 17:36:39 +0000 (0:00:00.023) 0:01:12.020 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 17:36:39 +0000 (0:00:00.024) 0:01:12.045 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 17:36:39 +0000 (0:00:00.024) 0:01:12.069 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 17:36:39 +0000 (0:00:00.023) 0:01:12.092 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 17:36:39 +0000 (0:00:00.023) 0:01:12.116 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 17:36:39 +0000 (0:00:00.022) 0:01:12.138 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 17:36:39 +0000 (0:00:00.065) 0:01:12.203 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 17:36:39 +0000 (0:00:00.067) 0:01:12.271 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml:2 Thursday 21 July 2022 17:36:39 +0000 (0:00:00.072) 0:01:12.343 ********* ok: [/cache/rhel-8.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/tmpw6dixrb5/tests/test-verify-volume.yml:10 Thursday 21 July 2022 17:36:39 +0000 (0:00:00.047) 0:01:12.391 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml for /cache/rhel-8.qcow2 => (item=mount) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml for /cache/rhel-8.qcow2 => (item=fstab) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-fs.yml for /cache/rhel-8.qcow2 => (item=fs) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml for /cache/rhel-8.qcow2 => (item=device) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml for /cache/rhel-8.qcow2 => (item=encryption) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml for /cache/rhel-8.qcow2 => (item=md) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml for /cache/rhel-8.qcow2 => (item=size) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml for /cache/rhel-8.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 17:36:40 +0000 (0:00:00.084) 0:01:12.476 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 17:36:40 +0000 (0:00:00.040) 0:01:12.517 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 1199010, "block_size": 4096, "block_total": 1273760, "block_used": 74750, "device": "/dev/mapper/foo-test1", "fstype": "ext4", "inode_available": 327669, "inode_total": 327680, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 4911144960, "size_total": 5217320960, "uuid": "05604bf7-cb17-4ecc-b33b-aab87996f877" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 1199010, "block_size": 4096, "block_total": 1273760, "block_used": 74750, "device": "/dev/mapper/foo-test1", "fstype": "ext4", "inode_available": 327669, "inode_total": 327680, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 4911144960, "size_total": 5217320960, "uuid": "05604bf7-cb17-4ecc-b33b-aab87996f877" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 17:36:40 +0000 (0:00:00.054) 0:01:12.572 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 17:36:40 +0000 (0:00:00.052) 0:01:12.624 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 17:36:40 +0000 (0:00:00.045) 0:01:12.669 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 17:36:40 +0000 (0:00:00.053) 0:01:12.723 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 17:36:40 +0000 (0:00:00.024) 0:01:12.747 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 17:36:40 +0000 (0:00:00.025) 0:01:12.773 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 17:36:40 +0000 (0:00:00.025) 0:01:12.798 ********* ok: [/cache/rhel-8.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/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 17:36:40 +0000 (0:00:00.035) 0:01:12.834 ********* ok: [/cache/rhel-8.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": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 ext4 defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 17:36:40 +0000 (0:00:00.063) 0:01:12.897 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 17:36:40 +0000 (0:00:00.049) 0:01:12.947 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 17:36:40 +0000 (0:00:00.050) 0:01:12.997 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 17:36:40 +0000 (0:00:00.037) 0:01:13.035 ********* ok: [/cache/rhel-8.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/tmpw6dixrb5/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 17:36:40 +0000 (0:00:00.037) 0:01:13.072 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 17:36:40 +0000 (0:00:00.040) 0:01:13.113 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 17:36:40 +0000 (0:00:00.041) 0:01:13.155 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1658424992.1159542, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658424992.1159542, "dev": 6, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 73527, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658424992.1159542, "nlink": 1, "path": "/dev/mapper/foo-test1", "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/tmpw6dixrb5/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 17:36:41 +0000 (0:00:00.387) 0:01:13.542 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 17:36:41 +0000 (0:00:00.039) 0:01:13.581 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 17:36:41 +0000 (0:00:00.039) 0:01:13.621 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 17:36:41 +0000 (0:00:00.034) 0:01:13.656 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 17:36:41 +0000 (0:00:00.023) 0:01:13.679 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 17:36:41 +0000 (0:00:00.035) 0:01:13.714 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 17:36:41 +0000 (0:00:00.025) 0:01:13.740 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "rc": 0, "results": [ "Installed: cryptsetup-2.3.7-2.el8.x86_64" ] } TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 17:36:43 +0000 (0:00:01.779) 0:01:15.519 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 17:36:43 +0000 (0:00:00.025) 0:01:15.545 ********* skipping: [/cache/rhel-8.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/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 17:36:43 +0000 (0:00:00.029) 0:01:15.575 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 17:36:43 +0000 (0:00:00.060) 0:01:15.635 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 17:36:43 +0000 (0:00:00.026) 0:01:15.662 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 17:36:43 +0000 (0:00:00.027) 0:01:15.689 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 17:36:43 +0000 (0:00:00.025) 0:01:15.715 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 17:36:43 +0000 (0:00:00.025) 0:01:15.741 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 17:36:43 +0000 (0:00:00.024) 0:01:15.766 ********* ok: [/cache/rhel-8.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/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 17:36:43 +0000 (0:00:00.054) 0:01:15.820 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 17:36:43 +0000 (0:00:00.064) 0:01:15.885 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 17:36:43 +0000 (0:00:00.037) 0:01:15.922 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 17:36:43 +0000 (0:00:00.035) 0:01:15.958 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 17:36:43 +0000 (0:00:00.035) 0:01:15.994 ********* ok: [/cache/rhel-8.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/tmpw6dixrb5/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 17:36:43 +0000 (0:00:00.036) 0:01:16.030 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 17:36:43 +0000 (0:00:00.035) 0:01:16.066 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 17:36:43 +0000 (0:00:00.034) 0:01:16.100 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 17:36:43 +0000 (0:00:00.034) 0:01:16.134 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 17:36:43 +0000 (0:00:00.039) 0:01:16.174 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 17:36:43 +0000 (0:00:00.041) 0:01:16.215 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 17:36:43 +0000 (0:00:00.035) 0:01:16.251 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 17:36:43 +0000 (0:00:00.039) 0:01:16.290 ********* ok: [/cache/rhel-8.qcow2] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 17:36:44 +0000 (0:00:00.544) 0:01:16.835 ********* ok: [/cache/rhel-8.qcow2] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 17:36:44 +0000 (0:00:00.388) 0:01:17.224 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_expected_size": "5368709120" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 17:36:44 +0000 (0:00:00.051) 0:01:17.275 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "5368709120" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 17:36:44 +0000 (0:00:00.034) 0:01:17.310 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 17:36:44 +0000 (0:00:00.037) 0:01:17.347 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 17:36:44 +0000 (0:00:00.038) 0:01:17.386 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 17:36:44 +0000 (0:00:00.038) 0:01:17.424 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 17:36:45 +0000 (0:00:00.037) 0:01:17.462 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 17:36:45 +0000 (0:00:00.039) 0:01:17.502 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_actual_size": { "bytes": 5368709120, "changed": false, "failed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 17:36:45 +0000 (0:00:00.037) 0:01:17.539 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "5368709120" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 17:36:45 +0000 (0:00:00.072) 0:01:17.611 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 17:36:45 +0000 (0:00:00.090) 0:01:17.701 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.049202", "end": "2022-07-21 13:36:45.724705", "rc": 0, "start": "2022-07-21 13:36:45.675503" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 17:36:45 +0000 (0:00:00.456) 0:01:18.158 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 17:36:45 +0000 (0:00:00.054) 0:01:18.212 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 17:36:45 +0000 (0:00:00.055) 0:01:18.267 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 17:36:45 +0000 (0:00:00.038) 0:01:18.306 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 17:36:45 +0000 (0:00:00.037) 0:01:18.344 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 17:36:45 +0000 (0:00:00.038) 0:01:18.382 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml:16 Thursday 21 July 2022 17:36:45 +0000 (0:00:00.042) 0:01:18.425 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:43 Thursday 21 July 2022 17:36:46 +0000 (0:00:00.035) 0:01:18.461 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:53 Thursday 21 July 2022 17:36:46 +0000 (0:00:00.022) 0:01:18.483 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Change volume_size to "9g"] ********************************************** task path: /tmp/tmpw6dixrb5/tests/tests_resize.yml:54 Thursday 21 July 2022 17:36:46 +0000 (0:00:00.036) 0:01:18.520 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 17:36:46 +0000 (0:00:00.046) 0:01:18.567 ********* included: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 17:36:46 +0000 (0:00:00.033) 0:01:18.601 ********* ok: [/cache/rhel-8.qcow2] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 17:36:46 +0000 (0:00:00.531) 0:01:19.132 ********* skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8.qcow2] => (item=RedHat_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.6.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/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 17:36:46 +0000 (0:00:00.068) 0:01:19.200 ********* ok: [/cache/rhel-8.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/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 17:36:46 +0000 (0:00:00.036) 0:01:19.236 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 17:36:46 +0000 (0:00:00.035) 0:01:19.272 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 17:36:46 +0000 (0:00:00.055) 0:01:19.328 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 17:36:46 +0000 (0:00:00.023) 0:01:19.352 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 17:36:46 +0000 (0:00:00.033) 0:01:19.385 ********* ok: [/cache/rhel-8.qcow2] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "type": "lvm", "volumes": [ { "fs_type": "ext4", "mount_point": "/opt/test1", "name": "test1", "size": "9g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 17:36:46 +0000 (0:00:00.045) 0:01:19.431 ********* ok: [/cache/rhel-8.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 17:36:47 +0000 (0:00:00.040) 0:01:19.472 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 17:36:47 +0000 (0:00:00.031) 0:01:19.503 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 17:36:47 +0000 (0:00:00.030) 0:01:19.534 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 17:36:47 +0000 (0:00:00.029) 0:01:19.564 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 17:36:47 +0000 (0:00:00.027) 0:01:19.591 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 17:36:47 +0000 (0:00:00.055) 0:01:19.647 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 17:36:47 +0000 (0:00:00.020) 0:01:19.668 ********* changed: [/cache/rhel-8.qcow2] => { "actions": [ { "action": "resize device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "resize format", "device": "/dev/mapper/foo-test1", "fs_type": "ext4" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "lvm2", "e2fsprogs", "dosfstools", "xfsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "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": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "9g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 17:36:48 +0000 (0:00:01.749) 0:01:21.418 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 17:36:49 +0000 (0:00:00.037) 0:01:21.455 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 17:36:49 +0000 (0:00:00.023) 0:01:21.478 ********* ok: [/cache/rhel-8.qcow2] => { "blivet_output": { "actions": [ { "action": "resize device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "resize format", "device": "/dev/mapper/foo-test1", "fs_type": "ext4" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "lvm2", "e2fsprogs", "dosfstools", "xfsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "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": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "9g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 17:36:49 +0000 (0:00:00.041) 0:01:21.520 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "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": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "9g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 17:36:49 +0000 (0:00:00.037) 0:01:21.557 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 17:36:49 +0000 (0:00:00.037) 0:01:21.595 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 17:36:49 +0000 (0:00:00.035) 0:01:21.631 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 17:36:49 +0000 (0:00:00.620) 0:01:22.251 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-8.qcow2] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': 'ext4', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext4", "mount_info": { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 17:36:50 +0000 (0:00:00.411) 0:01:22.662 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 17:36:50 +0000 (0:00:00.598) 0:01:23.260 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 17:36:51 +0000 (0:00:00.362) 0:01:23.623 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 17:36:51 +0000 (0:00:00.024) 0:01:23.648 ********* ok: [/cache/rhel-8.qcow2] META: role_complete for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/tests_resize.yml:68 Thursday 21 July 2022 17:36:52 +0000 (0:00:00.984) 0:01:24.632 ********* included: /tmp/tmpw6dixrb5/tests/verify-role-results.yml for /cache/rhel-8.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:1 Thursday 21 July 2022 17:36:52 +0000 (0:00:00.042) 0:01:24.675 ********* ok: [/cache/rhel-8.qcow2] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "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": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "9g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:6 Thursday 21 July 2022 17:36:52 +0000 (0:00:00.048) 0:01:24.723 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:14 Thursday 21 July 2022 17:36:52 +0000 (0:00:00.035) 0:01:24.759 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "ext4", "label": "", "name": "/dev/mapper/foo-test1", "size": "9G", "type": "lvm", "uuid": "05604bf7-cb17-4ecc-b33b-aab87996f877" }, "/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": "LVM2_member", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "7UAk9T-2Y3w-z3so-yy8l-6RPU-5bbz-nqQicp" }, "/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-17-35-15-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "vfat", "label": "", "name": "/dev/vda2", "size": "100M", "type": "partition", "uuid": "7B77-95E7" }, "/dev/vda3": { "fstype": "xfs", "label": "root", "name": "/dev/vda3", "size": "9.9G", "type": "partition", "uuid": "853ae189-b3fe-4a45-8485-75bbb1421bbe" }, "/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/tmpw6dixrb5/tests/verify-role-results.yml:19 Thursday 21 July 2022 17:36:52 +0000 (0:00:00.421) 0:01:25.181 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:01.004148", "end": "2022-07-21 13:36:54.152557", "rc": 0, "start": "2022-07-21 13:36:53.148409" } STDOUT: UUID=853ae189-b3fe-4a45-8485-75bbb1421bbe / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 /dev/mapper/foo-test1 /opt/test1 ext4 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:24 Thursday 21 July 2022 17:36:54 +0000 (0:00:01.383) 0:01:26.564 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003950", "end": "2022-07-21 13:36:54.570450", "failed_when_result": false, "rc": 1, "start": "2022-07-21 13:36:54.566500" } STDERR: cat: /etc/crypttab: No such file or directory MSG: non-zero return code TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:33 Thursday 21 July 2022 17:36:54 +0000 (0:00:00.416) 0:01:26.980 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-pool.yml for /cache/rhel-8.qcow2 => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '9g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-pool.yml:5 Thursday 21 July 2022 17:36:54 +0000 (0:00:00.058) 0:01:27.039 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool.yml:18 Thursday 21 July 2022 17:36:54 +0000 (0:00:00.033) 0:01:27.073 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml for /cache/rhel-8.qcow2 => (item=members) included: /tmp/tmpw6dixrb5/tests/test-verify-pool-volumes.yml for /cache/rhel-8.qcow2 => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:1 Thursday 21 July 2022 17:36:54 +0000 (0:00:00.046) 0:01:27.119 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/sda" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 17:36:54 +0000 (0:00:00.059) 0:01:27.178 ********* ok: [/cache/rhel-8.qcow2] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda", "pv": "/dev/sda" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 17:36:55 +0000 (0:00:00.382) 0:01:27.561 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 17:36:55 +0000 (0:00:00.051) 0:01:27.612 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 17:36:55 +0000 (0:00:00.053) 0:01:27.666 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 17:36:55 +0000 (0:00:00.054) 0:01:27.720 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 17:36:55 +0000 (0:00:00.037) 0:01:27.757 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 17:36:55 +0000 (0:00:00.047) 0:01:27.805 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:46 Thursday 21 July 2022 17:36:55 +0000 (0:00:00.025) 0:01:27.831 ********* ok: [/cache/rhel-8.qcow2] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 17:36:55 +0000 (0:00:00.043) 0:01:27.874 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml for /cache/rhel-8.qcow2 TASK [get information about RAID] ********************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:6 Thursday 21 July 2022 17:36:55 +0000 (0:00:00.042) 0:01:27.917 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:12 Thursday 21 July 2022 17:36:55 +0000 (0:00:00.024) 0:01:27.942 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:16 Thursday 21 July 2022 17:36:55 +0000 (0:00:00.023) 0:01:27.965 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:20 Thursday 21 July 2022 17:36:55 +0000 (0:00:00.023) 0:01:27.989 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:24 Thursday 21 July 2022 17:36:55 +0000 (0:00:00.026) 0:01:28.015 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:30 Thursday 21 July 2022 17:36:55 +0000 (0:00:00.025) 0:01:28.040 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:36 Thursday 21 July 2022 17:36:55 +0000 (0:00:00.025) 0:01:28.066 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:44 Thursday 21 July 2022 17:36:55 +0000 (0:00:00.025) 0:01:28.092 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:59 Thursday 21 July 2022 17:36:55 +0000 (0:00:00.038) 0:01:28.131 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-lvmraid.yml for /cache/rhel-8.qcow2 TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 17:36:55 +0000 (0:00:00.044) 0:01:28.175 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '9g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 17:36:55 +0000 (0:00:00.045) 0:01:28.221 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 17:36:55 +0000 (0:00:00.028) 0:01:28.249 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 17:36:55 +0000 (0:00:00.027) 0:01:28.277 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 17:36:55 +0000 (0:00:00.029) 0:01:28.306 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-thin.yml for /cache/rhel-8.qcow2 TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-thin.yml:1 Thursday 21 July 2022 17:36:55 +0000 (0:00:00.077) 0:01:28.384 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '9g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 17:36:55 +0000 (0:00:00.045) 0:01:28.429 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 17:36:56 +0000 (0:00:00.025) 0:01:28.455 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 17:36:56 +0000 (0:00:00.025) 0:01:28.480 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 17:36:56 +0000 (0:00:00.025) 0:01:28.506 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 17:36:56 +0000 (0:00:00.022) 0:01:28.529 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml for /cache/rhel-8.qcow2 TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 17:36:56 +0000 (0:00:00.053) 0:01:28.583 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 17:36:56 +0000 (0:00:00.051) 0:01:28.634 ********* skipping: [/cache/rhel-8.qcow2] => (item=/dev/sda) => { "_storage_test_pool_member_path": "/dev/sda", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 17:36:56 +0000 (0:00:00.029) 0:01:28.664 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml for /cache/rhel-8.qcow2 => (item=/dev/sda) TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 17:36:56 +0000 (0:00:00.040) 0:01:28.705 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:6 Thursday 21 July 2022 17:36:56 +0000 (0:00:00.047) 0:01:28.752 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:11 Thursday 21 July 2022 17:36:56 +0000 (0:00:00.047) 0:01:28.800 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:17 Thursday 21 July 2022 17:36:56 +0000 (0:00:00.034) 0:01:28.835 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:23 Thursday 21 July 2022 17:36:56 +0000 (0:00:00.033) 0:01:28.868 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:29 Thursday 21 July 2022 17:36:56 +0000 (0:00:00.037) 0:01:28.906 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 17:36:56 +0000 (0:00:00.038) 0:01:28.945 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 17:36:56 +0000 (0:00:00.034) 0:01:28.980 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-vdo.yml for /cache/rhel-8.qcow2 TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 17:36:56 +0000 (0:00:00.048) 0:01:29.028 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '9g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 17:36:56 +0000 (0:00:00.048) 0:01:29.076 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 17:36:56 +0000 (0:00:00.026) 0:01:29.102 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 17:36:56 +0000 (0:00:00.026) 0:01:29.129 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 17:36:56 +0000 (0:00:00.026) 0:01:29.155 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 17:36:56 +0000 (0:00:00.026) 0:01:29.182 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 17:36:56 +0000 (0:00:00.025) 0:01:29.208 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 17:36:56 +0000 (0:00:00.024) 0:01:29.232 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 17:36:56 +0000 (0:00:00.025) 0:01:29.257 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 17:36:56 +0000 (0:00:00.033) 0:01:29.291 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 17:36:56 +0000 (0:00:00.033) 0:01:29.324 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '9g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml:2 Thursday 21 July 2022 17:36:56 +0000 (0:00:00.044) 0:01:29.369 ********* ok: [/cache/rhel-8.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/tmpw6dixrb5/tests/test-verify-volume.yml:10 Thursday 21 July 2022 17:36:56 +0000 (0:00:00.060) 0:01:29.429 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml for /cache/rhel-8.qcow2 => (item=mount) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml for /cache/rhel-8.qcow2 => (item=fstab) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-fs.yml for /cache/rhel-8.qcow2 => (item=fs) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml for /cache/rhel-8.qcow2 => (item=device) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml for /cache/rhel-8.qcow2 => (item=encryption) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml for /cache/rhel-8.qcow2 => (item=md) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml for /cache/rhel-8.qcow2 => (item=size) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml for /cache/rhel-8.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 17:36:57 +0000 (0:00:00.078) 0:01:29.508 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 17:36:57 +0000 (0:00:00.096) 0:01:29.604 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 2178069, "block_size": 4096, "block_total": 2305877, "block_used": 127808, "device": "/dev/mapper/foo-test1", "fstype": "ext4", "inode_available": 589813, "inode_total": 589824, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 8921370624, "size_total": 9444872192, "uuid": "05604bf7-cb17-4ecc-b33b-aab87996f877" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 2178069, "block_size": 4096, "block_total": 2305877, "block_used": 127808, "device": "/dev/mapper/foo-test1", "fstype": "ext4", "inode_available": 589813, "inode_total": 589824, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 8921370624, "size_total": 9444872192, "uuid": "05604bf7-cb17-4ecc-b33b-aab87996f877" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 17:36:57 +0000 (0:00:00.088) 0:01:29.692 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 17:36:57 +0000 (0:00:00.048) 0:01:29.740 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 17:36:57 +0000 (0:00:00.047) 0:01:29.788 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 17:36:57 +0000 (0:00:00.053) 0:01:29.841 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 17:36:57 +0000 (0:00:00.025) 0:01:29.866 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 17:36:57 +0000 (0:00:00.024) 0:01:29.891 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 17:36:57 +0000 (0:00:00.024) 0:01:29.915 ********* ok: [/cache/rhel-8.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/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 17:36:57 +0000 (0:00:00.034) 0:01:29.950 ********* ok: [/cache/rhel-8.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": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 ext4 defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 17:36:57 +0000 (0:00:00.062) 0:01:30.012 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 17:36:57 +0000 (0:00:00.053) 0:01:30.066 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 17:36:57 +0000 (0:00:00.050) 0:01:30.117 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 17:36:57 +0000 (0:00:00.036) 0:01:30.154 ********* ok: [/cache/rhel-8.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/tmpw6dixrb5/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 17:36:57 +0000 (0:00:00.037) 0:01:30.191 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 17:36:57 +0000 (0:00:00.042) 0:01:30.233 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 17:36:57 +0000 (0:00:00.041) 0:01:30.274 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1658425008.9659543, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658425008.9659543, "dev": 6, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 73527, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658425008.9659543, "nlink": 1, "path": "/dev/mapper/foo-test1", "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/tmpw6dixrb5/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 17:36:58 +0000 (0:00:00.372) 0:01:30.647 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 17:36:58 +0000 (0:00:00.038) 0:01:30.686 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 17:36:58 +0000 (0:00:00.038) 0:01:30.724 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 17:36:58 +0000 (0:00:00.033) 0:01:30.758 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 17:36:58 +0000 (0:00:00.022) 0:01:30.781 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 17:36:58 +0000 (0:00:00.038) 0:01:30.819 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 17:36:58 +0000 (0:00:00.023) 0:01:30.843 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 17:36:59 +0000 (0:00:01.278) 0:01:32.122 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 17:36:59 +0000 (0:00:00.025) 0:01:32.148 ********* skipping: [/cache/rhel-8.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/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 17:36:59 +0000 (0:00:00.024) 0:01:32.173 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 17:36:59 +0000 (0:00:00.051) 0:01:32.225 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 17:36:59 +0000 (0:00:00.023) 0:01:32.248 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 17:36:59 +0000 (0:00:00.024) 0:01:32.273 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 17:36:59 +0000 (0:00:00.025) 0:01:32.298 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 17:36:59 +0000 (0:00:00.024) 0:01:32.322 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 17:36:59 +0000 (0:00:00.024) 0:01:32.347 ********* ok: [/cache/rhel-8.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/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 17:36:59 +0000 (0:00:00.084) 0:01:32.431 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 17:37:00 +0000 (0:00:00.082) 0:01:32.514 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 17:37:00 +0000 (0:00:00.037) 0:01:32.551 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 17:37:00 +0000 (0:00:00.036) 0:01:32.588 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 17:37:00 +0000 (0:00:00.074) 0:01:32.663 ********* ok: [/cache/rhel-8.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/tmpw6dixrb5/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 17:37:00 +0000 (0:00:00.035) 0:01:32.698 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 17:37:00 +0000 (0:00:00.040) 0:01:32.739 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 17:37:00 +0000 (0:00:00.038) 0:01:32.777 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 17:37:00 +0000 (0:00:00.040) 0:01:32.818 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 17:37:00 +0000 (0:00:00.038) 0:01:32.856 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 17:37:00 +0000 (0:00:00.036) 0:01:32.893 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 17:37:00 +0000 (0:00:00.038) 0:01:32.931 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 17:37:00 +0000 (0:00:00.038) 0:01:32.969 ********* ok: [/cache/rhel-8.qcow2] => { "bytes": 9663676416, "changed": false, "lvm": "9g", "parted": "9GiB", "size": "9 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 17:37:00 +0000 (0:00:00.368) 0:01:33.338 ********* ok: [/cache/rhel-8.qcow2] => { "bytes": 9663676416, "changed": false, "lvm": "9g", "parted": "9GiB", "size": "9 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 17:37:01 +0000 (0:00:00.381) 0:01:33.720 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_expected_size": "9663676416" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 17:37:01 +0000 (0:00:00.051) 0:01:33.772 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "9663676416" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 17:37:01 +0000 (0:00:00.035) 0:01:33.808 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 17:37:01 +0000 (0:00:00.037) 0:01:33.845 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 17:37:01 +0000 (0:00:00.037) 0:01:33.882 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 17:37:01 +0000 (0:00:00.041) 0:01:33.923 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 17:37:01 +0000 (0:00:00.036) 0:01:33.960 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 17:37:01 +0000 (0:00:00.037) 0:01:33.998 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_actual_size": { "bytes": 9663676416, "changed": false, "failed": false, "lvm": "9g", "parted": "9GiB", "size": "9 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 17:37:01 +0000 (0:00:00.039) 0:01:34.037 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "9663676416" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 17:37:01 +0000 (0:00:00.043) 0:01:34.081 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 17:37:01 +0000 (0:00:00.058) 0:01:34.139 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.032331", "end": "2022-07-21 13:37:02.152244", "rc": 0, "start": "2022-07-21 13:37:02.119913" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 17:37:02 +0000 (0:00:00.422) 0:01:34.562 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 17:37:02 +0000 (0:00:00.052) 0:01:34.614 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 17:37:02 +0000 (0:00:00.050) 0:01:34.665 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 17:37:02 +0000 (0:00:00.039) 0:01:34.704 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 17:37:02 +0000 (0:00:00.041) 0:01:34.746 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 17:37:02 +0000 (0:00:00.038) 0:01:34.785 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml:16 Thursday 21 July 2022 17:37:02 +0000 (0:00:00.036) 0:01:34.822 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:43 Thursday 21 July 2022 17:37:02 +0000 (0:00:00.067) 0:01:34.889 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:53 Thursday 21 July 2022 17:37:02 +0000 (0:00:00.024) 0:01:34.914 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Change volume size to "5g"] ********************************************** task path: /tmp/tmpw6dixrb5/tests/tests_resize.yml:70 Thursday 21 July 2022 17:37:02 +0000 (0:00:00.036) 0:01:34.950 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 17:37:02 +0000 (0:00:00.083) 0:01:35.034 ********* included: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 17:37:02 +0000 (0:00:00.037) 0:01:35.071 ********* ok: [/cache/rhel-8.qcow2] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 17:37:03 +0000 (0:00:00.511) 0:01:35.582 ********* skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8.qcow2] => (item=RedHat_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.6.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/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 17:37:03 +0000 (0:00:00.065) 0:01:35.647 ********* ok: [/cache/rhel-8.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/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 17:37:03 +0000 (0:00:00.037) 0:01:35.684 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 17:37:03 +0000 (0:00:00.035) 0:01:35.720 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 17:37:03 +0000 (0:00:00.047) 0:01:35.767 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 17:37:03 +0000 (0:00:00.022) 0:01:35.790 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 17:37:03 +0000 (0:00:00.030) 0:01:35.820 ********* ok: [/cache/rhel-8.qcow2] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "type": "lvm", "volumes": [ { "fs_type": "ext4", "mount_point": "/opt/test1", "name": "test1", "size": "5g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 17:37:03 +0000 (0:00:00.047) 0:01:35.868 ********* ok: [/cache/rhel-8.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 17:37:03 +0000 (0:00:00.040) 0:01:35.908 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 17:37:03 +0000 (0:00:00.030) 0:01:35.939 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 17:37:03 +0000 (0:00:00.030) 0:01:35.969 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 17:37:03 +0000 (0:00:00.028) 0:01:35.998 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 17:37:03 +0000 (0:00:00.030) 0:01:36.028 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 17:37:03 +0000 (0:00:00.058) 0:01:36.086 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 17:37:03 +0000 (0:00:00.022) 0:01:36.108 ********* changed: [/cache/rhel-8.qcow2] => { "actions": [ { "action": "resize format", "device": "/dev/mapper/foo-test1", "fs_type": "ext4" }, { "action": "resize device", "device": "/dev/mapper/foo-test1", "fs_type": null } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "xfsprogs", "dosfstools", "lvm2", "e2fsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "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": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 17:37:05 +0000 (0:00:01.702) 0:01:37.811 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 17:37:05 +0000 (0:00:00.038) 0:01:37.849 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 17:37:05 +0000 (0:00:00.022) 0:01:37.872 ********* ok: [/cache/rhel-8.qcow2] => { "blivet_output": { "actions": [ { "action": "resize format", "device": "/dev/mapper/foo-test1", "fs_type": "ext4" }, { "action": "resize device", "device": "/dev/mapper/foo-test1", "fs_type": null } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "xfsprogs", "dosfstools", "lvm2", "e2fsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "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": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 17:37:05 +0000 (0:00:00.041) 0:01:37.913 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "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": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 17:37:05 +0000 (0:00:00.037) 0:01:37.951 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 17:37:05 +0000 (0:00:00.078) 0:01:38.029 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 17:37:05 +0000 (0:00:00.049) 0:01:38.079 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 17:37:06 +0000 (0:00:00.641) 0:01:38.721 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-8.qcow2] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': 'ext4', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext4", "mount_info": { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 17:37:06 +0000 (0:00:00.453) 0:01:39.175 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 17:37:07 +0000 (0:00:00.651) 0:01:39.826 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 17:37:07 +0000 (0:00:00.362) 0:01:40.188 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 17:37:07 +0000 (0:00:00.023) 0:01:40.212 ********* ok: [/cache/rhel-8.qcow2] META: role_complete for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/tests_resize.yml:84 Thursday 21 July 2022 17:37:08 +0000 (0:00:00.966) 0:01:41.179 ********* included: /tmp/tmpw6dixrb5/tests/verify-role-results.yml for /cache/rhel-8.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:1 Thursday 21 July 2022 17:37:08 +0000 (0:00:00.048) 0:01:41.228 ********* ok: [/cache/rhel-8.qcow2] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "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": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:6 Thursday 21 July 2022 17:37:08 +0000 (0:00:00.059) 0:01:41.287 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:14 Thursday 21 July 2022 17:37:08 +0000 (0:00:00.039) 0:01:41.327 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "ext4", "label": "", "name": "/dev/mapper/foo-test1", "size": "5G", "type": "lvm", "uuid": "05604bf7-cb17-4ecc-b33b-aab87996f877" }, "/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": "LVM2_member", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "7UAk9T-2Y3w-z3so-yy8l-6RPU-5bbz-nqQicp" }, "/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-17-35-15-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "vfat", "label": "", "name": "/dev/vda2", "size": "100M", "type": "partition", "uuid": "7B77-95E7" }, "/dev/vda3": { "fstype": "xfs", "label": "root", "name": "/dev/vda3", "size": "9.9G", "type": "partition", "uuid": "853ae189-b3fe-4a45-8485-75bbb1421bbe" }, "/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/tmpw6dixrb5/tests/verify-role-results.yml:19 Thursday 21 July 2022 17:37:09 +0000 (0:00:00.515) 0:01:41.842 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002803", "end": "2022-07-21 13:37:09.815326", "rc": 0, "start": "2022-07-21 13:37:09.812523" } STDOUT: UUID=853ae189-b3fe-4a45-8485-75bbb1421bbe / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 /dev/mapper/foo-test1 /opt/test1 ext4 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:24 Thursday 21 July 2022 17:37:09 +0000 (0:00:00.387) 0:01:42.229 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002427", "end": "2022-07-21 13:37:10.189078", "failed_when_result": false, "rc": 1, "start": "2022-07-21 13:37:10.186651" } STDERR: cat: /etc/crypttab: No such file or directory MSG: non-zero return code TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:33 Thursday 21 July 2022 17:37:10 +0000 (0:00:00.370) 0:01:42.600 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-pool.yml for /cache/rhel-8.qcow2 => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-pool.yml:5 Thursday 21 July 2022 17:37:10 +0000 (0:00:00.073) 0:01:42.673 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool.yml:18 Thursday 21 July 2022 17:37:10 +0000 (0:00:00.033) 0:01:42.707 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml for /cache/rhel-8.qcow2 => (item=members) included: /tmp/tmpw6dixrb5/tests/test-verify-pool-volumes.yml for /cache/rhel-8.qcow2 => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:1 Thursday 21 July 2022 17:37:10 +0000 (0:00:00.073) 0:01:42.780 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/sda" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 17:37:10 +0000 (0:00:00.053) 0:01:42.834 ********* ok: [/cache/rhel-8.qcow2] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda", "pv": "/dev/sda" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 17:37:10 +0000 (0:00:00.387) 0:01:43.221 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 17:37:10 +0000 (0:00:00.050) 0:01:43.272 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 17:37:10 +0000 (0:00:00.050) 0:01:43.322 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 17:37:10 +0000 (0:00:00.050) 0:01:43.373 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 17:37:10 +0000 (0:00:00.041) 0:01:43.414 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 17:37:11 +0000 (0:00:00.062) 0:01:43.477 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:46 Thursday 21 July 2022 17:37:11 +0000 (0:00:00.024) 0:01:43.501 ********* ok: [/cache/rhel-8.qcow2] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 17:37:11 +0000 (0:00:00.046) 0:01:43.547 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml for /cache/rhel-8.qcow2 TASK [get information about RAID] ********************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:6 Thursday 21 July 2022 17:37:11 +0000 (0:00:00.043) 0:01:43.591 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:12 Thursday 21 July 2022 17:37:11 +0000 (0:00:00.026) 0:01:43.618 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:16 Thursday 21 July 2022 17:37:11 +0000 (0:00:00.030) 0:01:43.648 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:20 Thursday 21 July 2022 17:37:11 +0000 (0:00:00.026) 0:01:43.674 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:24 Thursday 21 July 2022 17:37:11 +0000 (0:00:00.025) 0:01:43.699 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:30 Thursday 21 July 2022 17:37:11 +0000 (0:00:00.025) 0:01:43.725 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:36 Thursday 21 July 2022 17:37:11 +0000 (0:00:00.026) 0:01:43.752 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:44 Thursday 21 July 2022 17:37:11 +0000 (0:00:00.025) 0:01:43.777 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:59 Thursday 21 July 2022 17:37:11 +0000 (0:00:00.036) 0:01:43.814 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-lvmraid.yml for /cache/rhel-8.qcow2 TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 17:37:11 +0000 (0:00:00.047) 0:01:43.861 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 17:37:11 +0000 (0:00:00.044) 0:01:43.906 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 17:37:11 +0000 (0:00:00.029) 0:01:43.935 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 17:37:11 +0000 (0:00:00.029) 0:01:43.965 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 17:37:11 +0000 (0:00:00.029) 0:01:43.994 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-thin.yml for /cache/rhel-8.qcow2 TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-thin.yml:1 Thursday 21 July 2022 17:37:11 +0000 (0:00:00.046) 0:01:44.040 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 17:37:11 +0000 (0:00:00.050) 0:01:44.091 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 17:37:11 +0000 (0:00:00.029) 0:01:44.121 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 17:37:11 +0000 (0:00:00.027) 0:01:44.149 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 17:37:11 +0000 (0:00:00.029) 0:01:44.178 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 17:37:11 +0000 (0:00:00.025) 0:01:44.204 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml for /cache/rhel-8.qcow2 TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 17:37:11 +0000 (0:00:00.046) 0:01:44.251 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 17:37:11 +0000 (0:00:00.092) 0:01:44.344 ********* skipping: [/cache/rhel-8.qcow2] => (item=/dev/sda) => { "_storage_test_pool_member_path": "/dev/sda", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 17:37:11 +0000 (0:00:00.028) 0:01:44.372 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml for /cache/rhel-8.qcow2 => (item=/dev/sda) TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 17:37:11 +0000 (0:00:00.046) 0:01:44.419 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:6 Thursday 21 July 2022 17:37:12 +0000 (0:00:00.054) 0:01:44.473 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:11 Thursday 21 July 2022 17:37:12 +0000 (0:00:00.051) 0:01:44.524 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:17 Thursday 21 July 2022 17:37:12 +0000 (0:00:00.036) 0:01:44.561 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:23 Thursday 21 July 2022 17:37:12 +0000 (0:00:00.040) 0:01:44.601 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:29 Thursday 21 July 2022 17:37:12 +0000 (0:00:00.041) 0:01:44.642 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 17:37:12 +0000 (0:00:00.037) 0:01:44.680 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 17:37:12 +0000 (0:00:00.035) 0:01:44.716 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-vdo.yml for /cache/rhel-8.qcow2 TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 17:37:12 +0000 (0:00:00.046) 0:01:44.762 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 17:37:12 +0000 (0:00:00.042) 0:01:44.805 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 17:37:12 +0000 (0:00:00.022) 0:01:44.828 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 17:37:12 +0000 (0:00:00.021) 0:01:44.850 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 17:37:12 +0000 (0:00:00.024) 0:01:44.875 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 17:37:12 +0000 (0:00:00.026) 0:01:44.902 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 17:37:12 +0000 (0:00:00.024) 0:01:44.926 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 17:37:12 +0000 (0:00:00.024) 0:01:44.950 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 17:37:12 +0000 (0:00:00.022) 0:01:44.973 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 17:37:12 +0000 (0:00:00.034) 0:01:45.007 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 17:37:12 +0000 (0:00:00.030) 0:01:45.038 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml:2 Thursday 21 July 2022 17:37:12 +0000 (0:00:00.039) 0:01:45.077 ********* ok: [/cache/rhel-8.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/tmpw6dixrb5/tests/test-verify-volume.yml:10 Thursday 21 July 2022 17:37:12 +0000 (0:00:00.052) 0:01:45.130 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml for /cache/rhel-8.qcow2 => (item=mount) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml for /cache/rhel-8.qcow2 => (item=fstab) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-fs.yml for /cache/rhel-8.qcow2 => (item=fs) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml for /cache/rhel-8.qcow2 => (item=device) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml for /cache/rhel-8.qcow2 => (item=encryption) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml for /cache/rhel-8.qcow2 => (item=md) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml for /cache/rhel-8.qcow2 => (item=size) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml for /cache/rhel-8.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 17:37:12 +0000 (0:00:00.075) 0:01:45.206 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 17:37:12 +0000 (0:00:00.037) 0:01:45.243 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 1199011, "block_size": 4096, "block_total": 1273760, "block_used": 74749, "device": "/dev/mapper/foo-test1", "fstype": "ext4", "inode_available": 327669, "inode_total": 327680, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 4911149056, "size_total": 5217320960, "uuid": "05604bf7-cb17-4ecc-b33b-aab87996f877" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 1199011, "block_size": 4096, "block_total": 1273760, "block_used": 74749, "device": "/dev/mapper/foo-test1", "fstype": "ext4", "inode_available": 327669, "inode_total": 327680, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 4911149056, "size_total": 5217320960, "uuid": "05604bf7-cb17-4ecc-b33b-aab87996f877" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 17:37:12 +0000 (0:00:00.052) 0:01:45.296 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 17:37:12 +0000 (0:00:00.047) 0:01:45.344 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 17:37:12 +0000 (0:00:00.046) 0:01:45.390 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 17:37:12 +0000 (0:00:00.049) 0:01:45.439 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 17:37:13 +0000 (0:00:00.025) 0:01:45.465 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 17:37:13 +0000 (0:00:00.024) 0:01:45.490 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 17:37:13 +0000 (0:00:00.024) 0:01:45.514 ********* ok: [/cache/rhel-8.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/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 17:37:13 +0000 (0:00:00.072) 0:01:45.586 ********* ok: [/cache/rhel-8.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": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 ext4 defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 17:37:13 +0000 (0:00:00.103) 0:01:45.690 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 17:37:13 +0000 (0:00:00.052) 0:01:45.742 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 17:37:13 +0000 (0:00:00.051) 0:01:45.794 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 17:37:13 +0000 (0:00:00.038) 0:01:45.832 ********* ok: [/cache/rhel-8.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/tmpw6dixrb5/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 17:37:13 +0000 (0:00:00.035) 0:01:45.868 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 17:37:13 +0000 (0:00:00.041) 0:01:45.909 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 17:37:13 +0000 (0:00:00.042) 0:01:45.952 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1658425025.3339543, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658425025.3339543, "dev": 6, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 73527, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658425025.3339543, "nlink": 1, "path": "/dev/mapper/foo-test1", "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/tmpw6dixrb5/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 17:37:13 +0000 (0:00:00.388) 0:01:46.341 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 17:37:13 +0000 (0:00:00.041) 0:01:46.382 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 17:37:13 +0000 (0:00:00.041) 0:01:46.423 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 17:37:14 +0000 (0:00:00.038) 0:01:46.462 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 17:37:14 +0000 (0:00:00.024) 0:01:46.486 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 17:37:14 +0000 (0:00:00.040) 0:01:46.527 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 17:37:14 +0000 (0:00:00.025) 0:01:46.552 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 17:37:15 +0000 (0:00:01.292) 0:01:47.844 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 17:37:15 +0000 (0:00:00.027) 0:01:47.871 ********* skipping: [/cache/rhel-8.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/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 17:37:15 +0000 (0:00:00.025) 0:01:47.897 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 17:37:15 +0000 (0:00:00.056) 0:01:47.954 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 17:37:15 +0000 (0:00:00.025) 0:01:47.980 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 17:37:15 +0000 (0:00:00.025) 0:01:48.006 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 17:37:15 +0000 (0:00:00.025) 0:01:48.032 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 17:37:15 +0000 (0:00:00.026) 0:01:48.059 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 17:37:15 +0000 (0:00:00.024) 0:01:48.084 ********* ok: [/cache/rhel-8.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/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 17:37:15 +0000 (0:00:00.054) 0:01:48.138 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 17:37:15 +0000 (0:00:00.058) 0:01:48.197 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 17:37:15 +0000 (0:00:00.042) 0:01:48.239 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 17:37:15 +0000 (0:00:00.038) 0:01:48.278 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 17:37:15 +0000 (0:00:00.038) 0:01:48.316 ********* ok: [/cache/rhel-8.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/tmpw6dixrb5/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 17:37:15 +0000 (0:00:00.036) 0:01:48.353 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 17:37:15 +0000 (0:00:00.041) 0:01:48.395 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 17:37:15 +0000 (0:00:00.037) 0:01:48.432 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 17:37:16 +0000 (0:00:00.038) 0:01:48.471 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 17:37:16 +0000 (0:00:00.037) 0:01:48.509 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 17:37:16 +0000 (0:00:00.040) 0:01:48.549 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 17:37:16 +0000 (0:00:00.038) 0:01:48.587 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 17:37:16 +0000 (0:00:00.039) 0:01:48.627 ********* ok: [/cache/rhel-8.qcow2] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 17:37:16 +0000 (0:00:00.381) 0:01:49.008 ********* ok: [/cache/rhel-8.qcow2] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 17:37:16 +0000 (0:00:00.429) 0:01:49.438 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_expected_size": "5368709120" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 17:37:17 +0000 (0:00:00.092) 0:01:49.530 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "5368709120" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 17:37:17 +0000 (0:00:00.076) 0:01:49.606 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 17:37:17 +0000 (0:00:00.037) 0:01:49.643 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 17:37:17 +0000 (0:00:00.035) 0:01:49.679 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 17:37:17 +0000 (0:00:00.036) 0:01:49.716 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 17:37:17 +0000 (0:00:00.037) 0:01:49.753 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 17:37:17 +0000 (0:00:00.037) 0:01:49.791 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_actual_size": { "bytes": 5368709120, "changed": false, "failed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 17:37:17 +0000 (0:00:00.039) 0:01:49.830 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "5368709120" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 17:37:17 +0000 (0:00:00.041) 0:01:49.871 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 17:37:17 +0000 (0:00:00.053) 0:01:49.925 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.038955", "end": "2022-07-21 13:37:17.931470", "rc": 0, "start": "2022-07-21 13:37:17.892515" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 17:37:17 +0000 (0:00:00.416) 0:01:50.341 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 17:37:17 +0000 (0:00:00.050) 0:01:50.392 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 17:37:17 +0000 (0:00:00.052) 0:01:50.444 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 17:37:18 +0000 (0:00:00.040) 0:01:50.484 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 17:37:18 +0000 (0:00:00.041) 0:01:50.526 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 17:37:18 +0000 (0:00:00.040) 0:01:50.567 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml:16 Thursday 21 July 2022 17:37:18 +0000 (0:00:00.039) 0:01:50.606 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:43 Thursday 21 July 2022 17:37:18 +0000 (0:00:00.035) 0:01:50.642 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:53 Thursday 21 July 2022 17:37:18 +0000 (0:00:00.025) 0:01:50.668 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Try to create LVM with a too-large volume size, resize to "12884901888.0"] *** task path: /tmp/tmpw6dixrb5/tests/tests_resize.yml:88 Thursday 21 July 2022 17:37:18 +0000 (0:00:00.049) 0:01:50.718 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 17:37:18 +0000 (0:00:00.040) 0:01:50.758 ********* included: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 17:37:18 +0000 (0:00:00.033) 0:01:50.792 ********* ok: [/cache/rhel-8.qcow2] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 17:37:18 +0000 (0:00:00.509) 0:01:51.302 ********* skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8.qcow2] => (item=RedHat_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.6.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/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 17:37:18 +0000 (0:00:00.070) 0:01:51.372 ********* ok: [/cache/rhel-8.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/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 17:37:18 +0000 (0:00:00.041) 0:01:51.414 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 17:37:19 +0000 (0:00:00.038) 0:01:51.452 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 17:37:19 +0000 (0:00:00.046) 0:01:51.499 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 17:37:19 +0000 (0:00:00.054) 0:01:51.553 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 17:37:19 +0000 (0:00:00.029) 0:01:51.583 ********* ok: [/cache/rhel-8.qcow2] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "volumes": [ { "fs_type": "ext4", "mount_point": "/opt/test1", "name": "test1", "size": "12884901888.0" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 17:37:19 +0000 (0:00:00.040) 0:01:51.624 ********* ok: [/cache/rhel-8.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 17:37:19 +0000 (0:00:00.039) 0:01:51.664 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 17:37:19 +0000 (0:00:00.033) 0:01:51.697 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 17:37:19 +0000 (0:00:00.027) 0:01:51.725 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 17:37:19 +0000 (0:00:00.027) 0:01:51.752 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 17:37:19 +0000 (0:00:00.026) 0:01:51.779 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 17:37:19 +0000 (0:00:00.047) 0:01:51.827 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 17:37:19 +0000 (0:00:00.020) 0:01:51.847 ********* fatal: [/cache/rhel-8.qcow2]: FAILED! => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } MSG: volume 'test1' cannot be resized to '12 GiB' TASK [linux-system-roles.storage : failed message] ***************************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:99 Thursday 21 July 2022 17:37:20 +0000 (0:00:01.314) 0:01:53.162 ********* fatal: [/cache/rhel-8.qcow2]: FAILED! => { "changed": false } MSG: {'changed': False, 'actions': [], 'leaves': [], 'mounts': [], 'crypts': [], 'pools': [], 'volumes': [], 'packages': [], 'failed': True, 'msg': "volume 'test1' cannot be resized to '12 GiB'", 'invocation': {'module_args': {'pools': [{'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '12884901888.0', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None}], 'raid_chunk_size': None}], 'volumes': [], 'use_partitions': None, 'disklabel_type': None, 'pool_defaults': {'state': 'present', 'type': 'lvm', 'disks': [], 'volumes': [], 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None}, 'volume_defaults': {'state': 'present', 'type': 'lvm', 'size': 0, 'disks': [], 'fs_type': 'xfs', 'fs_label': '', 'fs_create_options': '', 'fs_overwrite_existing': True, 'mount_point': '', 'mount_options': 'defaults', 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': []}, 'safe_mode': False, 'packages_only': False, 'diskvolume_mkfs_option_map': {}}}, '_ansible_no_log': False} TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 17:37:20 +0000 (0:00:00.042) 0:01:53.205 ********* TASK [Check that we failed in the role] **************************************** task path: /tmp/tmpw6dixrb5/tests/tests_resize.yml:106 Thursday 21 July 2022 17:37:20 +0000 (0:00:00.024) 0:01:53.229 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the output] ******************************************************* task path: /tmp/tmpw6dixrb5/tests/tests_resize.yml:112 Thursday 21 July 2022 17:37:20 +0000 (0:00:00.038) 0:01:53.267 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Try to create LVM with volume size equal disk's size, resize to "10737418240"] *** task path: /tmp/tmpw6dixrb5/tests/tests_resize.yml:121 Thursday 21 July 2022 17:37:20 +0000 (0:00:00.046) 0:01:53.314 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 17:37:20 +0000 (0:00:00.042) 0:01:53.357 ********* included: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 17:37:20 +0000 (0:00:00.035) 0:01:53.392 ********* ok: [/cache/rhel-8.qcow2] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 17:37:21 +0000 (0:00:00.519) 0:01:53.912 ********* skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8.qcow2] => (item=RedHat_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.6.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/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 17:37:21 +0000 (0:00:00.069) 0:01:53.982 ********* ok: [/cache/rhel-8.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/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 17:37:21 +0000 (0:00:00.036) 0:01:54.018 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 17:37:21 +0000 (0:00:00.042) 0:01:54.060 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 17:37:21 +0000 (0:00:00.058) 0:01:54.119 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 17:37:21 +0000 (0:00:00.024) 0:01:54.143 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 17:37:21 +0000 (0:00:00.034) 0:01:54.178 ********* ok: [/cache/rhel-8.qcow2] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "volumes": [ { "fs_type": "ext4", "mount_point": "/opt/test1", "name": "test1", "size": "10737418240" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 17:37:21 +0000 (0:00:00.108) 0:01:54.287 ********* ok: [/cache/rhel-8.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 17:37:21 +0000 (0:00:00.039) 0:01:54.326 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 17:37:21 +0000 (0:00:00.035) 0:01:54.362 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 17:37:21 +0000 (0:00:00.032) 0:01:54.395 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 17:37:22 +0000 (0:00:00.075) 0:01:54.470 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 17:37:22 +0000 (0:00:00.031) 0:01:54.501 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 17:37:22 +0000 (0:00:00.049) 0:01:54.550 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 17:37:22 +0000 (0:00:00.023) 0:01:54.574 ********* changed: [/cache/rhel-8.qcow2] => { "actions": [ { "action": "resize device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "resize format", "device": "/dev/mapper/foo-test1", "fs_type": "ext4" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "dosfstools", "lvm2", "e2fsprogs", "xfsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "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": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "10737418240", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 17:37:23 +0000 (0:00:01.663) 0:01:56.237 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 17:37:23 +0000 (0:00:00.026) 0:01:56.263 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 17:37:23 +0000 (0:00:00.021) 0:01:56.284 ********* ok: [/cache/rhel-8.qcow2] => { "blivet_output": { "actions": [ { "action": "resize device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "resize format", "device": "/dev/mapper/foo-test1", "fs_type": "ext4" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "dosfstools", "lvm2", "e2fsprogs", "xfsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "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": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "10737418240", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 17:37:23 +0000 (0:00:00.040) 0:01:56.325 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "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": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "10737418240", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 17:37:23 +0000 (0:00:00.039) 0:01:56.364 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 17:37:23 +0000 (0:00:00.038) 0:01:56.403 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 17:37:23 +0000 (0:00:00.029) 0:01:56.432 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 17:37:24 +0000 (0:00:00.616) 0:01:57.049 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-8.qcow2] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': 'ext4', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext4", "mount_info": { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 17:37:25 +0000 (0:00:00.426) 0:01:57.475 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 17:37:25 +0000 (0:00:00.610) 0:01:58.086 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 17:37:26 +0000 (0:00:00.377) 0:01:58.463 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 17:37:26 +0000 (0:00:00.024) 0:01:58.488 ********* ok: [/cache/rhel-8.qcow2] META: role_complete for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/tests_resize.yml:134 Thursday 21 July 2022 17:37:27 +0000 (0:00:00.978) 0:01:59.467 ********* included: /tmp/tmpw6dixrb5/tests/verify-role-results.yml for /cache/rhel-8.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:1 Thursday 21 July 2022 17:37:27 +0000 (0:00:00.037) 0:01:59.504 ********* ok: [/cache/rhel-8.qcow2] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "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": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "10737418240", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:6 Thursday 21 July 2022 17:37:27 +0000 (0:00:00.039) 0:01:59.543 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:14 Thursday 21 July 2022 17:37:27 +0000 (0:00:00.027) 0:01:59.571 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "ext4", "label": "", "name": "/dev/mapper/foo-test1", "size": "10G", "type": "lvm", "uuid": "05604bf7-cb17-4ecc-b33b-aab87996f877" }, "/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": "LVM2_member", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "7UAk9T-2Y3w-z3so-yy8l-6RPU-5bbz-nqQicp" }, "/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-17-35-15-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "vfat", "label": "", "name": "/dev/vda2", "size": "100M", "type": "partition", "uuid": "7B77-95E7" }, "/dev/vda3": { "fstype": "xfs", "label": "root", "name": "/dev/vda3", "size": "9.9G", "type": "partition", "uuid": "853ae189-b3fe-4a45-8485-75bbb1421bbe" }, "/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/tmpw6dixrb5/tests/verify-role-results.yml:19 Thursday 21 July 2022 17:37:27 +0000 (0:00:00.377) 0:01:59.948 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002813", "end": "2022-07-21 13:37:27.910316", "rc": 0, "start": "2022-07-21 13:37:27.907503" } STDOUT: UUID=853ae189-b3fe-4a45-8485-75bbb1421bbe / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 /dev/mapper/foo-test1 /opt/test1 ext4 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:24 Thursday 21 July 2022 17:37:27 +0000 (0:00:00.374) 0:02:00.323 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:01.004148", "end": "2022-07-21 13:37:29.318648", "failed_when_result": false, "rc": 1, "start": "2022-07-21 13:37:28.314500" } STDERR: cat: /etc/crypttab: No such file or directory MSG: non-zero return code TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:33 Thursday 21 July 2022 17:37:29 +0000 (0:00:01.409) 0:02:01.732 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-pool.yml for /cache/rhel-8.qcow2 => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '10737418240', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-pool.yml:5 Thursday 21 July 2022 17:37:29 +0000 (0:00:00.050) 0:02:01.783 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool.yml:18 Thursday 21 July 2022 17:37:29 +0000 (0:00:00.121) 0:02:01.904 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml for /cache/rhel-8.qcow2 => (item=members) included: /tmp/tmpw6dixrb5/tests/test-verify-pool-volumes.yml for /cache/rhel-8.qcow2 => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:1 Thursday 21 July 2022 17:37:29 +0000 (0:00:00.047) 0:02:01.952 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/sda" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 17:37:29 +0000 (0:00:00.047) 0:02:02.000 ********* ok: [/cache/rhel-8.qcow2] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda", "pv": "/dev/sda" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 17:37:30 +0000 (0:00:00.453) 0:02:02.453 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 17:37:30 +0000 (0:00:00.041) 0:02:02.495 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 17:37:30 +0000 (0:00:00.040) 0:02:02.535 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 17:37:30 +0000 (0:00:00.042) 0:02:02.577 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 17:37:30 +0000 (0:00:00.041) 0:02:02.619 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 17:37:30 +0000 (0:00:00.041) 0:02:02.660 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:46 Thursday 21 July 2022 17:37:30 +0000 (0:00:00.024) 0:02:02.685 ********* ok: [/cache/rhel-8.qcow2] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 17:37:30 +0000 (0:00:00.043) 0:02:02.729 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml for /cache/rhel-8.qcow2 TASK [get information about RAID] ********************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:6 Thursday 21 July 2022 17:37:30 +0000 (0:00:00.055) 0:02:02.784 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:12 Thursday 21 July 2022 17:37:30 +0000 (0:00:00.027) 0:02:02.812 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:16 Thursday 21 July 2022 17:37:30 +0000 (0:00:00.027) 0:02:02.839 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:20 Thursday 21 July 2022 17:37:30 +0000 (0:00:00.024) 0:02:02.863 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:24 Thursday 21 July 2022 17:37:30 +0000 (0:00:00.026) 0:02:02.890 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:30 Thursday 21 July 2022 17:37:30 +0000 (0:00:00.025) 0:02:02.915 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:36 Thursday 21 July 2022 17:37:30 +0000 (0:00:00.025) 0:02:02.941 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:44 Thursday 21 July 2022 17:37:30 +0000 (0:00:00.024) 0:02:02.966 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:59 Thursday 21 July 2022 17:37:30 +0000 (0:00:00.040) 0:02:03.006 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-lvmraid.yml for /cache/rhel-8.qcow2 TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 17:37:30 +0000 (0:00:00.046) 0:02:03.053 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '10737418240', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 17:37:30 +0000 (0:00:00.047) 0:02:03.100 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 17:37:30 +0000 (0:00:00.030) 0:02:03.131 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 17:37:30 +0000 (0:00:00.030) 0:02:03.161 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 17:37:30 +0000 (0:00:00.030) 0:02:03.191 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-thin.yml for /cache/rhel-8.qcow2 TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-thin.yml:1 Thursday 21 July 2022 17:37:30 +0000 (0:00:00.047) 0:02:03.239 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '10737418240', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 17:37:30 +0000 (0:00:00.046) 0:02:03.285 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 17:37:30 +0000 (0:00:00.025) 0:02:03.311 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 17:37:30 +0000 (0:00:00.024) 0:02:03.336 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 17:37:30 +0000 (0:00:00.025) 0:02:03.361 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 17:37:30 +0000 (0:00:00.024) 0:02:03.385 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml for /cache/rhel-8.qcow2 TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 17:37:31 +0000 (0:00:00.091) 0:02:03.477 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 17:37:31 +0000 (0:00:00.040) 0:02:03.517 ********* skipping: [/cache/rhel-8.qcow2] => (item=/dev/sda) => { "_storage_test_pool_member_path": "/dev/sda", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 17:37:31 +0000 (0:00:00.027) 0:02:03.545 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml for /cache/rhel-8.qcow2 => (item=/dev/sda) TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 17:37:31 +0000 (0:00:00.042) 0:02:03.587 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:6 Thursday 21 July 2022 17:37:31 +0000 (0:00:00.038) 0:02:03.625 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:11 Thursday 21 July 2022 17:37:31 +0000 (0:00:00.041) 0:02:03.667 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:17 Thursday 21 July 2022 17:37:31 +0000 (0:00:00.031) 0:02:03.699 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:23 Thursday 21 July 2022 17:37:31 +0000 (0:00:00.027) 0:02:03.726 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:29 Thursday 21 July 2022 17:37:31 +0000 (0:00:00.026) 0:02:03.753 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 17:37:31 +0000 (0:00:00.036) 0:02:03.789 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 17:37:31 +0000 (0:00:00.038) 0:02:03.828 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-vdo.yml for /cache/rhel-8.qcow2 TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 17:37:31 +0000 (0:00:00.049) 0:02:03.877 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '10737418240', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 17:37:31 +0000 (0:00:00.049) 0:02:03.926 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 17:37:31 +0000 (0:00:00.026) 0:02:03.952 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 17:37:31 +0000 (0:00:00.025) 0:02:03.978 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 17:37:31 +0000 (0:00:00.027) 0:02:04.006 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 17:37:31 +0000 (0:00:00.025) 0:02:04.032 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 17:37:31 +0000 (0:00:00.027) 0:02:04.059 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 17:37:31 +0000 (0:00:00.029) 0:02:04.089 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 17:37:31 +0000 (0:00:00.028) 0:02:04.117 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 17:37:31 +0000 (0:00:00.041) 0:02:04.158 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 17:37:31 +0000 (0:00:00.038) 0:02:04.197 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '10737418240', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml:2 Thursday 21 July 2022 17:37:31 +0000 (0:00:00.045) 0:02:04.242 ********* ok: [/cache/rhel-8.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/tmpw6dixrb5/tests/test-verify-volume.yml:10 Thursday 21 July 2022 17:37:31 +0000 (0:00:00.039) 0:02:04.282 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml for /cache/rhel-8.qcow2 => (item=mount) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml for /cache/rhel-8.qcow2 => (item=fstab) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-fs.yml for /cache/rhel-8.qcow2 => (item=fs) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml for /cache/rhel-8.qcow2 => (item=device) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml for /cache/rhel-8.qcow2 => (item=encryption) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml for /cache/rhel-8.qcow2 => (item=md) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml for /cache/rhel-8.qcow2 => (item=size) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml for /cache/rhel-8.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 17:37:31 +0000 (0:00:00.076) 0:02:04.358 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 17:37:31 +0000 (0:00:00.046) 0:02:04.405 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 2422023, "block_size": 4096, "block_total": 2562885, "block_used": 140862, "device": "/dev/mapper/foo-test1", "fstype": "ext4", "inode_available": 655349, "inode_total": 655360, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 9920606208, "size_total": 10497576960, "uuid": "05604bf7-cb17-4ecc-b33b-aab87996f877" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 2422023, "block_size": 4096, "block_total": 2562885, "block_used": 140862, "device": "/dev/mapper/foo-test1", "fstype": "ext4", "inode_available": 655349, "inode_total": 655360, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 9920606208, "size_total": 10497576960, "uuid": "05604bf7-cb17-4ecc-b33b-aab87996f877" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 17:37:32 +0000 (0:00:00.050) 0:02:04.455 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 17:37:32 +0000 (0:00:00.042) 0:02:04.498 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 17:37:32 +0000 (0:00:00.041) 0:02:04.539 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 17:37:32 +0000 (0:00:00.042) 0:02:04.581 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 17:37:32 +0000 (0:00:00.025) 0:02:04.607 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 17:37:32 +0000 (0:00:00.026) 0:02:04.633 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 17:37:32 +0000 (0:00:00.025) 0:02:04.659 ********* ok: [/cache/rhel-8.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/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 17:37:32 +0000 (0:00:00.080) 0:02:04.740 ********* ok: [/cache/rhel-8.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": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 ext4 defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 17:37:32 +0000 (0:00:00.134) 0:02:04.875 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 17:37:32 +0000 (0:00:00.040) 0:02:04.915 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 17:37:32 +0000 (0:00:00.042) 0:02:04.957 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 17:37:32 +0000 (0:00:00.028) 0:02:04.986 ********* ok: [/cache/rhel-8.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/tmpw6dixrb5/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 17:37:32 +0000 (0:00:00.035) 0:02:05.021 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 17:37:32 +0000 (0:00:00.039) 0:02:05.060 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 17:37:32 +0000 (0:00:00.042) 0:02:05.103 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1658425043.7879543, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658425043.7879543, "dev": 6, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 73527, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658425043.7879543, "nlink": 1, "path": "/dev/mapper/foo-test1", "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/tmpw6dixrb5/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 17:37:33 +0000 (0:00:00.400) 0:02:05.504 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 17:37:33 +0000 (0:00:00.039) 0:02:05.544 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 17:37:33 +0000 (0:00:00.040) 0:02:05.584 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 17:37:33 +0000 (0:00:00.049) 0:02:05.634 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 17:37:33 +0000 (0:00:00.024) 0:02:05.659 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 17:37:33 +0000 (0:00:00.048) 0:02:05.707 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 17:37:33 +0000 (0:00:00.025) 0:02:05.732 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 17:37:34 +0000 (0:00:01.290) 0:02:07.023 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 17:37:34 +0000 (0:00:00.025) 0:02:07.048 ********* skipping: [/cache/rhel-8.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/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 17:37:34 +0000 (0:00:00.025) 0:02:07.074 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 17:37:34 +0000 (0:00:00.043) 0:02:07.117 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 17:37:34 +0000 (0:00:00.026) 0:02:07.144 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 17:37:34 +0000 (0:00:00.026) 0:02:07.170 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 17:37:34 +0000 (0:00:00.025) 0:02:07.196 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 17:37:34 +0000 (0:00:00.025) 0:02:07.221 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 17:37:34 +0000 (0:00:00.026) 0:02:07.248 ********* ok: [/cache/rhel-8.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/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 17:37:34 +0000 (0:00:00.041) 0:02:07.290 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 17:37:34 +0000 (0:00:00.041) 0:02:07.331 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 17:37:34 +0000 (0:00:00.028) 0:02:07.360 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 17:37:34 +0000 (0:00:00.032) 0:02:07.392 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 17:37:34 +0000 (0:00:00.028) 0:02:07.420 ********* ok: [/cache/rhel-8.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/tmpw6dixrb5/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 17:37:35 +0000 (0:00:00.035) 0:02:07.456 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 17:37:35 +0000 (0:00:00.026) 0:02:07.482 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 17:37:35 +0000 (0:00:00.032) 0:02:07.515 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 17:37:35 +0000 (0:00:00.027) 0:02:07.542 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 17:37:35 +0000 (0:00:00.031) 0:02:07.573 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 17:37:35 +0000 (0:00:00.030) 0:02:07.604 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 17:37:35 +0000 (0:00:00.033) 0:02:07.637 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 17:37:35 +0000 (0:00:00.027) 0:02:07.665 ********* ok: [/cache/rhel-8.qcow2] => { "bytes": 10737418240, "changed": false, "lvm": "10g", "parted": "10GiB", "size": "10 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 17:37:35 +0000 (0:00:00.411) 0:02:08.076 ********* ok: [/cache/rhel-8.qcow2] => { "bytes": 10737418240, "changed": false, "lvm": "10g", "parted": "10GiB", "size": "10 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 17:37:36 +0000 (0:00:00.378) 0:02:08.454 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_expected_size": "10737418240" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 17:37:36 +0000 (0:00:00.082) 0:02:08.536 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "10737418240" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 17:37:36 +0000 (0:00:00.077) 0:02:08.614 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 17:37:36 +0000 (0:00:00.028) 0:02:08.642 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 17:37:36 +0000 (0:00:00.027) 0:02:08.669 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 17:37:36 +0000 (0:00:00.027) 0:02:08.696 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 17:37:36 +0000 (0:00:00.067) 0:02:08.764 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 17:37:36 +0000 (0:00:00.028) 0:02:08.792 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_actual_size": { "bytes": 10737418240, "changed": false, "failed": false, "lvm": "10g", "parted": "10GiB", "size": "10 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 17:37:36 +0000 (0:00:00.040) 0:02:08.832 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "10737418240" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 17:37:36 +0000 (0:00:00.039) 0:02:08.872 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 17:37:36 +0000 (0:00:00.046) 0:02:08.919 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.034743", "end": "2022-07-21 13:37:36.918222", "rc": 0, "start": "2022-07-21 13:37:36.883479" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 17:37:36 +0000 (0:00:00.410) 0:02:09.330 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 17:37:36 +0000 (0:00:00.042) 0:02:09.372 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 17:37:36 +0000 (0:00:00.050) 0:02:09.423 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 17:37:37 +0000 (0:00:00.029) 0:02:09.452 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 17:37:37 +0000 (0:00:00.029) 0:02:09.482 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 17:37:37 +0000 (0:00:00.028) 0:02:09.510 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml:16 Thursday 21 July 2022 17:37:37 +0000 (0:00:00.029) 0:02:09.540 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:43 Thursday 21 July 2022 17:37:37 +0000 (0:00:00.035) 0:02:09.575 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:53 Thursday 21 July 2022 17:37:37 +0000 (0:00:00.022) 0:02:09.597 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Try to create LVM with an invalid size specification, resize to "xyz GiB"] *** task path: /tmp/tmpw6dixrb5/tests/tests_resize.yml:138 Thursday 21 July 2022 17:37:37 +0000 (0:00:00.037) 0:02:09.635 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 17:37:37 +0000 (0:00:00.040) 0:02:09.676 ********* included: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 17:37:37 +0000 (0:00:00.035) 0:02:09.711 ********* ok: [/cache/rhel-8.qcow2] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 17:37:37 +0000 (0:00:00.510) 0:02:10.221 ********* skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8.qcow2] => (item=RedHat_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.6.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/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 17:37:37 +0000 (0:00:00.064) 0:02:10.286 ********* ok: [/cache/rhel-8.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/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 17:37:37 +0000 (0:00:00.035) 0:02:10.321 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 17:37:37 +0000 (0:00:00.036) 0:02:10.358 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 17:37:37 +0000 (0:00:00.049) 0:02:10.407 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 17:37:37 +0000 (0:00:00.021) 0:02:10.428 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 17:37:38 +0000 (0:00:00.027) 0:02:10.456 ********* ok: [/cache/rhel-8.qcow2] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "volumes": [ { "fs_type": "ext4", "mount_point": "/opt/test1", "name": "test1", "size": "xyz GiB" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 17:37:38 +0000 (0:00:00.042) 0:02:10.498 ********* ok: [/cache/rhel-8.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 17:37:38 +0000 (0:00:00.037) 0:02:10.536 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 17:37:38 +0000 (0:00:00.029) 0:02:10.566 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 17:37:38 +0000 (0:00:00.029) 0:02:10.595 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 17:37:38 +0000 (0:00:00.030) 0:02:10.625 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 17:37:38 +0000 (0:00:00.031) 0:02:10.657 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 17:37:38 +0000 (0:00:00.086) 0:02:10.744 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 17:37:38 +0000 (0:00:00.023) 0:02:10.767 ********* fatal: [/cache/rhel-8.qcow2]: FAILED! => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } MSG: invalid size specification for volume in pool 'foo' TASK [linux-system-roles.storage : failed message] ***************************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:99 Thursday 21 July 2022 17:37:39 +0000 (0:00:01.303) 0:02:12.070 ********* fatal: [/cache/rhel-8.qcow2]: FAILED! => { "changed": false } MSG: {'changed': False, 'actions': [], 'leaves': [], 'mounts': [], 'crypts': [], 'pools': [], 'volumes': [], 'packages': [], 'failed': True, 'msg': "invalid size specification for volume in pool 'foo'", 'invocation': {'module_args': {'pools': [{'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': None, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': None, 'fs_label': '', 'fs_type': 'ext4', 'mount_options': None, 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': 'xyz GiB', 'state': 'present', 'type': None, 'cached': None, 'cache_devices': [], 'cache_mode': None, 'cache_size': None, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None}], 'raid_chunk_size': None}], 'volumes': [], 'use_partitions': None, 'disklabel_type': None, 'pool_defaults': {'state': 'present', 'type': 'lvm', 'disks': [], 'volumes': [], 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None}, 'volume_defaults': {'state': 'present', 'type': 'lvm', 'size': 0, 'disks': [], 'fs_type': 'xfs', 'fs_label': '', 'fs_create_options': '', 'fs_overwrite_existing': True, 'mount_point': '', 'mount_options': 'defaults', 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': []}, 'safe_mode': False, 'packages_only': False, 'diskvolume_mkfs_option_map': {}}}, '_ansible_no_log': False} TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 17:37:39 +0000 (0:00:00.046) 0:02:12.117 ********* TASK [Check that we failed in the role] **************************************** task path: /tmp/tmpw6dixrb5/tests/tests_resize.yml:156 Thursday 21 July 2022 17:37:39 +0000 (0:00:00.022) 0:02:12.140 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the output] ******************************************************* task path: /tmp/tmpw6dixrb5/tests/tests_resize.yml:162 Thursday 21 July 2022 17:37:39 +0000 (0:00:00.037) 0:02:12.177 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Try to create LVM with an invalid size specification, resize to "none"] *** task path: /tmp/tmpw6dixrb5/tests/tests_resize.yml:171 Thursday 21 July 2022 17:37:39 +0000 (0:00:00.040) 0:02:12.217 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 17:37:39 +0000 (0:00:00.036) 0:02:12.253 ********* included: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 17:37:39 +0000 (0:00:00.035) 0:02:12.289 ********* ok: [/cache/rhel-8.qcow2] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 17:37:40 +0000 (0:00:00.505) 0:02:12.795 ********* skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8.qcow2] => (item=RedHat_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.6.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/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 17:37:40 +0000 (0:00:00.061) 0:02:12.856 ********* ok: [/cache/rhel-8.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/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 17:37:40 +0000 (0:00:00.037) 0:02:12.894 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 17:37:40 +0000 (0:00:00.037) 0:02:12.931 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 17:37:40 +0000 (0:00:00.048) 0:02:12.980 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 17:37:40 +0000 (0:00:00.022) 0:02:13.002 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 17:37:40 +0000 (0:00:00.031) 0:02:13.034 ********* ok: [/cache/rhel-8.qcow2] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "volumes": [ { "fs_type": "ext4", "mount_point": "/opt/test1", "name": "test1", "size": "none" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 17:37:40 +0000 (0:00:00.039) 0:02:13.074 ********* ok: [/cache/rhel-8.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 17:37:40 +0000 (0:00:00.038) 0:02:13.112 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 17:37:40 +0000 (0:00:00.030) 0:02:13.143 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 17:37:40 +0000 (0:00:00.031) 0:02:13.175 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 17:37:40 +0000 (0:00:00.030) 0:02:13.205 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 17:37:40 +0000 (0:00:00.030) 0:02:13.236 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 17:37:40 +0000 (0:00:00.110) 0:02:13.346 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 17:37:40 +0000 (0:00:00.024) 0:02:13.370 ********* fatal: [/cache/rhel-8.qcow2]: FAILED! => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } MSG: invalid size specification for volume in pool 'foo' TASK [linux-system-roles.storage : failed message] ***************************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:99 Thursday 21 July 2022 17:37:42 +0000 (0:00:01.258) 0:02:14.629 ********* fatal: [/cache/rhel-8.qcow2]: FAILED! => { "changed": false } MSG: {'changed': False, 'actions': [], 'leaves': [], 'mounts': [], 'crypts': [], 'pools': [], 'volumes': [], 'packages': [], 'failed': True, 'msg': "invalid size specification for volume in pool 'foo'", 'invocation': {'module_args': {'pools': [{'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': None, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': None, 'fs_label': '', 'fs_type': 'ext4', 'mount_options': None, 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': 'none', 'state': 'present', 'type': None, 'cached': None, 'cache_devices': [], 'cache_mode': None, 'cache_size': None, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None}], 'raid_chunk_size': None}], 'volumes': [], 'use_partitions': None, 'disklabel_type': None, 'pool_defaults': {'state': 'present', 'type': 'lvm', 'disks': [], 'volumes': [], 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None}, 'volume_defaults': {'state': 'present', 'type': 'lvm', 'size': 0, 'disks': [], 'fs_type': 'xfs', 'fs_label': '', 'fs_create_options': '', 'fs_overwrite_existing': True, 'mount_point': '', 'mount_options': 'defaults', 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': []}, 'safe_mode': False, 'packages_only': False, 'diskvolume_mkfs_option_map': {}}}, '_ansible_no_log': False} TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 17:37:42 +0000 (0:00:00.082) 0:02:14.712 ********* TASK [Check that we failed in the role] **************************************** task path: /tmp/tmpw6dixrb5/tests/tests_resize.yml:189 Thursday 21 July 2022 17:37:42 +0000 (0:00:00.057) 0:02:14.769 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the output] ******************************************************* task path: /tmp/tmpw6dixrb5/tests/tests_resize.yml:195 Thursday 21 July 2022 17:37:42 +0000 (0:00:00.037) 0:02:14.806 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Clean up] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/tests_resize.yml:202 Thursday 21 July 2022 17:37:42 +0000 (0:00:00.038) 0:02:14.845 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 17:37:42 +0000 (0:00:00.043) 0:02:14.888 ********* included: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 17:37:42 +0000 (0:00:00.034) 0:02:14.923 ********* ok: [/cache/rhel-8.qcow2] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 17:37:43 +0000 (0:00:00.528) 0:02:15.451 ********* skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8.qcow2] => (item=RedHat_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.6.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/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 17:37:43 +0000 (0:00:00.061) 0:02:15.513 ********* ok: [/cache/rhel-8.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/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 17:37:43 +0000 (0:00:00.034) 0:02:15.547 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 17:37:43 +0000 (0:00:00.032) 0:02:15.580 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 17:37:43 +0000 (0:00:00.047) 0:02:15.628 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 17:37:43 +0000 (0:00:00.020) 0:02:15.648 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 17:37:43 +0000 (0:00:00.029) 0:02:15.677 ********* ok: [/cache/rhel-8.qcow2] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "state": "absent", "volumes": [ { "mount_point": "/opt/test1", "name": "test1", "size": "5g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 17:37:43 +0000 (0:00:00.037) 0:02:15.714 ********* ok: [/cache/rhel-8.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 17:37:43 +0000 (0:00:00.037) 0:02:15.751 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 17:37:43 +0000 (0:00:00.027) 0:02:15.779 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 17:37:43 +0000 (0:00:00.030) 0:02:15.809 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 17:37:43 +0000 (0:00:00.030) 0:02:15.840 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 17:37:43 +0000 (0:00:00.032) 0:02:15.873 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 17:37:43 +0000 (0:00:00.048) 0:02:15.921 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 17:37:43 +0000 (0:00:00.030) 0:02:15.952 ********* changed: [/cache/rhel-8.qcow2] => { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "ext4" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "lvmpv" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "fstype": "ext4", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" } ], "packages": [ "xfsprogs", "dosfstools" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "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": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 17:37:45 +0000 (0:00:01.907) 0:02:17.859 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 17:37:45 +0000 (0:00:00.027) 0:02:17.886 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 17:37:45 +0000 (0:00:00.023) 0:02:17.910 ********* ok: [/cache/rhel-8.qcow2] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "ext4" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "lvmpv" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "fstype": "ext4", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" } ], "packages": [ "xfsprogs", "dosfstools" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "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": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 17:37:45 +0000 (0:00:00.089) 0:02:17.999 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "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": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 17:37:45 +0000 (0:00:00.042) 0:02:18.041 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 17:37:45 +0000 (0:00:00.038) 0:02:18.080 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-8.qcow2] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'state': 'absent', 'fstype': 'ext4'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext4", "mount_info": { "fstype": "ext4", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 17:37:46 +0000 (0:00:00.441) 0:02:18.522 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 17:37:46 +0000 (0:00:00.670) 0:02:19.192 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 17:37:46 +0000 (0:00:00.030) 0:02:19.222 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 17:37:47 +0000 (0:00:00.619) 0:02:19.841 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 17:37:47 +0000 (0:00:00.379) 0:02:20.221 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 17:37:47 +0000 (0:00:00.024) 0:02:20.245 ********* ok: [/cache/rhel-8.qcow2] META: role_complete for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/tests_resize.yml:215 Thursday 21 July 2022 17:37:48 +0000 (0:00:00.950) 0:02:21.196 ********* included: /tmp/tmpw6dixrb5/tests/verify-role-results.yml for /cache/rhel-8.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:1 Thursday 21 July 2022 17:37:48 +0000 (0:00:00.039) 0:02:21.236 ********* ok: [/cache/rhel-8.qcow2] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "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": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:6 Thursday 21 July 2022 17:37:48 +0000 (0:00:00.040) 0:02:21.276 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:14 Thursday 21 July 2022 17:37:48 +0000 (0:00:00.026) 0:02:21.303 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "info": { "/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-17-35-15-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "vfat", "label": "", "name": "/dev/vda2", "size": "100M", "type": "partition", "uuid": "7B77-95E7" }, "/dev/vda3": { "fstype": "xfs", "label": "root", "name": "/dev/vda3", "size": "9.9G", "type": "partition", "uuid": "853ae189-b3fe-4a45-8485-75bbb1421bbe" }, "/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/tmpw6dixrb5/tests/verify-role-results.yml:19 Thursday 21 July 2022 17:37:49 +0000 (0:00:00.377) 0:02:21.680 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002446", "end": "2022-07-21 13:37:49.642840", "rc": 0, "start": "2022-07-21 13:37:49.640394" } STDOUT: UUID=853ae189-b3fe-4a45-8485-75bbb1421bbe / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:24 Thursday 21 July 2022 17:37:49 +0000 (0:00:00.373) 0:02:22.054 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003193", "end": "2022-07-21 13:37:50.018764", "failed_when_result": false, "rc": 1, "start": "2022-07-21 13:37:50.015571" } STDERR: cat: /etc/crypttab: No such file or directory MSG: non-zero return code TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:33 Thursday 21 July 2022 17:37:49 +0000 (0:00:00.376) 0:02:22.430 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-pool.yml for /cache/rhel-8.qcow2 => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'absent', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-pool.yml:5 Thursday 21 July 2022 17:37:50 +0000 (0:00:00.051) 0:02:22.481 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool.yml:18 Thursday 21 July 2022 17:37:50 +0000 (0:00:00.035) 0:02:22.517 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml for /cache/rhel-8.qcow2 => (item=members) included: /tmp/tmpw6dixrb5/tests/test-verify-pool-volumes.yml for /cache/rhel-8.qcow2 => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:1 Thursday 21 July 2022 17:37:50 +0000 (0:00:00.047) 0:02:22.565 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_count": "0", "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 17:37:50 +0000 (0:00:00.079) 0:02:22.644 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 17:37:50 +0000 (0:00:00.023) 0:02:22.668 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": "0" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 17:37:50 +0000 (0:00:00.040) 0:02:22.708 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_pool_pvs": [] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 17:37:50 +0000 (0:00:00.080) 0:02:22.789 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 17:37:50 +0000 (0:00:00.076) 0:02:22.865 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 17:37:50 +0000 (0:00:00.077) 0:02:22.943 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 17:37:50 +0000 (0:00:00.041) 0:02:22.984 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:46 Thursday 21 July 2022 17:37:50 +0000 (0:00:00.025) 0:02:23.010 ********* TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 17:37:50 +0000 (0:00:00.023) 0:02:23.034 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml for /cache/rhel-8.qcow2 TASK [get information about RAID] ********************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:6 Thursday 21 July 2022 17:37:50 +0000 (0:00:00.042) 0:02:23.077 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:12 Thursday 21 July 2022 17:37:50 +0000 (0:00:00.024) 0:02:23.101 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:16 Thursday 21 July 2022 17:37:50 +0000 (0:00:00.026) 0:02:23.128 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:20 Thursday 21 July 2022 17:37:50 +0000 (0:00:00.024) 0:02:23.152 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:24 Thursday 21 July 2022 17:37:50 +0000 (0:00:00.025) 0:02:23.178 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:30 Thursday 21 July 2022 17:37:50 +0000 (0:00:00.024) 0:02:23.202 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:36 Thursday 21 July 2022 17:37:50 +0000 (0:00:00.026) 0:02:23.229 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:44 Thursday 21 July 2022 17:37:50 +0000 (0:00:00.024) 0:02:23.254 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:59 Thursday 21 July 2022 17:37:50 +0000 (0:00:00.037) 0:02:23.291 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-lvmraid.yml for /cache/rhel-8.qcow2 TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 17:37:50 +0000 (0:00:00.053) 0:02:23.345 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 17:37:50 +0000 (0:00:00.044) 0:02:23.390 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 17:37:50 +0000 (0:00:00.029) 0:02:23.419 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 17:37:51 +0000 (0:00:00.030) 0:02:23.450 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 17:37:51 +0000 (0:00:00.029) 0:02:23.479 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-thin.yml for /cache/rhel-8.qcow2 TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-thin.yml:1 Thursday 21 July 2022 17:37:51 +0000 (0:00:00.045) 0:02:23.525 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 17:37:51 +0000 (0:00:00.043) 0:02:23.569 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 17:37:51 +0000 (0:00:00.024) 0:02:23.593 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 17:37:51 +0000 (0:00:00.025) 0:02:23.618 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 17:37:51 +0000 (0:00:00.027) 0:02:23.646 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 17:37:51 +0000 (0:00:00.025) 0:02:23.671 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml for /cache/rhel-8.qcow2 TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 17:37:51 +0000 (0:00:00.045) 0:02:23.716 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 17:37:51 +0000 (0:00:00.042) 0:02:23.759 ********* TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 17:37:51 +0000 (0:00:00.021) 0:02:23.781 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 17:37:51 +0000 (0:00:00.022) 0:02:23.803 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 17:37:51 +0000 (0:00:00.038) 0:02:23.842 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-vdo.yml for /cache/rhel-8.qcow2 TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 17:37:51 +0000 (0:00:00.050) 0:02:23.892 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 17:37:51 +0000 (0:00:00.047) 0:02:23.940 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 17:37:51 +0000 (0:00:00.026) 0:02:23.967 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 17:37:51 +0000 (0:00:00.023) 0:02:23.990 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 17:37:51 +0000 (0:00:00.023) 0:02:24.014 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 17:37:51 +0000 (0:00:00.024) 0:02:24.038 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 17:37:51 +0000 (0:00:00.029) 0:02:24.068 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 17:37:51 +0000 (0:00:00.081) 0:02:24.149 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 17:37:51 +0000 (0:00:00.026) 0:02:24.176 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 17:37:51 +0000 (0:00:00.038) 0:02:24.215 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 17:37:51 +0000 (0:00:00.037) 0:02:24.252 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml:2 Thursday 21 July 2022 17:37:51 +0000 (0:00:00.042) 0:02:24.294 ********* ok: [/cache/rhel-8.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/tmpw6dixrb5/tests/test-verify-volume.yml:10 Thursday 21 July 2022 17:37:51 +0000 (0:00:00.038) 0:02:24.333 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml for /cache/rhel-8.qcow2 => (item=mount) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml for /cache/rhel-8.qcow2 => (item=fstab) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-fs.yml for /cache/rhel-8.qcow2 => (item=fs) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml for /cache/rhel-8.qcow2 => (item=device) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml for /cache/rhel-8.qcow2 => (item=encryption) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml for /cache/rhel-8.qcow2 => (item=md) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml for /cache/rhel-8.qcow2 => (item=size) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml for /cache/rhel-8.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 17:37:51 +0000 (0:00:00.090) 0:02:24.424 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 17:37:52 +0000 (0:00:00.045) 0:02:24.470 ********* ok: [/cache/rhel-8.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/tmpw6dixrb5/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 17:37:52 +0000 (0:00:00.044) 0:02:24.515 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 17:37:52 +0000 (0:00:00.025) 0:02:24.540 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 17:37:52 +0000 (0:00:00.041) 0:02:24.582 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 17:37:52 +0000 (0:00:00.028) 0:02:24.610 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 17:37:52 +0000 (0:00:00.025) 0:02:24.635 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 17:37:52 +0000 (0:00:00.024) 0:02:24.660 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 17:37:52 +0000 (0:00:00.025) 0:02:24.686 ********* ok: [/cache/rhel-8.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/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 17:37:52 +0000 (0:00:00.038) 0:02:24.724 ********* ok: [/cache/rhel-8.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/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 17:37:52 +0000 (0:00:00.052) 0:02:24.776 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 17:37:52 +0000 (0:00:00.026) 0:02:24.803 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 17:37:52 +0000 (0:00:00.046) 0:02:24.849 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 17:37:52 +0000 (0:00:00.027) 0:02:24.877 ********* ok: [/cache/rhel-8.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/tmpw6dixrb5/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 17:37:52 +0000 (0:00:00.035) 0:02:24.912 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 17:37:52 +0000 (0:00:00.024) 0:02:24.937 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 17:37:52 +0000 (0:00:00.023) 0:02:24.960 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 17:37:52 +0000 (0:00:00.375) 0:02:25.335 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 17:37:52 +0000 (0:00:00.040) 0:02:25.376 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 17:37:52 +0000 (0:00:00.025) 0:02:25.401 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 17:37:52 +0000 (0:00:00.040) 0:02:25.442 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 17:37:53 +0000 (0:00:00.026) 0:02:25.469 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 17:37:53 +0000 (0:00:00.026) 0:02:25.496 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 17:37:53 +0000 (0:00:00.024) 0:02:25.520 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 17:37:54 +0000 (0:00:01.316) 0:02:26.837 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 17:37:54 +0000 (0:00:00.024) 0:02:26.861 ********* skipping: [/cache/rhel-8.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/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 17:37:54 +0000 (0:00:00.022) 0:02:26.884 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 17:37:54 +0000 (0:00:00.023) 0:02:26.907 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 17:37:54 +0000 (0:00:00.024) 0:02:26.931 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 17:37:54 +0000 (0:00:00.057) 0:02:26.989 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 17:37:54 +0000 (0:00:00.023) 0:02:27.013 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 17:37:54 +0000 (0:00:00.022) 0:02:27.036 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 17:37:54 +0000 (0:00:00.022) 0:02:27.059 ********* ok: [/cache/rhel-8.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/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 17:37:54 +0000 (0:00:00.045) 0:02:27.104 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 17:37:54 +0000 (0:00:00.039) 0:02:27.144 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 17:37:54 +0000 (0:00:00.028) 0:02:27.172 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 17:37:54 +0000 (0:00:00.027) 0:02:27.200 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 17:37:54 +0000 (0:00:00.030) 0:02:27.230 ********* ok: [/cache/rhel-8.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/tmpw6dixrb5/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 17:37:54 +0000 (0:00:00.034) 0:02:27.265 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 17:37:54 +0000 (0:00:00.036) 0:02:27.302 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 17:37:54 +0000 (0:00:00.031) 0:02:27.334 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 17:37:54 +0000 (0:00:00.031) 0:02:27.366 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 17:37:54 +0000 (0:00:00.027) 0:02:27.393 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 17:37:54 +0000 (0:00:00.027) 0:02:27.421 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 17:37:54 +0000 (0:00:00.026) 0:02:27.448 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 17:37:55 +0000 (0:00:00.028) 0:02:27.476 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 17:37:55 +0000 (0:00:00.023) 0:02:27.500 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 17:37:55 +0000 (0:00:00.035) 0:02:27.535 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 17:37:55 +0000 (0:00:00.030) 0:02:27.565 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "10737418240" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 17:37:55 +0000 (0:00:00.042) 0:02:27.608 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 17:37:55 +0000 (0:00:00.028) 0:02:27.636 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 17:37:55 +0000 (0:00:00.027) 0:02:27.664 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 17:37:55 +0000 (0:00:00.027) 0:02:27.692 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 17:37:55 +0000 (0:00:00.026) 0:02:27.719 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 17:37:55 +0000 (0:00:00.026) 0:02:27.746 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 17:37:55 +0000 (0:00:00.040) 0:02:27.787 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "10737418240" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 17:37:55 +0000 (0:00:00.041) 0:02:27.828 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 17:37:55 +0000 (0:00:00.026) 0:02:27.855 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 17:37:55 +0000 (0:00:00.024) 0:02:27.879 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 17:37:55 +0000 (0:00:00.025) 0:02:27.904 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 17:37:55 +0000 (0:00:00.025) 0:02:27.930 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 17:37:55 +0000 (0:00:00.026) 0:02:27.956 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 17:37:55 +0000 (0:00:00.026) 0:02:27.983 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 17:37:55 +0000 (0:00:00.026) 0:02:28.009 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml:16 Thursday 21 July 2022 17:37:55 +0000 (0:00:00.026) 0:02:28.036 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:43 Thursday 21 July 2022 17:37:55 +0000 (0:00:00.042) 0:02:28.078 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:53 Thursday 21 July 2022 17:37:55 +0000 (0:00:00.021) 0:02:28.100 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Create a LVM logical volume with "5g" for ext3 FS] *********************** task path: /tmp/tmpw6dixrb5/tests/tests_resize.yml:219 Thursday 21 July 2022 17:37:55 +0000 (0:00:00.036) 0:02:28.136 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 17:37:55 +0000 (0:00:00.055) 0:02:28.192 ********* included: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 17:37:55 +0000 (0:00:00.036) 0:02:28.228 ********* ok: [/cache/rhel-8.qcow2] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 17:37:56 +0000 (0:00:00.564) 0:02:28.792 ********* skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8.qcow2] => (item=RedHat_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.6.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/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 17:37:56 +0000 (0:00:00.064) 0:02:28.857 ********* ok: [/cache/rhel-8.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/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 17:37:56 +0000 (0:00:00.036) 0:02:28.893 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 17:37:56 +0000 (0:00:00.034) 0:02:28.928 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 17:37:56 +0000 (0:00:00.047) 0:02:28.976 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 17:37:56 +0000 (0:00:00.023) 0:02:29.000 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 17:37:56 +0000 (0:00:00.029) 0:02:29.029 ********* ok: [/cache/rhel-8.qcow2] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "type": "lvm", "volumes": [ { "fs_type": "ext3", "mount_point": "/opt/test1", "name": "test1", "size": "5g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 17:37:56 +0000 (0:00:00.040) 0:02:29.070 ********* ok: [/cache/rhel-8.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 17:37:56 +0000 (0:00:00.041) 0:02:29.111 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 17:37:56 +0000 (0:00:00.029) 0:02:29.141 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 17:37:56 +0000 (0:00:00.029) 0:02:29.171 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 17:37:56 +0000 (0:00:00.030) 0:02:29.201 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 17:37:56 +0000 (0:00:00.030) 0:02:29.232 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 17:37:56 +0000 (0:00:00.047) 0:02:29.279 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 17:37:56 +0000 (0:00:00.022) 0:02:29.302 ********* changed: [/cache/rhel-8.qcow2] => { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "ext3" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd", "/dev/mapper/foo-test1" ], "mounts": [ { "dump": 0, "fstype": "ext3", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "lvm2", "dosfstools", "e2fsprogs", "xfsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "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/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 17:37:59 +0000 (0:00:02.776) 0:02:32.078 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 17:37:59 +0000 (0:00:00.031) 0:02:32.110 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 17:37:59 +0000 (0:00:00.024) 0:02:32.134 ********* ok: [/cache/rhel-8.qcow2] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "ext3" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd", "/dev/mapper/foo-test1" ], "mounts": [ { "dump": 0, "fstype": "ext3", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "lvm2", "dosfstools", "e2fsprogs", "xfsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "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/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 17:37:59 +0000 (0:00:00.042) 0:02:32.176 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "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/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 17:37:59 +0000 (0:00:00.042) 0:02:32.219 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 17:37:59 +0000 (0:00:00.040) 0:02:32.259 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 17:37:59 +0000 (0:00:00.033) 0:02:32.293 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 17:38:00 +0000 (0:00:00.621) 0:02:32.914 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-8.qcow2] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': 'ext3', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "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/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 17:38:00 +0000 (0:00:00.410) 0:02:33.324 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 17:38:01 +0000 (0:00:00.599) 0:02:33.924 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 17:38:01 +0000 (0:00:00.391) 0:02:34.316 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 17:38:01 +0000 (0:00:00.023) 0:02:34.339 ********* ok: [/cache/rhel-8.qcow2] META: role_complete for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/tests_resize.yml:233 Thursday 21 July 2022 17:38:02 +0000 (0:00:00.996) 0:02:35.336 ********* included: /tmp/tmpw6dixrb5/tests/verify-role-results.yml for /cache/rhel-8.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:1 Thursday 21 July 2022 17:38:02 +0000 (0:00:00.041) 0:02:35.378 ********* ok: [/cache/rhel-8.qcow2] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "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/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:6 Thursday 21 July 2022 17:38:03 +0000 (0:00:00.119) 0:02:35.498 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:14 Thursday 21 July 2022 17:38:03 +0000 (0:00:00.031) 0:02:35.529 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "ext3", "label": "", "name": "/dev/mapper/foo-test1", "size": "5G", "type": "lvm", "uuid": "781b9d3a-b6f9-4e9f-aab3-f19b7b1abd80" }, "/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": "LVM2_member", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "ciUta4-EX3e-QiFj-HBvs-eWpg-5SEF-CYiGk4" }, "/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-17-35-15-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "vfat", "label": "", "name": "/dev/vda2", "size": "100M", "type": "partition", "uuid": "7B77-95E7" }, "/dev/vda3": { "fstype": "xfs", "label": "root", "name": "/dev/vda3", "size": "9.9G", "type": "partition", "uuid": "853ae189-b3fe-4a45-8485-75bbb1421bbe" }, "/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/tmpw6dixrb5/tests/verify-role-results.yml:19 Thursday 21 July 2022 17:38:03 +0000 (0:00:00.363) 0:02:35.892 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002290", "end": "2022-07-21 13:38:03.838975", "rc": 0, "start": "2022-07-21 13:38:03.836685" } STDOUT: UUID=853ae189-b3fe-4a45-8485-75bbb1421bbe / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 /dev/mapper/foo-test1 /opt/test1 ext3 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:24 Thursday 21 July 2022 17:38:03 +0000 (0:00:00.354) 0:02:36.247 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002879", "end": "2022-07-21 13:38:04.200008", "failed_when_result": false, "rc": 1, "start": "2022-07-21 13:38:04.197129" } STDERR: cat: /etc/crypttab: No such file or directory MSG: non-zero return code TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:33 Thursday 21 July 2022 17:38:04 +0000 (0:00:00.364) 0:02:36.612 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-pool.yml for /cache/rhel-8.qcow2 => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-pool.yml:5 Thursday 21 July 2022 17:38:04 +0000 (0:00:00.050) 0:02:36.663 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool.yml:18 Thursday 21 July 2022 17:38:04 +0000 (0:00:00.038) 0:02:36.701 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml for /cache/rhel-8.qcow2 => (item=members) included: /tmp/tmpw6dixrb5/tests/test-verify-pool-volumes.yml for /cache/rhel-8.qcow2 => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:1 Thursday 21 July 2022 17:38:04 +0000 (0:00:00.046) 0:02:36.748 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/sda" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 17:38:04 +0000 (0:00:00.047) 0:02:36.796 ********* ok: [/cache/rhel-8.qcow2] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda", "pv": "/dev/sda" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 17:38:04 +0000 (0:00:00.361) 0:02:37.157 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 17:38:04 +0000 (0:00:00.042) 0:02:37.199 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 17:38:04 +0000 (0:00:00.044) 0:02:37.244 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 17:38:04 +0000 (0:00:00.040) 0:02:37.285 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 17:38:04 +0000 (0:00:00.040) 0:02:37.325 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 17:38:04 +0000 (0:00:00.045) 0:02:37.371 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:46 Thursday 21 July 2022 17:38:04 +0000 (0:00:00.027) 0:02:37.399 ********* ok: [/cache/rhel-8.qcow2] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 17:38:04 +0000 (0:00:00.043) 0:02:37.442 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml for /cache/rhel-8.qcow2 TASK [get information about RAID] ********************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:6 Thursday 21 July 2022 17:38:05 +0000 (0:00:00.043) 0:02:37.486 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:12 Thursday 21 July 2022 17:38:05 +0000 (0:00:00.026) 0:02:37.512 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:16 Thursday 21 July 2022 17:38:05 +0000 (0:00:00.024) 0:02:37.537 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:20 Thursday 21 July 2022 17:38:05 +0000 (0:00:00.024) 0:02:37.561 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:24 Thursday 21 July 2022 17:38:05 +0000 (0:00:00.024) 0:02:37.586 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:30 Thursday 21 July 2022 17:38:05 +0000 (0:00:00.078) 0:02:37.664 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:36 Thursday 21 July 2022 17:38:05 +0000 (0:00:00.025) 0:02:37.690 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:44 Thursday 21 July 2022 17:38:05 +0000 (0:00:00.025) 0:02:37.716 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:59 Thursday 21 July 2022 17:38:05 +0000 (0:00:00.035) 0:02:37.752 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-lvmraid.yml for /cache/rhel-8.qcow2 TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 17:38:05 +0000 (0:00:00.046) 0:02:37.798 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 17:38:05 +0000 (0:00:00.043) 0:02:37.842 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 17:38:05 +0000 (0:00:00.031) 0:02:37.874 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 17:38:05 +0000 (0:00:00.028) 0:02:37.903 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 17:38:05 +0000 (0:00:00.028) 0:02:37.931 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-thin.yml for /cache/rhel-8.qcow2 TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-thin.yml:1 Thursday 21 July 2022 17:38:05 +0000 (0:00:00.048) 0:02:37.980 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 17:38:05 +0000 (0:00:00.043) 0:02:38.023 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 17:38:05 +0000 (0:00:00.026) 0:02:38.049 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 17:38:05 +0000 (0:00:00.025) 0:02:38.075 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 17:38:05 +0000 (0:00:00.024) 0:02:38.100 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 17:38:05 +0000 (0:00:00.025) 0:02:38.126 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml for /cache/rhel-8.qcow2 TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 17:38:05 +0000 (0:00:00.053) 0:02:38.179 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 17:38:05 +0000 (0:00:00.041) 0:02:38.221 ********* skipping: [/cache/rhel-8.qcow2] => (item=/dev/sda) => { "_storage_test_pool_member_path": "/dev/sda", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 17:38:05 +0000 (0:00:00.029) 0:02:38.250 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml for /cache/rhel-8.qcow2 => (item=/dev/sda) TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 17:38:05 +0000 (0:00:00.048) 0:02:38.299 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:6 Thursday 21 July 2022 17:38:05 +0000 (0:00:00.041) 0:02:38.340 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:11 Thursday 21 July 2022 17:38:05 +0000 (0:00:00.041) 0:02:38.382 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:17 Thursday 21 July 2022 17:38:05 +0000 (0:00:00.028) 0:02:38.410 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:23 Thursday 21 July 2022 17:38:05 +0000 (0:00:00.026) 0:02:38.437 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:29 Thursday 21 July 2022 17:38:06 +0000 (0:00:00.027) 0:02:38.464 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 17:38:06 +0000 (0:00:00.038) 0:02:38.503 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 17:38:06 +0000 (0:00:00.037) 0:02:38.541 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-vdo.yml for /cache/rhel-8.qcow2 TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 17:38:06 +0000 (0:00:00.046) 0:02:38.587 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 17:38:06 +0000 (0:00:00.044) 0:02:38.632 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 17:38:06 +0000 (0:00:00.023) 0:02:38.655 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 17:38:06 +0000 (0:00:00.022) 0:02:38.677 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 17:38:06 +0000 (0:00:00.024) 0:02:38.702 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 17:38:06 +0000 (0:00:00.026) 0:02:38.729 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 17:38:06 +0000 (0:00:00.023) 0:02:38.752 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 17:38:06 +0000 (0:00:00.024) 0:02:38.777 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 17:38:06 +0000 (0:00:00.025) 0:02:38.802 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 17:38:06 +0000 (0:00:00.116) 0:02:38.918 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 17:38:06 +0000 (0:00:00.035) 0:02:38.954 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml:2 Thursday 21 July 2022 17:38:06 +0000 (0:00:00.040) 0:02:38.994 ********* ok: [/cache/rhel-8.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/tmpw6dixrb5/tests/test-verify-volume.yml:10 Thursday 21 July 2022 17:38:06 +0000 (0:00:00.038) 0:02:39.033 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml for /cache/rhel-8.qcow2 => (item=mount) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml for /cache/rhel-8.qcow2 => (item=fstab) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-fs.yml for /cache/rhel-8.qcow2 => (item=fs) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml for /cache/rhel-8.qcow2 => (item=device) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml for /cache/rhel-8.qcow2 => (item=encryption) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml for /cache/rhel-8.qcow2 => (item=md) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml for /cache/rhel-8.qcow2 => (item=size) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml for /cache/rhel-8.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 17:38:06 +0000 (0:00:00.080) 0:02:39.114 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 17:38:06 +0000 (0:00:00.049) 0:02:39.163 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 1205649, "block_size": 4096, "block_total": 1273760, "block_used": 68111, "device": "/dev/mapper/foo-test1", "fstype": "ext3", "inode_available": 327669, "inode_total": 327680, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 4938338304, "size_total": 5217320960, "uuid": "781b9d3a-b6f9-4e9f-aab3-f19b7b1abd80" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 1205649, "block_size": 4096, "block_total": 1273760, "block_used": 68111, "device": "/dev/mapper/foo-test1", "fstype": "ext3", "inode_available": 327669, "inode_total": 327680, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 4938338304, "size_total": 5217320960, "uuid": "781b9d3a-b6f9-4e9f-aab3-f19b7b1abd80" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 17:38:06 +0000 (0:00:00.052) 0:02:39.216 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 17:38:06 +0000 (0:00:00.041) 0:02:39.257 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 17:38:06 +0000 (0:00:00.037) 0:02:39.295 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 17:38:06 +0000 (0:00:00.041) 0:02:39.336 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 17:38:06 +0000 (0:00:00.027) 0:02:39.363 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 17:38:06 +0000 (0:00:00.028) 0:02:39.392 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 17:38:06 +0000 (0:00:00.029) 0:02:39.421 ********* ok: [/cache/rhel-8.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/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 17:38:07 +0000 (0:00:00.041) 0:02:39.463 ********* ok: [/cache/rhel-8.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": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 ext3 defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 17:38:07 +0000 (0:00:00.059) 0:02:39.522 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 17:38:07 +0000 (0:00:00.039) 0:02:39.562 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 17:38:07 +0000 (0:00:00.043) 0:02:39.605 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 17:38:07 +0000 (0:00:00.027) 0:02:39.632 ********* ok: [/cache/rhel-8.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/tmpw6dixrb5/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 17:38:07 +0000 (0:00:00.042) 0:02:39.674 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 17:38:07 +0000 (0:00:00.041) 0:02:39.716 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 17:38:07 +0000 (0:00:00.042) 0:02:39.758 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1658425079.5659542, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658425079.5659542, "dev": 6, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 122924, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658425079.5659542, "nlink": 1, "path": "/dev/mapper/foo-test1", "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/tmpw6dixrb5/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 17:38:07 +0000 (0:00:00.359) 0:02:40.117 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 17:38:07 +0000 (0:00:00.041) 0:02:40.159 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 17:38:07 +0000 (0:00:00.041) 0:02:40.200 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 17:38:07 +0000 (0:00:00.039) 0:02:40.239 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 17:38:07 +0000 (0:00:00.024) 0:02:40.264 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 17:38:07 +0000 (0:00:00.042) 0:02:40.306 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 17:38:07 +0000 (0:00:00.024) 0:02:40.331 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 17:38:09 +0000 (0:00:01.270) 0:02:41.602 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 17:38:09 +0000 (0:00:00.023) 0:02:41.626 ********* skipping: [/cache/rhel-8.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/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 17:38:09 +0000 (0:00:00.062) 0:02:41.689 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 17:38:09 +0000 (0:00:00.040) 0:02:41.729 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 17:38:09 +0000 (0:00:00.023) 0:02:41.753 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 17:38:09 +0000 (0:00:00.022) 0:02:41.776 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 17:38:09 +0000 (0:00:00.025) 0:02:41.801 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 17:38:09 +0000 (0:00:00.026) 0:02:41.827 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 17:38:09 +0000 (0:00:00.023) 0:02:41.851 ********* ok: [/cache/rhel-8.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/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 17:38:09 +0000 (0:00:00.040) 0:02:41.891 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 17:38:09 +0000 (0:00:00.043) 0:02:41.935 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 17:38:09 +0000 (0:00:00.024) 0:02:41.959 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 17:38:09 +0000 (0:00:00.023) 0:02:41.983 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 17:38:09 +0000 (0:00:00.023) 0:02:42.007 ********* ok: [/cache/rhel-8.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/tmpw6dixrb5/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 17:38:09 +0000 (0:00:00.037) 0:02:42.044 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 17:38:09 +0000 (0:00:00.029) 0:02:42.074 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 17:38:09 +0000 (0:00:00.028) 0:02:42.102 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 17:38:09 +0000 (0:00:00.027) 0:02:42.130 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 17:38:09 +0000 (0:00:00.026) 0:02:42.156 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 17:38:09 +0000 (0:00:00.024) 0:02:42.180 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 17:38:09 +0000 (0:00:00.024) 0:02:42.205 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 17:38:09 +0000 (0:00:00.025) 0:02:42.230 ********* ok: [/cache/rhel-8.qcow2] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 17:38:10 +0000 (0:00:00.380) 0:02:42.611 ********* ok: [/cache/rhel-8.qcow2] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 17:38:10 +0000 (0:00:00.383) 0:02:42.994 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_expected_size": "5368709120" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 17:38:10 +0000 (0:00:00.040) 0:02:43.035 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "5368709120" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 17:38:10 +0000 (0:00:00.041) 0:02:43.076 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 17:38:10 +0000 (0:00:00.032) 0:02:43.109 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 17:38:10 +0000 (0:00:00.029) 0:02:43.138 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 17:38:10 +0000 (0:00:00.027) 0:02:43.165 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 17:38:10 +0000 (0:00:00.030) 0:02:43.196 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 17:38:10 +0000 (0:00:00.031) 0:02:43.228 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_actual_size": { "bytes": 5368709120, "changed": false, "failed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 17:38:10 +0000 (0:00:00.039) 0:02:43.267 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "5368709120" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 17:38:10 +0000 (0:00:00.042) 0:02:43.309 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 17:38:10 +0000 (0:00:00.046) 0:02:43.356 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.033756", "end": "2022-07-21 13:38:11.354303", "rc": 0, "start": "2022-07-21 13:38:11.320547" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 17:38:11 +0000 (0:00:00.408) 0:02:43.764 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 17:38:11 +0000 (0:00:00.043) 0:02:43.807 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 17:38:11 +0000 (0:00:00.044) 0:02:43.852 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 17:38:11 +0000 (0:00:00.030) 0:02:43.883 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 17:38:11 +0000 (0:00:00.029) 0:02:43.912 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 17:38:11 +0000 (0:00:00.028) 0:02:43.940 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml:16 Thursday 21 July 2022 17:38:11 +0000 (0:00:00.027) 0:02:43.968 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:43 Thursday 21 July 2022 17:38:11 +0000 (0:00:00.039) 0:02:44.007 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:53 Thursday 21 July 2022 17:38:11 +0000 (0:00:00.022) 0:02:44.030 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Change volume size to "9g"] ********************************************** task path: /tmp/tmpw6dixrb5/tests/tests_resize.yml:235 Thursday 21 July 2022 17:38:11 +0000 (0:00:00.041) 0:02:44.072 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 17:38:11 +0000 (0:00:00.059) 0:02:44.131 ********* included: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 17:38:11 +0000 (0:00:00.037) 0:02:44.169 ********* ok: [/cache/rhel-8.qcow2] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 17:38:12 +0000 (0:00:00.544) 0:02:44.713 ********* skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8.qcow2] => (item=RedHat_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.6.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/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 17:38:12 +0000 (0:00:00.064) 0:02:44.777 ********* ok: [/cache/rhel-8.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/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 17:38:12 +0000 (0:00:00.032) 0:02:44.810 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 17:38:12 +0000 (0:00:00.036) 0:02:44.847 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 17:38:12 +0000 (0:00:00.046) 0:02:44.894 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 17:38:12 +0000 (0:00:00.019) 0:02:44.913 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 17:38:12 +0000 (0:00:00.025) 0:02:44.939 ********* ok: [/cache/rhel-8.qcow2] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "type": "lvm", "volumes": [ { "fs_type": "ext3", "mount_point": "/opt/test1", "name": "test1", "size": "9g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 17:38:12 +0000 (0:00:00.037) 0:02:44.977 ********* ok: [/cache/rhel-8.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 17:38:12 +0000 (0:00:00.032) 0:02:45.010 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 17:38:12 +0000 (0:00:00.028) 0:02:45.038 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 17:38:12 +0000 (0:00:00.029) 0:02:45.068 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 17:38:12 +0000 (0:00:00.033) 0:02:45.101 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 17:38:12 +0000 (0:00:00.029) 0:02:45.130 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 17:38:12 +0000 (0:00:00.045) 0:02:45.176 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 17:38:12 +0000 (0:00:00.020) 0:02:45.196 ********* changed: [/cache/rhel-8.qcow2] => { "actions": [ { "action": "resize device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "resize format", "device": "/dev/mapper/foo-test1", "fs_type": "ext3" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/mapper/foo-test1", "/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/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "lvm2", "e2fsprogs", "dosfstools", "xfsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "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/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "9g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 17:38:14 +0000 (0:00:02.011) 0:02:47.208 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 17:38:14 +0000 (0:00:00.028) 0:02:47.236 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 17:38:14 +0000 (0:00:00.023) 0:02:47.260 ********* ok: [/cache/rhel-8.qcow2] => { "blivet_output": { "actions": [ { "action": "resize device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "resize format", "device": "/dev/mapper/foo-test1", "fs_type": "ext3" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/mapper/foo-test1", "/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/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "lvm2", "e2fsprogs", "dosfstools", "xfsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "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/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "9g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 17:38:14 +0000 (0:00:00.041) 0:02:47.301 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "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/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "9g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 17:38:14 +0000 (0:00:00.040) 0:02:47.342 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 17:38:14 +0000 (0:00:00.040) 0:02:47.383 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 17:38:14 +0000 (0:00:00.028) 0:02:47.412 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 17:38:15 +0000 (0:00:00.622) 0:02:48.035 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-8.qcow2] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': 'ext3', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "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/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 17:38:16 +0000 (0:00:00.421) 0:02:48.456 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 17:38:16 +0000 (0:00:00.606) 0:02:49.063 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 17:38:16 +0000 (0:00:00.380) 0:02:49.444 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 17:38:17 +0000 (0:00:00.022) 0:02:49.466 ********* ok: [/cache/rhel-8.qcow2] META: role_complete for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/tests_resize.yml:249 Thursday 21 July 2022 17:38:17 +0000 (0:00:00.951) 0:02:50.418 ********* included: /tmp/tmpw6dixrb5/tests/verify-role-results.yml for /cache/rhel-8.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:1 Thursday 21 July 2022 17:38:18 +0000 (0:00:00.045) 0:02:50.463 ********* ok: [/cache/rhel-8.qcow2] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "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/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "9g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:6 Thursday 21 July 2022 17:38:18 +0000 (0:00:00.082) 0:02:50.546 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:14 Thursday 21 July 2022 17:38:18 +0000 (0:00:00.026) 0:02:50.573 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "ext3", "label": "", "name": "/dev/mapper/foo-test1", "size": "9G", "type": "lvm", "uuid": "781b9d3a-b6f9-4e9f-aab3-f19b7b1abd80" }, "/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": "LVM2_member", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "ciUta4-EX3e-QiFj-HBvs-eWpg-5SEF-CYiGk4" }, "/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-17-35-15-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "vfat", "label": "", "name": "/dev/vda2", "size": "100M", "type": "partition", "uuid": "7B77-95E7" }, "/dev/vda3": { "fstype": "xfs", "label": "root", "name": "/dev/vda3", "size": "9.9G", "type": "partition", "uuid": "853ae189-b3fe-4a45-8485-75bbb1421bbe" }, "/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/tmpw6dixrb5/tests/verify-role-results.yml:19 Thursday 21 July 2022 17:38:18 +0000 (0:00:00.367) 0:02:50.940 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002266", "end": "2022-07-21 13:38:18.944690", "rc": 0, "start": "2022-07-21 13:38:18.942424" } STDOUT: UUID=853ae189-b3fe-4a45-8485-75bbb1421bbe / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 /dev/mapper/foo-test1 /opt/test1 ext3 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:24 Thursday 21 July 2022 17:38:18 +0000 (0:00:00.415) 0:02:51.356 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003165", "end": "2022-07-21 13:38:19.371275", "failed_when_result": false, "rc": 1, "start": "2022-07-21 13:38:19.368110" } STDERR: cat: /etc/crypttab: No such file or directory MSG: non-zero return code TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:33 Thursday 21 July 2022 17:38:19 +0000 (0:00:00.433) 0:02:51.789 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-pool.yml for /cache/rhel-8.qcow2 => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '9g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-pool.yml:5 Thursday 21 July 2022 17:38:19 +0000 (0:00:00.053) 0:02:51.843 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool.yml:18 Thursday 21 July 2022 17:38:19 +0000 (0:00:00.102) 0:02:51.946 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml for /cache/rhel-8.qcow2 => (item=members) included: /tmp/tmpw6dixrb5/tests/test-verify-pool-volumes.yml for /cache/rhel-8.qcow2 => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:1 Thursday 21 July 2022 17:38:19 +0000 (0:00:00.043) 0:02:51.990 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/sda" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 17:38:19 +0000 (0:00:00.042) 0:02:52.033 ********* ok: [/cache/rhel-8.qcow2] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda", "pv": "/dev/sda" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 17:38:19 +0000 (0:00:00.405) 0:02:52.439 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 17:38:20 +0000 (0:00:00.039) 0:02:52.478 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 17:38:20 +0000 (0:00:00.040) 0:02:52.519 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 17:38:20 +0000 (0:00:00.038) 0:02:52.558 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 17:38:20 +0000 (0:00:00.036) 0:02:52.594 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 17:38:20 +0000 (0:00:00.040) 0:02:52.634 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:46 Thursday 21 July 2022 17:38:20 +0000 (0:00:00.024) 0:02:52.658 ********* ok: [/cache/rhel-8.qcow2] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 17:38:20 +0000 (0:00:00.044) 0:02:52.703 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml for /cache/rhel-8.qcow2 TASK [get information about RAID] ********************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:6 Thursday 21 July 2022 17:38:20 +0000 (0:00:00.041) 0:02:52.744 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:12 Thursday 21 July 2022 17:38:20 +0000 (0:00:00.022) 0:02:52.767 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:16 Thursday 21 July 2022 17:38:20 +0000 (0:00:00.022) 0:02:52.789 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:20 Thursday 21 July 2022 17:38:20 +0000 (0:00:00.026) 0:02:52.816 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:24 Thursday 21 July 2022 17:38:20 +0000 (0:00:00.027) 0:02:52.843 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:30 Thursday 21 July 2022 17:38:20 +0000 (0:00:00.025) 0:02:52.869 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:36 Thursday 21 July 2022 17:38:20 +0000 (0:00:00.026) 0:02:52.895 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:44 Thursday 21 July 2022 17:38:20 +0000 (0:00:00.024) 0:02:52.920 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:59 Thursday 21 July 2022 17:38:20 +0000 (0:00:00.036) 0:02:52.957 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-lvmraid.yml for /cache/rhel-8.qcow2 TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 17:38:20 +0000 (0:00:00.044) 0:02:53.001 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '9g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 17:38:20 +0000 (0:00:00.046) 0:02:53.048 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 17:38:20 +0000 (0:00:00.030) 0:02:53.078 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 17:38:20 +0000 (0:00:00.029) 0:02:53.107 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 17:38:20 +0000 (0:00:00.027) 0:02:53.135 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-thin.yml for /cache/rhel-8.qcow2 TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-thin.yml:1 Thursday 21 July 2022 17:38:20 +0000 (0:00:00.047) 0:02:53.183 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '9g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 17:38:20 +0000 (0:00:00.045) 0:02:53.228 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 17:38:20 +0000 (0:00:00.027) 0:02:53.255 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 17:38:20 +0000 (0:00:00.025) 0:02:53.281 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 17:38:20 +0000 (0:00:00.024) 0:02:53.305 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 17:38:20 +0000 (0:00:00.023) 0:02:53.328 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml for /cache/rhel-8.qcow2 TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 17:38:20 +0000 (0:00:00.081) 0:02:53.410 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 17:38:21 +0000 (0:00:00.041) 0:02:53.451 ********* skipping: [/cache/rhel-8.qcow2] => (item=/dev/sda) => { "_storage_test_pool_member_path": "/dev/sda", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 17:38:21 +0000 (0:00:00.030) 0:02:53.481 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml for /cache/rhel-8.qcow2 => (item=/dev/sda) TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 17:38:21 +0000 (0:00:00.044) 0:02:53.526 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:6 Thursday 21 July 2022 17:38:21 +0000 (0:00:00.041) 0:02:53.568 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:11 Thursday 21 July 2022 17:38:21 +0000 (0:00:00.039) 0:02:53.608 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:17 Thursday 21 July 2022 17:38:21 +0000 (0:00:00.028) 0:02:53.636 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:23 Thursday 21 July 2022 17:38:21 +0000 (0:00:00.025) 0:02:53.662 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:29 Thursday 21 July 2022 17:38:21 +0000 (0:00:00.027) 0:02:53.690 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 17:38:21 +0000 (0:00:00.037) 0:02:53.728 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 17:38:21 +0000 (0:00:00.037) 0:02:53.765 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-vdo.yml for /cache/rhel-8.qcow2 TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 17:38:21 +0000 (0:00:00.045) 0:02:53.810 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '9g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 17:38:21 +0000 (0:00:00.045) 0:02:53.856 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 17:38:21 +0000 (0:00:00.022) 0:02:53.879 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 17:38:21 +0000 (0:00:00.023) 0:02:53.902 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 17:38:21 +0000 (0:00:00.026) 0:02:53.928 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 17:38:21 +0000 (0:00:00.025) 0:02:53.954 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 17:38:21 +0000 (0:00:00.024) 0:02:53.978 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 17:38:21 +0000 (0:00:00.027) 0:02:54.006 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 17:38:21 +0000 (0:00:00.030) 0:02:54.036 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 17:38:21 +0000 (0:00:00.041) 0:02:54.077 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 17:38:21 +0000 (0:00:00.047) 0:02:54.124 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '9g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml:2 Thursday 21 July 2022 17:38:21 +0000 (0:00:00.047) 0:02:54.172 ********* ok: [/cache/rhel-8.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/tmpw6dixrb5/tests/test-verify-volume.yml:10 Thursday 21 July 2022 17:38:21 +0000 (0:00:00.041) 0:02:54.214 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml for /cache/rhel-8.qcow2 => (item=mount) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml for /cache/rhel-8.qcow2 => (item=fstab) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-fs.yml for /cache/rhel-8.qcow2 => (item=fs) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml for /cache/rhel-8.qcow2 => (item=device) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml for /cache/rhel-8.qcow2 => (item=encryption) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml for /cache/rhel-8.qcow2 => (item=md) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml for /cache/rhel-8.qcow2 => (item=size) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml for /cache/rhel-8.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 17:38:21 +0000 (0:00:00.076) 0:02:54.291 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 17:38:21 +0000 (0:00:00.043) 0:02:54.334 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 2185028, "block_size": 4096, "block_total": 2305886, "block_used": 120858, "device": "/dev/mapper/foo-test1", "fstype": "ext3", "inode_available": 589813, "inode_total": 589824, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 8949874688, "size_total": 9444909056, "uuid": "781b9d3a-b6f9-4e9f-aab3-f19b7b1abd80" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 2185028, "block_size": 4096, "block_total": 2305886, "block_used": 120858, "device": "/dev/mapper/foo-test1", "fstype": "ext3", "inode_available": 589813, "inode_total": 589824, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 8949874688, "size_total": 9444909056, "uuid": "781b9d3a-b6f9-4e9f-aab3-f19b7b1abd80" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 17:38:21 +0000 (0:00:00.049) 0:02:54.383 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 17:38:21 +0000 (0:00:00.044) 0:02:54.428 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 17:38:22 +0000 (0:00:00.040) 0:02:54.469 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 17:38:22 +0000 (0:00:00.043) 0:02:54.512 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 17:38:22 +0000 (0:00:00.025) 0:02:54.538 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 17:38:22 +0000 (0:00:00.025) 0:02:54.564 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 17:38:22 +0000 (0:00:00.024) 0:02:54.588 ********* ok: [/cache/rhel-8.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/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 17:38:22 +0000 (0:00:00.083) 0:02:54.672 ********* ok: [/cache/rhel-8.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": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 ext3 defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 17:38:22 +0000 (0:00:00.141) 0:02:54.813 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 17:38:22 +0000 (0:00:00.039) 0:02:54.852 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 17:38:22 +0000 (0:00:00.038) 0:02:54.891 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 17:38:22 +0000 (0:00:00.025) 0:02:54.916 ********* ok: [/cache/rhel-8.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/tmpw6dixrb5/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 17:38:22 +0000 (0:00:00.032) 0:02:54.948 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 17:38:22 +0000 (0:00:00.037) 0:02:54.986 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 17:38:22 +0000 (0:00:00.039) 0:02:55.026 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1658425094.7559543, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658425094.7559543, "dev": 6, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 122924, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658425094.7559543, "nlink": 1, "path": "/dev/mapper/foo-test1", "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/tmpw6dixrb5/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 17:38:22 +0000 (0:00:00.394) 0:02:55.420 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 17:38:23 +0000 (0:00:00.041) 0:02:55.462 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 17:38:23 +0000 (0:00:00.042) 0:02:55.505 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 17:38:23 +0000 (0:00:00.042) 0:02:55.547 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 17:38:23 +0000 (0:00:00.027) 0:02:55.574 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 17:38:23 +0000 (0:00:00.040) 0:02:55.614 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 17:38:23 +0000 (0:00:00.024) 0:02:55.639 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 17:38:24 +0000 (0:00:01.349) 0:02:56.988 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 17:38:24 +0000 (0:00:00.026) 0:02:57.015 ********* skipping: [/cache/rhel-8.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/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 17:38:24 +0000 (0:00:00.025) 0:02:57.040 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 17:38:24 +0000 (0:00:00.045) 0:02:57.086 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 17:38:24 +0000 (0:00:00.027) 0:02:57.114 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 17:38:24 +0000 (0:00:00.025) 0:02:57.139 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 17:38:24 +0000 (0:00:00.025) 0:02:57.164 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 17:38:24 +0000 (0:00:00.023) 0:02:57.187 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 17:38:24 +0000 (0:00:00.024) 0:02:57.211 ********* ok: [/cache/rhel-8.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/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 17:38:24 +0000 (0:00:00.042) 0:02:57.254 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 17:38:24 +0000 (0:00:00.039) 0:02:57.293 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 17:38:24 +0000 (0:00:00.027) 0:02:57.320 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 17:38:24 +0000 (0:00:00.033) 0:02:57.353 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 17:38:24 +0000 (0:00:00.024) 0:02:57.378 ********* ok: [/cache/rhel-8.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/tmpw6dixrb5/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 17:38:24 +0000 (0:00:00.034) 0:02:57.412 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 17:38:24 +0000 (0:00:00.025) 0:02:57.438 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 17:38:25 +0000 (0:00:00.034) 0:02:57.473 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 17:38:25 +0000 (0:00:00.026) 0:02:57.499 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 17:38:25 +0000 (0:00:00.024) 0:02:57.523 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 17:38:25 +0000 (0:00:00.027) 0:02:57.551 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 17:38:25 +0000 (0:00:00.029) 0:02:57.581 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 17:38:25 +0000 (0:00:00.028) 0:02:57.609 ********* ok: [/cache/rhel-8.qcow2] => { "bytes": 9663676416, "changed": false, "lvm": "9g", "parted": "9GiB", "size": "9 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 17:38:25 +0000 (0:00:00.365) 0:02:57.975 ********* ok: [/cache/rhel-8.qcow2] => { "bytes": 9663676416, "changed": false, "lvm": "9g", "parted": "9GiB", "size": "9 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 17:38:25 +0000 (0:00:00.390) 0:02:58.365 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_expected_size": "9663676416" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 17:38:25 +0000 (0:00:00.040) 0:02:58.405 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "9663676416" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 17:38:26 +0000 (0:00:00.072) 0:02:58.478 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 17:38:26 +0000 (0:00:00.029) 0:02:58.508 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 17:38:26 +0000 (0:00:00.025) 0:02:58.533 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 17:38:26 +0000 (0:00:00.023) 0:02:58.557 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 17:38:26 +0000 (0:00:00.023) 0:02:58.581 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 17:38:26 +0000 (0:00:00.024) 0:02:58.605 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_actual_size": { "bytes": 9663676416, "changed": false, "failed": false, "lvm": "9g", "parted": "9GiB", "size": "9 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 17:38:26 +0000 (0:00:00.033) 0:02:58.639 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "9663676416" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 17:38:26 +0000 (0:00:00.071) 0:02:58.711 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 17:38:26 +0000 (0:00:00.140) 0:02:58.851 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.035716", "end": "2022-07-21 13:38:26.844501", "rc": 0, "start": "2022-07-21 13:38:26.808785" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 17:38:26 +0000 (0:00:00.408) 0:02:59.259 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 17:38:26 +0000 (0:00:00.044) 0:02:59.304 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 17:38:26 +0000 (0:00:00.050) 0:02:59.354 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 17:38:26 +0000 (0:00:00.031) 0:02:59.386 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 17:38:26 +0000 (0:00:00.032) 0:02:59.419 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 17:38:27 +0000 (0:00:00.031) 0:02:59.450 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml:16 Thursday 21 July 2022 17:38:27 +0000 (0:00:00.032) 0:02:59.482 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:43 Thursday 21 July 2022 17:38:27 +0000 (0:00:00.037) 0:02:59.520 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:53 Thursday 21 July 2022 17:38:27 +0000 (0:00:00.023) 0:02:59.543 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Change volume size to "5g"] ********************************************** task path: /tmp/tmpw6dixrb5/tests/tests_resize.yml:251 Thursday 21 July 2022 17:38:27 +0000 (0:00:00.038) 0:02:59.582 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 17:38:27 +0000 (0:00:00.054) 0:02:59.637 ********* included: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 17:38:27 +0000 (0:00:00.034) 0:02:59.672 ********* ok: [/cache/rhel-8.qcow2] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 17:38:27 +0000 (0:00:00.493) 0:03:00.165 ********* skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8.qcow2] => (item=RedHat_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.6.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/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 17:38:27 +0000 (0:00:00.059) 0:03:00.224 ********* ok: [/cache/rhel-8.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/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 17:38:27 +0000 (0:00:00.032) 0:03:00.257 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 17:38:27 +0000 (0:00:00.038) 0:03:00.296 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 17:38:27 +0000 (0:00:00.049) 0:03:00.346 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 17:38:27 +0000 (0:00:00.022) 0:03:00.368 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 17:38:27 +0000 (0:00:00.030) 0:03:00.399 ********* ok: [/cache/rhel-8.qcow2] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "type": "lvm", "volumes": [ { "fs_type": "ext3", "mount_point": "/opt/test1", "name": "test1", "size": "5g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 17:38:27 +0000 (0:00:00.035) 0:03:00.434 ********* ok: [/cache/rhel-8.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 17:38:28 +0000 (0:00:00.033) 0:03:00.468 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 17:38:28 +0000 (0:00:00.029) 0:03:00.498 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 17:38:28 +0000 (0:00:00.032) 0:03:00.530 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 17:38:28 +0000 (0:00:00.028) 0:03:00.559 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 17:38:28 +0000 (0:00:00.030) 0:03:00.589 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 17:38:28 +0000 (0:00:00.101) 0:03:00.690 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 17:38:28 +0000 (0:00:00.056) 0:03:00.747 ********* changed: [/cache/rhel-8.qcow2] => { "actions": [ { "action": "resize format", "device": "/dev/mapper/foo-test1", "fs_type": "ext3" }, { "action": "resize device", "device": "/dev/mapper/foo-test1", "fs_type": null } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/mapper/foo-test1", "/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/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "e2fsprogs", "dosfstools", "xfsprogs", "lvm2" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "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/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 17:38:30 +0000 (0:00:02.071) 0:03:02.818 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 17:38:30 +0000 (0:00:00.029) 0:03:02.848 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 17:38:30 +0000 (0:00:00.023) 0:03:02.871 ********* ok: [/cache/rhel-8.qcow2] => { "blivet_output": { "actions": [ { "action": "resize format", "device": "/dev/mapper/foo-test1", "fs_type": "ext3" }, { "action": "resize device", "device": "/dev/mapper/foo-test1", "fs_type": null } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/mapper/foo-test1", "/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/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "e2fsprogs", "dosfstools", "xfsprogs", "lvm2" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "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/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 17:38:30 +0000 (0:00:00.040) 0:03:02.911 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "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/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 17:38:30 +0000 (0:00:00.042) 0:03:02.953 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 17:38:30 +0000 (0:00:00.037) 0:03:02.991 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 17:38:30 +0000 (0:00:00.028) 0:03:03.020 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 17:38:31 +0000 (0:00:00.616) 0:03:03.636 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-8.qcow2] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': 'ext3', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "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/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 17:38:31 +0000 (0:00:00.403) 0:03:04.040 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 17:38:32 +0000 (0:00:00.607) 0:03:04.648 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 17:38:32 +0000 (0:00:00.360) 0:03:05.008 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 17:38:32 +0000 (0:00:00.028) 0:03:05.036 ********* ok: [/cache/rhel-8.qcow2] META: role_complete for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/tests_resize.yml:265 Thursday 21 July 2022 17:38:33 +0000 (0:00:00.994) 0:03:06.031 ********* included: /tmp/tmpw6dixrb5/tests/verify-role-results.yml for /cache/rhel-8.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:1 Thursday 21 July 2022 17:38:33 +0000 (0:00:00.048) 0:03:06.079 ********* ok: [/cache/rhel-8.qcow2] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "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/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:6 Thursday 21 July 2022 17:38:33 +0000 (0:00:00.096) 0:03:06.176 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:14 Thursday 21 July 2022 17:38:33 +0000 (0:00:00.031) 0:03:06.208 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "ext3", "label": "", "name": "/dev/mapper/foo-test1", "size": "5G", "type": "lvm", "uuid": "781b9d3a-b6f9-4e9f-aab3-f19b7b1abd80" }, "/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": "LVM2_member", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "ciUta4-EX3e-QiFj-HBvs-eWpg-5SEF-CYiGk4" }, "/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-17-35-15-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "vfat", "label": "", "name": "/dev/vda2", "size": "100M", "type": "partition", "uuid": "7B77-95E7" }, "/dev/vda3": { "fstype": "xfs", "label": "root", "name": "/dev/vda3", "size": "9.9G", "type": "partition", "uuid": "853ae189-b3fe-4a45-8485-75bbb1421bbe" }, "/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/tmpw6dixrb5/tests/verify-role-results.yml:19 Thursday 21 July 2022 17:38:34 +0000 (0:00:00.389) 0:03:06.597 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002604", "end": "2022-07-21 13:38:34.596253", "rc": 0, "start": "2022-07-21 13:38:34.593649" } STDOUT: UUID=853ae189-b3fe-4a45-8485-75bbb1421bbe / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 /dev/mapper/foo-test1 /opt/test1 ext3 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:24 Thursday 21 July 2022 17:38:34 +0000 (0:00:00.415) 0:03:07.012 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003379", "end": "2022-07-21 13:38:34.988985", "failed_when_result": false, "rc": 1, "start": "2022-07-21 13:38:34.985606" } STDERR: cat: /etc/crypttab: No such file or directory MSG: non-zero return code TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:33 Thursday 21 July 2022 17:38:34 +0000 (0:00:00.391) 0:03:07.403 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-pool.yml for /cache/rhel-8.qcow2 => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-pool.yml:5 Thursday 21 July 2022 17:38:35 +0000 (0:00:00.051) 0:03:07.454 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool.yml:18 Thursday 21 July 2022 17:38:35 +0000 (0:00:00.038) 0:03:07.492 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml for /cache/rhel-8.qcow2 => (item=members) included: /tmp/tmpw6dixrb5/tests/test-verify-pool-volumes.yml for /cache/rhel-8.qcow2 => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:1 Thursday 21 July 2022 17:38:35 +0000 (0:00:00.046) 0:03:07.539 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/sda" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 17:38:35 +0000 (0:00:00.048) 0:03:07.588 ********* ok: [/cache/rhel-8.qcow2] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda", "pv": "/dev/sda" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 17:38:35 +0000 (0:00:00.378) 0:03:07.967 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 17:38:35 +0000 (0:00:00.038) 0:03:08.006 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 17:38:35 +0000 (0:00:00.039) 0:03:08.045 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 17:38:35 +0000 (0:00:00.042) 0:03:08.087 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 17:38:35 +0000 (0:00:00.038) 0:03:08.126 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 17:38:35 +0000 (0:00:00.044) 0:03:08.170 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:46 Thursday 21 July 2022 17:38:35 +0000 (0:00:00.027) 0:03:08.197 ********* ok: [/cache/rhel-8.qcow2] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 17:38:35 +0000 (0:00:00.043) 0:03:08.241 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml for /cache/rhel-8.qcow2 TASK [get information about RAID] ********************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:6 Thursday 21 July 2022 17:38:35 +0000 (0:00:00.043) 0:03:08.284 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:12 Thursday 21 July 2022 17:38:35 +0000 (0:00:00.027) 0:03:08.311 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:16 Thursday 21 July 2022 17:38:35 +0000 (0:00:00.025) 0:03:08.337 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:20 Thursday 21 July 2022 17:38:35 +0000 (0:00:00.025) 0:03:08.362 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:24 Thursday 21 July 2022 17:38:35 +0000 (0:00:00.025) 0:03:08.388 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:30 Thursday 21 July 2022 17:38:35 +0000 (0:00:00.026) 0:03:08.414 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:36 Thursday 21 July 2022 17:38:35 +0000 (0:00:00.023) 0:03:08.437 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:44 Thursday 21 July 2022 17:38:36 +0000 (0:00:00.023) 0:03:08.460 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:59 Thursday 21 July 2022 17:38:36 +0000 (0:00:00.039) 0:03:08.499 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-lvmraid.yml for /cache/rhel-8.qcow2 TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 17:38:36 +0000 (0:00:00.046) 0:03:08.546 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 17:38:36 +0000 (0:00:00.043) 0:03:08.589 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 17:38:36 +0000 (0:00:00.029) 0:03:08.619 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 17:38:36 +0000 (0:00:00.028) 0:03:08.647 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 17:38:36 +0000 (0:00:00.028) 0:03:08.676 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-thin.yml for /cache/rhel-8.qcow2 TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-thin.yml:1 Thursday 21 July 2022 17:38:36 +0000 (0:00:00.046) 0:03:08.723 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 17:38:36 +0000 (0:00:00.043) 0:03:08.766 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 17:38:36 +0000 (0:00:00.024) 0:03:08.791 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 17:38:36 +0000 (0:00:00.066) 0:03:08.858 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 17:38:36 +0000 (0:00:00.025) 0:03:08.883 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 17:38:36 +0000 (0:00:00.025) 0:03:08.909 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml for /cache/rhel-8.qcow2 TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 17:38:36 +0000 (0:00:00.050) 0:03:08.959 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 17:38:36 +0000 (0:00:00.039) 0:03:08.999 ********* skipping: [/cache/rhel-8.qcow2] => (item=/dev/sda) => { "_storage_test_pool_member_path": "/dev/sda", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 17:38:36 +0000 (0:00:00.028) 0:03:09.027 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml for /cache/rhel-8.qcow2 => (item=/dev/sda) TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 17:38:36 +0000 (0:00:00.042) 0:03:09.070 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:6 Thursday 21 July 2022 17:38:36 +0000 (0:00:00.041) 0:03:09.111 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:11 Thursday 21 July 2022 17:38:36 +0000 (0:00:00.042) 0:03:09.153 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:17 Thursday 21 July 2022 17:38:36 +0000 (0:00:00.036) 0:03:09.190 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:23 Thursday 21 July 2022 17:38:36 +0000 (0:00:00.030) 0:03:09.221 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:29 Thursday 21 July 2022 17:38:36 +0000 (0:00:00.024) 0:03:09.246 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 17:38:36 +0000 (0:00:00.036) 0:03:09.282 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 17:38:36 +0000 (0:00:00.037) 0:03:09.319 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-vdo.yml for /cache/rhel-8.qcow2 TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 17:38:36 +0000 (0:00:00.046) 0:03:09.366 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 17:38:36 +0000 (0:00:00.054) 0:03:09.420 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 17:38:36 +0000 (0:00:00.026) 0:03:09.447 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 17:38:37 +0000 (0:00:00.023) 0:03:09.471 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 17:38:37 +0000 (0:00:00.026) 0:03:09.498 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 17:38:37 +0000 (0:00:00.028) 0:03:09.526 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 17:38:37 +0000 (0:00:00.026) 0:03:09.553 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 17:38:37 +0000 (0:00:00.026) 0:03:09.579 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 17:38:37 +0000 (0:00:00.026) 0:03:09.605 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 17:38:37 +0000 (0:00:00.040) 0:03:09.645 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 17:38:37 +0000 (0:00:00.035) 0:03:09.681 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml:2 Thursday 21 July 2022 17:38:37 +0000 (0:00:00.042) 0:03:09.723 ********* ok: [/cache/rhel-8.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/tmpw6dixrb5/tests/test-verify-volume.yml:10 Thursday 21 July 2022 17:38:37 +0000 (0:00:00.043) 0:03:09.767 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml for /cache/rhel-8.qcow2 => (item=mount) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml for /cache/rhel-8.qcow2 => (item=fstab) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-fs.yml for /cache/rhel-8.qcow2 => (item=fs) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml for /cache/rhel-8.qcow2 => (item=device) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml for /cache/rhel-8.qcow2 => (item=encryption) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml for /cache/rhel-8.qcow2 => (item=md) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml for /cache/rhel-8.qcow2 => (item=size) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml for /cache/rhel-8.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 17:38:37 +0000 (0:00:00.074) 0:03:09.841 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 17:38:37 +0000 (0:00:00.038) 0:03:09.879 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 1205650, "block_size": 4096, "block_total": 1273760, "block_used": 68110, "device": "/dev/mapper/foo-test1", "fstype": "ext3", "inode_available": 327669, "inode_total": 327680, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 4938342400, "size_total": 5217320960, "uuid": "781b9d3a-b6f9-4e9f-aab3-f19b7b1abd80" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 1205650, "block_size": 4096, "block_total": 1273760, "block_used": 68110, "device": "/dev/mapper/foo-test1", "fstype": "ext3", "inode_available": 327669, "inode_total": 327680, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 4938342400, "size_total": 5217320960, "uuid": "781b9d3a-b6f9-4e9f-aab3-f19b7b1abd80" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 17:38:37 +0000 (0:00:00.048) 0:03:09.928 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 17:38:37 +0000 (0:00:00.043) 0:03:09.971 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 17:38:37 +0000 (0:00:00.038) 0:03:10.009 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 17:38:37 +0000 (0:00:00.098) 0:03:10.107 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 17:38:37 +0000 (0:00:00.026) 0:03:10.134 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 17:38:37 +0000 (0:00:00.069) 0:03:10.203 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 17:38:37 +0000 (0:00:00.027) 0:03:10.230 ********* ok: [/cache/rhel-8.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/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 17:38:37 +0000 (0:00:00.038) 0:03:10.268 ********* ok: [/cache/rhel-8.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": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 ext3 defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 17:38:37 +0000 (0:00:00.052) 0:03:10.321 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 17:38:37 +0000 (0:00:00.039) 0:03:10.361 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 17:38:37 +0000 (0:00:00.038) 0:03:10.399 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 17:38:37 +0000 (0:00:00.026) 0:03:10.425 ********* ok: [/cache/rhel-8.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/tmpw6dixrb5/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 17:38:38 +0000 (0:00:00.040) 0:03:10.465 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 17:38:38 +0000 (0:00:00.039) 0:03:10.505 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 17:38:38 +0000 (0:00:00.042) 0:03:10.547 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1658425110.3349543, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658425110.3349543, "dev": 6, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 122924, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658425110.3349543, "nlink": 1, "path": "/dev/mapper/foo-test1", "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/tmpw6dixrb5/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 17:38:38 +0000 (0:00:00.378) 0:03:10.926 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 17:38:38 +0000 (0:00:00.037) 0:03:10.963 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 17:38:38 +0000 (0:00:00.035) 0:03:10.999 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 17:38:38 +0000 (0:00:00.033) 0:03:11.032 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 17:38:38 +0000 (0:00:00.024) 0:03:11.057 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 17:38:38 +0000 (0:00:00.042) 0:03:11.099 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 17:38:38 +0000 (0:00:00.023) 0:03:11.122 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 17:38:39 +0000 (0:00:01.220) 0:03:12.343 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 17:38:39 +0000 (0:00:00.025) 0:03:12.368 ********* skipping: [/cache/rhel-8.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/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 17:38:39 +0000 (0:00:00.023) 0:03:12.392 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 17:38:39 +0000 (0:00:00.042) 0:03:12.434 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 17:38:40 +0000 (0:00:00.028) 0:03:12.462 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 17:38:40 +0000 (0:00:00.026) 0:03:12.489 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 17:38:40 +0000 (0:00:00.028) 0:03:12.518 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 17:38:40 +0000 (0:00:00.028) 0:03:12.546 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 17:38:40 +0000 (0:00:00.025) 0:03:12.572 ********* ok: [/cache/rhel-8.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/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 17:38:40 +0000 (0:00:00.047) 0:03:12.619 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 17:38:40 +0000 (0:00:00.045) 0:03:12.665 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 17:38:40 +0000 (0:00:00.028) 0:03:12.693 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 17:38:40 +0000 (0:00:00.026) 0:03:12.719 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 17:38:40 +0000 (0:00:00.026) 0:03:12.746 ********* ok: [/cache/rhel-8.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/tmpw6dixrb5/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 17:38:40 +0000 (0:00:00.040) 0:03:12.786 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 17:38:40 +0000 (0:00:00.027) 0:03:12.814 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 17:38:40 +0000 (0:00:00.027) 0:03:12.841 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 17:38:40 +0000 (0:00:00.026) 0:03:12.867 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 17:38:40 +0000 (0:00:00.028) 0:03:12.896 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 17:38:40 +0000 (0:00:00.087) 0:03:12.983 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 17:38:40 +0000 (0:00:00.027) 0:03:13.011 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 17:38:40 +0000 (0:00:00.025) 0:03:13.036 ********* ok: [/cache/rhel-8.qcow2] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 17:38:40 +0000 (0:00:00.393) 0:03:13.430 ********* ok: [/cache/rhel-8.qcow2] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 17:38:41 +0000 (0:00:00.373) 0:03:13.804 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_expected_size": "5368709120" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 17:38:41 +0000 (0:00:00.042) 0:03:13.846 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "5368709120" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 17:38:41 +0000 (0:00:00.039) 0:03:13.886 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 17:38:41 +0000 (0:00:00.027) 0:03:13.914 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 17:38:41 +0000 (0:00:00.027) 0:03:13.942 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 17:38:41 +0000 (0:00:00.027) 0:03:13.969 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 17:38:41 +0000 (0:00:00.028) 0:03:13.998 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 17:38:41 +0000 (0:00:00.027) 0:03:14.025 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_actual_size": { "bytes": 5368709120, "changed": false, "failed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 17:38:41 +0000 (0:00:00.042) 0:03:14.067 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "5368709120" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 17:38:41 +0000 (0:00:00.043) 0:03:14.110 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 17:38:41 +0000 (0:00:00.045) 0:03:14.156 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.037032", "end": "2022-07-21 13:38:42.183052", "rc": 0, "start": "2022-07-21 13:38:42.146020" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 17:38:42 +0000 (0:00:00.444) 0:03:14.601 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 17:38:42 +0000 (0:00:00.040) 0:03:14.641 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 17:38:42 +0000 (0:00:00.041) 0:03:14.682 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 17:38:42 +0000 (0:00:00.025) 0:03:14.708 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 17:38:42 +0000 (0:00:00.025) 0:03:14.733 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 17:38:42 +0000 (0:00:00.026) 0:03:14.759 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml:16 Thursday 21 July 2022 17:38:42 +0000 (0:00:00.029) 0:03:14.789 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:43 Thursday 21 July 2022 17:38:42 +0000 (0:00:00.035) 0:03:14.825 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:53 Thursday 21 July 2022 17:38:42 +0000 (0:00:00.022) 0:03:14.847 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Clean up] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/tests_resize.yml:267 Thursday 21 July 2022 17:38:42 +0000 (0:00:00.036) 0:03:14.884 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 17:38:42 +0000 (0:00:00.060) 0:03:14.945 ********* included: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 17:38:42 +0000 (0:00:00.082) 0:03:15.028 ********* ok: [/cache/rhel-8.qcow2] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 17:38:43 +0000 (0:00:00.507) 0:03:15.535 ********* skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8.qcow2] => (item=RedHat_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.6.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/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 17:38:43 +0000 (0:00:00.063) 0:03:15.599 ********* ok: [/cache/rhel-8.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/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 17:38:43 +0000 (0:00:00.035) 0:03:15.634 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 17:38:43 +0000 (0:00:00.039) 0:03:15.673 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 17:38:43 +0000 (0:00:00.050) 0:03:15.724 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 17:38:43 +0000 (0:00:00.021) 0:03:15.746 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 17:38:43 +0000 (0:00:00.031) 0:03:15.777 ********* ok: [/cache/rhel-8.qcow2] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "state": "absent", "volumes": [ { "mount_point": "/opt/test1", "name": "test1", "size": "5g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 17:38:43 +0000 (0:00:00.040) 0:03:15.818 ********* ok: [/cache/rhel-8.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 17:38:43 +0000 (0:00:00.040) 0:03:15.858 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 17:38:43 +0000 (0:00:00.031) 0:03:15.890 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 17:38:43 +0000 (0:00:00.031) 0:03:15.921 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 17:38:43 +0000 (0:00:00.029) 0:03:15.951 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 17:38:43 +0000 (0:00:00.029) 0:03:15.980 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 17:38:43 +0000 (0:00:00.049) 0:03:16.029 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 17:38:43 +0000 (0:00:00.024) 0:03:16.053 ********* changed: [/cache/rhel-8.qcow2] => { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "ext3" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "lvmpv" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "fstype": "ext3", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" } ], "packages": [ "dosfstools", "xfsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "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/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 17:38:45 +0000 (0:00:01.806) 0:03:17.860 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 17:38:45 +0000 (0:00:00.028) 0:03:17.889 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 17:38:45 +0000 (0:00:00.022) 0:03:17.912 ********* ok: [/cache/rhel-8.qcow2] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "ext3" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "lvmpv" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "fstype": "ext3", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" } ], "packages": [ "dosfstools", "xfsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "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/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 17:38:45 +0000 (0:00:00.041) 0:03:17.953 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "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/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 17:38:45 +0000 (0:00:00.044) 0:03:17.998 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 17:38:45 +0000 (0:00:00.052) 0:03:18.051 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-8.qcow2] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'state': 'absent', '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/test1", "src": "/dev/mapper/foo-test1", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 17:38:46 +0000 (0:00:00.460) 0:03:18.511 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 17:38:46 +0000 (0:00:00.651) 0:03:19.162 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 17:38:46 +0000 (0:00:00.029) 0:03:19.192 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 17:38:47 +0000 (0:00:00.619) 0:03:19.811 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 17:38:47 +0000 (0:00:00.364) 0:03:20.176 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 17:38:47 +0000 (0:00:00.024) 0:03:20.200 ********* ok: [/cache/rhel-8.qcow2] META: role_complete for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/tests_resize.yml:280 Thursday 21 July 2022 17:38:48 +0000 (0:00:00.971) 0:03:21.171 ********* included: /tmp/tmpw6dixrb5/tests/verify-role-results.yml for /cache/rhel-8.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:1 Thursday 21 July 2022 17:38:48 +0000 (0:00:00.052) 0:03:21.224 ********* ok: [/cache/rhel-8.qcow2] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "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/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:6 Thursday 21 July 2022 17:38:48 +0000 (0:00:00.042) 0:03:21.267 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:14 Thursday 21 July 2022 17:38:48 +0000 (0:00:00.026) 0:03:21.294 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "info": { "/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-17-35-15-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "vfat", "label": "", "name": "/dev/vda2", "size": "100M", "type": "partition", "uuid": "7B77-95E7" }, "/dev/vda3": { "fstype": "xfs", "label": "root", "name": "/dev/vda3", "size": "9.9G", "type": "partition", "uuid": "853ae189-b3fe-4a45-8485-75bbb1421bbe" }, "/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/tmpw6dixrb5/tests/verify-role-results.yml:19 Thursday 21 July 2022 17:38:49 +0000 (0:00:00.377) 0:03:21.671 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002321", "end": "2022-07-21 13:38:49.613156", "rc": 0, "start": "2022-07-21 13:38:49.610835" } STDOUT: UUID=853ae189-b3fe-4a45-8485-75bbb1421bbe / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:24 Thursday 21 July 2022 17:38:49 +0000 (0:00:00.353) 0:03:22.025 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002321", "end": "2022-07-21 13:38:49.982522", "failed_when_result": false, "rc": 1, "start": "2022-07-21 13:38:49.980201" } STDERR: cat: /etc/crypttab: No such file or directory MSG: non-zero return code TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:33 Thursday 21 July 2022 17:38:49 +0000 (0:00:00.369) 0:03:22.394 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-pool.yml for /cache/rhel-8.qcow2 => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'absent', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-pool.yml:5 Thursday 21 July 2022 17:38:49 +0000 (0:00:00.050) 0:03:22.445 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool.yml:18 Thursday 21 July 2022 17:38:50 +0000 (0:00:00.037) 0:03:22.483 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml for /cache/rhel-8.qcow2 => (item=members) included: /tmp/tmpw6dixrb5/tests/test-verify-pool-volumes.yml for /cache/rhel-8.qcow2 => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:1 Thursday 21 July 2022 17:38:50 +0000 (0:00:00.047) 0:03:22.530 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_count": "0", "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 17:38:50 +0000 (0:00:00.081) 0:03:22.612 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 17:38:50 +0000 (0:00:00.024) 0:03:22.636 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": "0" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 17:38:50 +0000 (0:00:00.038) 0:03:22.675 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_pool_pvs": [] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 17:38:50 +0000 (0:00:00.081) 0:03:22.757 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 17:38:50 +0000 (0:00:00.082) 0:03:22.839 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 17:38:50 +0000 (0:00:00.080) 0:03:22.920 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 17:38:50 +0000 (0:00:00.040) 0:03:22.961 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:46 Thursday 21 July 2022 17:38:50 +0000 (0:00:00.026) 0:03:22.987 ********* TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 17:38:50 +0000 (0:00:00.024) 0:03:23.011 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml for /cache/rhel-8.qcow2 TASK [get information about RAID] ********************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:6 Thursday 21 July 2022 17:38:50 +0000 (0:00:00.041) 0:03:23.053 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:12 Thursday 21 July 2022 17:38:50 +0000 (0:00:00.025) 0:03:23.079 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:16 Thursday 21 July 2022 17:38:50 +0000 (0:00:00.025) 0:03:23.104 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:20 Thursday 21 July 2022 17:38:50 +0000 (0:00:00.024) 0:03:23.129 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:24 Thursday 21 July 2022 17:38:50 +0000 (0:00:00.025) 0:03:23.155 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:30 Thursday 21 July 2022 17:38:50 +0000 (0:00:00.025) 0:03:23.180 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:36 Thursday 21 July 2022 17:38:50 +0000 (0:00:00.028) 0:03:23.208 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:44 Thursday 21 July 2022 17:38:50 +0000 (0:00:00.035) 0:03:23.244 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:59 Thursday 21 July 2022 17:38:50 +0000 (0:00:00.040) 0:03:23.285 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-lvmraid.yml for /cache/rhel-8.qcow2 TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 17:38:50 +0000 (0:00:00.050) 0:03:23.335 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 17:38:50 +0000 (0:00:00.044) 0:03:23.380 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 17:38:50 +0000 (0:00:00.030) 0:03:23.411 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 17:38:50 +0000 (0:00:00.031) 0:03:23.442 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 17:38:51 +0000 (0:00:00.030) 0:03:23.473 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-thin.yml for /cache/rhel-8.qcow2 TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-thin.yml:1 Thursday 21 July 2022 17:38:51 +0000 (0:00:00.046) 0:03:23.520 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 17:38:51 +0000 (0:00:00.045) 0:03:23.566 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 17:38:51 +0000 (0:00:00.025) 0:03:23.591 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 17:38:51 +0000 (0:00:00.026) 0:03:23.617 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 17:38:51 +0000 (0:00:00.026) 0:03:23.644 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 17:38:51 +0000 (0:00:00.024) 0:03:23.669 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml for /cache/rhel-8.qcow2 TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 17:38:51 +0000 (0:00:00.047) 0:03:23.716 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 17:38:51 +0000 (0:00:00.043) 0:03:23.760 ********* TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 17:38:51 +0000 (0:00:00.023) 0:03:23.783 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 17:38:51 +0000 (0:00:00.022) 0:03:23.806 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 17:38:51 +0000 (0:00:00.037) 0:03:23.844 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-vdo.yml for /cache/rhel-8.qcow2 TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 17:38:51 +0000 (0:00:00.049) 0:03:23.894 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 17:38:51 +0000 (0:00:00.045) 0:03:23.939 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 17:38:51 +0000 (0:00:00.025) 0:03:23.964 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 17:38:51 +0000 (0:00:00.024) 0:03:23.989 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 17:38:51 +0000 (0:00:00.024) 0:03:24.014 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 17:38:51 +0000 (0:00:00.027) 0:03:24.041 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 17:38:51 +0000 (0:00:00.031) 0:03:24.072 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 17:38:51 +0000 (0:00:00.074) 0:03:24.147 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 17:38:51 +0000 (0:00:00.027) 0:03:24.174 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 17:38:51 +0000 (0:00:00.038) 0:03:24.213 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 17:38:51 +0000 (0:00:00.038) 0:03:24.251 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml:2 Thursday 21 July 2022 17:38:51 +0000 (0:00:00.043) 0:03:24.294 ********* ok: [/cache/rhel-8.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/tmpw6dixrb5/tests/test-verify-volume.yml:10 Thursday 21 July 2022 17:38:51 +0000 (0:00:00.041) 0:03:24.336 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml for /cache/rhel-8.qcow2 => (item=mount) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml for /cache/rhel-8.qcow2 => (item=fstab) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-fs.yml for /cache/rhel-8.qcow2 => (item=fs) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml for /cache/rhel-8.qcow2 => (item=device) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml for /cache/rhel-8.qcow2 => (item=encryption) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml for /cache/rhel-8.qcow2 => (item=md) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml for /cache/rhel-8.qcow2 => (item=size) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml for /cache/rhel-8.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 17:38:51 +0000 (0:00:00.082) 0:03:24.419 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 17:38:52 +0000 (0:00:00.045) 0:03:24.464 ********* ok: [/cache/rhel-8.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/tmpw6dixrb5/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 17:38:52 +0000 (0:00:00.044) 0:03:24.509 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 17:38:52 +0000 (0:00:00.026) 0:03:24.535 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 17:38:52 +0000 (0:00:00.042) 0:03:24.578 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 17:38:52 +0000 (0:00:00.032) 0:03:24.610 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 17:38:52 +0000 (0:00:00.024) 0:03:24.635 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 17:38:52 +0000 (0:00:00.024) 0:03:24.660 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 17:38:52 +0000 (0:00:00.025) 0:03:24.685 ********* ok: [/cache/rhel-8.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/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 17:38:52 +0000 (0:00:00.039) 0:03:24.725 ********* ok: [/cache/rhel-8.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/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 17:38:52 +0000 (0:00:00.051) 0:03:24.776 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 17:38:52 +0000 (0:00:00.024) 0:03:24.801 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 17:38:52 +0000 (0:00:00.042) 0:03:24.844 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 17:38:52 +0000 (0:00:00.028) 0:03:24.872 ********* ok: [/cache/rhel-8.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/tmpw6dixrb5/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 17:38:52 +0000 (0:00:00.035) 0:03:24.908 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 17:38:52 +0000 (0:00:00.025) 0:03:24.934 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 17:38:52 +0000 (0:00:00.024) 0:03:24.958 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 17:38:52 +0000 (0:00:00.389) 0:03:25.348 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 17:38:52 +0000 (0:00:00.041) 0:03:25.389 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 17:38:52 +0000 (0:00:00.024) 0:03:25.414 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 17:38:53 +0000 (0:00:00.038) 0:03:25.453 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 17:38:53 +0000 (0:00:00.027) 0:03:25.480 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 17:38:53 +0000 (0:00:00.025) 0:03:25.506 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 17:38:53 +0000 (0:00:00.025) 0:03:25.531 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 17:38:54 +0000 (0:00:01.226) 0:03:26.758 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 17:38:54 +0000 (0:00:00.031) 0:03:26.789 ********* skipping: [/cache/rhel-8.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/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 17:38:54 +0000 (0:00:00.026) 0:03:26.815 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 17:38:54 +0000 (0:00:00.023) 0:03:26.838 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 17:38:54 +0000 (0:00:00.021) 0:03:26.860 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 17:38:54 +0000 (0:00:00.022) 0:03:26.882 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 17:38:54 +0000 (0:00:00.023) 0:03:26.905 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 17:38:54 +0000 (0:00:00.025) 0:03:26.931 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 17:38:54 +0000 (0:00:00.030) 0:03:26.961 ********* ok: [/cache/rhel-8.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/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 17:38:54 +0000 (0:00:00.153) 0:03:27.114 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 17:38:54 +0000 (0:00:00.041) 0:03:27.156 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 17:38:54 +0000 (0:00:00.029) 0:03:27.186 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 17:38:54 +0000 (0:00:00.028) 0:03:27.214 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 17:38:54 +0000 (0:00:00.032) 0:03:27.246 ********* ok: [/cache/rhel-8.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/tmpw6dixrb5/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 17:38:54 +0000 (0:00:00.035) 0:03:27.282 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 17:38:54 +0000 (0:00:00.027) 0:03:27.309 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 17:38:54 +0000 (0:00:00.026) 0:03:27.336 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 17:38:54 +0000 (0:00:00.036) 0:03:27.373 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 17:38:54 +0000 (0:00:00.027) 0:03:27.400 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 17:38:54 +0000 (0:00:00.025) 0:03:27.426 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 17:38:55 +0000 (0:00:00.027) 0:03:27.453 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 17:38:55 +0000 (0:00:00.032) 0:03:27.486 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 17:38:55 +0000 (0:00:00.026) 0:03:27.512 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 17:38:55 +0000 (0:00:00.025) 0:03:27.538 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 17:38:55 +0000 (0:00:00.028) 0:03:27.567 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "5368709120" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 17:38:55 +0000 (0:00:00.041) 0:03:27.608 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 17:38:55 +0000 (0:00:00.029) 0:03:27.637 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 17:38:55 +0000 (0:00:00.029) 0:03:27.667 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 17:38:55 +0000 (0:00:00.028) 0:03:27.695 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 17:38:55 +0000 (0:00:00.031) 0:03:27.726 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 17:38:55 +0000 (0:00:00.028) 0:03:27.754 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 17:38:55 +0000 (0:00:00.039) 0:03:27.794 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "5368709120" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 17:38:55 +0000 (0:00:00.041) 0:03:27.836 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 17:38:55 +0000 (0:00:00.026) 0:03:27.862 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 17:38:55 +0000 (0:00:00.024) 0:03:27.887 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 17:38:55 +0000 (0:00:00.025) 0:03:27.913 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 17:38:55 +0000 (0:00:00.024) 0:03:27.937 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 17:38:55 +0000 (0:00:00.026) 0:03:27.963 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 17:38:55 +0000 (0:00:00.026) 0:03:27.990 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 17:38:55 +0000 (0:00:00.024) 0:03:28.014 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml:16 Thursday 21 July 2022 17:38:55 +0000 (0:00:00.023) 0:03:28.038 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:43 Thursday 21 July 2022 17:38:55 +0000 (0:00:00.037) 0:03:28.076 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:53 Thursday 21 July 2022 17:38:55 +0000 (0:00:00.022) 0:03:28.099 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Create a LVM logical volume with "5g" for ext2 FS] *********************** task path: /tmp/tmpw6dixrb5/tests/tests_resize.yml:284 Thursday 21 July 2022 17:38:55 +0000 (0:00:00.037) 0:03:28.136 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 17:38:55 +0000 (0:00:00.076) 0:03:28.213 ********* included: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 17:38:55 +0000 (0:00:00.037) 0:03:28.251 ********* ok: [/cache/rhel-8.qcow2] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 17:38:56 +0000 (0:00:00.554) 0:03:28.805 ********* skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8.qcow2] => (item=RedHat_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.6.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/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 17:38:56 +0000 (0:00:00.108) 0:03:28.914 ********* ok: [/cache/rhel-8.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/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 17:38:56 +0000 (0:00:00.082) 0:03:28.996 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 17:38:56 +0000 (0:00:00.036) 0:03:29.033 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 17:38:56 +0000 (0:00:00.097) 0:03:29.130 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 17:38:56 +0000 (0:00:00.022) 0:03:29.153 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 17:38:56 +0000 (0:00:00.030) 0:03:29.183 ********* ok: [/cache/rhel-8.qcow2] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "type": "lvm", "volumes": [ { "fs_type": "ext2", "mount_point": "/opt/test1", "name": "test1", "size": "5g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 17:38:56 +0000 (0:00:00.042) 0:03:29.226 ********* ok: [/cache/rhel-8.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 17:38:56 +0000 (0:00:00.042) 0:03:29.268 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 17:38:56 +0000 (0:00:00.029) 0:03:29.298 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 17:38:56 +0000 (0:00:00.028) 0:03:29.327 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 17:38:56 +0000 (0:00:00.029) 0:03:29.356 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 17:38:56 +0000 (0:00:00.030) 0:03:29.387 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 17:38:56 +0000 (0:00:00.053) 0:03:29.441 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 17:38:57 +0000 (0:00:00.023) 0:03:29.465 ********* changed: [/cache/rhel-8.qcow2] => { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "ext2" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd", "/dev/mapper/foo-test1" ], "mounts": [ { "dump": 0, "fstype": "ext2", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "lvm2", "dosfstools", "e2fsprogs", "xfsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "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": "ext2", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 17:38:58 +0000 (0:00:01.634) 0:03:31.099 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 17:38:58 +0000 (0:00:00.027) 0:03:31.127 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 17:38:58 +0000 (0:00:00.022) 0:03:31.149 ********* ok: [/cache/rhel-8.qcow2] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "ext2" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd", "/dev/mapper/foo-test1" ], "mounts": [ { "dump": 0, "fstype": "ext2", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "lvm2", "dosfstools", "e2fsprogs", "xfsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "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": "ext2", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 17:38:58 +0000 (0:00:00.041) 0:03:31.191 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "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": "ext2", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 17:38:58 +0000 (0:00:00.041) 0:03:31.232 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 17:38:58 +0000 (0:00:00.037) 0:03:31.270 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 17:38:58 +0000 (0:00:00.028) 0:03:31.298 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 17:38:59 +0000 (0:00:00.620) 0:03:31.919 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-8.qcow2] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': 'ext2', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext2", "mount_info": { "dump": 0, "fstype": "ext2", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 17:38:59 +0000 (0:00:00.400) 0:03:32.320 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 17:39:00 +0000 (0:00:00.602) 0:03:32.923 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 17:39:00 +0000 (0:00:00.372) 0:03:33.295 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 17:39:00 +0000 (0:00:00.023) 0:03:33.319 ********* ok: [/cache/rhel-8.qcow2] META: role_complete for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/tests_resize.yml:298 Thursday 21 July 2022 17:39:01 +0000 (0:00:00.959) 0:03:34.279 ********* included: /tmp/tmpw6dixrb5/tests/verify-role-results.yml for /cache/rhel-8.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:1 Thursday 21 July 2022 17:39:01 +0000 (0:00:00.059) 0:03:34.339 ********* ok: [/cache/rhel-8.qcow2] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "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": "ext2", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:6 Thursday 21 July 2022 17:39:02 +0000 (0:00:00.114) 0:03:34.453 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:14 Thursday 21 July 2022 17:39:02 +0000 (0:00:00.072) 0:03:34.526 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "ext2", "label": "", "name": "/dev/mapper/foo-test1", "size": "5G", "type": "lvm", "uuid": "9b494e42-43b2-4577-83b4-ed9a0b54f3ef" }, "/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": "LVM2_member", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "s7y95G-jdfu-zP4U-Wgaa-4oX9-DP1Y-6IRdPE" }, "/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-17-35-15-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "vfat", "label": "", "name": "/dev/vda2", "size": "100M", "type": "partition", "uuid": "7B77-95E7" }, "/dev/vda3": { "fstype": "xfs", "label": "root", "name": "/dev/vda3", "size": "9.9G", "type": "partition", "uuid": "853ae189-b3fe-4a45-8485-75bbb1421bbe" }, "/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/tmpw6dixrb5/tests/verify-role-results.yml:19 Thursday 21 July 2022 17:39:02 +0000 (0:00:00.372) 0:03:34.899 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003029", "end": "2022-07-21 13:39:02.876966", "rc": 0, "start": "2022-07-21 13:39:02.873937" } STDOUT: UUID=853ae189-b3fe-4a45-8485-75bbb1421bbe / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 /dev/mapper/foo-test1 /opt/test1 ext2 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:24 Thursday 21 July 2022 17:39:02 +0000 (0:00:00.395) 0:03:35.294 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002998", "end": "2022-07-21 13:39:03.271615", "failed_when_result": false, "rc": 1, "start": "2022-07-21 13:39:03.268617" } STDERR: cat: /etc/crypttab: No such file or directory MSG: non-zero return code TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:33 Thursday 21 July 2022 17:39:03 +0000 (0:00:00.391) 0:03:35.686 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-pool.yml for /cache/rhel-8.qcow2 => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-pool.yml:5 Thursday 21 July 2022 17:39:03 +0000 (0:00:00.051) 0:03:35.738 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool.yml:18 Thursday 21 July 2022 17:39:03 +0000 (0:00:00.039) 0:03:35.777 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml for /cache/rhel-8.qcow2 => (item=members) included: /tmp/tmpw6dixrb5/tests/test-verify-pool-volumes.yml for /cache/rhel-8.qcow2 => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:1 Thursday 21 July 2022 17:39:03 +0000 (0:00:00.047) 0:03:35.825 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/sda" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 17:39:03 +0000 (0:00:00.048) 0:03:35.874 ********* ok: [/cache/rhel-8.qcow2] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda", "pv": "/dev/sda" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 17:39:03 +0000 (0:00:00.383) 0:03:36.258 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 17:39:03 +0000 (0:00:00.042) 0:03:36.300 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 17:39:03 +0000 (0:00:00.043) 0:03:36.344 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 17:39:03 +0000 (0:00:00.040) 0:03:36.385 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 17:39:03 +0000 (0:00:00.039) 0:03:36.424 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 17:39:04 +0000 (0:00:00.040) 0:03:36.465 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:46 Thursday 21 July 2022 17:39:04 +0000 (0:00:00.026) 0:03:36.492 ********* ok: [/cache/rhel-8.qcow2] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 17:39:04 +0000 (0:00:00.043) 0:03:36.535 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml for /cache/rhel-8.qcow2 TASK [get information about RAID] ********************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:6 Thursday 21 July 2022 17:39:04 +0000 (0:00:00.042) 0:03:36.578 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:12 Thursday 21 July 2022 17:39:04 +0000 (0:00:00.026) 0:03:36.605 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:16 Thursday 21 July 2022 17:39:04 +0000 (0:00:00.024) 0:03:36.629 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:20 Thursday 21 July 2022 17:39:04 +0000 (0:00:00.025) 0:03:36.655 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:24 Thursday 21 July 2022 17:39:04 +0000 (0:00:00.025) 0:03:36.680 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:30 Thursday 21 July 2022 17:39:04 +0000 (0:00:00.029) 0:03:36.709 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:36 Thursday 21 July 2022 17:39:04 +0000 (0:00:00.025) 0:03:36.735 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:44 Thursday 21 July 2022 17:39:04 +0000 (0:00:00.026) 0:03:36.761 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:59 Thursday 21 July 2022 17:39:04 +0000 (0:00:00.080) 0:03:36.842 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-lvmraid.yml for /cache/rhel-8.qcow2 TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 17:39:04 +0000 (0:00:00.044) 0:03:36.886 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 17:39:04 +0000 (0:00:00.043) 0:03:36.929 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 17:39:04 +0000 (0:00:00.061) 0:03:36.991 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 17:39:04 +0000 (0:00:00.029) 0:03:37.020 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 17:39:04 +0000 (0:00:00.028) 0:03:37.048 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-thin.yml for /cache/rhel-8.qcow2 TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-thin.yml:1 Thursday 21 July 2022 17:39:04 +0000 (0:00:00.046) 0:03:37.095 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 17:39:04 +0000 (0:00:00.045) 0:03:37.140 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 17:39:04 +0000 (0:00:00.027) 0:03:37.167 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 17:39:04 +0000 (0:00:00.025) 0:03:37.192 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 17:39:04 +0000 (0:00:00.025) 0:03:37.218 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 17:39:04 +0000 (0:00:00.025) 0:03:37.243 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml for /cache/rhel-8.qcow2 TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 17:39:04 +0000 (0:00:00.046) 0:03:37.290 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 17:39:04 +0000 (0:00:00.039) 0:03:37.330 ********* skipping: [/cache/rhel-8.qcow2] => (item=/dev/sda) => { "_storage_test_pool_member_path": "/dev/sda", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 17:39:04 +0000 (0:00:00.029) 0:03:37.359 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml for /cache/rhel-8.qcow2 => (item=/dev/sda) TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 17:39:04 +0000 (0:00:00.045) 0:03:37.404 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:6 Thursday 21 July 2022 17:39:04 +0000 (0:00:00.039) 0:03:37.444 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:11 Thursday 21 July 2022 17:39:05 +0000 (0:00:00.042) 0:03:37.487 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:17 Thursday 21 July 2022 17:39:05 +0000 (0:00:00.029) 0:03:37.517 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:23 Thursday 21 July 2022 17:39:05 +0000 (0:00:00.027) 0:03:37.544 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:29 Thursday 21 July 2022 17:39:05 +0000 (0:00:00.026) 0:03:37.571 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 17:39:05 +0000 (0:00:00.037) 0:03:37.609 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 17:39:05 +0000 (0:00:00.039) 0:03:37.649 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-vdo.yml for /cache/rhel-8.qcow2 TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 17:39:05 +0000 (0:00:00.048) 0:03:37.697 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 17:39:05 +0000 (0:00:00.046) 0:03:37.744 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 17:39:05 +0000 (0:00:00.025) 0:03:37.769 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 17:39:05 +0000 (0:00:00.026) 0:03:37.796 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 17:39:05 +0000 (0:00:00.024) 0:03:37.820 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 17:39:05 +0000 (0:00:00.024) 0:03:37.845 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 17:39:05 +0000 (0:00:00.023) 0:03:37.869 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 17:39:05 +0000 (0:00:00.023) 0:03:37.892 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 17:39:05 +0000 (0:00:00.026) 0:03:37.919 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 17:39:05 +0000 (0:00:00.041) 0:03:37.960 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 17:39:05 +0000 (0:00:00.037) 0:03:37.997 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml:2 Thursday 21 July 2022 17:39:05 +0000 (0:00:00.043) 0:03:38.040 ********* ok: [/cache/rhel-8.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/tmpw6dixrb5/tests/test-verify-volume.yml:10 Thursday 21 July 2022 17:39:05 +0000 (0:00:00.040) 0:03:38.081 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml for /cache/rhel-8.qcow2 => (item=mount) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml for /cache/rhel-8.qcow2 => (item=fstab) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-fs.yml for /cache/rhel-8.qcow2 => (item=fs) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml for /cache/rhel-8.qcow2 => (item=device) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml for /cache/rhel-8.qcow2 => (item=encryption) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml for /cache/rhel-8.qcow2 => (item=md) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml for /cache/rhel-8.qcow2 => (item=size) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml for /cache/rhel-8.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 17:39:05 +0000 (0:00:00.116) 0:03:38.197 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 17:39:05 +0000 (0:00:00.043) 0:03:38.241 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 1222050, "block_size": 4096, "block_total": 1290144, "block_used": 68094, "device": "/dev/mapper/foo-test1", "fstype": "ext2", "inode_available": 327669, "inode_total": 327680, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 5005516800, "size_total": 5284429824, "uuid": "9b494e42-43b2-4577-83b4-ed9a0b54f3ef" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 1222050, "block_size": 4096, "block_total": 1290144, "block_used": 68094, "device": "/dev/mapper/foo-test1", "fstype": "ext2", "inode_available": 327669, "inode_total": 327680, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 5005516800, "size_total": 5284429824, "uuid": "9b494e42-43b2-4577-83b4-ed9a0b54f3ef" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 17:39:05 +0000 (0:00:00.048) 0:03:38.289 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 17:39:05 +0000 (0:00:00.043) 0:03:38.333 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 17:39:05 +0000 (0:00:00.041) 0:03:38.374 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 17:39:05 +0000 (0:00:00.044) 0:03:38.419 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 17:39:05 +0000 (0:00:00.025) 0:03:38.444 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 17:39:06 +0000 (0:00:00.025) 0:03:38.469 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 17:39:06 +0000 (0:00:00.023) 0:03:38.492 ********* ok: [/cache/rhel-8.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/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 17:39:06 +0000 (0:00:00.037) 0:03:38.530 ********* ok: [/cache/rhel-8.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": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 ext2 defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 17:39:06 +0000 (0:00:00.052) 0:03:38.583 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 17:39:06 +0000 (0:00:00.039) 0:03:38.622 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 17:39:06 +0000 (0:00:00.036) 0:03:38.658 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 17:39:06 +0000 (0:00:00.023) 0:03:38.682 ********* ok: [/cache/rhel-8.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/tmpw6dixrb5/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 17:39:06 +0000 (0:00:00.033) 0:03:38.716 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 17:39:06 +0000 (0:00:00.039) 0:03:38.756 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 17:39:06 +0000 (0:00:00.036) 0:03:38.792 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1658425138.6299543, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658425138.6299543, "dev": 6, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 155763, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658425138.6299543, "nlink": 1, "path": "/dev/mapper/foo-test1", "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/tmpw6dixrb5/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 17:39:06 +0000 (0:00:00.388) 0:03:39.181 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 17:39:06 +0000 (0:00:00.041) 0:03:39.223 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 17:39:06 +0000 (0:00:00.040) 0:03:39.263 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 17:39:06 +0000 (0:00:00.039) 0:03:39.302 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 17:39:06 +0000 (0:00:00.023) 0:03:39.326 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 17:39:06 +0000 (0:00:00.041) 0:03:39.368 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 17:39:06 +0000 (0:00:00.026) 0:03:39.394 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 17:39:08 +0000 (0:00:01.299) 0:03:40.694 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 17:39:08 +0000 (0:00:00.025) 0:03:40.720 ********* skipping: [/cache/rhel-8.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/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 17:39:08 +0000 (0:00:00.025) 0:03:40.746 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 17:39:08 +0000 (0:00:00.042) 0:03:40.788 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 17:39:08 +0000 (0:00:00.024) 0:03:40.813 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 17:39:08 +0000 (0:00:00.024) 0:03:40.837 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 17:39:08 +0000 (0:00:00.026) 0:03:40.864 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 17:39:08 +0000 (0:00:00.024) 0:03:40.889 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 17:39:08 +0000 (0:00:00.023) 0:03:40.912 ********* ok: [/cache/rhel-8.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/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 17:39:08 +0000 (0:00:00.046) 0:03:40.959 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 17:39:08 +0000 (0:00:00.044) 0:03:41.004 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 17:39:08 +0000 (0:00:00.028) 0:03:41.032 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 17:39:08 +0000 (0:00:00.027) 0:03:41.060 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 17:39:08 +0000 (0:00:00.027) 0:03:41.088 ********* ok: [/cache/rhel-8.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/tmpw6dixrb5/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 17:39:08 +0000 (0:00:00.040) 0:03:41.128 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 17:39:08 +0000 (0:00:00.028) 0:03:41.156 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 17:39:08 +0000 (0:00:00.027) 0:03:41.184 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 17:39:08 +0000 (0:00:00.027) 0:03:41.212 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 17:39:08 +0000 (0:00:00.032) 0:03:41.245 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 17:39:08 +0000 (0:00:00.027) 0:03:41.272 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 17:39:08 +0000 (0:00:00.036) 0:03:41.309 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 17:39:08 +0000 (0:00:00.031) 0:03:41.341 ********* ok: [/cache/rhel-8.qcow2] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 17:39:09 +0000 (0:00:00.378) 0:03:41.719 ********* ok: [/cache/rhel-8.qcow2] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 17:39:09 +0000 (0:00:00.462) 0:03:42.182 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_expected_size": "5368709120" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 17:39:09 +0000 (0:00:00.133) 0:03:42.315 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "5368709120" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 17:39:10 +0000 (0:00:00.153) 0:03:42.469 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 17:39:10 +0000 (0:00:00.125) 0:03:42.594 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 17:39:10 +0000 (0:00:00.031) 0:03:42.625 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 17:39:10 +0000 (0:00:00.028) 0:03:42.654 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 17:39:10 +0000 (0:00:00.027) 0:03:42.682 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 17:39:10 +0000 (0:00:00.024) 0:03:42.707 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_actual_size": { "bytes": 5368709120, "changed": false, "failed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 17:39:10 +0000 (0:00:00.035) 0:03:42.742 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "5368709120" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 17:39:10 +0000 (0:00:00.036) 0:03:42.778 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 17:39:10 +0000 (0:00:00.041) 0:03:42.820 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.034003", "end": "2022-07-21 13:39:10.809189", "rc": 0, "start": "2022-07-21 13:39:10.775186" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 17:39:10 +0000 (0:00:00.405) 0:03:43.225 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 17:39:10 +0000 (0:00:00.043) 0:03:43.269 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 17:39:10 +0000 (0:00:00.045) 0:03:43.315 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 17:39:10 +0000 (0:00:00.032) 0:03:43.347 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 17:39:10 +0000 (0:00:00.026) 0:03:43.374 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 17:39:10 +0000 (0:00:00.028) 0:03:43.403 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml:16 Thursday 21 July 2022 17:39:10 +0000 (0:00:00.027) 0:03:43.431 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:43 Thursday 21 July 2022 17:39:11 +0000 (0:00:00.040) 0:03:43.471 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:53 Thursday 21 July 2022 17:39:11 +0000 (0:00:00.023) 0:03:43.495 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Change volume size to "9g"] ********************************************** task path: /tmp/tmpw6dixrb5/tests/tests_resize.yml:300 Thursday 21 July 2022 17:39:11 +0000 (0:00:00.038) 0:03:43.534 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 17:39:11 +0000 (0:00:00.073) 0:03:43.607 ********* included: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 17:39:11 +0000 (0:00:00.037) 0:03:43.644 ********* ok: [/cache/rhel-8.qcow2] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 17:39:11 +0000 (0:00:00.537) 0:03:44.182 ********* skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8.qcow2] => (item=RedHat_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.6.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/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 17:39:11 +0000 (0:00:00.063) 0:03:44.245 ********* ok: [/cache/rhel-8.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/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 17:39:11 +0000 (0:00:00.036) 0:03:44.282 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 17:39:11 +0000 (0:00:00.036) 0:03:44.318 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 17:39:11 +0000 (0:00:00.048) 0:03:44.367 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 17:39:11 +0000 (0:00:00.024) 0:03:44.391 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 17:39:12 +0000 (0:00:00.082) 0:03:44.473 ********* ok: [/cache/rhel-8.qcow2] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "type": "lvm", "volumes": [ { "fs_type": "ext2", "mount_point": "/opt/test1", "name": "test1", "size": "9g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 17:39:12 +0000 (0:00:00.038) 0:03:44.512 ********* ok: [/cache/rhel-8.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 17:39:12 +0000 (0:00:00.039) 0:03:44.551 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 17:39:12 +0000 (0:00:00.036) 0:03:44.587 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 17:39:12 +0000 (0:00:00.034) 0:03:44.621 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 17:39:12 +0000 (0:00:00.030) 0:03:44.652 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 17:39:12 +0000 (0:00:00.029) 0:03:44.682 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 17:39:12 +0000 (0:00:00.052) 0:03:44.734 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 17:39:12 +0000 (0:00:00.023) 0:03:44.757 ********* changed: [/cache/rhel-8.qcow2] => { "actions": [ { "action": "resize device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "resize format", "device": "/dev/mapper/foo-test1", "fs_type": "ext2" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "dump": 0, "fstype": "ext2", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "lvm2", "dosfstools", "xfsprogs", "e2fsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "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": "ext2", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "9g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 17:39:14 +0000 (0:00:01.998) 0:03:46.756 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 17:39:14 +0000 (0:00:00.028) 0:03:46.784 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 17:39:14 +0000 (0:00:00.022) 0:03:46.807 ********* ok: [/cache/rhel-8.qcow2] => { "blivet_output": { "actions": [ { "action": "resize device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "resize format", "device": "/dev/mapper/foo-test1", "fs_type": "ext2" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "dump": 0, "fstype": "ext2", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "lvm2", "dosfstools", "xfsprogs", "e2fsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "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": "ext2", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "9g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 17:39:14 +0000 (0:00:00.042) 0:03:46.849 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "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": "ext2", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "9g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 17:39:14 +0000 (0:00:00.043) 0:03:46.893 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 17:39:14 +0000 (0:00:00.038) 0:03:46.932 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 17:39:14 +0000 (0:00:00.031) 0:03:46.963 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 17:39:15 +0000 (0:00:00.628) 0:03:47.592 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-8.qcow2] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': 'ext2', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext2", "mount_info": { "dump": 0, "fstype": "ext2", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 17:39:15 +0000 (0:00:00.423) 0:03:48.015 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 17:39:16 +0000 (0:00:00.633) 0:03:48.648 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 17:39:16 +0000 (0:00:00.379) 0:03:49.028 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 17:39:16 +0000 (0:00:00.024) 0:03:49.052 ********* ok: [/cache/rhel-8.qcow2] META: role_complete for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/tests_resize.yml:314 Thursday 21 July 2022 17:39:17 +0000 (0:00:00.953) 0:03:50.006 ********* included: /tmp/tmpw6dixrb5/tests/verify-role-results.yml for /cache/rhel-8.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:1 Thursday 21 July 2022 17:39:17 +0000 (0:00:00.056) 0:03:50.062 ********* ok: [/cache/rhel-8.qcow2] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "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": "ext2", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "9g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:6 Thursday 21 July 2022 17:39:17 +0000 (0:00:00.084) 0:03:50.146 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:14 Thursday 21 July 2022 17:39:17 +0000 (0:00:00.029) 0:03:50.176 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "ext2", "label": "", "name": "/dev/mapper/foo-test1", "size": "9G", "type": "lvm", "uuid": "9b494e42-43b2-4577-83b4-ed9a0b54f3ef" }, "/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": "LVM2_member", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "s7y95G-jdfu-zP4U-Wgaa-4oX9-DP1Y-6IRdPE" }, "/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-17-35-15-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "vfat", "label": "", "name": "/dev/vda2", "size": "100M", "type": "partition", "uuid": "7B77-95E7" }, "/dev/vda3": { "fstype": "xfs", "label": "root", "name": "/dev/vda3", "size": "9.9G", "type": "partition", "uuid": "853ae189-b3fe-4a45-8485-75bbb1421bbe" }, "/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/tmpw6dixrb5/tests/verify-role-results.yml:19 Thursday 21 July 2022 17:39:18 +0000 (0:00:00.427) 0:03:50.603 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002537", "end": "2022-07-21 13:39:18.581326", "rc": 0, "start": "2022-07-21 13:39:18.578789" } STDOUT: UUID=853ae189-b3fe-4a45-8485-75bbb1421bbe / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 /dev/mapper/foo-test1 /opt/test1 ext2 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:24 Thursday 21 July 2022 17:39:18 +0000 (0:00:00.391) 0:03:50.994 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002311", "end": "2022-07-21 13:39:18.952565", "failed_when_result": false, "rc": 1, "start": "2022-07-21 13:39:18.950254" } STDERR: cat: /etc/crypttab: No such file or directory MSG: non-zero return code TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:33 Thursday 21 July 2022 17:39:18 +0000 (0:00:00.372) 0:03:51.366 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-pool.yml for /cache/rhel-8.qcow2 => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '9g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-pool.yml:5 Thursday 21 July 2022 17:39:18 +0000 (0:00:00.054) 0:03:51.421 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool.yml:18 Thursday 21 July 2022 17:39:19 +0000 (0:00:00.039) 0:03:51.460 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml for /cache/rhel-8.qcow2 => (item=members) included: /tmp/tmpw6dixrb5/tests/test-verify-pool-volumes.yml for /cache/rhel-8.qcow2 => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:1 Thursday 21 July 2022 17:39:19 +0000 (0:00:00.047) 0:03:51.508 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/sda" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 17:39:19 +0000 (0:00:00.048) 0:03:51.556 ********* ok: [/cache/rhel-8.qcow2] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda", "pv": "/dev/sda" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 17:39:19 +0000 (0:00:00.361) 0:03:51.918 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 17:39:19 +0000 (0:00:00.039) 0:03:51.958 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 17:39:19 +0000 (0:00:00.038) 0:03:51.996 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 17:39:19 +0000 (0:00:00.044) 0:03:52.041 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 17:39:19 +0000 (0:00:00.039) 0:03:52.081 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 17:39:19 +0000 (0:00:00.042) 0:03:52.123 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:46 Thursday 21 July 2022 17:39:19 +0000 (0:00:00.025) 0:03:52.149 ********* ok: [/cache/rhel-8.qcow2] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 17:39:19 +0000 (0:00:00.046) 0:03:52.196 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml for /cache/rhel-8.qcow2 TASK [get information about RAID] ********************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:6 Thursday 21 July 2022 17:39:19 +0000 (0:00:00.042) 0:03:52.239 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:12 Thursday 21 July 2022 17:39:19 +0000 (0:00:00.026) 0:03:52.265 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:16 Thursday 21 July 2022 17:39:19 +0000 (0:00:00.024) 0:03:52.290 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:20 Thursday 21 July 2022 17:39:19 +0000 (0:00:00.025) 0:03:52.315 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:24 Thursday 21 July 2022 17:39:19 +0000 (0:00:00.023) 0:03:52.339 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:30 Thursday 21 July 2022 17:39:19 +0000 (0:00:00.025) 0:03:52.364 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:36 Thursday 21 July 2022 17:39:19 +0000 (0:00:00.026) 0:03:52.391 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:44 Thursday 21 July 2022 17:39:19 +0000 (0:00:00.026) 0:03:52.418 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:59 Thursday 21 July 2022 17:39:20 +0000 (0:00:00.079) 0:03:52.497 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-lvmraid.yml for /cache/rhel-8.qcow2 TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 17:39:20 +0000 (0:00:00.047) 0:03:52.545 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '9g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 17:39:20 +0000 (0:00:00.045) 0:03:52.590 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 17:39:20 +0000 (0:00:00.065) 0:03:52.656 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 17:39:20 +0000 (0:00:00.030) 0:03:52.686 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 17:39:20 +0000 (0:00:00.029) 0:03:52.716 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-thin.yml for /cache/rhel-8.qcow2 TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-thin.yml:1 Thursday 21 July 2022 17:39:20 +0000 (0:00:00.046) 0:03:52.762 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '9g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 17:39:20 +0000 (0:00:00.044) 0:03:52.807 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 17:39:20 +0000 (0:00:00.025) 0:03:52.832 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 17:39:20 +0000 (0:00:00.026) 0:03:52.859 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 17:39:20 +0000 (0:00:00.025) 0:03:52.884 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 17:39:20 +0000 (0:00:00.025) 0:03:52.910 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml for /cache/rhel-8.qcow2 TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 17:39:20 +0000 (0:00:00.060) 0:03:52.971 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 17:39:20 +0000 (0:00:00.041) 0:03:53.012 ********* skipping: [/cache/rhel-8.qcow2] => (item=/dev/sda) => { "_storage_test_pool_member_path": "/dev/sda", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 17:39:20 +0000 (0:00:00.030) 0:03:53.042 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml for /cache/rhel-8.qcow2 => (item=/dev/sda) TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 17:39:20 +0000 (0:00:00.046) 0:03:53.089 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:6 Thursday 21 July 2022 17:39:20 +0000 (0:00:00.041) 0:03:53.130 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:11 Thursday 21 July 2022 17:39:20 +0000 (0:00:00.043) 0:03:53.174 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:17 Thursday 21 July 2022 17:39:20 +0000 (0:00:00.030) 0:03:53.205 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:23 Thursday 21 July 2022 17:39:20 +0000 (0:00:00.028) 0:03:53.233 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:29 Thursday 21 July 2022 17:39:20 +0000 (0:00:00.026) 0:03:53.260 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 17:39:20 +0000 (0:00:00.038) 0:03:53.299 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 17:39:20 +0000 (0:00:00.040) 0:03:53.340 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-vdo.yml for /cache/rhel-8.qcow2 TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 17:39:20 +0000 (0:00:00.051) 0:03:53.391 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '9g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 17:39:20 +0000 (0:00:00.047) 0:03:53.438 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 17:39:21 +0000 (0:00:00.025) 0:03:53.464 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 17:39:21 +0000 (0:00:00.025) 0:03:53.489 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 17:39:21 +0000 (0:00:00.024) 0:03:53.514 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 17:39:21 +0000 (0:00:00.026) 0:03:53.540 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 17:39:21 +0000 (0:00:00.024) 0:03:53.565 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 17:39:21 +0000 (0:00:00.025) 0:03:53.590 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 17:39:21 +0000 (0:00:00.024) 0:03:53.615 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 17:39:21 +0000 (0:00:00.039) 0:03:53.654 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 17:39:21 +0000 (0:00:00.035) 0:03:53.690 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '9g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml:2 Thursday 21 July 2022 17:39:21 +0000 (0:00:00.042) 0:03:53.732 ********* ok: [/cache/rhel-8.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/tmpw6dixrb5/tests/test-verify-volume.yml:10 Thursday 21 July 2022 17:39:21 +0000 (0:00:00.039) 0:03:53.772 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml for /cache/rhel-8.qcow2 => (item=mount) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml for /cache/rhel-8.qcow2 => (item=fstab) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-fs.yml for /cache/rhel-8.qcow2 => (item=fs) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml for /cache/rhel-8.qcow2 => (item=device) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml for /cache/rhel-8.qcow2 => (item=encryption) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml for /cache/rhel-8.qcow2 => (item=md) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml for /cache/rhel-8.qcow2 => (item=size) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml for /cache/rhel-8.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 17:39:21 +0000 (0:00:00.119) 0:03:53.891 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 17:39:21 +0000 (0:00:00.045) 0:03:53.936 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 2201429, "block_size": 4096, "block_total": 2322270, "block_used": 120841, "device": "/dev/mapper/foo-test1", "fstype": "ext2", "inode_available": 589813, "inode_total": 589824, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 9017053184, "size_total": 9512017920, "uuid": "9b494e42-43b2-4577-83b4-ed9a0b54f3ef" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 2201429, "block_size": 4096, "block_total": 2322270, "block_used": 120841, "device": "/dev/mapper/foo-test1", "fstype": "ext2", "inode_available": 589813, "inode_total": 589824, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 9017053184, "size_total": 9512017920, "uuid": "9b494e42-43b2-4577-83b4-ed9a0b54f3ef" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 17:39:21 +0000 (0:00:00.050) 0:03:53.987 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 17:39:21 +0000 (0:00:00.043) 0:03:54.031 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 17:39:21 +0000 (0:00:00.046) 0:03:54.078 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 17:39:21 +0000 (0:00:00.047) 0:03:54.125 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 17:39:21 +0000 (0:00:00.026) 0:03:54.152 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 17:39:21 +0000 (0:00:00.026) 0:03:54.179 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 17:39:21 +0000 (0:00:00.027) 0:03:54.207 ********* ok: [/cache/rhel-8.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/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 17:39:21 +0000 (0:00:00.036) 0:03:54.243 ********* ok: [/cache/rhel-8.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": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 ext2 defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 17:39:21 +0000 (0:00:00.054) 0:03:54.298 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 17:39:21 +0000 (0:00:00.043) 0:03:54.341 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 17:39:21 +0000 (0:00:00.039) 0:03:54.381 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 17:39:21 +0000 (0:00:00.032) 0:03:54.414 ********* ok: [/cache/rhel-8.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/tmpw6dixrb5/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 17:39:22 +0000 (0:00:00.040) 0:03:54.454 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 17:39:22 +0000 (0:00:00.041) 0:03:54.495 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 17:39:22 +0000 (0:00:00.041) 0:03:54.537 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1658425154.2949543, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658425154.2949543, "dev": 6, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 155763, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658425154.2949543, "nlink": 1, "path": "/dev/mapper/foo-test1", "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/tmpw6dixrb5/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 17:39:22 +0000 (0:00:00.379) 0:03:54.916 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 17:39:22 +0000 (0:00:00.039) 0:03:54.955 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 17:39:22 +0000 (0:00:00.041) 0:03:54.997 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 17:39:22 +0000 (0:00:00.036) 0:03:55.034 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 17:39:22 +0000 (0:00:00.025) 0:03:55.059 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 17:39:22 +0000 (0:00:00.041) 0:03:55.100 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 17:39:22 +0000 (0:00:00.026) 0:03:55.127 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 17:39:23 +0000 (0:00:01.255) 0:03:56.382 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 17:39:23 +0000 (0:00:00.028) 0:03:56.410 ********* skipping: [/cache/rhel-8.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/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 17:39:23 +0000 (0:00:00.025) 0:03:56.436 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 17:39:24 +0000 (0:00:00.042) 0:03:56.478 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 17:39:24 +0000 (0:00:00.026) 0:03:56.504 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 17:39:24 +0000 (0:00:00.024) 0:03:56.529 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 17:39:24 +0000 (0:00:00.025) 0:03:56.554 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 17:39:24 +0000 (0:00:00.024) 0:03:56.579 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 17:39:24 +0000 (0:00:00.022) 0:03:56.601 ********* ok: [/cache/rhel-8.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/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 17:39:24 +0000 (0:00:00.040) 0:03:56.642 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 17:39:24 +0000 (0:00:00.039) 0:03:56.681 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 17:39:24 +0000 (0:00:00.032) 0:03:56.713 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 17:39:24 +0000 (0:00:00.027) 0:03:56.741 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 17:39:24 +0000 (0:00:00.028) 0:03:56.769 ********* ok: [/cache/rhel-8.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/tmpw6dixrb5/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 17:39:24 +0000 (0:00:00.037) 0:03:56.807 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 17:39:24 +0000 (0:00:00.030) 0:03:56.837 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 17:39:24 +0000 (0:00:00.028) 0:03:56.865 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 17:39:24 +0000 (0:00:00.027) 0:03:56.893 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 17:39:24 +0000 (0:00:00.027) 0:03:56.921 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 17:39:24 +0000 (0:00:00.032) 0:03:56.953 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 17:39:24 +0000 (0:00:00.028) 0:03:56.982 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 17:39:24 +0000 (0:00:00.028) 0:03:57.010 ********* ok: [/cache/rhel-8.qcow2] => { "bytes": 9663676416, "changed": false, "lvm": "9g", "parted": "9GiB", "size": "9 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 17:39:24 +0000 (0:00:00.434) 0:03:57.445 ********* ok: [/cache/rhel-8.qcow2] => { "bytes": 9663676416, "changed": false, "lvm": "9g", "parted": "9GiB", "size": "9 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 17:39:25 +0000 (0:00:00.424) 0:03:57.869 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_expected_size": "9663676416" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 17:39:25 +0000 (0:00:00.092) 0:03:57.962 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "9663676416" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 17:39:25 +0000 (0:00:00.038) 0:03:58.000 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 17:39:25 +0000 (0:00:00.030) 0:03:58.031 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 17:39:25 +0000 (0:00:00.028) 0:03:58.059 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 17:39:25 +0000 (0:00:00.096) 0:03:58.156 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 17:39:25 +0000 (0:00:00.028) 0:03:58.185 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 17:39:25 +0000 (0:00:00.029) 0:03:58.214 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_actual_size": { "bytes": 9663676416, "changed": false, "failed": false, "lvm": "9g", "parted": "9GiB", "size": "9 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 17:39:25 +0000 (0:00:00.040) 0:03:58.254 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "9663676416" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 17:39:25 +0000 (0:00:00.046) 0:03:58.301 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 17:39:25 +0000 (0:00:00.044) 0:03:58.346 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.031614", "end": "2022-07-21 13:39:26.338296", "rc": 0, "start": "2022-07-21 13:39:26.306682" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 17:39:26 +0000 (0:00:00.404) 0:03:58.751 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 17:39:26 +0000 (0:00:00.043) 0:03:58.795 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 17:39:26 +0000 (0:00:00.042) 0:03:58.837 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 17:39:26 +0000 (0:00:00.029) 0:03:58.867 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 17:39:26 +0000 (0:00:00.028) 0:03:58.895 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 17:39:26 +0000 (0:00:00.030) 0:03:58.926 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml:16 Thursday 21 July 2022 17:39:26 +0000 (0:00:00.027) 0:03:58.953 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:43 Thursday 21 July 2022 17:39:26 +0000 (0:00:00.038) 0:03:58.991 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:53 Thursday 21 July 2022 17:39:26 +0000 (0:00:00.023) 0:03:59.014 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Change volume size to "5g"] ********************************************** task path: /tmp/tmpw6dixrb5/tests/tests_resize.yml:316 Thursday 21 July 2022 17:39:26 +0000 (0:00:00.038) 0:03:59.053 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 17:39:26 +0000 (0:00:00.076) 0:03:59.129 ********* included: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 17:39:26 +0000 (0:00:00.045) 0:03:59.175 ********* ok: [/cache/rhel-8.qcow2] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 17:39:27 +0000 (0:00:00.529) 0:03:59.704 ********* skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8.qcow2] => (item=RedHat_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.6.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/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 17:39:27 +0000 (0:00:00.067) 0:03:59.772 ********* ok: [/cache/rhel-8.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/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 17:39:27 +0000 (0:00:00.036) 0:03:59.809 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 17:39:27 +0000 (0:00:00.037) 0:03:59.847 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 17:39:27 +0000 (0:00:00.051) 0:03:59.898 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 17:39:27 +0000 (0:00:00.022) 0:03:59.921 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 17:39:27 +0000 (0:00:00.031) 0:03:59.953 ********* ok: [/cache/rhel-8.qcow2] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "type": "lvm", "volumes": [ { "fs_type": "ext2", "mount_point": "/opt/test1", "name": "test1", "size": "5g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 17:39:27 +0000 (0:00:00.102) 0:04:00.055 ********* ok: [/cache/rhel-8.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 17:39:27 +0000 (0:00:00.039) 0:04:00.094 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 17:39:27 +0000 (0:00:00.030) 0:04:00.125 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 17:39:27 +0000 (0:00:00.028) 0:04:00.153 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 17:39:27 +0000 (0:00:00.081) 0:04:00.235 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 17:39:27 +0000 (0:00:00.030) 0:04:00.265 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 17:39:27 +0000 (0:00:00.050) 0:04:00.315 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 17:39:27 +0000 (0:00:00.022) 0:04:00.338 ********* changed: [/cache/rhel-8.qcow2] => { "actions": [ { "action": "resize format", "device": "/dev/mapper/foo-test1", "fs_type": "ext2" }, { "action": "resize device", "device": "/dev/mapper/foo-test1", "fs_type": null } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "dump": 0, "fstype": "ext2", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "e2fsprogs", "dosfstools", "lvm2", "xfsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "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": "ext2", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 17:39:29 +0000 (0:00:02.067) 0:04:02.405 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 17:39:29 +0000 (0:00:00.028) 0:04:02.434 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 17:39:30 +0000 (0:00:00.023) 0:04:02.457 ********* ok: [/cache/rhel-8.qcow2] => { "blivet_output": { "actions": [ { "action": "resize format", "device": "/dev/mapper/foo-test1", "fs_type": "ext2" }, { "action": "resize device", "device": "/dev/mapper/foo-test1", "fs_type": null } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "dump": 0, "fstype": "ext2", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "e2fsprogs", "dosfstools", "lvm2", "xfsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "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": "ext2", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 17:39:30 +0000 (0:00:00.039) 0:04:02.497 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "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": "ext2", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 17:39:30 +0000 (0:00:00.040) 0:04:02.538 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 17:39:30 +0000 (0:00:00.040) 0:04:02.579 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 17:39:30 +0000 (0:00:00.028) 0:04:02.608 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 17:39:30 +0000 (0:00:00.621) 0:04:03.229 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-8.qcow2] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': 'ext2', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext2", "mount_info": { "dump": 0, "fstype": "ext2", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 17:39:31 +0000 (0:00:00.393) 0:04:03.623 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 17:39:31 +0000 (0:00:00.645) 0:04:04.268 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 17:39:32 +0000 (0:00:00.379) 0:04:04.648 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 17:39:32 +0000 (0:00:00.022) 0:04:04.670 ********* ok: [/cache/rhel-8.qcow2] META: role_complete for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/tests_resize.yml:330 Thursday 21 July 2022 17:39:33 +0000 (0:00:00.954) 0:04:05.624 ********* included: /tmp/tmpw6dixrb5/tests/verify-role-results.yml for /cache/rhel-8.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:1 Thursday 21 July 2022 17:39:33 +0000 (0:00:00.059) 0:04:05.684 ********* ok: [/cache/rhel-8.qcow2] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "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": "ext2", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:6 Thursday 21 July 2022 17:39:33 +0000 (0:00:00.041) 0:04:05.725 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:14 Thursday 21 July 2022 17:39:33 +0000 (0:00:00.026) 0:04:05.752 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "ext2", "label": "", "name": "/dev/mapper/foo-test1", "size": "5G", "type": "lvm", "uuid": "9b494e42-43b2-4577-83b4-ed9a0b54f3ef" }, "/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": "LVM2_member", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "s7y95G-jdfu-zP4U-Wgaa-4oX9-DP1Y-6IRdPE" }, "/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-17-35-15-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "vfat", "label": "", "name": "/dev/vda2", "size": "100M", "type": "partition", "uuid": "7B77-95E7" }, "/dev/vda3": { "fstype": "xfs", "label": "root", "name": "/dev/vda3", "size": "9.9G", "type": "partition", "uuid": "853ae189-b3fe-4a45-8485-75bbb1421bbe" }, "/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/tmpw6dixrb5/tests/verify-role-results.yml:19 Thursday 21 July 2022 17:39:33 +0000 (0:00:00.447) 0:04:06.199 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002612", "end": "2022-07-21 13:39:34.201609", "rc": 0, "start": "2022-07-21 13:39:34.198997" } STDOUT: UUID=853ae189-b3fe-4a45-8485-75bbb1421bbe / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 /dev/mapper/foo-test1 /opt/test1 ext2 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:24 Thursday 21 July 2022 17:39:34 +0000 (0:00:00.419) 0:04:06.619 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:01.003928", "end": "2022-07-21 13:39:35.637368", "failed_when_result": false, "rc": 1, "start": "2022-07-21 13:39:34.633440" } STDERR: cat: /etc/crypttab: No such file or directory MSG: non-zero return code TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:33 Thursday 21 July 2022 17:39:35 +0000 (0:00:01.438) 0:04:08.058 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-pool.yml for /cache/rhel-8.qcow2 => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-pool.yml:5 Thursday 21 July 2022 17:39:35 +0000 (0:00:00.111) 0:04:08.170 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool.yml:18 Thursday 21 July 2022 17:39:35 +0000 (0:00:00.034) 0:04:08.204 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml for /cache/rhel-8.qcow2 => (item=members) included: /tmp/tmpw6dixrb5/tests/test-verify-pool-volumes.yml for /cache/rhel-8.qcow2 => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:1 Thursday 21 July 2022 17:39:35 +0000 (0:00:00.050) 0:04:08.255 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/sda" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 17:39:35 +0000 (0:00:00.047) 0:04:08.302 ********* ok: [/cache/rhel-8.qcow2] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda", "pv": "/dev/sda" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 17:39:36 +0000 (0:00:00.371) 0:04:08.674 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 17:39:36 +0000 (0:00:00.038) 0:04:08.713 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 17:39:36 +0000 (0:00:00.042) 0:04:08.755 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 17:39:36 +0000 (0:00:00.041) 0:04:08.797 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 17:39:36 +0000 (0:00:00.040) 0:04:08.837 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 17:39:36 +0000 (0:00:00.041) 0:04:08.879 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:46 Thursday 21 July 2022 17:39:36 +0000 (0:00:00.026) 0:04:08.905 ********* ok: [/cache/rhel-8.qcow2] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 17:39:36 +0000 (0:00:00.044) 0:04:08.950 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml for /cache/rhel-8.qcow2 TASK [get information about RAID] ********************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:6 Thursday 21 July 2022 17:39:36 +0000 (0:00:00.041) 0:04:08.991 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:12 Thursday 21 July 2022 17:39:36 +0000 (0:00:00.023) 0:04:09.015 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:16 Thursday 21 July 2022 17:39:36 +0000 (0:00:00.023) 0:04:09.038 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:20 Thursday 21 July 2022 17:39:36 +0000 (0:00:00.026) 0:04:09.065 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:24 Thursday 21 July 2022 17:39:36 +0000 (0:00:00.026) 0:04:09.091 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:30 Thursday 21 July 2022 17:39:36 +0000 (0:00:00.026) 0:04:09.117 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:36 Thursday 21 July 2022 17:39:36 +0000 (0:00:00.027) 0:04:09.144 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:44 Thursday 21 July 2022 17:39:36 +0000 (0:00:00.026) 0:04:09.170 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:59 Thursday 21 July 2022 17:39:36 +0000 (0:00:00.039) 0:04:09.209 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-lvmraid.yml for /cache/rhel-8.qcow2 TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 17:39:36 +0000 (0:00:00.044) 0:04:09.254 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 17:39:36 +0000 (0:00:00.047) 0:04:09.301 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 17:39:36 +0000 (0:00:00.030) 0:04:09.331 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 17:39:36 +0000 (0:00:00.032) 0:04:09.364 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 17:39:36 +0000 (0:00:00.035) 0:04:09.400 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-thin.yml for /cache/rhel-8.qcow2 TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-thin.yml:1 Thursday 21 July 2022 17:39:37 +0000 (0:00:00.051) 0:04:09.452 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 17:39:37 +0000 (0:00:00.046) 0:04:09.498 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 17:39:37 +0000 (0:00:00.027) 0:04:09.526 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 17:39:37 +0000 (0:00:00.025) 0:04:09.551 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 17:39:37 +0000 (0:00:00.024) 0:04:09.576 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 17:39:37 +0000 (0:00:00.024) 0:04:09.601 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml for /cache/rhel-8.qcow2 TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 17:39:37 +0000 (0:00:00.081) 0:04:09.682 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 17:39:37 +0000 (0:00:00.041) 0:04:09.723 ********* skipping: [/cache/rhel-8.qcow2] => (item=/dev/sda) => { "_storage_test_pool_member_path": "/dev/sda", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 17:39:37 +0000 (0:00:00.029) 0:04:09.752 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml for /cache/rhel-8.qcow2 => (item=/dev/sda) TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 17:39:37 +0000 (0:00:00.044) 0:04:09.797 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:6 Thursday 21 July 2022 17:39:37 +0000 (0:00:00.040) 0:04:09.837 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:11 Thursday 21 July 2022 17:39:37 +0000 (0:00:00.041) 0:04:09.878 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:17 Thursday 21 July 2022 17:39:37 +0000 (0:00:00.028) 0:04:09.907 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:23 Thursday 21 July 2022 17:39:37 +0000 (0:00:00.025) 0:04:09.933 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:29 Thursday 21 July 2022 17:39:37 +0000 (0:00:00.026) 0:04:09.959 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 17:39:37 +0000 (0:00:00.037) 0:04:09.996 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 17:39:37 +0000 (0:00:00.039) 0:04:10.036 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-vdo.yml for /cache/rhel-8.qcow2 TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 17:39:37 +0000 (0:00:00.049) 0:04:10.086 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 17:39:37 +0000 (0:00:00.044) 0:04:10.130 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 17:39:37 +0000 (0:00:00.026) 0:04:10.157 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 17:39:37 +0000 (0:00:00.025) 0:04:10.183 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 17:39:37 +0000 (0:00:00.025) 0:04:10.209 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 17:39:37 +0000 (0:00:00.026) 0:04:10.236 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 17:39:37 +0000 (0:00:00.025) 0:04:10.261 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 17:39:37 +0000 (0:00:00.025) 0:04:10.286 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 17:39:37 +0000 (0:00:00.025) 0:04:10.311 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 17:39:37 +0000 (0:00:00.045) 0:04:10.357 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 17:39:37 +0000 (0:00:00.042) 0:04:10.399 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml:2 Thursday 21 July 2022 17:39:37 +0000 (0:00:00.046) 0:04:10.445 ********* ok: [/cache/rhel-8.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/tmpw6dixrb5/tests/test-verify-volume.yml:10 Thursday 21 July 2022 17:39:38 +0000 (0:00:00.042) 0:04:10.488 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml for /cache/rhel-8.qcow2 => (item=mount) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml for /cache/rhel-8.qcow2 => (item=fstab) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-fs.yml for /cache/rhel-8.qcow2 => (item=fs) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml for /cache/rhel-8.qcow2 => (item=device) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml for /cache/rhel-8.qcow2 => (item=encryption) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml for /cache/rhel-8.qcow2 => (item=md) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml for /cache/rhel-8.qcow2 => (item=size) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml for /cache/rhel-8.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 17:39:38 +0000 (0:00:00.080) 0:04:10.568 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 17:39:38 +0000 (0:00:00.044) 0:04:10.613 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 1222051, "block_size": 4096, "block_total": 1290144, "block_used": 68093, "device": "/dev/mapper/foo-test1", "fstype": "ext2", "inode_available": 327669, "inode_total": 327680, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 5005520896, "size_total": 5284429824, "uuid": "9b494e42-43b2-4577-83b4-ed9a0b54f3ef" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 1222051, "block_size": 4096, "block_total": 1290144, "block_used": 68093, "device": "/dev/mapper/foo-test1", "fstype": "ext2", "inode_available": 327669, "inode_total": 327680, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 5005520896, "size_total": 5284429824, "uuid": "9b494e42-43b2-4577-83b4-ed9a0b54f3ef" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 17:39:38 +0000 (0:00:00.048) 0:04:10.662 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 17:39:38 +0000 (0:00:00.044) 0:04:10.706 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 17:39:38 +0000 (0:00:00.040) 0:04:10.747 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 17:39:38 +0000 (0:00:00.040) 0:04:10.787 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 17:39:38 +0000 (0:00:00.024) 0:04:10.812 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 17:39:38 +0000 (0:00:00.026) 0:04:10.838 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 17:39:38 +0000 (0:00:00.024) 0:04:10.862 ********* ok: [/cache/rhel-8.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/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 17:39:38 +0000 (0:00:00.095) 0:04:10.957 ********* ok: [/cache/rhel-8.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": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 ext2 defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 17:39:38 +0000 (0:00:00.103) 0:04:11.061 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 17:39:38 +0000 (0:00:00.089) 0:04:11.151 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 17:39:38 +0000 (0:00:00.144) 0:04:11.295 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 17:39:38 +0000 (0:00:00.027) 0:04:11.323 ********* ok: [/cache/rhel-8.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/tmpw6dixrb5/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 17:39:38 +0000 (0:00:00.038) 0:04:11.362 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 17:39:38 +0000 (0:00:00.043) 0:04:11.405 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 17:39:39 +0000 (0:00:00.046) 0:04:11.451 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1658425169.9219542, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658425169.9219542, "dev": 6, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 155763, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658425169.9219542, "nlink": 1, "path": "/dev/mapper/foo-test1", "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/tmpw6dixrb5/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 17:39:39 +0000 (0:00:00.374) 0:04:11.826 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 17:39:39 +0000 (0:00:00.041) 0:04:11.867 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 17:39:39 +0000 (0:00:00.040) 0:04:11.908 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 17:39:39 +0000 (0:00:00.040) 0:04:11.948 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 17:39:39 +0000 (0:00:00.023) 0:04:11.972 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 17:39:39 +0000 (0:00:00.038) 0:04:12.011 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 17:39:39 +0000 (0:00:00.024) 0:04:12.035 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 17:39:40 +0000 (0:00:01.281) 0:04:13.316 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 17:39:40 +0000 (0:00:00.025) 0:04:13.342 ********* skipping: [/cache/rhel-8.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/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 17:39:40 +0000 (0:00:00.026) 0:04:13.368 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 17:39:40 +0000 (0:00:00.044) 0:04:13.413 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 17:39:40 +0000 (0:00:00.030) 0:04:13.444 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 17:39:41 +0000 (0:00:00.026) 0:04:13.470 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 17:39:41 +0000 (0:00:00.026) 0:04:13.497 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 17:39:41 +0000 (0:00:00.030) 0:04:13.527 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 17:39:41 +0000 (0:00:00.031) 0:04:13.558 ********* ok: [/cache/rhel-8.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/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 17:39:41 +0000 (0:00:00.042) 0:04:13.601 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 17:39:41 +0000 (0:00:00.041) 0:04:13.643 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 17:39:41 +0000 (0:00:00.028) 0:04:13.671 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 17:39:41 +0000 (0:00:00.029) 0:04:13.701 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 17:39:41 +0000 (0:00:00.024) 0:04:13.726 ********* ok: [/cache/rhel-8.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/tmpw6dixrb5/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 17:39:41 +0000 (0:00:00.037) 0:04:13.763 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 17:39:41 +0000 (0:00:00.027) 0:04:13.791 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 17:39:41 +0000 (0:00:00.030) 0:04:13.822 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 17:39:41 +0000 (0:00:00.026) 0:04:13.849 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 17:39:41 +0000 (0:00:00.026) 0:04:13.876 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 17:39:41 +0000 (0:00:00.027) 0:04:13.903 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 17:39:41 +0000 (0:00:00.037) 0:04:13.941 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 17:39:41 +0000 (0:00:00.028) 0:04:13.969 ********* ok: [/cache/rhel-8.qcow2] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 17:39:41 +0000 (0:00:00.393) 0:04:14.362 ********* ok: [/cache/rhel-8.qcow2] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 17:39:42 +0000 (0:00:00.369) 0:04:14.732 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_expected_size": "5368709120" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 17:39:42 +0000 (0:00:00.042) 0:04:14.774 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "5368709120" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 17:39:42 +0000 (0:00:00.038) 0:04:14.813 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 17:39:42 +0000 (0:00:00.027) 0:04:14.840 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 17:39:42 +0000 (0:00:00.031) 0:04:14.872 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 17:39:42 +0000 (0:00:00.026) 0:04:14.898 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 17:39:42 +0000 (0:00:00.026) 0:04:14.924 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 17:39:42 +0000 (0:00:00.026) 0:04:14.951 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_actual_size": { "bytes": 5368709120, "changed": false, "failed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 17:39:42 +0000 (0:00:00.039) 0:04:14.991 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "5368709120" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 17:39:42 +0000 (0:00:00.036) 0:04:15.027 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 17:39:42 +0000 (0:00:00.086) 0:04:15.114 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.033625", "end": "2022-07-21 13:39:43.102623", "rc": 0, "start": "2022-07-21 13:39:43.068998" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 17:39:43 +0000 (0:00:00.404) 0:04:15.519 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 17:39:43 +0000 (0:00:00.041) 0:04:15.561 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 17:39:43 +0000 (0:00:00.088) 0:04:15.649 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 17:39:43 +0000 (0:00:00.033) 0:04:15.682 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 17:39:43 +0000 (0:00:00.030) 0:04:15.713 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 17:39:43 +0000 (0:00:00.028) 0:04:15.741 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml:16 Thursday 21 July 2022 17:39:43 +0000 (0:00:00.027) 0:04:15.769 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:43 Thursday 21 July 2022 17:39:43 +0000 (0:00:00.038) 0:04:15.807 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:53 Thursday 21 July 2022 17:39:43 +0000 (0:00:00.023) 0:04:15.831 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Clean up] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/tests_resize.yml:332 Thursday 21 July 2022 17:39:43 +0000 (0:00:00.092) 0:04:15.923 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 17:39:43 +0000 (0:00:00.123) 0:04:16.046 ********* included: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 17:39:43 +0000 (0:00:00.036) 0:04:16.083 ********* ok: [/cache/rhel-8.qcow2] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 17:39:44 +0000 (0:00:00.511) 0:04:16.595 ********* skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8.qcow2] => (item=RedHat_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.6.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/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 17:39:44 +0000 (0:00:00.071) 0:04:16.666 ********* ok: [/cache/rhel-8.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/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 17:39:44 +0000 (0:00:00.044) 0:04:16.711 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 17:39:44 +0000 (0:00:00.039) 0:04:16.750 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 17:39:44 +0000 (0:00:00.050) 0:04:16.801 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 17:39:44 +0000 (0:00:00.023) 0:04:16.825 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 17:39:44 +0000 (0:00:00.032) 0:04:16.857 ********* ok: [/cache/rhel-8.qcow2] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "state": "absent", "volumes": [ { "mount_point": "/opt/test1", "name": "test1", "size": "5g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 17:39:44 +0000 (0:00:00.041) 0:04:16.899 ********* ok: [/cache/rhel-8.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 17:39:44 +0000 (0:00:00.039) 0:04:16.939 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 17:39:44 +0000 (0:00:00.031) 0:04:16.971 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 17:39:44 +0000 (0:00:00.030) 0:04:17.001 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 17:39:44 +0000 (0:00:00.031) 0:04:17.033 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 17:39:44 +0000 (0:00:00.030) 0:04:17.064 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 17:39:44 +0000 (0:00:00.054) 0:04:17.118 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 17:39:44 +0000 (0:00:00.022) 0:04:17.140 ********* changed: [/cache/rhel-8.qcow2] => { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "ext2" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "lvmpv" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "fstype": "ext2", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" } ], "packages": [ "xfsprogs", "dosfstools" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "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": "ext2", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 17:39:46 +0000 (0:00:01.827) 0:04:18.967 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 17:39:46 +0000 (0:00:00.028) 0:04:18.996 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 17:39:46 +0000 (0:00:00.021) 0:04:19.018 ********* ok: [/cache/rhel-8.qcow2] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "ext2" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "lvmpv" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "fstype": "ext2", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" } ], "packages": [ "xfsprogs", "dosfstools" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "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": "ext2", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 17:39:46 +0000 (0:00:00.036) 0:04:19.055 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "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": "ext2", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 17:39:46 +0000 (0:00:00.095) 0:04:19.150 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 17:39:46 +0000 (0:00:00.095) 0:04:19.246 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-8.qcow2] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'state': 'absent', 'fstype': 'ext2'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext2", "mount_info": { "fstype": "ext2", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 17:39:47 +0000 (0:00:00.456) 0:04:19.702 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 17:39:47 +0000 (0:00:00.691) 0:04:20.393 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 17:39:47 +0000 (0:00:00.031) 0:04:20.424 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 17:39:48 +0000 (0:00:00.603) 0:04:21.028 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 17:39:48 +0000 (0:00:00.385) 0:04:21.414 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 17:39:48 +0000 (0:00:00.025) 0:04:21.439 ********* ok: [/cache/rhel-8.qcow2] META: role_complete for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/tests_resize.yml:345 Thursday 21 July 2022 17:39:49 +0000 (0:00:00.952) 0:04:22.391 ********* included: /tmp/tmpw6dixrb5/tests/verify-role-results.yml for /cache/rhel-8.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:1 Thursday 21 July 2022 17:39:50 +0000 (0:00:00.061) 0:04:22.453 ********* ok: [/cache/rhel-8.qcow2] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "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": "ext2", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:6 Thursday 21 July 2022 17:39:50 +0000 (0:00:00.041) 0:04:22.494 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:14 Thursday 21 July 2022 17:39:50 +0000 (0:00:00.026) 0:04:22.521 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "info": { "/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-17-35-15-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "vfat", "label": "", "name": "/dev/vda2", "size": "100M", "type": "partition", "uuid": "7B77-95E7" }, "/dev/vda3": { "fstype": "xfs", "label": "root", "name": "/dev/vda3", "size": "9.9G", "type": "partition", "uuid": "853ae189-b3fe-4a45-8485-75bbb1421bbe" }, "/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/tmpw6dixrb5/tests/verify-role-results.yml:19 Thursday 21 July 2022 17:39:50 +0000 (0:00:00.371) 0:04:22.892 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002425", "end": "2022-07-21 13:39:50.845202", "rc": 0, "start": "2022-07-21 13:39:50.842777" } STDOUT: UUID=853ae189-b3fe-4a45-8485-75bbb1421bbe / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:24 Thursday 21 July 2022 17:39:50 +0000 (0:00:00.369) 0:04:23.262 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002264", "end": "2022-07-21 13:39:51.210735", "failed_when_result": false, "rc": 1, "start": "2022-07-21 13:39:51.208471" } STDERR: cat: /etc/crypttab: No such file or directory MSG: non-zero return code TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:33 Thursday 21 July 2022 17:39:51 +0000 (0:00:00.362) 0:04:23.624 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-pool.yml for /cache/rhel-8.qcow2 => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'absent', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-pool.yml:5 Thursday 21 July 2022 17:39:51 +0000 (0:00:00.050) 0:04:23.675 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool.yml:18 Thursday 21 July 2022 17:39:51 +0000 (0:00:00.075) 0:04:23.751 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml for /cache/rhel-8.qcow2 => (item=members) included: /tmp/tmpw6dixrb5/tests/test-verify-pool-volumes.yml for /cache/rhel-8.qcow2 => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:1 Thursday 21 July 2022 17:39:51 +0000 (0:00:00.056) 0:04:23.808 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_count": "0", "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 17:39:51 +0000 (0:00:00.117) 0:04:23.925 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 17:39:51 +0000 (0:00:00.024) 0:04:23.949 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": "0" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 17:39:51 +0000 (0:00:00.086) 0:04:24.036 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_pool_pvs": [] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 17:39:51 +0000 (0:00:00.097) 0:04:24.134 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 17:39:51 +0000 (0:00:00.110) 0:04:24.245 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 17:39:51 +0000 (0:00:00.038) 0:04:24.283 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 17:39:51 +0000 (0:00:00.042) 0:04:24.326 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:46 Thursday 21 July 2022 17:39:51 +0000 (0:00:00.027) 0:04:24.353 ********* TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 17:39:51 +0000 (0:00:00.022) 0:04:24.375 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml for /cache/rhel-8.qcow2 TASK [get information about RAID] ********************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:6 Thursday 21 July 2022 17:39:51 +0000 (0:00:00.051) 0:04:24.426 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:12 Thursday 21 July 2022 17:39:52 +0000 (0:00:00.036) 0:04:24.463 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:16 Thursday 21 July 2022 17:39:52 +0000 (0:00:00.028) 0:04:24.491 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:20 Thursday 21 July 2022 17:39:52 +0000 (0:00:00.025) 0:04:24.517 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:24 Thursday 21 July 2022 17:39:52 +0000 (0:00:00.025) 0:04:24.542 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:30 Thursday 21 July 2022 17:39:52 +0000 (0:00:00.027) 0:04:24.570 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:36 Thursday 21 July 2022 17:39:52 +0000 (0:00:00.025) 0:04:24.595 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:44 Thursday 21 July 2022 17:39:52 +0000 (0:00:00.025) 0:04:24.621 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:59 Thursday 21 July 2022 17:39:52 +0000 (0:00:00.036) 0:04:24.657 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-lvmraid.yml for /cache/rhel-8.qcow2 TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 17:39:52 +0000 (0:00:00.044) 0:04:24.701 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 17:39:52 +0000 (0:00:00.041) 0:04:24.743 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 17:39:52 +0000 (0:00:00.028) 0:04:24.771 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 17:39:52 +0000 (0:00:00.027) 0:04:24.798 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 17:39:52 +0000 (0:00:00.026) 0:04:24.824 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-thin.yml for /cache/rhel-8.qcow2 TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-thin.yml:1 Thursday 21 July 2022 17:39:52 +0000 (0:00:00.046) 0:04:24.871 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 17:39:52 +0000 (0:00:00.045) 0:04:24.916 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 17:39:52 +0000 (0:00:00.025) 0:04:24.941 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 17:39:52 +0000 (0:00:00.026) 0:04:24.967 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 17:39:52 +0000 (0:00:00.024) 0:04:24.992 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 17:39:52 +0000 (0:00:00.024) 0:04:25.016 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml for /cache/rhel-8.qcow2 TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 17:39:52 +0000 (0:00:00.048) 0:04:25.064 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 17:39:52 +0000 (0:00:00.040) 0:04:25.105 ********* TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 17:39:52 +0000 (0:00:00.023) 0:04:25.129 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 17:39:52 +0000 (0:00:00.021) 0:04:25.150 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 17:39:52 +0000 (0:00:00.037) 0:04:25.187 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-vdo.yml for /cache/rhel-8.qcow2 TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 17:39:52 +0000 (0:00:00.048) 0:04:25.236 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 17:39:52 +0000 (0:00:00.046) 0:04:25.282 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 17:39:52 +0000 (0:00:00.024) 0:04:25.307 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 17:39:52 +0000 (0:00:00.025) 0:04:25.332 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 17:39:52 +0000 (0:00:00.025) 0:04:25.357 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 17:39:52 +0000 (0:00:00.026) 0:04:25.384 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 17:39:53 +0000 (0:00:00.087) 0:04:25.472 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 17:39:53 +0000 (0:00:00.025) 0:04:25.498 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 17:39:53 +0000 (0:00:00.025) 0:04:25.523 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 17:39:53 +0000 (0:00:00.037) 0:04:25.561 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 17:39:53 +0000 (0:00:00.039) 0:04:25.601 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml:2 Thursday 21 July 2022 17:39:53 +0000 (0:00:00.044) 0:04:25.645 ********* ok: [/cache/rhel-8.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/tmpw6dixrb5/tests/test-verify-volume.yml:10 Thursday 21 July 2022 17:39:53 +0000 (0:00:00.039) 0:04:25.685 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml for /cache/rhel-8.qcow2 => (item=mount) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml for /cache/rhel-8.qcow2 => (item=fstab) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-fs.yml for /cache/rhel-8.qcow2 => (item=fs) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml for /cache/rhel-8.qcow2 => (item=device) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml for /cache/rhel-8.qcow2 => (item=encryption) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml for /cache/rhel-8.qcow2 => (item=md) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml for /cache/rhel-8.qcow2 => (item=size) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml for /cache/rhel-8.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 17:39:53 +0000 (0:00:00.077) 0:04:25.763 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 17:39:53 +0000 (0:00:00.040) 0:04:25.803 ********* ok: [/cache/rhel-8.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/tmpw6dixrb5/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 17:39:53 +0000 (0:00:00.046) 0:04:25.849 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 17:39:53 +0000 (0:00:00.025) 0:04:25.875 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 17:39:53 +0000 (0:00:00.045) 0:04:25.920 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 17:39:53 +0000 (0:00:00.028) 0:04:25.949 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 17:39:53 +0000 (0:00:00.025) 0:04:25.974 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 17:39:53 +0000 (0:00:00.023) 0:04:25.998 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 17:39:53 +0000 (0:00:00.025) 0:04:26.024 ********* ok: [/cache/rhel-8.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/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 17:39:53 +0000 (0:00:00.034) 0:04:26.058 ********* ok: [/cache/rhel-8.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/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 17:39:53 +0000 (0:00:00.054) 0:04:26.112 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 17:39:53 +0000 (0:00:00.024) 0:04:26.136 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 17:39:53 +0000 (0:00:00.044) 0:04:26.181 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 17:39:53 +0000 (0:00:00.027) 0:04:26.208 ********* ok: [/cache/rhel-8.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/tmpw6dixrb5/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 17:39:53 +0000 (0:00:00.038) 0:04:26.247 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 17:39:53 +0000 (0:00:00.024) 0:04:26.272 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 17:39:53 +0000 (0:00:00.026) 0:04:26.298 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 17:39:54 +0000 (0:00:00.384) 0:04:26.682 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 17:39:54 +0000 (0:00:00.042) 0:04:26.724 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 17:39:54 +0000 (0:00:00.025) 0:04:26.750 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 17:39:54 +0000 (0:00:00.041) 0:04:26.792 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 17:39:54 +0000 (0:00:00.025) 0:04:26.817 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 17:39:54 +0000 (0:00:00.025) 0:04:26.842 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 17:39:54 +0000 (0:00:00.025) 0:04:26.868 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 17:39:55 +0000 (0:00:01.248) 0:04:28.116 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 17:39:55 +0000 (0:00:00.024) 0:04:28.141 ********* skipping: [/cache/rhel-8.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/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 17:39:55 +0000 (0:00:00.023) 0:04:28.164 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 17:39:55 +0000 (0:00:00.024) 0:04:28.189 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 17:39:55 +0000 (0:00:00.026) 0:04:28.215 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 17:39:55 +0000 (0:00:00.024) 0:04:28.240 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 17:39:55 +0000 (0:00:00.024) 0:04:28.265 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 17:39:55 +0000 (0:00:00.027) 0:04:28.292 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 17:39:55 +0000 (0:00:00.027) 0:04:28.320 ********* ok: [/cache/rhel-8.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/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 17:39:55 +0000 (0:00:00.043) 0:04:28.363 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 17:39:55 +0000 (0:00:00.080) 0:04:28.444 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 17:39:56 +0000 (0:00:00.024) 0:04:28.468 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 17:39:56 +0000 (0:00:00.031) 0:04:28.500 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 17:39:56 +0000 (0:00:00.032) 0:04:28.532 ********* ok: [/cache/rhel-8.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/tmpw6dixrb5/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 17:39:56 +0000 (0:00:00.086) 0:04:28.619 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 17:39:56 +0000 (0:00:00.028) 0:04:28.648 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 17:39:56 +0000 (0:00:00.085) 0:04:28.733 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 17:39:56 +0000 (0:00:00.028) 0:04:28.761 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 17:39:56 +0000 (0:00:00.027) 0:04:28.789 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 17:39:56 +0000 (0:00:00.028) 0:04:28.817 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 17:39:56 +0000 (0:00:00.026) 0:04:28.844 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 17:39:56 +0000 (0:00:00.027) 0:04:28.872 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 17:39:56 +0000 (0:00:00.025) 0:04:28.897 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 17:39:56 +0000 (0:00:00.028) 0:04:28.926 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 17:39:56 +0000 (0:00:00.027) 0:04:28.953 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "5368709120" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 17:39:56 +0000 (0:00:00.035) 0:04:28.989 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 17:39:56 +0000 (0:00:00.025) 0:04:29.014 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 17:39:56 +0000 (0:00:00.028) 0:04:29.042 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 17:39:56 +0000 (0:00:00.027) 0:04:29.070 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 17:39:56 +0000 (0:00:00.027) 0:04:29.098 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 17:39:56 +0000 (0:00:00.028) 0:04:29.126 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 17:39:56 +0000 (0:00:00.042) 0:04:29.168 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "5368709120" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 17:39:56 +0000 (0:00:00.038) 0:04:29.206 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 17:39:56 +0000 (0:00:00.025) 0:04:29.232 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 17:39:56 +0000 (0:00:00.024) 0:04:29.257 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 17:39:56 +0000 (0:00:00.026) 0:04:29.283 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 17:39:56 +0000 (0:00:00.024) 0:04:29.308 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 17:39:56 +0000 (0:00:00.025) 0:04:29.334 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 17:39:56 +0000 (0:00:00.026) 0:04:29.361 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 17:39:56 +0000 (0:00:00.030) 0:04:29.391 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml:16 Thursday 21 July 2022 17:39:56 +0000 (0:00:00.029) 0:04:29.421 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:43 Thursday 21 July 2022 17:39:57 +0000 (0:00:00.040) 0:04:29.461 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:53 Thursday 21 July 2022 17:39:57 +0000 (0:00:00.027) 0:04:29.488 ********* ok: [/cache/rhel-8.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-8.qcow2 : ok=1245 changed=29 unreachable=0 failed=3 skipped=1005 rescued=3 ignored=0 Thursday 21 July 2022 17:39:57 +0000 (0:00:00.066) 0:04:29.555 ********* =============================================================================== linux-system-roles.storage : make sure blivet is available ------------- 51.21s /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 linux-system-roles.storage : manage the pools and volumes to match the specified state --- 2.78s /tmp/tmpw6dixrb5/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 --- 2.07s /tmp/tmpw6dixrb5/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 --- 2.07s /tmp/tmpw6dixrb5/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 --- 2.01s /tmp/tmpw6dixrb5/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 --- 2.00s /tmp/tmpw6dixrb5/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.91s /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : get service facts -------------------------- 1.86s /tmp/tmpw6dixrb5/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.83s /tmp/tmpw6dixrb5/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.81s /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Ensure cryptsetup is present -------------------------------------------- 1.78s /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:10 ------------------- linux-system-roles.storage : manage the pools and volumes to match the specified state --- 1.75s /tmp/tmpw6dixrb5/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.70s /tmp/tmpw6dixrb5/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.69s /tmp/tmpw6dixrb5/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.66s /tmp/tmpw6dixrb5/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.63s /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Read the /etc/crypttab file --------------------------------------------- 1.44s /tmp/tmpw6dixrb5/tests/verify-role-results.yml:24 ----------------------------- Read the /etc/crypttab file --------------------------------------------- 1.41s /tmp/tmpw6dixrb5/tests/verify-role-results.yml:24 ----------------------------- Read the /etc/fstab file for volume existence --------------------------- 1.38s /tmp/tmpw6dixrb5/tests/verify-role-results.yml:19 ----------------------------- set up internal repositories -------------------------------------------- 1.37s /cache/rhel-8_setup.yml:5 ----------------------------------------------------- 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/tmpj2uhjp4w 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-8_setup.yml ***************************************************** 1 plays in /cache/rhel-8_setup.yml PLAY [Setup repos] ************************************************************* META: ran handlers TASK [set up internal repositories] ******************************************** task path: /cache/rhel-8_setup.yml:5 Thursday 21 July 2022 22:50:02 +0000 (0:00:00.017) 0:00:00.017 ********* changed: [/cache/rhel-8.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-8.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-8.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-8.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-8.qcow2 : ok=1 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Thursday 21 July 2022 22:50:03 +0000 (0:00:01.343) 0:00:01.361 ********* =============================================================================== set up internal repositories -------------------------------------------- 1.34s /cache/rhel-8_setup.yml:5 ----------------------------------------------------- PLAYBOOK: tests_resize.yml ***************************************************** 1 plays in /tmp/tmpcv9gbk7i/tests/storage/tests_resize.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/tests_resize.yml:1 Thursday 21 July 2022 22:50:03 +0000 (0:00:00.050) 0:00:01.412 ********* ok: [/cache/rhel-8.qcow2] META: ran handlers TASK [include_role : fedora.linux_system_roles.storage] ************************ task path: /tmp/tmpcv9gbk7i/tests/storage/tests_resize.yml:18 Thursday 21 July 2022 22:50:04 +0000 (0:00:01.182) 0:00:02.594 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 22:50:04 +0000 (0:00:00.035) 0:00:02.630 ********* included: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 22:50:04 +0000 (0:00:00.030) 0:00:02.660 ********* ok: [/cache/rhel-8.qcow2] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 22:50:05 +0000 (0:00:00.557) 0:00:03.218 ********* skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8.qcow2] => (item=RedHat_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.6.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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 22:50:05 +0000 (0:00:00.055) 0:00:03.273 ********* ok: [/cache/rhel-8.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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 22:50:05 +0000 (0:00:00.034) 0:00:03.308 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 22:50:05 +0000 (0:00:00.031) 0:00:03.340 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 22:50:05 +0000 (0:00:00.055) 0:00:03.395 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 22:50:05 +0000 (0:00:00.019) 0:00:03.414 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "rc": 0, "results": [ "Installed: libblockdev-loop-2.24-8.el8.x86_64", "Installed: libblockdev-lvm-2.24-8.el8.x86_64", "Installed: device-mapper-event-8:1.02.181-3.el8.x86_64", "Installed: libblockdev-mdraid-2.24-8.el8.x86_64", "Installed: device-mapper-event-libs-8:1.02.181-3.el8.x86_64", "Installed: libblockdev-mpath-2.24-8.el8.x86_64", "Installed: device-mapper-multipath-0.8.4-22.el8.x86_64", "Installed: libblockdev-nvdimm-2.24-8.el8.x86_64", "Installed: device-mapper-multipath-libs-0.8.4-22.el8.x86_64", "Installed: libblockdev-part-2.24-8.el8.x86_64", "Installed: device-mapper-persistent-data-0.9.0-6.el8.x86_64", "Installed: libblockdev-swap-2.24-8.el8.x86_64", "Installed: libaio-0.3.112-1.el8.x86_64", "Installed: libblockdev-utils-2.24-8.el8.x86_64", "Installed: libbytesize-1.4-3.el8.x86_64", "Installed: python3-blivet-1:3.4.0-9.el8.noarch", "Installed: python3-blockdev-2.24-8.el8.x86_64", "Installed: python3-pyparted-1:3.11.7-4.el8.x86_64", "Installed: python3-bytesize-1.4-3.el8.x86_64", "Installed: blivet-data-1:3.4.0-9.el8.noarch", "Installed: lsof-4.93.2-1.el8.x86_64", "Installed: lvm2-8:2.03.14-3.el8.x86_64", "Installed: lvm2-libs-8:2.03.14-3.el8.x86_64", "Installed: volume_key-libs-0.3.11-5.el8.x86_64", "Installed: nspr-4.32.0-1.el8_4.x86_64", "Installed: nss-3.67.0-7.el8_5.x86_64", "Installed: mdadm-4.2-2.el8.x86_64", "Installed: nss-softokn-3.67.0-7.el8_5.x86_64", "Installed: nss-softokn-freebl-3.67.0-7.el8_5.x86_64", "Installed: nss-sysinit-3.67.0-7.el8_5.x86_64", "Installed: nss-util-3.67.0-7.el8_5.x86_64", "Installed: userspace-rcu-0.10.1-4.el8.x86_64", "Installed: vdo-6.2.6.14-14.el8.x86_64", "Installed: ndctl-71.1-3.el8.x86_64", "Installed: ndctl-libs-71.1-3.el8.x86_64", "Installed: daxctl-libs-71.1-3.el8.x86_64", "Installed: libblockdev-2.24-8.el8.x86_64", "Installed: kmod-kvdo-6.2.6.14-84.el8.x86_64", "Installed: libblockdev-crypto-2.24-8.el8.x86_64", "Installed: libblockdev-dm-2.24-8.el8.x86_64", "Installed: libblockdev-fs-2.24-8.el8.x86_64", "Installed: libblockdev-kbd-2.24-8.el8.x86_64" ] } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 22:50:58 +0000 (0:00:52.737) 0:00:56.152 ********* ok: [/cache/rhel-8.qcow2] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 22:50:58 +0000 (0:00:00.036) 0:00:56.188 ********* ok: [/cache/rhel-8.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 22:50:58 +0000 (0:00:00.035) 0:00:56.223 ********* ok: [/cache/rhel-8.qcow2] => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 22:50:59 +0000 (0:00:00.720) 0:00:56.944 ********* included: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.storage : check if the COPR support packages should be installed] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:2 Thursday 21 July 2022 22:50:59 +0000 (0:00:00.043) 0:00:56.987 ********* TASK [fedora.linux_system_roles.storage : make sure COPR support packages are present] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:13 Thursday 21 July 2022 22:50:59 +0000 (0:00:00.034) 0:00:57.022 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable COPRs] ************************ task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:18 Thursday 21 July 2022 22:50:59 +0000 (0:00:00.035) 0:00:57.057 ********* TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 22:50:59 +0000 (0:00:00.030) 0:00:57.088 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 22:51:00 +0000 (0:00:01.266) 0:00:58.354 ********* ok: [/cache/rhel-8.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": "stopped", "status": "disabled" }, "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" }, "cockpit-motd.service": { "name": "cockpit-motd.service", "source": "systemd", "state": "inactive", "status": "static" }, "cockpit-wsinstance-http.service": { "name": "cockpit-wsinstance-http.service", "source": "systemd", "state": "inactive", "status": "static" }, "cockpit-wsinstance-https-factory@.service": { "name": "cockpit-wsinstance-https-factory@.service", "source": "systemd", "state": "unknown", "status": "static" }, "cockpit-wsinstance-https@.service": { "name": "cockpit-wsinstance-https@.service", "source": "systemd", "state": "unknown", "status": "static" }, "cockpit.service": { "name": "cockpit.service", "source": "systemd", "state": "inactive", "status": "static" }, "console-getty.service": { "name": "console-getty.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": "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.nm-dispatcher.service": { "name": "dbus-org.freedesktop.nm-dispatcher.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "dbus-org.freedesktop.portable1.service": { "name": "dbus-org.freedesktop.portable1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus-org.freedesktop.timedate1.service": { "name": "dbus-org.freedesktop.timedate1.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "dbus.service": { "name": "dbus.service", "source": "systemd", "state": "running", "status": "static" }, "dbxtool.service": { "name": "dbxtool.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "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" }, "dnf-makecache.service": { "name": "dnf-makecache.service", "source": "systemd", "state": "stopped", "status": "static" }, "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" }, "fcoe.service": { "name": "fcoe.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" }, "grub-boot-indeterminate.service": { "name": "grub-boot-indeterminate.service", "source": "systemd", "state": "inactive", "status": "static" }, "gssproxy.service": { "name": "gssproxy.service", "source": "systemd", "state": "running", "status": "disabled" }, "halt-local.service": { "name": "halt-local.service", "source": "systemd", "state": "inactive", "status": "static" }, "import-state.service": { "name": "import-state.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "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" }, "insights-client-boot.service": { "name": "insights-client-boot.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "insights-client-results.service": { "name": "insights-client-results.service", "source": "systemd", "state": "inactive", "status": "static" }, "insights-client.service": { "name": "insights-client.service", "source": "systemd", "state": "inactive", "status": "static" }, "irqbalance.service": { "name": "irqbalance.service", "source": "systemd", "state": "running", "status": "enabled" }, "iscsi-shutdown.service": { "name": "iscsi-shutdown.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "iscsi.service": { "name": "iscsi.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "iscsid.service": { "name": "iscsid.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "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" }, "kvm_stat.service": { "name": "kvm_stat.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "ldconfig.service": { "name": "ldconfig.service", "source": "systemd", "state": "stopped", "status": "static" }, "loadmodules.service": { "name": "loadmodules.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "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-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" }, "man-db-cache-update.service": { "name": "man-db-cache-update.service", "source": "systemd", "state": "stopped", "status": "static" }, "man-db-restart-cache-update.service": { "name": "man-db-restart-cache-update.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "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" }, "multipathd.service": { "name": "multipathd.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "ndctl-monitor.service": { "name": "ndctl-monitor.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "network.service": { "name": "network.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "nfs-blkmap.service": { "name": "nfs-blkmap.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nfs-convert.service": { "name": "nfs-convert.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nfs-idmapd.service": { "name": "nfs-idmapd.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-mountd.service": { "name": "nfs-mountd.service", "source": "systemd", "state": "stopped", "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" }, "nfsdcld.service": { "name": "nfsdcld.service", "source": "systemd", "state": "stopped", "status": "static" }, "nis-domainname.service": { "name": "nis-domainname.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "ntpd.service": { "name": "ntpd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ntpdate.service": { "name": "ntpdate.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "oddjobd.service": { "name": "oddjobd.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "packagekit-offline-update.service": { "name": "packagekit-offline-update.service", "source": "systemd", "state": "inactive", "status": "static" }, "packagekit.service": { "name": "packagekit.service", "source": "systemd", "state": "inactive", "status": "static" }, "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" }, "qemu-guest-agent.service": { "name": "qemu-guest-agent.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "quotaon.service": { "name": "quotaon.service", "source": "systemd", "state": "inactive", "status": "static" }, "rbdmap.service": { "name": "rbdmap.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "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" }, "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": "running", "status": "enabled" }, "rpc-gssd.service": { "name": "rpc-gssd.service", "source": "systemd", "state": "stopped", "status": "static" }, "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" }, "rsyslog.service": { "name": "rsyslog.service", "source": "systemd", "state": "running", "status": "enabled" }, "run-r07d859e97f8f438eaffee54b68ed7698.service": { "name": "run-r07d859e97f8f438eaffee54b68ed7698.service", "source": "systemd", "state": "running", "status": "transient" }, "selinux-autorelabel-mark.service": { "name": "selinux-autorelabel-mark.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "selinux-autorelabel.service": { "name": "selinux-autorelabel.service", "source": "systemd", "state": "inactive", "status": "static" }, "serial-getty@.service": { "name": "serial-getty@.service", "source": "systemd", "state": "unknown", "status": "indirect" }, "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": "not-found" }, "sshd-keygen@.service": { "name": "sshd-keygen@.service", "source": "systemd", "state": "unknown", "status": "disabled" }, "sshd-keygen@ecdsa.service": { "name": "sshd-keygen@ecdsa.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd-keygen@ed25519.service": { "name": "sshd-keygen@ed25519.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd-keygen@rsa.service": { "name": "sshd-keygen@rsa.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd.service": { "name": "sshd.service", "source": "systemd", "state": "running", "status": "enabled" }, "sshd@.service": { "name": "sshd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "sssd-autofs.service": { "name": "sssd-autofs.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-kcm.service": { "name": "sssd-kcm.service", "source": "systemd", "state": "stopped", "status": "indirect" }, "sssd-nss.service": { "name": "sssd-nss.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-pac.service": { "name": "sssd-pac.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-pam.service": { "name": "sssd-pam.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-ssh.service": { "name": "sssd-ssh.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-sudo.service": { "name": "sssd-sudo.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd.service": { "name": "sssd.service", "source": "systemd", "state": "running", "status": "enabled" }, "syslog.service": { "name": "syslog.service", "source": "systemd", "state": "active", "status": "enabled" }, "system-update-cleanup.service": { "name": "system-update-cleanup.service", "source": "systemd", "state": "inactive", "status": "static" }, "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-coredump@.service": { "name": "systemd-coredump@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-exit.service": { "name": "systemd-exit.service", "source": "systemd", "state": "inactive", "status": "static" }, "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-fsck@dev-disk-by\\x2duuid-7B77\\x2d95E7.service": { "name": "systemd-fsck@dev-disk-by\\x2duuid-7B77\\x2d95E7.service", "source": "systemd", "state": "stopped", "status": "active" }, "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": "inactive", "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-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-modules-load.service": { "name": "systemd-modules-load.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-portabled.service": { "name": "systemd-portabled.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-poweroff.service": { "name": "systemd-poweroff.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-quotacheck.service": { "name": "systemd-quotacheck.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-random-seed.service": { "name": "systemd-random-seed.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-reboot.service": { "name": "systemd-reboot.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-remount-fs.service": { "name": "systemd-remount-fs.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-resolved.service": { "name": "systemd-resolved.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-rfkill.service": { "name": "systemd-rfkill.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-suspend-then-hibernate.service": { "name": "systemd-suspend-then-hibernate.service", "source": "systemd", "state": "inactive", "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": "static" }, "systemd-timedated.service": { "name": "systemd-timedated.service", "source": "systemd", "state": "inactive", "status": "masked" }, "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" }, "systemd-volatile-root.service": { "name": "systemd-volatile-root.service", "source": "systemd", "state": "inactive", "status": "static" }, "tcsd.service": { "name": "tcsd.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "teamd@.service": { "name": "teamd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "timedatex.service": { "name": "timedatex.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "tuned.service": { "name": "tuned.service", "source": "systemd", "state": "running", "status": "enabled" }, "unbound-anchor.service": { "name": "unbound-anchor.service", "source": "systemd", "state": "stopped", "status": "static" }, "user-runtime-dir@.service": { "name": "user-runtime-dir@.service", "source": "systemd", "state": "unknown", "status": "static" }, "user-runtime-dir@0.service": { "name": "user-runtime-dir@0.service", "source": "systemd", "state": "stopped", "status": "active" }, "user@.service": { "name": "user@.service", "source": "systemd", "state": "unknown", "status": "static" }, "user@0.service": { "name": "user@0.service", "source": "systemd", "state": "running", "status": "active" }, "vdo-start-by-dev@.service": { "name": "vdo-start-by-dev@.service", "source": "systemd", "state": "unknown", "status": "static" }, "vdo.service": { "name": "vdo.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 22:51:02 +0000 (0:00:01.873) 0:01:00.228 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 22:51:02 +0000 (0:00:00.057) 0:01:00.285 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 22:51:02 +0000 (0:00:00.022) 0:01:00.308 ********* ok: [/cache/rhel-8.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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 22:51:03 +0000 (0:00:00.559) 0:01:00.868 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 22:51:03 +0000 (0:00:00.046) 0:01:00.914 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 22:51:03 +0000 (0:00:00.023) 0:01:00.938 ********* ok: [/cache/rhel-8.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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 22:51:03 +0000 (0:00:00.071) 0:01:01.009 ********* ok: [/cache/rhel-8.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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 22:51:03 +0000 (0:00:00.070) 0:01:01.080 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 22:51:03 +0000 (0:00:00.072) 0:01:01.153 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 22:51:03 +0000 (0:00:00.036) 0:01:01.190 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 22:51:03 +0000 (0:00:00.025) 0:01:01.216 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 22:51:03 +0000 (0:00:00.035) 0:01:01.251 ********* skipping: [/cache/rhel-8.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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 22:51:03 +0000 (0:00:00.021) 0:01:01.273 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 22:51:03 +0000 (0:00:00.463) 0:01:01.736 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 22:51:03 +0000 (0:00:00.021) 0:01:01.758 ********* ok: [/cache/rhel-8.qcow2] META: role_complete for /cache/rhel-8.qcow2 TASK [Mark tasks to be skipped] ************************************************ task path: /tmp/tmpcv9gbk7i/tests/storage/tests_resize.yml:21 Thursday 21 July 2022 22:51:04 +0000 (0:00:00.970) 0:01:02.728 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_skip_checks": [ "blivet_available", "packages_installed", "service_facts" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/tests_resize.yml:28 Thursday 21 July 2022 22:51:04 +0000 (0:00:00.034) 0:01:02.763 ********* included: /tmp/tmpcv9gbk7i/tests/storage/get_unused_disk.yml for /cache/rhel-8.qcow2 TASK [Find unused disks in the system] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/get_unused_disk.yml:2 Thursday 21 July 2022 22:51:05 +0000 (0:00:00.037) 0:01:02.801 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "disks": [ "sda" ] } TASK [Set unused_disks if necessary] ******************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/get_unused_disk.yml:9 Thursday 21 July 2022 22:51:05 +0000 (0:00:00.533) 0:01:03.334 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "unused_disks": [ "sda" ] }, "changed": false } TASK [Exit playbook when there's not enough unused disks in the system] ******** task path: /tmp/tmpcv9gbk7i/tests/storage/get_unused_disk.yml:14 Thursday 21 July 2022 22:51:05 +0000 (0:00:00.041) 0:01:03.375 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Print unused disks] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/get_unused_disk.yml:19 Thursday 21 July 2022 22:51:05 +0000 (0:00:00.040) 0:01:03.416 ********* ok: [/cache/rhel-8.qcow2] => { "unused_disks": [ "sda" ] } TASK [Create one LVM logical volume with "5g" under one volume group] ********** task path: /tmp/tmpcv9gbk7i/tests/storage/tests_resize.yml:35 Thursday 21 July 2022 22:51:05 +0000 (0:00:00.039) 0:01:03.455 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 22:51:05 +0000 (0:00:00.043) 0:01:03.499 ********* included: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 22:51:05 +0000 (0:00:00.037) 0:01:03.537 ********* ok: [/cache/rhel-8.qcow2] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 22:51:06 +0000 (0:00:00.555) 0:01:04.092 ********* skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8.qcow2] => (item=RedHat_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.6.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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 22:51:06 +0000 (0:00:00.090) 0:01:04.182 ********* ok: [/cache/rhel-8.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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 22:51:06 +0000 (0:00:00.068) 0:01:04.251 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 22:51:06 +0000 (0:00:00.067) 0:01:04.318 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 22:51:06 +0000 (0:00:00.056) 0:01:04.375 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 22:51:06 +0000 (0:00:00.022) 0:01:04.398 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 22:51:06 +0000 (0:00:00.029) 0:01:04.427 ********* ok: [/cache/rhel-8.qcow2] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "type": "lvm", "volumes": [ { "fs_type": "ext4", "mount_point": "/opt/test1", "name": "test1", "size": "5g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 22:51:06 +0000 (0:00:00.039) 0:01:04.466 ********* ok: [/cache/rhel-8.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 22:51:06 +0000 (0:00:00.036) 0:01:04.502 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 22:51:06 +0000 (0:00:00.032) 0:01:04.535 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 22:51:06 +0000 (0:00:00.027) 0:01:04.563 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 22:51:06 +0000 (0:00:00.025) 0:01:04.589 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 22:51:06 +0000 (0:00:00.028) 0:01:04.617 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 22:51:06 +0000 (0:00:00.057) 0:01:04.674 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 22:51:06 +0000 (0:00:00.022) 0:01:04.696 ********* changed: [/cache/rhel-8.qcow2] => { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "ext4" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd", "/dev/mapper/foo-test1" ], "mounts": [ { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "e2fsprogs", "xfsprogs", "lvm2", "dosfstools" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "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": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 22:51:08 +0000 (0:00:01.700) 0:01:06.396 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 22:51:08 +0000 (0:00:00.035) 0:01:06.432 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 22:51:08 +0000 (0:00:00.020) 0:01:06.452 ********* ok: [/cache/rhel-8.qcow2] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "ext4" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd", "/dev/mapper/foo-test1" ], "mounts": [ { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "e2fsprogs", "xfsprogs", "lvm2", "dosfstools" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "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": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 22:51:08 +0000 (0:00:00.040) 0:01:06.492 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "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": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 22:51:08 +0000 (0:00:00.035) 0:01:06.528 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 22:51:08 +0000 (0:00:00.041) 0:01:06.570 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 22:51:08 +0000 (0:00:00.038) 0:01:06.608 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 22:51:09 +0000 (0:00:00.876) 0:01:07.485 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-8.qcow2] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': 'ext4', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext4", "mount_info": { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 22:51:10 +0000 (0:00:00.598) 0:01:08.083 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 22:51:10 +0000 (0:00:00.605) 0:01:08.688 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 22:51:11 +0000 (0:00:00.366) 0:01:09.055 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 22:51:11 +0000 (0:00:00.021) 0:01:09.077 ********* ok: [/cache/rhel-8.qcow2] META: role_complete for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/tests_resize.yml:50 Thursday 21 July 2022 22:51:12 +0000 (0:00:01.016) 0:01:10.093 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml for /cache/rhel-8.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 22:51:12 +0000 (0:00:00.042) 0:01:10.136 ********* ok: [/cache/rhel-8.qcow2] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "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": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 22:51:12 +0000 (0:00:00.053) 0:01:10.189 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 22:51:12 +0000 (0:00:00.035) 0:01:10.225 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "ext4", "label": "", "name": "/dev/mapper/foo-test1", "size": "5G", "type": "lvm", "uuid": "4cbc8a37-769f-4301-bd9a-78e66eb53539" }, "/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": "LVM2_member", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "Qokr5s-Ln0m-jdRJ-h50f-NKJQ-oTO2-lU21RV" }, "/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-22-49-49-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "vfat", "label": "", "name": "/dev/vda2", "size": "100M", "type": "partition", "uuid": "7B77-95E7" }, "/dev/vda3": { "fstype": "xfs", "label": "root", "name": "/dev/vda3", "size": "9.9G", "type": "partition", "uuid": "853ae189-b3fe-4a45-8485-75bbb1421bbe" }, "/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/tmpcv9gbk7i/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 22:51:12 +0000 (0:00:00.467) 0:01:10.692 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002498", "end": "2022-07-21 18:51:12.678087", "rc": 0, "start": "2022-07-21 18:51:12.675589" } STDOUT: UUID=853ae189-b3fe-4a45-8485-75bbb1421bbe / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 /dev/mapper/foo-test1 /opt/test1 ext4 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 22:51:13 +0000 (0:00:00.455) 0:01:11.148 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002554", "end": "2022-07-21 18:51:13.037154", "failed_when_result": false, "rc": 1, "start": "2022-07-21 18:51:13.034600" } STDERR: cat: /etc/crypttab: No such file or directory MSG: non-zero return code TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 22:51:13 +0000 (0:00:00.358) 0:01:11.507 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool.yml for /cache/rhel-8.qcow2 => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool.yml:5 Thursday 21 July 2022 22:51:13 +0000 (0:00:00.057) 0:01:11.565 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool.yml:18 Thursday 21 July 2022 22:51:13 +0000 (0:00:00.033) 0:01:11.599 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml for /cache/rhel-8.qcow2 => (item=members) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-volumes.yml for /cache/rhel-8.qcow2 => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:1 Thursday 21 July 2022 22:51:13 +0000 (0:00:00.050) 0:01:11.649 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/sda" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 22:51:13 +0000 (0:00:00.055) 0:01:11.705 ********* ok: [/cache/rhel-8.qcow2] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda", "pv": "/dev/sda" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 22:51:14 +0000 (0:00:00.489) 0:01:12.195 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 22:51:14 +0000 (0:00:00.049) 0:01:12.245 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 22:51:14 +0000 (0:00:00.051) 0:01:12.296 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:29 Thursday 21 July 2022 22:51:14 +0000 (0:00:00.079) 0:01:12.375 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 22:51:14 +0000 (0:00:00.075) 0:01:12.451 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:37 Thursday 21 July 2022 22:51:14 +0000 (0:00:00.081) 0:01:12.533 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:41 Thursday 21 July 2022 22:51:14 +0000 (0:00:00.023) 0:01:12.556 ********* ok: [/cache/rhel-8.qcow2] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 22:51:14 +0000 (0:00:00.101) 0:01:12.657 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml for /cache/rhel-8.qcow2 TASK [get information about RAID] ********************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:6 Thursday 21 July 2022 22:51:14 +0000 (0:00:00.044) 0:01:12.702 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 22:51:14 +0000 (0:00:00.025) 0:01:12.728 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:16 Thursday 21 July 2022 22:51:14 +0000 (0:00:00.026) 0:01:12.755 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:20 Thursday 21 July 2022 22:51:14 +0000 (0:00:00.025) 0:01:12.780 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:24 Thursday 21 July 2022 22:51:15 +0000 (0:00:00.025) 0:01:12.806 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:30 Thursday 21 July 2022 22:51:15 +0000 (0:00:00.025) 0:01:12.831 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:36 Thursday 21 July 2022 22:51:15 +0000 (0:00:00.025) 0:01:12.857 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:44 Thursday 21 July 2022 22:51:15 +0000 (0:00:00.024) 0:01:12.882 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 22:51:15 +0000 (0:00:00.035) 0:01:12.917 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-lvmraid.yml for /cache/rhel-8.qcow2 TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 22:51:15 +0000 (0:00:00.046) 0:01:12.964 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 22:51:15 +0000 (0:00:00.042) 0:01:13.006 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 22:51:15 +0000 (0:00:00.034) 0:01:13.040 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 22:51:15 +0000 (0:00:00.033) 0:01:13.074 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 22:51:15 +0000 (0:00:00.028) 0:01:13.102 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-thin.yml for /cache/rhel-8.qcow2 TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-thin.yml:1 Thursday 21 July 2022 22:51:15 +0000 (0:00:00.048) 0:01:13.151 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 22:51:15 +0000 (0:00:00.043) 0:01:13.194 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 22:51:15 +0000 (0:00:00.024) 0:01:13.219 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 22:51:15 +0000 (0:00:00.025) 0:01:13.244 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 22:51:15 +0000 (0:00:00.024) 0:01:13.269 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 22:51:15 +0000 (0:00:00.023) 0:01:13.292 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml for /cache/rhel-8.qcow2 TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 22:51:15 +0000 (0:00:00.048) 0:01:13.340 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 22:51:15 +0000 (0:00:00.051) 0:01:13.392 ********* skipping: [/cache/rhel-8.qcow2] => (item=/dev/sda) => { "_storage_test_pool_member_path": "/dev/sda", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 22:51:15 +0000 (0:00:00.027) 0:01:13.419 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml for /cache/rhel-8.qcow2 => (item=/dev/sda) TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 22:51:15 +0000 (0:00:00.047) 0:01:13.467 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:4 Thursday 21 July 2022 22:51:15 +0000 (0:00:00.049) 0:01:13.517 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:9 Thursday 21 July 2022 22:51:15 +0000 (0:00:00.053) 0:01:13.570 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:15 Thursday 21 July 2022 22:51:15 +0000 (0:00:00.038) 0:01:13.609 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:21 Thursday 21 July 2022 22:51:15 +0000 (0:00:00.036) 0:01:13.645 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:27 Thursday 21 July 2022 22:51:15 +0000 (0:00:00.036) 0:01:13.681 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 22:51:15 +0000 (0:00:00.037) 0:01:13.718 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:62 Thursday 21 July 2022 22:51:15 +0000 (0:00:00.038) 0:01:13.757 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-vdo.yml for /cache/rhel-8.qcow2 TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 22:51:16 +0000 (0:00:00.047) 0:01:13.804 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 22:51:16 +0000 (0:00:00.079) 0:01:13.884 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 22:51:16 +0000 (0:00:00.025) 0:01:13.909 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 22:51:16 +0000 (0:00:00.024) 0:01:13.934 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 22:51:16 +0000 (0:00:00.023) 0:01:13.957 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 22:51:16 +0000 (0:00:00.023) 0:01:13.981 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 22:51:16 +0000 (0:00:00.024) 0:01:14.006 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 22:51:16 +0000 (0:00:00.023) 0:01:14.030 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 22:51:16 +0000 (0:00:00.022) 0:01:14.052 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 22:51:16 +0000 (0:00:00.037) 0:01:14.089 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 22:51:16 +0000 (0:00:00.033) 0:01:14.123 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 22:51:16 +0000 (0:00:00.041) 0:01:14.164 ********* ok: [/cache/rhel-8.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/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 22:51:16 +0000 (0:00:00.046) 0:01:14.211 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml for /cache/rhel-8.qcow2 => (item=mount) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml for /cache/rhel-8.qcow2 => (item=fstab) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fs.yml for /cache/rhel-8.qcow2 => (item=fs) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml for /cache/rhel-8.qcow2 => (item=device) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml for /cache/rhel-8.qcow2 => (item=encryption) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml for /cache/rhel-8.qcow2 => (item=md) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml for /cache/rhel-8.qcow2 => (item=size) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml for /cache/rhel-8.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 22:51:16 +0000 (0:00:00.080) 0:01:14.291 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 22:51:16 +0000 (0:00:00.042) 0:01:14.334 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 1199010, "block_size": 4096, "block_total": 1273760, "block_used": 74750, "device": "/dev/mapper/foo-test1", "fstype": "ext4", "inode_available": 327669, "inode_total": 327680, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 4911144960, "size_total": 5217320960, "uuid": "4cbc8a37-769f-4301-bd9a-78e66eb53539" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 1199010, "block_size": 4096, "block_total": 1273760, "block_used": 74750, "device": "/dev/mapper/foo-test1", "fstype": "ext4", "inode_available": 327669, "inode_total": 327680, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 4911144960, "size_total": 5217320960, "uuid": "4cbc8a37-769f-4301-bd9a-78e66eb53539" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 22:51:16 +0000 (0:00:00.053) 0:01:14.387 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 22:51:16 +0000 (0:00:00.049) 0:01:14.437 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 22:51:16 +0000 (0:00:00.049) 0:01:14.486 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 22:51:16 +0000 (0:00:00.050) 0:01:14.537 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 22:51:16 +0000 (0:00:00.025) 0:01:14.562 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 22:51:16 +0000 (0:00:00.023) 0:01:14.586 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 22:51:16 +0000 (0:00:00.022) 0:01:14.609 ********* ok: [/cache/rhel-8.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/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 22:51:16 +0000 (0:00:00.037) 0:01:14.647 ********* ok: [/cache/rhel-8.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": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 ext4 defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 22:51:16 +0000 (0:00:00.061) 0:01:14.708 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 22:51:16 +0000 (0:00:00.053) 0:01:14.761 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 22:51:17 +0000 (0:00:00.063) 0:01:14.824 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 22:51:17 +0000 (0:00:00.042) 0:01:14.867 ********* ok: [/cache/rhel-8.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/tmpcv9gbk7i/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 22:51:17 +0000 (0:00:00.034) 0:01:14.901 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 22:51:17 +0000 (0:00:00.037) 0:01:14.939 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 22:51:17 +0000 (0:00:00.038) 0:01:14.977 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1658443867.8746629, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658443867.8746629, "dev": 6, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 72603, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658443867.8746629, "nlink": 1, "path": "/dev/mapper/foo-test1", "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/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 22:51:17 +0000 (0:00:00.377) 0:01:15.355 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 22:51:17 +0000 (0:00:00.079) 0:01:15.434 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 22:51:17 +0000 (0:00:00.037) 0:01:15.472 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 22:51:17 +0000 (0:00:00.072) 0:01:15.544 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 22:51:17 +0000 (0:00:00.025) 0:01:15.569 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 22:51:17 +0000 (0:00:00.107) 0:01:15.677 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 22:51:17 +0000 (0:00:00.025) 0:01:15.703 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "rc": 0, "results": [ "Installed: cryptsetup-2.3.7-2.el8.x86_64" ] } TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 22:51:19 +0000 (0:00:02.012) 0:01:17.716 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 22:51:19 +0000 (0:00:00.037) 0:01:17.753 ********* skipping: [/cache/rhel-8.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/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 22:51:19 +0000 (0:00:00.035) 0:01:17.788 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 22:51:20 +0000 (0:00:00.065) 0:01:17.854 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 22:51:20 +0000 (0:00:00.027) 0:01:17.882 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 22:51:20 +0000 (0:00:00.024) 0:01:17.907 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 22:51:20 +0000 (0:00:00.025) 0:01:17.932 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 22:51:20 +0000 (0:00:00.025) 0:01:17.957 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 22:51:20 +0000 (0:00:00.025) 0:01:17.983 ********* ok: [/cache/rhel-8.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/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 22:51:20 +0000 (0:00:00.052) 0:01:18.035 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 22:51:20 +0000 (0:00:00.063) 0:01:18.099 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 22:51:20 +0000 (0:00:00.039) 0:01:18.138 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 22:51:20 +0000 (0:00:00.038) 0:01:18.177 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 22:51:20 +0000 (0:00:00.035) 0:01:18.212 ********* ok: [/cache/rhel-8.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/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 22:51:20 +0000 (0:00:00.036) 0:01:18.249 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 22:51:20 +0000 (0:00:00.039) 0:01:18.288 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 22:51:20 +0000 (0:00:00.035) 0:01:18.323 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 22:51:20 +0000 (0:00:00.036) 0:01:18.359 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 22:51:20 +0000 (0:00:00.037) 0:01:18.397 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 22:51:20 +0000 (0:00:00.040) 0:01:18.438 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 22:51:20 +0000 (0:00:00.042) 0:01:18.481 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 22:51:20 +0000 (0:00:00.043) 0:01:18.525 ********* ok: [/cache/rhel-8.qcow2] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 22:51:21 +0000 (0:00:00.508) 0:01:19.033 ********* ok: [/cache/rhel-8.qcow2] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 22:51:21 +0000 (0:00:00.403) 0:01:19.437 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_expected_size": "5368709120" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 22:51:21 +0000 (0:00:00.050) 0:01:19.488 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "5368709120" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 22:51:21 +0000 (0:00:00.033) 0:01:19.521 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 22:51:21 +0000 (0:00:00.037) 0:01:19.558 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 22:51:21 +0000 (0:00:00.035) 0:01:19.594 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 22:51:21 +0000 (0:00:00.036) 0:01:19.630 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 22:51:21 +0000 (0:00:00.033) 0:01:19.663 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 22:51:21 +0000 (0:00:00.033) 0:01:19.697 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_actual_size": { "bytes": 5368709120, "changed": false, "failed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 22:51:21 +0000 (0:00:00.069) 0:01:19.766 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "5368709120" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 22:51:22 +0000 (0:00:00.073) 0:01:19.839 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 22:51:22 +0000 (0:00:00.088) 0:01:19.928 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.035819", "end": "2022-07-21 18:51:21.895603", "rc": 0, "start": "2022-07-21 18:51:21.859784" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 22:51:22 +0000 (0:00:00.440) 0:01:20.368 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 22:51:22 +0000 (0:00:00.054) 0:01:20.423 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 22:51:22 +0000 (0:00:00.056) 0:01:20.479 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 22:51:22 +0000 (0:00:00.040) 0:01:20.520 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 22:51:22 +0000 (0:00:00.037) 0:01:20.557 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 22:51:22 +0000 (0:00:00.039) 0:01:20.597 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 22:51:22 +0000 (0:00:00.039) 0:01:20.636 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 22:51:22 +0000 (0:00:00.037) 0:01:20.673 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 22:51:22 +0000 (0:00:00.021) 0:01:20.695 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Change volume_size to "9g"] ********************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/tests_resize.yml:52 Thursday 21 July 2022 22:51:22 +0000 (0:00:00.035) 0:01:20.730 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 22:51:22 +0000 (0:00:00.048) 0:01:20.778 ********* included: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 22:51:23 +0000 (0:00:00.034) 0:01:20.813 ********* ok: [/cache/rhel-8.qcow2] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 22:51:23 +0000 (0:00:00.525) 0:01:21.339 ********* skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8.qcow2] => (item=RedHat_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.6.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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 22:51:23 +0000 (0:00:00.061) 0:01:21.400 ********* ok: [/cache/rhel-8.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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 22:51:23 +0000 (0:00:00.035) 0:01:21.436 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 22:51:23 +0000 (0:00:00.035) 0:01:21.472 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 22:51:23 +0000 (0:00:00.057) 0:01:21.529 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 22:51:23 +0000 (0:00:00.021) 0:01:21.551 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 22:51:23 +0000 (0:00:00.027) 0:01:21.579 ********* ok: [/cache/rhel-8.qcow2] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "type": "lvm", "volumes": [ { "fs_type": "ext4", "mount_point": "/opt/test1", "name": "test1", "size": "9g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 22:51:23 +0000 (0:00:00.038) 0:01:21.617 ********* ok: [/cache/rhel-8.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 22:51:23 +0000 (0:00:00.036) 0:01:21.654 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 22:51:23 +0000 (0:00:00.026) 0:01:21.681 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 22:51:23 +0000 (0:00:00.028) 0:01:21.709 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 22:51:23 +0000 (0:00:00.027) 0:01:21.736 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 22:51:23 +0000 (0:00:00.029) 0:01:21.765 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 22:51:24 +0000 (0:00:00.085) 0:01:21.850 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 22:51:24 +0000 (0:00:00.021) 0:01:21.872 ********* changed: [/cache/rhel-8.qcow2] => { "actions": [ { "action": "resize device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "resize format", "device": "/dev/mapper/foo-test1", "fs_type": "ext4" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "e2fsprogs", "dosfstools", "xfsprogs", "lvm2" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "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": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "9g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 22:51:25 +0000 (0:00:01.813) 0:01:23.685 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 22:51:25 +0000 (0:00:00.039) 0:01:23.724 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 22:51:25 +0000 (0:00:00.021) 0:01:23.745 ********* ok: [/cache/rhel-8.qcow2] => { "blivet_output": { "actions": [ { "action": "resize device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "resize format", "device": "/dev/mapper/foo-test1", "fs_type": "ext4" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "e2fsprogs", "dosfstools", "xfsprogs", "lvm2" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "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": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "9g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 22:51:25 +0000 (0:00:00.037) 0:01:23.783 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "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": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "9g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 22:51:26 +0000 (0:00:00.036) 0:01:23.819 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 22:51:26 +0000 (0:00:00.037) 0:01:23.857 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 22:51:26 +0000 (0:00:00.036) 0:01:23.893 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 22:51:26 +0000 (0:00:00.611) 0:01:24.505 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-8.qcow2] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': 'ext4', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext4", "mount_info": { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 22:51:27 +0000 (0:00:00.441) 0:01:24.946 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 22:51:27 +0000 (0:00:00.631) 0:01:25.577 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 22:51:28 +0000 (0:00:00.359) 0:01:25.937 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 22:51:28 +0000 (0:00:00.023) 0:01:25.961 ********* ok: [/cache/rhel-8.qcow2] META: role_complete for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/tests_resize.yml:66 Thursday 21 July 2022 22:51:29 +0000 (0:00:00.959) 0:01:26.920 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml for /cache/rhel-8.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 22:51:29 +0000 (0:00:00.043) 0:01:26.963 ********* ok: [/cache/rhel-8.qcow2] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "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": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "9g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 22:51:29 +0000 (0:00:00.077) 0:01:27.040 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 22:51:29 +0000 (0:00:00.035) 0:01:27.076 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "ext4", "label": "", "name": "/dev/mapper/foo-test1", "size": "9G", "type": "lvm", "uuid": "4cbc8a37-769f-4301-bd9a-78e66eb53539" }, "/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": "LVM2_member", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "Qokr5s-Ln0m-jdRJ-h50f-NKJQ-oTO2-lU21RV" }, "/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-22-49-49-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "vfat", "label": "", "name": "/dev/vda2", "size": "100M", "type": "partition", "uuid": "7B77-95E7" }, "/dev/vda3": { "fstype": "xfs", "label": "root", "name": "/dev/vda3", "size": "9.9G", "type": "partition", "uuid": "853ae189-b3fe-4a45-8485-75bbb1421bbe" }, "/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/tmpcv9gbk7i/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 22:51:29 +0000 (0:00:00.427) 0:01:27.503 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:01.004000", "end": "2022-07-21 18:51:30.443077", "rc": 0, "start": "2022-07-21 18:51:29.439077" } STDOUT: UUID=853ae189-b3fe-4a45-8485-75bbb1421bbe / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 /dev/mapper/foo-test1 /opt/test1 ext4 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 22:51:31 +0000 (0:00:01.422) 0:01:28.926 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002765", "end": "2022-07-21 18:51:30.830234", "failed_when_result": false, "rc": 1, "start": "2022-07-21 18:51:30.827469" } STDERR: cat: /etc/crypttab: No such file or directory MSG: non-zero return code TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 22:51:31 +0000 (0:00:00.374) 0:01:29.301 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool.yml for /cache/rhel-8.qcow2 => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '9g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool.yml:5 Thursday 21 July 2022 22:51:31 +0000 (0:00:00.057) 0:01:29.358 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool.yml:18 Thursday 21 July 2022 22:51:31 +0000 (0:00:00.035) 0:01:29.394 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml for /cache/rhel-8.qcow2 => (item=members) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-volumes.yml for /cache/rhel-8.qcow2 => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:1 Thursday 21 July 2022 22:51:31 +0000 (0:00:00.052) 0:01:29.446 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/sda" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 22:51:31 +0000 (0:00:00.057) 0:01:29.504 ********* ok: [/cache/rhel-8.qcow2] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda", "pv": "/dev/sda" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 22:51:32 +0000 (0:00:00.386) 0:01:29.891 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 22:51:32 +0000 (0:00:00.050) 0:01:29.941 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 22:51:32 +0000 (0:00:00.050) 0:01:29.992 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:29 Thursday 21 July 2022 22:51:32 +0000 (0:00:00.049) 0:01:30.041 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 22:51:32 +0000 (0:00:00.037) 0:01:30.079 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:37 Thursday 21 July 2022 22:51:32 +0000 (0:00:00.050) 0:01:30.129 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:41 Thursday 21 July 2022 22:51:32 +0000 (0:00:00.027) 0:01:30.156 ********* ok: [/cache/rhel-8.qcow2] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 22:51:32 +0000 (0:00:00.044) 0:01:30.201 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml for /cache/rhel-8.qcow2 TASK [get information about RAID] ********************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:6 Thursday 21 July 2022 22:51:32 +0000 (0:00:00.043) 0:01:30.244 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 22:51:32 +0000 (0:00:00.022) 0:01:30.267 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:16 Thursday 21 July 2022 22:51:32 +0000 (0:00:00.024) 0:01:30.291 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:20 Thursday 21 July 2022 22:51:32 +0000 (0:00:00.027) 0:01:30.319 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:24 Thursday 21 July 2022 22:51:32 +0000 (0:00:00.022) 0:01:30.341 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:30 Thursday 21 July 2022 22:51:32 +0000 (0:00:00.023) 0:01:30.365 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:36 Thursday 21 July 2022 22:51:32 +0000 (0:00:00.023) 0:01:30.388 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:44 Thursday 21 July 2022 22:51:32 +0000 (0:00:00.024) 0:01:30.413 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 22:51:32 +0000 (0:00:00.033) 0:01:30.446 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-lvmraid.yml for /cache/rhel-8.qcow2 TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 22:51:32 +0000 (0:00:00.042) 0:01:30.489 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '9g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 22:51:32 +0000 (0:00:00.075) 0:01:30.564 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 22:51:32 +0000 (0:00:00.028) 0:01:30.593 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 22:51:32 +0000 (0:00:00.027) 0:01:30.621 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 22:51:32 +0000 (0:00:00.026) 0:01:30.648 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-thin.yml for /cache/rhel-8.qcow2 TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-thin.yml:1 Thursday 21 July 2022 22:51:32 +0000 (0:00:00.045) 0:01:30.693 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '9g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 22:51:32 +0000 (0:00:00.043) 0:01:30.737 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 22:51:32 +0000 (0:00:00.023) 0:01:30.760 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 22:51:32 +0000 (0:00:00.023) 0:01:30.783 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 22:51:33 +0000 (0:00:00.024) 0:01:30.807 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 22:51:33 +0000 (0:00:00.025) 0:01:30.833 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml for /cache/rhel-8.qcow2 TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 22:51:33 +0000 (0:00:00.045) 0:01:30.879 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 22:51:33 +0000 (0:00:00.050) 0:01:30.930 ********* skipping: [/cache/rhel-8.qcow2] => (item=/dev/sda) => { "_storage_test_pool_member_path": "/dev/sda", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 22:51:33 +0000 (0:00:00.027) 0:01:30.957 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml for /cache/rhel-8.qcow2 => (item=/dev/sda) TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 22:51:33 +0000 (0:00:00.041) 0:01:30.999 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:4 Thursday 21 July 2022 22:51:33 +0000 (0:00:00.050) 0:01:31.049 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:9 Thursday 21 July 2022 22:51:33 +0000 (0:00:00.047) 0:01:31.097 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:15 Thursday 21 July 2022 22:51:33 +0000 (0:00:00.036) 0:01:31.133 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:21 Thursday 21 July 2022 22:51:33 +0000 (0:00:00.036) 0:01:31.169 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:27 Thursday 21 July 2022 22:51:33 +0000 (0:00:00.040) 0:01:31.210 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 22:51:33 +0000 (0:00:00.033) 0:01:31.244 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:62 Thursday 21 July 2022 22:51:33 +0000 (0:00:00.035) 0:01:31.280 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-vdo.yml for /cache/rhel-8.qcow2 TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 22:51:33 +0000 (0:00:00.049) 0:01:31.329 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '9g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 22:51:33 +0000 (0:00:00.044) 0:01:31.373 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 22:51:33 +0000 (0:00:00.024) 0:01:31.398 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 22:51:33 +0000 (0:00:00.024) 0:01:31.422 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 22:51:33 +0000 (0:00:00.023) 0:01:31.446 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 22:51:33 +0000 (0:00:00.023) 0:01:31.469 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 22:51:33 +0000 (0:00:00.024) 0:01:31.494 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 22:51:33 +0000 (0:00:00.023) 0:01:31.518 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 22:51:33 +0000 (0:00:00.024) 0:01:31.542 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 22:51:33 +0000 (0:00:00.038) 0:01:31.581 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 22:51:33 +0000 (0:00:00.034) 0:01:31.615 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '9g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 22:51:33 +0000 (0:00:00.040) 0:01:31.656 ********* ok: [/cache/rhel-8.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/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 22:51:33 +0000 (0:00:00.078) 0:01:31.735 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml for /cache/rhel-8.qcow2 => (item=mount) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml for /cache/rhel-8.qcow2 => (item=fstab) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fs.yml for /cache/rhel-8.qcow2 => (item=fs) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml for /cache/rhel-8.qcow2 => (item=device) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml for /cache/rhel-8.qcow2 => (item=encryption) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml for /cache/rhel-8.qcow2 => (item=md) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml for /cache/rhel-8.qcow2 => (item=size) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml for /cache/rhel-8.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 22:51:34 +0000 (0:00:00.113) 0:01:31.848 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 22:51:34 +0000 (0:00:00.041) 0:01:31.890 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 2178069, "block_size": 4096, "block_total": 2305877, "block_used": 127808, "device": "/dev/mapper/foo-test1", "fstype": "ext4", "inode_available": 589813, "inode_total": 589824, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 8921370624, "size_total": 9444872192, "uuid": "4cbc8a37-769f-4301-bd9a-78e66eb53539" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 2178069, "block_size": 4096, "block_total": 2305877, "block_used": 127808, "device": "/dev/mapper/foo-test1", "fstype": "ext4", "inode_available": 589813, "inode_total": 589824, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 8921370624, "size_total": 9444872192, "uuid": "4cbc8a37-769f-4301-bd9a-78e66eb53539" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 22:51:34 +0000 (0:00:00.051) 0:01:31.942 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 22:51:34 +0000 (0:00:00.047) 0:01:31.989 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 22:51:34 +0000 (0:00:00.051) 0:01:32.041 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 22:51:34 +0000 (0:00:00.051) 0:01:32.092 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 22:51:34 +0000 (0:00:00.023) 0:01:32.116 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 22:51:34 +0000 (0:00:00.023) 0:01:32.139 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 22:51:34 +0000 (0:00:00.022) 0:01:32.161 ********* ok: [/cache/rhel-8.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/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 22:51:34 +0000 (0:00:00.032) 0:01:32.193 ********* ok: [/cache/rhel-8.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": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 ext4 defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 22:51:34 +0000 (0:00:00.062) 0:01:32.256 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 22:51:34 +0000 (0:00:00.049) 0:01:32.306 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 22:51:34 +0000 (0:00:00.049) 0:01:32.355 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 22:51:34 +0000 (0:00:00.035) 0:01:32.391 ********* ok: [/cache/rhel-8.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/tmpcv9gbk7i/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 22:51:34 +0000 (0:00:00.037) 0:01:32.429 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 22:51:34 +0000 (0:00:00.039) 0:01:32.468 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 22:51:34 +0000 (0:00:00.039) 0:01:32.508 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1658443885.169663, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658443885.169663, "dev": 6, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 72603, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658443885.169663, "nlink": 1, "path": "/dev/mapper/foo-test1", "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/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 22:51:35 +0000 (0:00:00.380) 0:01:32.889 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 22:51:35 +0000 (0:00:00.036) 0:01:32.925 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 22:51:35 +0000 (0:00:00.035) 0:01:32.961 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 22:51:35 +0000 (0:00:00.034) 0:01:32.996 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 22:51:35 +0000 (0:00:00.023) 0:01:33.019 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 22:51:35 +0000 (0:00:00.037) 0:01:33.056 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 22:51:35 +0000 (0:00:00.021) 0:01:33.078 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 22:51:36 +0000 (0:00:01.339) 0:01:34.417 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 22:51:36 +0000 (0:00:00.025) 0:01:34.443 ********* skipping: [/cache/rhel-8.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/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 22:51:36 +0000 (0:00:00.024) 0:01:34.468 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 22:51:36 +0000 (0:00:00.086) 0:01:34.554 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 22:51:36 +0000 (0:00:00.054) 0:01:34.609 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 22:51:36 +0000 (0:00:00.024) 0:01:34.633 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 22:51:36 +0000 (0:00:00.023) 0:01:34.657 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 22:51:36 +0000 (0:00:00.024) 0:01:34.681 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 22:51:36 +0000 (0:00:00.025) 0:01:34.707 ********* ok: [/cache/rhel-8.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/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 22:51:36 +0000 (0:00:00.055) 0:01:34.762 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 22:51:37 +0000 (0:00:00.052) 0:01:34.814 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 22:51:37 +0000 (0:00:00.036) 0:01:34.850 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 22:51:37 +0000 (0:00:00.039) 0:01:34.890 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 22:51:37 +0000 (0:00:00.036) 0:01:34.926 ********* ok: [/cache/rhel-8.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/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 22:51:37 +0000 (0:00:00.035) 0:01:34.962 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 22:51:37 +0000 (0:00:00.035) 0:01:34.997 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 22:51:37 +0000 (0:00:00.039) 0:01:35.037 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 22:51:37 +0000 (0:00:00.035) 0:01:35.072 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 22:51:37 +0000 (0:00:00.035) 0:01:35.108 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 22:51:37 +0000 (0:00:00.035) 0:01:35.143 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 22:51:37 +0000 (0:00:00.039) 0:01:35.183 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 22:51:37 +0000 (0:00:00.036) 0:01:35.220 ********* ok: [/cache/rhel-8.qcow2] => { "bytes": 9663676416, "changed": false, "lvm": "9g", "parted": "9GiB", "size": "9 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 22:51:37 +0000 (0:00:00.394) 0:01:35.614 ********* ok: [/cache/rhel-8.qcow2] => { "bytes": 9663676416, "changed": false, "lvm": "9g", "parted": "9GiB", "size": "9 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 22:51:38 +0000 (0:00:00.394) 0:01:36.008 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_expected_size": "9663676416" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 22:51:38 +0000 (0:00:00.052) 0:01:36.061 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "9663676416" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 22:51:38 +0000 (0:00:00.037) 0:01:36.099 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 22:51:38 +0000 (0:00:00.040) 0:01:36.140 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 22:51:38 +0000 (0:00:00.037) 0:01:36.177 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 22:51:38 +0000 (0:00:00.036) 0:01:36.214 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 22:51:38 +0000 (0:00:00.036) 0:01:36.251 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 22:51:38 +0000 (0:00:00.040) 0:01:36.291 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_actual_size": { "bytes": 9663676416, "changed": false, "failed": false, "lvm": "9g", "parted": "9GiB", "size": "9 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 22:51:38 +0000 (0:00:00.033) 0:01:36.325 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "9663676416" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 22:51:38 +0000 (0:00:00.038) 0:01:36.364 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 22:51:38 +0000 (0:00:00.049) 0:01:36.414 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.037954", "end": "2022-07-21 18:51:38.358741", "rc": 0, "start": "2022-07-21 18:51:38.320787" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 22:51:39 +0000 (0:00:00.422) 0:01:36.836 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 22:51:39 +0000 (0:00:00.052) 0:01:36.889 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 22:51:39 +0000 (0:00:00.052) 0:01:36.941 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 22:51:39 +0000 (0:00:00.037) 0:01:36.979 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 22:51:39 +0000 (0:00:00.036) 0:01:37.016 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 22:51:39 +0000 (0:00:00.036) 0:01:37.053 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 22:51:39 +0000 (0:00:00.040) 0:01:37.093 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 22:51:39 +0000 (0:00:00.031) 0:01:37.124 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 22:51:39 +0000 (0:00:00.019) 0:01:37.144 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Change volume size to "5g"] ********************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/tests_resize.yml:68 Thursday 21 July 2022 22:51:39 +0000 (0:00:00.066) 0:01:37.210 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 22:51:39 +0000 (0:00:00.057) 0:01:37.268 ********* included: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 22:51:39 +0000 (0:00:00.079) 0:01:37.348 ********* ok: [/cache/rhel-8.qcow2] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 22:51:40 +0000 (0:00:00.538) 0:01:37.886 ********* skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8.qcow2] => (item=RedHat_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.6.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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 22:51:40 +0000 (0:00:00.060) 0:01:37.947 ********* ok: [/cache/rhel-8.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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 22:51:40 +0000 (0:00:00.034) 0:01:37.981 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 22:51:40 +0000 (0:00:00.033) 0:01:38.015 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 22:51:40 +0000 (0:00:00.054) 0:01:38.070 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 22:51:40 +0000 (0:00:00.020) 0:01:38.091 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 22:51:40 +0000 (0:00:00.030) 0:01:38.122 ********* ok: [/cache/rhel-8.qcow2] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "type": "lvm", "volumes": [ { "fs_type": "ext4", "mount_point": "/opt/test1", "name": "test1", "size": "5g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 22:51:40 +0000 (0:00:00.037) 0:01:38.160 ********* ok: [/cache/rhel-8.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 22:51:40 +0000 (0:00:00.038) 0:01:38.198 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 22:51:40 +0000 (0:00:00.027) 0:01:38.226 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 22:51:40 +0000 (0:00:00.027) 0:01:38.254 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 22:51:40 +0000 (0:00:00.026) 0:01:38.280 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 22:51:40 +0000 (0:00:00.026) 0:01:38.306 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 22:51:40 +0000 (0:00:00.057) 0:01:38.363 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 22:51:40 +0000 (0:00:00.023) 0:01:38.387 ********* changed: [/cache/rhel-8.qcow2] => { "actions": [ { "action": "resize format", "device": "/dev/mapper/foo-test1", "fs_type": "ext4" }, { "action": "resize device", "device": "/dev/mapper/foo-test1", "fs_type": null } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "dosfstools", "e2fsprogs", "lvm2", "xfsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "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": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 22:51:42 +0000 (0:00:01.826) 0:01:40.213 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 22:51:42 +0000 (0:00:00.035) 0:01:40.249 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 22:51:42 +0000 (0:00:00.022) 0:01:40.272 ********* ok: [/cache/rhel-8.qcow2] => { "blivet_output": { "actions": [ { "action": "resize format", "device": "/dev/mapper/foo-test1", "fs_type": "ext4" }, { "action": "resize device", "device": "/dev/mapper/foo-test1", "fs_type": null } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "dosfstools", "e2fsprogs", "lvm2", "xfsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "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": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 22:51:42 +0000 (0:00:00.043) 0:01:40.316 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "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": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 22:51:42 +0000 (0:00:00.036) 0:01:40.352 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 22:51:42 +0000 (0:00:00.065) 0:01:40.418 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 22:51:42 +0000 (0:00:00.040) 0:01:40.458 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 22:51:43 +0000 (0:00:00.711) 0:01:41.169 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-8.qcow2] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': 'ext4', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext4", "mount_info": { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 22:51:43 +0000 (0:00:00.481) 0:01:41.650 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 22:51:44 +0000 (0:00:00.632) 0:01:42.283 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 22:51:44 +0000 (0:00:00.376) 0:01:42.660 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 22:51:44 +0000 (0:00:00.024) 0:01:42.684 ********* ok: [/cache/rhel-8.qcow2] META: role_complete for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/tests_resize.yml:82 Thursday 21 July 2022 22:51:45 +0000 (0:00:00.985) 0:01:43.669 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml for /cache/rhel-8.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 22:51:45 +0000 (0:00:00.047) 0:01:43.716 ********* ok: [/cache/rhel-8.qcow2] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "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": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 22:51:45 +0000 (0:00:00.054) 0:01:43.771 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 22:51:46 +0000 (0:00:00.037) 0:01:43.808 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "ext4", "label": "", "name": "/dev/mapper/foo-test1", "size": "5G", "type": "lvm", "uuid": "4cbc8a37-769f-4301-bd9a-78e66eb53539" }, "/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": "LVM2_member", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "Qokr5s-Ln0m-jdRJ-h50f-NKJQ-oTO2-lU21RV" }, "/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-22-49-49-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "vfat", "label": "", "name": "/dev/vda2", "size": "100M", "type": "partition", "uuid": "7B77-95E7" }, "/dev/vda3": { "fstype": "xfs", "label": "root", "name": "/dev/vda3", "size": "9.9G", "type": "partition", "uuid": "853ae189-b3fe-4a45-8485-75bbb1421bbe" }, "/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/tmpcv9gbk7i/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 22:51:46 +0000 (0:00:00.384) 0:01:44.193 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003160", "end": "2022-07-21 18:51:46.102836", "rc": 0, "start": "2022-07-21 18:51:46.099676" } STDOUT: UUID=853ae189-b3fe-4a45-8485-75bbb1421bbe / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 /dev/mapper/foo-test1 /opt/test1 ext4 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 22:51:46 +0000 (0:00:00.384) 0:01:44.577 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002542", "end": "2022-07-21 18:51:46.484399", "failed_when_result": false, "rc": 1, "start": "2022-07-21 18:51:46.481857" } STDERR: cat: /etc/crypttab: No such file or directory MSG: non-zero return code TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 22:51:47 +0000 (0:00:00.379) 0:01:44.957 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool.yml for /cache/rhel-8.qcow2 => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool.yml:5 Thursday 21 July 2022 22:51:47 +0000 (0:00:00.059) 0:01:45.016 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool.yml:18 Thursday 21 July 2022 22:51:47 +0000 (0:00:00.070) 0:01:45.087 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml for /cache/rhel-8.qcow2 => (item=members) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-volumes.yml for /cache/rhel-8.qcow2 => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:1 Thursday 21 July 2022 22:51:47 +0000 (0:00:00.047) 0:01:45.134 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/sda" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 22:51:47 +0000 (0:00:00.083) 0:01:45.218 ********* ok: [/cache/rhel-8.qcow2] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda", "pv": "/dev/sda" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 22:51:47 +0000 (0:00:00.398) 0:01:45.617 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 22:51:47 +0000 (0:00:00.050) 0:01:45.667 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 22:51:47 +0000 (0:00:00.049) 0:01:45.717 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:29 Thursday 21 July 2022 22:51:47 +0000 (0:00:00.050) 0:01:45.767 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 22:51:48 +0000 (0:00:00.039) 0:01:45.806 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:37 Thursday 21 July 2022 22:51:48 +0000 (0:00:00.052) 0:01:45.858 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:41 Thursday 21 July 2022 22:51:48 +0000 (0:00:00.024) 0:01:45.883 ********* ok: [/cache/rhel-8.qcow2] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 22:51:48 +0000 (0:00:00.043) 0:01:45.926 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml for /cache/rhel-8.qcow2 TASK [get information about RAID] ********************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:6 Thursday 21 July 2022 22:51:48 +0000 (0:00:00.039) 0:01:45.966 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 22:51:48 +0000 (0:00:00.024) 0:01:45.990 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:16 Thursday 21 July 2022 22:51:48 +0000 (0:00:00.024) 0:01:46.014 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:20 Thursday 21 July 2022 22:51:48 +0000 (0:00:00.022) 0:01:46.037 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:24 Thursday 21 July 2022 22:51:48 +0000 (0:00:00.022) 0:01:46.059 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:30 Thursday 21 July 2022 22:51:48 +0000 (0:00:00.021) 0:01:46.080 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:36 Thursday 21 July 2022 22:51:48 +0000 (0:00:00.023) 0:01:46.104 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:44 Thursday 21 July 2022 22:51:48 +0000 (0:00:00.022) 0:01:46.126 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 22:51:48 +0000 (0:00:00.036) 0:01:46.163 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-lvmraid.yml for /cache/rhel-8.qcow2 TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 22:51:48 +0000 (0:00:00.044) 0:01:46.207 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 22:51:48 +0000 (0:00:00.040) 0:01:46.247 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 22:51:48 +0000 (0:00:00.028) 0:01:46.276 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 22:51:48 +0000 (0:00:00.029) 0:01:46.305 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 22:51:48 +0000 (0:00:00.029) 0:01:46.335 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-thin.yml for /cache/rhel-8.qcow2 TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-thin.yml:1 Thursday 21 July 2022 22:51:48 +0000 (0:00:00.044) 0:01:46.379 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 22:51:48 +0000 (0:00:00.040) 0:01:46.420 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 22:51:48 +0000 (0:00:00.024) 0:01:46.445 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 22:51:48 +0000 (0:00:00.023) 0:01:46.469 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 22:51:48 +0000 (0:00:00.022) 0:01:46.491 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 22:51:48 +0000 (0:00:00.021) 0:01:46.513 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml for /cache/rhel-8.qcow2 TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 22:51:48 +0000 (0:00:00.044) 0:01:46.558 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 22:51:48 +0000 (0:00:00.077) 0:01:46.635 ********* skipping: [/cache/rhel-8.qcow2] => (item=/dev/sda) => { "_storage_test_pool_member_path": "/dev/sda", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 22:51:48 +0000 (0:00:00.028) 0:01:46.664 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml for /cache/rhel-8.qcow2 => (item=/dev/sda) TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 22:51:48 +0000 (0:00:00.073) 0:01:46.737 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:4 Thursday 21 July 2022 22:51:48 +0000 (0:00:00.048) 0:01:46.786 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:9 Thursday 21 July 2022 22:51:49 +0000 (0:00:00.046) 0:01:46.833 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:15 Thursday 21 July 2022 22:51:49 +0000 (0:00:00.036) 0:01:46.869 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:21 Thursday 21 July 2022 22:51:49 +0000 (0:00:00.033) 0:01:46.902 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:27 Thursday 21 July 2022 22:51:49 +0000 (0:00:00.035) 0:01:46.938 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 22:51:49 +0000 (0:00:00.033) 0:01:46.971 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:62 Thursday 21 July 2022 22:51:49 +0000 (0:00:00.034) 0:01:47.005 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-vdo.yml for /cache/rhel-8.qcow2 TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 22:51:49 +0000 (0:00:00.045) 0:01:47.051 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 22:51:49 +0000 (0:00:00.042) 0:01:47.093 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 22:51:49 +0000 (0:00:00.022) 0:01:47.116 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 22:51:49 +0000 (0:00:00.023) 0:01:47.139 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 22:51:49 +0000 (0:00:00.022) 0:01:47.162 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 22:51:49 +0000 (0:00:00.025) 0:01:47.187 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 22:51:49 +0000 (0:00:00.023) 0:01:47.211 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 22:51:49 +0000 (0:00:00.023) 0:01:47.235 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 22:51:49 +0000 (0:00:00.023) 0:01:47.259 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 22:51:49 +0000 (0:00:00.035) 0:01:47.294 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 22:51:49 +0000 (0:00:00.031) 0:01:47.325 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 22:51:49 +0000 (0:00:00.039) 0:01:47.365 ********* ok: [/cache/rhel-8.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/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 22:51:49 +0000 (0:00:00.046) 0:01:47.411 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml for /cache/rhel-8.qcow2 => (item=mount) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml for /cache/rhel-8.qcow2 => (item=fstab) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fs.yml for /cache/rhel-8.qcow2 => (item=fs) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml for /cache/rhel-8.qcow2 => (item=device) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml for /cache/rhel-8.qcow2 => (item=encryption) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml for /cache/rhel-8.qcow2 => (item=md) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml for /cache/rhel-8.qcow2 => (item=size) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml for /cache/rhel-8.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 22:51:49 +0000 (0:00:00.075) 0:01:47.486 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 22:51:49 +0000 (0:00:00.038) 0:01:47.525 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 1199011, "block_size": 4096, "block_total": 1273760, "block_used": 74749, "device": "/dev/mapper/foo-test1", "fstype": "ext4", "inode_available": 327669, "inode_total": 327680, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 4911149056, "size_total": 5217320960, "uuid": "4cbc8a37-769f-4301-bd9a-78e66eb53539" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 1199011, "block_size": 4096, "block_total": 1273760, "block_used": 74749, "device": "/dev/mapper/foo-test1", "fstype": "ext4", "inode_available": 327669, "inode_total": 327680, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 4911149056, "size_total": 5217320960, "uuid": "4cbc8a37-769f-4301-bd9a-78e66eb53539" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 22:51:49 +0000 (0:00:00.055) 0:01:47.580 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 22:51:49 +0000 (0:00:00.050) 0:01:47.631 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 22:51:49 +0000 (0:00:00.048) 0:01:47.680 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 22:51:49 +0000 (0:00:00.049) 0:01:47.730 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 22:51:49 +0000 (0:00:00.023) 0:01:47.753 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 22:51:49 +0000 (0:00:00.021) 0:01:47.774 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 22:51:49 +0000 (0:00:00.021) 0:01:47.796 ********* ok: [/cache/rhel-8.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/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 22:51:50 +0000 (0:00:00.033) 0:01:47.829 ********* ok: [/cache/rhel-8.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": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 ext4 defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 22:51:50 +0000 (0:00:00.057) 0:01:47.887 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 22:51:50 +0000 (0:00:00.079) 0:01:47.966 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 22:51:50 +0000 (0:00:00.108) 0:01:48.074 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 22:51:50 +0000 (0:00:00.035) 0:01:48.110 ********* ok: [/cache/rhel-8.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/tmpcv9gbk7i/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 22:51:50 +0000 (0:00:00.032) 0:01:48.143 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 22:51:50 +0000 (0:00:00.037) 0:01:48.180 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 22:51:50 +0000 (0:00:00.039) 0:01:48.220 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1658443901.666663, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658443901.666663, "dev": 6, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 72603, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658443901.666663, "nlink": 1, "path": "/dev/mapper/foo-test1", "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/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 22:51:50 +0000 (0:00:00.392) 0:01:48.612 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 22:51:50 +0000 (0:00:00.038) 0:01:48.651 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 22:51:50 +0000 (0:00:00.036) 0:01:48.688 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 22:51:50 +0000 (0:00:00.034) 0:01:48.722 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 22:51:50 +0000 (0:00:00.024) 0:01:48.747 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 22:51:50 +0000 (0:00:00.036) 0:01:48.783 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 22:51:51 +0000 (0:00:00.026) 0:01:48.809 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 22:51:52 +0000 (0:00:01.391) 0:01:50.201 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 22:51:52 +0000 (0:00:00.024) 0:01:50.225 ********* skipping: [/cache/rhel-8.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/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 22:51:52 +0000 (0:00:00.023) 0:01:50.248 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 22:51:52 +0000 (0:00:00.051) 0:01:50.300 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 22:51:52 +0000 (0:00:00.023) 0:01:50.324 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 22:51:52 +0000 (0:00:00.022) 0:01:50.346 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 22:51:52 +0000 (0:00:00.023) 0:01:50.370 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 22:51:52 +0000 (0:00:00.021) 0:01:50.391 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 22:51:52 +0000 (0:00:00.022) 0:01:50.414 ********* ok: [/cache/rhel-8.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/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 22:51:52 +0000 (0:00:00.049) 0:01:50.463 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 22:51:52 +0000 (0:00:00.045) 0:01:50.509 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 22:51:52 +0000 (0:00:00.036) 0:01:50.545 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 22:51:52 +0000 (0:00:00.035) 0:01:50.581 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 22:51:52 +0000 (0:00:00.037) 0:01:50.619 ********* ok: [/cache/rhel-8.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/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 22:51:52 +0000 (0:00:00.041) 0:01:50.660 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 22:51:52 +0000 (0:00:00.037) 0:01:50.697 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 22:51:52 +0000 (0:00:00.034) 0:01:50.731 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 22:51:52 +0000 (0:00:00.037) 0:01:50.769 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 22:51:53 +0000 (0:00:00.037) 0:01:50.806 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 22:51:53 +0000 (0:00:00.037) 0:01:50.844 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 22:51:53 +0000 (0:00:00.039) 0:01:50.883 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 22:51:53 +0000 (0:00:00.039) 0:01:50.923 ********* ok: [/cache/rhel-8.qcow2] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 22:51:53 +0000 (0:00:00.367) 0:01:51.291 ********* ok: [/cache/rhel-8.qcow2] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 22:51:53 +0000 (0:00:00.431) 0:01:51.722 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_expected_size": "5368709120" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 22:51:54 +0000 (0:00:00.084) 0:01:51.807 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "5368709120" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 22:51:54 +0000 (0:00:00.037) 0:01:51.844 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 22:51:54 +0000 (0:00:00.037) 0:01:51.882 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 22:51:54 +0000 (0:00:00.036) 0:01:51.918 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 22:51:54 +0000 (0:00:00.036) 0:01:51.954 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 22:51:54 +0000 (0:00:00.037) 0:01:51.992 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 22:51:54 +0000 (0:00:00.036) 0:01:52.029 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_actual_size": { "bytes": 5368709120, "changed": false, "failed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 22:51:54 +0000 (0:00:00.042) 0:01:52.071 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "5368709120" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 22:51:54 +0000 (0:00:00.035) 0:01:52.107 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 22:51:54 +0000 (0:00:00.054) 0:01:52.162 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.038505", "end": "2022-07-21 18:51:54.106756", "rc": 0, "start": "2022-07-21 18:51:54.068251" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 22:51:54 +0000 (0:00:00.420) 0:01:52.583 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 22:51:54 +0000 (0:00:00.052) 0:01:52.635 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 22:51:54 +0000 (0:00:00.054) 0:01:52.690 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 22:51:54 +0000 (0:00:00.040) 0:01:52.731 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 22:51:54 +0000 (0:00:00.039) 0:01:52.770 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 22:51:55 +0000 (0:00:00.039) 0:01:52.809 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 22:51:55 +0000 (0:00:00.036) 0:01:52.845 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 22:51:55 +0000 (0:00:00.035) 0:01:52.880 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 22:51:55 +0000 (0:00:00.020) 0:01:52.900 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Try to create LVM with a too-large volume size, resize to "12884901888.0"] *** task path: /tmp/tmpcv9gbk7i/tests/storage/tests_resize.yml:86 Thursday 21 July 2022 22:51:55 +0000 (0:00:00.045) 0:01:52.946 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 22:51:55 +0000 (0:00:00.040) 0:01:52.986 ********* included: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 22:51:55 +0000 (0:00:00.036) 0:01:53.023 ********* ok: [/cache/rhel-8.qcow2] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 22:51:55 +0000 (0:00:00.528) 0:01:53.552 ********* skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8.qcow2] => (item=RedHat_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.6.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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 22:51:55 +0000 (0:00:00.065) 0:01:53.617 ********* ok: [/cache/rhel-8.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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 22:51:55 +0000 (0:00:00.034) 0:01:53.652 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 22:51:55 +0000 (0:00:00.074) 0:01:53.726 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 22:51:56 +0000 (0:00:00.094) 0:01:53.820 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 22:51:56 +0000 (0:00:00.024) 0:01:53.845 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 22:51:56 +0000 (0:00:00.028) 0:01:53.873 ********* ok: [/cache/rhel-8.qcow2] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "volumes": [ { "fs_type": "ext4", "mount_point": "/opt/test1", "name": "test1", "size": "12884901888.0" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 22:51:56 +0000 (0:00:00.048) 0:01:53.921 ********* ok: [/cache/rhel-8.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 22:51:56 +0000 (0:00:00.036) 0:01:53.957 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 22:51:56 +0000 (0:00:00.029) 0:01:53.987 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 22:51:56 +0000 (0:00:00.028) 0:01:54.016 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 22:51:56 +0000 (0:00:00.030) 0:01:54.046 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 22:51:56 +0000 (0:00:00.028) 0:01:54.075 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 22:51:56 +0000 (0:00:00.048) 0:01:54.123 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 22:51:56 +0000 (0:00:00.022) 0:01:54.146 ********* fatal: [/cache/rhel-8.qcow2]: FAILED! => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } MSG: volume 'test1' cannot be resized to '12 GiB' TASK [fedora.linux_system_roles.storage : failed message] ********************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:86 Thursday 21 July 2022 22:51:57 +0000 (0:00:01.345) 0:01:55.491 ********* fatal: [/cache/rhel-8.qcow2]: FAILED! => { "changed": false } MSG: {'changed': False, 'actions': [], 'leaves': [], 'mounts': [], 'crypts': [], 'pools': [], 'volumes': [], 'packages': [], 'failed': True, 'msg': "volume 'test1' cannot be resized to '12 GiB'", 'invocation': {'module_args': {'pools': [{'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '12884901888.0', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None}], 'raid_chunk_size': None}], 'volumes': [], 'use_partitions': None, 'disklabel_type': None, 'pool_defaults': {'state': 'present', 'type': 'lvm', 'disks': [], 'volumes': [], 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None}, 'volume_defaults': {'state': 'present', 'type': 'lvm', 'size': 0, 'disks': [], 'fs_type': 'xfs', 'fs_label': '', 'fs_create_options': '', 'fs_overwrite_existing': True, 'mount_point': '', 'mount_options': 'defaults', 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': []}, 'safe_mode': False, 'packages_only': False, 'diskvolume_mkfs_option_map': {}}}, '_ansible_no_log': False} TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 22:51:57 +0000 (0:00:00.044) 0:01:55.536 ********* TASK [Check that we failed in the role] **************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/tests_resize.yml:104 Thursday 21 July 2022 22:51:57 +0000 (0:00:00.024) 0:01:55.560 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the output] ******************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/tests_resize.yml:110 Thursday 21 July 2022 22:51:57 +0000 (0:00:00.038) 0:01:55.599 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Try to create LVM with volume size equal disk's size, resize to "10737418240"] *** task path: /tmp/tmpcv9gbk7i/tests/storage/tests_resize.yml:117 Thursday 21 July 2022 22:51:57 +0000 (0:00:00.044) 0:01:55.643 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 22:51:57 +0000 (0:00:00.040) 0:01:55.684 ********* included: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 22:51:57 +0000 (0:00:00.036) 0:01:55.720 ********* ok: [/cache/rhel-8.qcow2] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 22:51:58 +0000 (0:00:00.509) 0:01:56.229 ********* skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8.qcow2] => (item=RedHat_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.6.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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 22:51:58 +0000 (0:00:00.063) 0:01:56.292 ********* ok: [/cache/rhel-8.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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 22:51:58 +0000 (0:00:00.039) 0:01:56.332 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 22:51:58 +0000 (0:00:00.035) 0:01:56.367 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 22:51:58 +0000 (0:00:00.058) 0:01:56.426 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 22:51:58 +0000 (0:00:00.022) 0:01:56.448 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 22:51:58 +0000 (0:00:00.029) 0:01:56.478 ********* ok: [/cache/rhel-8.qcow2] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "volumes": [ { "fs_type": "ext4", "mount_point": "/opt/test1", "name": "test1", "size": "10737418240" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 22:51:58 +0000 (0:00:00.076) 0:01:56.554 ********* ok: [/cache/rhel-8.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 22:51:58 +0000 (0:00:00.075) 0:01:56.630 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 22:51:58 +0000 (0:00:00.028) 0:01:56.658 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 22:51:58 +0000 (0:00:00.029) 0:01:56.688 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 22:51:58 +0000 (0:00:00.065) 0:01:56.753 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 22:51:58 +0000 (0:00:00.028) 0:01:56.782 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 22:51:59 +0000 (0:00:00.053) 0:01:56.835 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 22:51:59 +0000 (0:00:00.023) 0:01:56.859 ********* changed: [/cache/rhel-8.qcow2] => { "actions": [ { "action": "resize device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "resize format", "device": "/dev/mapper/foo-test1", "fs_type": "ext4" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "e2fsprogs", "xfsprogs", "dosfstools", "lvm2" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "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": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "10737418240", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 22:52:00 +0000 (0:00:01.744) 0:01:58.604 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 22:52:00 +0000 (0:00:00.028) 0:01:58.632 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 22:52:00 +0000 (0:00:00.023) 0:01:58.656 ********* ok: [/cache/rhel-8.qcow2] => { "blivet_output": { "actions": [ { "action": "resize device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "resize format", "device": "/dev/mapper/foo-test1", "fs_type": "ext4" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "e2fsprogs", "xfsprogs", "dosfstools", "lvm2" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "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": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "10737418240", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 22:52:00 +0000 (0:00:00.040) 0:01:58.697 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "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": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "10737418240", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 22:52:00 +0000 (0:00:00.041) 0:01:58.738 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 22:52:00 +0000 (0:00:00.037) 0:01:58.776 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 22:52:01 +0000 (0:00:00.030) 0:01:58.806 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 22:52:01 +0000 (0:00:00.631) 0:01:59.438 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-8.qcow2] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': 'ext4', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext4", "mount_info": { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 22:52:02 +0000 (0:00:00.439) 0:01:59.877 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 22:52:02 +0000 (0:00:00.637) 0:02:00.514 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 22:52:03 +0000 (0:00:00.388) 0:02:00.903 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 22:52:03 +0000 (0:00:00.023) 0:02:00.927 ********* ok: [/cache/rhel-8.qcow2] META: role_complete for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/tests_resize.yml:130 Thursday 21 July 2022 22:52:04 +0000 (0:00:00.974) 0:02:01.902 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml for /cache/rhel-8.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 22:52:04 +0000 (0:00:00.036) 0:02:01.938 ********* ok: [/cache/rhel-8.qcow2] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "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": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "10737418240", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 22:52:04 +0000 (0:00:00.043) 0:02:01.981 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 22:52:04 +0000 (0:00:00.025) 0:02:02.007 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "ext4", "label": "", "name": "/dev/mapper/foo-test1", "size": "10G", "type": "lvm", "uuid": "4cbc8a37-769f-4301-bd9a-78e66eb53539" }, "/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": "LVM2_member", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "Qokr5s-Ln0m-jdRJ-h50f-NKJQ-oTO2-lU21RV" }, "/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-22-49-49-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "vfat", "label": "", "name": "/dev/vda2", "size": "100M", "type": "partition", "uuid": "7B77-95E7" }, "/dev/vda3": { "fstype": "xfs", "label": "root", "name": "/dev/vda3", "size": "9.9G", "type": "partition", "uuid": "853ae189-b3fe-4a45-8485-75bbb1421bbe" }, "/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/tmpcv9gbk7i/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 22:52:04 +0000 (0:00:00.424) 0:02:02.431 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:01.004272", "end": "2022-07-21 18:52:05.337723", "rc": 0, "start": "2022-07-21 18:52:04.333451" } STDOUT: UUID=853ae189-b3fe-4a45-8485-75bbb1421bbe / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 /dev/mapper/foo-test1 /opt/test1 ext4 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 22:52:06 +0000 (0:00:01.388) 0:02:03.820 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002558", "end": "2022-07-21 18:52:05.758929", "failed_when_result": false, "rc": 1, "start": "2022-07-21 18:52:05.756371" } STDERR: cat: /etc/crypttab: No such file or directory MSG: non-zero return code TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 22:52:06 +0000 (0:00:00.412) 0:02:04.232 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool.yml for /cache/rhel-8.qcow2 => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '10737418240', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool.yml:5 Thursday 21 July 2022 22:52:06 +0000 (0:00:00.051) 0:02:04.284 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool.yml:18 Thursday 21 July 2022 22:52:06 +0000 (0:00:00.105) 0:02:04.389 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml for /cache/rhel-8.qcow2 => (item=members) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-volumes.yml for /cache/rhel-8.qcow2 => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:1 Thursday 21 July 2022 22:52:06 +0000 (0:00:00.048) 0:02:04.437 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/sda" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 22:52:06 +0000 (0:00:00.048) 0:02:04.485 ********* ok: [/cache/rhel-8.qcow2] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda", "pv": "/dev/sda" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 22:52:07 +0000 (0:00:00.383) 0:02:04.869 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 22:52:07 +0000 (0:00:00.039) 0:02:04.909 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 22:52:07 +0000 (0:00:00.039) 0:02:04.948 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:29 Thursday 21 July 2022 22:52:07 +0000 (0:00:00.039) 0:02:04.987 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 22:52:07 +0000 (0:00:00.038) 0:02:05.026 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:37 Thursday 21 July 2022 22:52:07 +0000 (0:00:00.040) 0:02:05.066 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:41 Thursday 21 July 2022 22:52:07 +0000 (0:00:00.024) 0:02:05.090 ********* ok: [/cache/rhel-8.qcow2] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 22:52:07 +0000 (0:00:00.042) 0:02:05.133 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml for /cache/rhel-8.qcow2 TASK [get information about RAID] ********************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:6 Thursday 21 July 2022 22:52:07 +0000 (0:00:00.042) 0:02:05.175 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 22:52:07 +0000 (0:00:00.025) 0:02:05.200 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:16 Thursday 21 July 2022 22:52:07 +0000 (0:00:00.024) 0:02:05.224 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:20 Thursday 21 July 2022 22:52:07 +0000 (0:00:00.022) 0:02:05.247 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:24 Thursday 21 July 2022 22:52:07 +0000 (0:00:00.022) 0:02:05.269 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:30 Thursday 21 July 2022 22:52:07 +0000 (0:00:00.023) 0:02:05.293 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:36 Thursday 21 July 2022 22:52:07 +0000 (0:00:00.024) 0:02:05.317 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:44 Thursday 21 July 2022 22:52:07 +0000 (0:00:00.024) 0:02:05.341 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 22:52:07 +0000 (0:00:00.035) 0:02:05.377 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-lvmraid.yml for /cache/rhel-8.qcow2 TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 22:52:07 +0000 (0:00:00.044) 0:02:05.422 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '10737418240', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 22:52:07 +0000 (0:00:00.041) 0:02:05.463 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 22:52:07 +0000 (0:00:00.030) 0:02:05.494 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 22:52:07 +0000 (0:00:00.027) 0:02:05.521 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 22:52:07 +0000 (0:00:00.027) 0:02:05.549 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-thin.yml for /cache/rhel-8.qcow2 TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-thin.yml:1 Thursday 21 July 2022 22:52:07 +0000 (0:00:00.045) 0:02:05.594 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '10737418240', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 22:52:07 +0000 (0:00:00.042) 0:02:05.637 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 22:52:07 +0000 (0:00:00.022) 0:02:05.659 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 22:52:07 +0000 (0:00:00.025) 0:02:05.685 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 22:52:07 +0000 (0:00:00.023) 0:02:05.708 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 22:52:07 +0000 (0:00:00.021) 0:02:05.730 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml for /cache/rhel-8.qcow2 TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 22:52:08 +0000 (0:00:00.072) 0:02:05.802 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 22:52:08 +0000 (0:00:00.040) 0:02:05.842 ********* skipping: [/cache/rhel-8.qcow2] => (item=/dev/sda) => { "_storage_test_pool_member_path": "/dev/sda", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 22:52:08 +0000 (0:00:00.028) 0:02:05.871 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml for /cache/rhel-8.qcow2 => (item=/dev/sda) TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 22:52:08 +0000 (0:00:00.044) 0:02:05.915 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:4 Thursday 21 July 2022 22:52:08 +0000 (0:00:00.038) 0:02:05.954 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:9 Thursday 21 July 2022 22:52:08 +0000 (0:00:00.039) 0:02:05.993 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:15 Thursday 21 July 2022 22:52:08 +0000 (0:00:00.026) 0:02:06.019 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:21 Thursday 21 July 2022 22:52:08 +0000 (0:00:00.027) 0:02:06.047 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:27 Thursday 21 July 2022 22:52:08 +0000 (0:00:00.025) 0:02:06.072 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 22:52:08 +0000 (0:00:00.033) 0:02:06.106 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:62 Thursday 21 July 2022 22:52:08 +0000 (0:00:00.036) 0:02:06.143 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-vdo.yml for /cache/rhel-8.qcow2 TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 22:52:08 +0000 (0:00:00.049) 0:02:06.193 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '10737418240', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 22:52:08 +0000 (0:00:00.044) 0:02:06.237 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 22:52:08 +0000 (0:00:00.025) 0:02:06.263 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 22:52:08 +0000 (0:00:00.024) 0:02:06.287 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 22:52:08 +0000 (0:00:00.024) 0:02:06.311 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 22:52:08 +0000 (0:00:00.023) 0:02:06.335 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 22:52:08 +0000 (0:00:00.026) 0:02:06.362 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 22:52:08 +0000 (0:00:00.024) 0:02:06.387 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 22:52:08 +0000 (0:00:00.024) 0:02:06.411 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 22:52:08 +0000 (0:00:00.035) 0:02:06.447 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 22:52:08 +0000 (0:00:00.036) 0:02:06.484 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '10737418240', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 22:52:08 +0000 (0:00:00.039) 0:02:06.524 ********* ok: [/cache/rhel-8.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/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 22:52:08 +0000 (0:00:00.036) 0:02:06.560 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml for /cache/rhel-8.qcow2 => (item=mount) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml for /cache/rhel-8.qcow2 => (item=fstab) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fs.yml for /cache/rhel-8.qcow2 => (item=fs) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml for /cache/rhel-8.qcow2 => (item=device) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml for /cache/rhel-8.qcow2 => (item=encryption) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml for /cache/rhel-8.qcow2 => (item=md) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml for /cache/rhel-8.qcow2 => (item=size) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml for /cache/rhel-8.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 22:52:08 +0000 (0:00:00.078) 0:02:06.639 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 22:52:08 +0000 (0:00:00.041) 0:02:06.681 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 2422023, "block_size": 4096, "block_total": 2562885, "block_used": 140862, "device": "/dev/mapper/foo-test1", "fstype": "ext4", "inode_available": 655349, "inode_total": 655360, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 9920606208, "size_total": 10497576960, "uuid": "4cbc8a37-769f-4301-bd9a-78e66eb53539" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 2422023, "block_size": 4096, "block_total": 2562885, "block_used": 140862, "device": "/dev/mapper/foo-test1", "fstype": "ext4", "inode_available": 655349, "inode_total": 655360, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 9920606208, "size_total": 10497576960, "uuid": "4cbc8a37-769f-4301-bd9a-78e66eb53539" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 22:52:08 +0000 (0:00:00.045) 0:02:06.726 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 22:52:08 +0000 (0:00:00.039) 0:02:06.766 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 22:52:09 +0000 (0:00:00.039) 0:02:06.806 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 22:52:09 +0000 (0:00:00.038) 0:02:06.844 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 22:52:09 +0000 (0:00:00.025) 0:02:06.870 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 22:52:09 +0000 (0:00:00.024) 0:02:06.895 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 22:52:09 +0000 (0:00:00.026) 0:02:06.921 ********* ok: [/cache/rhel-8.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/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 22:52:09 +0000 (0:00:00.035) 0:02:06.956 ********* ok: [/cache/rhel-8.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": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 ext4 defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 22:52:09 +0000 (0:00:00.093) 0:02:07.050 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 22:52:09 +0000 (0:00:00.108) 0:02:07.159 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 22:52:09 +0000 (0:00:00.039) 0:02:07.198 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 22:52:09 +0000 (0:00:00.024) 0:02:07.222 ********* ok: [/cache/rhel-8.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/tmpcv9gbk7i/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 22:52:09 +0000 (0:00:00.033) 0:02:07.256 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 22:52:09 +0000 (0:00:00.038) 0:02:07.295 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 22:52:09 +0000 (0:00:00.036) 0:02:07.331 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1658443920.083663, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658443920.083663, "dev": 6, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 72603, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658443920.083663, "nlink": 1, "path": "/dev/mapper/foo-test1", "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/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 22:52:09 +0000 (0:00:00.371) 0:02:07.703 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 22:52:09 +0000 (0:00:00.041) 0:02:07.744 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 22:52:09 +0000 (0:00:00.039) 0:02:07.784 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 22:52:10 +0000 (0:00:00.033) 0:02:07.818 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 22:52:10 +0000 (0:00:00.023) 0:02:07.842 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 22:52:10 +0000 (0:00:00.039) 0:02:07.881 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 22:52:10 +0000 (0:00:00.023) 0:02:07.905 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 22:52:11 +0000 (0:00:01.364) 0:02:09.270 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 22:52:11 +0000 (0:00:00.024) 0:02:09.294 ********* skipping: [/cache/rhel-8.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/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 22:52:11 +0000 (0:00:00.024) 0:02:09.319 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 22:52:11 +0000 (0:00:00.041) 0:02:09.361 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 22:52:11 +0000 (0:00:00.023) 0:02:09.384 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 22:52:11 +0000 (0:00:00.028) 0:02:09.412 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 22:52:11 +0000 (0:00:00.027) 0:02:09.440 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 22:52:11 +0000 (0:00:00.027) 0:02:09.467 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 22:52:11 +0000 (0:00:00.025) 0:02:09.493 ********* ok: [/cache/rhel-8.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/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 22:52:11 +0000 (0:00:00.042) 0:02:09.535 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 22:52:11 +0000 (0:00:00.039) 0:02:09.575 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 22:52:11 +0000 (0:00:00.027) 0:02:09.602 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 22:52:11 +0000 (0:00:00.025) 0:02:09.628 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 22:52:11 +0000 (0:00:00.026) 0:02:09.655 ********* ok: [/cache/rhel-8.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/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 22:52:11 +0000 (0:00:00.031) 0:02:09.686 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 22:52:11 +0000 (0:00:00.024) 0:02:09.711 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 22:52:11 +0000 (0:00:00.027) 0:02:09.738 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 22:52:11 +0000 (0:00:00.029) 0:02:09.768 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 22:52:12 +0000 (0:00:00.071) 0:02:09.839 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 22:52:12 +0000 (0:00:00.025) 0:02:09.865 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 22:52:12 +0000 (0:00:00.023) 0:02:09.889 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 22:52:12 +0000 (0:00:00.027) 0:02:09.916 ********* ok: [/cache/rhel-8.qcow2] => { "bytes": 10737418240, "changed": false, "lvm": "10g", "parted": "10GiB", "size": "10 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 22:52:12 +0000 (0:00:00.375) 0:02:10.292 ********* ok: [/cache/rhel-8.qcow2] => { "bytes": 10737418240, "changed": false, "lvm": "10g", "parted": "10GiB", "size": "10 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 22:52:12 +0000 (0:00:00.376) 0:02:10.669 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_expected_size": "10737418240" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 22:52:12 +0000 (0:00:00.038) 0:02:10.708 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "10737418240" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 22:52:12 +0000 (0:00:00.040) 0:02:10.748 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 22:52:12 +0000 (0:00:00.027) 0:02:10.775 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 22:52:13 +0000 (0:00:00.027) 0:02:10.803 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 22:52:13 +0000 (0:00:00.027) 0:02:10.830 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 22:52:13 +0000 (0:00:00.031) 0:02:10.861 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 22:52:13 +0000 (0:00:00.027) 0:02:10.888 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_actual_size": { "bytes": 10737418240, "changed": false, "failed": false, "lvm": "10g", "parted": "10GiB", "size": "10 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 22:52:13 +0000 (0:00:00.039) 0:02:10.928 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "10737418240" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 22:52:13 +0000 (0:00:00.038) 0:02:10.966 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 22:52:13 +0000 (0:00:00.041) 0:02:11.007 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.034034", "end": "2022-07-21 18:52:12.945513", "rc": 0, "start": "2022-07-21 18:52:12.911479" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 22:52:13 +0000 (0:00:00.413) 0:02:11.421 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 22:52:13 +0000 (0:00:00.040) 0:02:11.462 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 22:52:13 +0000 (0:00:00.041) 0:02:11.504 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 22:52:13 +0000 (0:00:00.029) 0:02:11.533 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 22:52:13 +0000 (0:00:00.026) 0:02:11.560 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 22:52:13 +0000 (0:00:00.024) 0:02:11.584 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 22:52:13 +0000 (0:00:00.027) 0:02:11.612 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 22:52:13 +0000 (0:00:00.031) 0:02:11.644 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 22:52:13 +0000 (0:00:00.021) 0:02:11.665 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Try to create LVM with an invalid size specification, resize to "xyz GiB"] *** task path: /tmp/tmpcv9gbk7i/tests/storage/tests_resize.yml:134 Thursday 21 July 2022 22:52:13 +0000 (0:00:00.036) 0:02:11.702 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 22:52:13 +0000 (0:00:00.040) 0:02:11.743 ********* included: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 22:52:13 +0000 (0:00:00.036) 0:02:11.779 ********* ok: [/cache/rhel-8.qcow2] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 22:52:14 +0000 (0:00:00.518) 0:02:12.298 ********* skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8.qcow2] => (item=RedHat_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.6.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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 22:52:14 +0000 (0:00:00.063) 0:02:12.362 ********* ok: [/cache/rhel-8.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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 22:52:14 +0000 (0:00:00.073) 0:02:12.435 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 22:52:14 +0000 (0:00:00.077) 0:02:12.512 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 22:52:14 +0000 (0:00:00.057) 0:02:12.569 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 22:52:14 +0000 (0:00:00.022) 0:02:12.592 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 22:52:14 +0000 (0:00:00.065) 0:02:12.658 ********* ok: [/cache/rhel-8.qcow2] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "volumes": [ { "fs_type": "ext4", "mount_point": "/opt/test1", "name": "test1", "size": "xyz GiB" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 22:52:14 +0000 (0:00:00.041) 0:02:12.699 ********* ok: [/cache/rhel-8.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 22:52:14 +0000 (0:00:00.042) 0:02:12.742 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 22:52:14 +0000 (0:00:00.030) 0:02:12.773 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 22:52:15 +0000 (0:00:00.035) 0:02:12.809 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 22:52:15 +0000 (0:00:00.029) 0:02:12.838 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 22:52:15 +0000 (0:00:00.029) 0:02:12.868 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 22:52:15 +0000 (0:00:00.050) 0:02:12.919 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 22:52:15 +0000 (0:00:00.022) 0:02:12.942 ********* fatal: [/cache/rhel-8.qcow2]: FAILED! => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } MSG: invalid size specification for volume in pool 'foo' TASK [fedora.linux_system_roles.storage : failed message] ********************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:86 Thursday 21 July 2022 22:52:16 +0000 (0:00:01.264) 0:02:14.207 ********* fatal: [/cache/rhel-8.qcow2]: FAILED! => { "changed": false } MSG: {'changed': False, 'actions': [], 'leaves': [], 'mounts': [], 'crypts': [], 'pools': [], 'volumes': [], 'packages': [], 'failed': True, 'msg': "invalid size specification for volume in pool 'foo'", 'invocation': {'module_args': {'pools': [{'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': None, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': None, 'fs_label': '', 'fs_type': 'ext4', 'mount_options': None, 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': 'xyz GiB', 'state': 'present', 'type': None, 'cached': None, 'cache_devices': [], 'cache_mode': None, 'cache_size': None, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None}], 'raid_chunk_size': None}], 'volumes': [], 'use_partitions': None, 'disklabel_type': None, 'pool_defaults': {'state': 'present', 'type': 'lvm', 'disks': [], 'volumes': [], 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None}, 'volume_defaults': {'state': 'present', 'type': 'lvm', 'size': 0, 'disks': [], 'fs_type': 'xfs', 'fs_label': '', 'fs_create_options': '', 'fs_overwrite_existing': True, 'mount_point': '', 'mount_options': 'defaults', 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': []}, 'safe_mode': False, 'packages_only': False, 'diskvolume_mkfs_option_map': {}}}, '_ansible_no_log': False} TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 22:52:16 +0000 (0:00:00.042) 0:02:14.249 ********* TASK [Check that we failed in the role] **************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/tests_resize.yml:152 Thursday 21 July 2022 22:52:16 +0000 (0:00:00.023) 0:02:14.272 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the output] ******************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/tests_resize.yml:158 Thursday 21 July 2022 22:52:16 +0000 (0:00:00.037) 0:02:14.309 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Try to create LVM with an invalid size specification, resize to "none"] *** task path: /tmp/tmpcv9gbk7i/tests/storage/tests_resize.yml:165 Thursday 21 July 2022 22:52:16 +0000 (0:00:00.041) 0:02:14.351 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 22:52:16 +0000 (0:00:00.041) 0:02:14.392 ********* included: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 22:52:16 +0000 (0:00:00.036) 0:02:14.429 ********* ok: [/cache/rhel-8.qcow2] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 22:52:17 +0000 (0:00:00.522) 0:02:14.951 ********* skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8.qcow2] => (item=RedHat_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.6.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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 22:52:17 +0000 (0:00:00.064) 0:02:15.016 ********* ok: [/cache/rhel-8.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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 22:52:17 +0000 (0:00:00.039) 0:02:15.055 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 22:52:17 +0000 (0:00:00.036) 0:02:15.091 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 22:52:17 +0000 (0:00:00.057) 0:02:15.149 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 22:52:17 +0000 (0:00:00.020) 0:02:15.170 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 22:52:17 +0000 (0:00:00.028) 0:02:15.198 ********* ok: [/cache/rhel-8.qcow2] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "volumes": [ { "fs_type": "ext4", "mount_point": "/opt/test1", "name": "test1", "size": "none" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 22:52:17 +0000 (0:00:00.074) 0:02:15.272 ********* ok: [/cache/rhel-8.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 22:52:17 +0000 (0:00:00.038) 0:02:15.311 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 22:52:17 +0000 (0:00:00.026) 0:02:15.337 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 22:52:17 +0000 (0:00:00.028) 0:02:15.366 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 22:52:17 +0000 (0:00:00.028) 0:02:15.394 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 22:52:17 +0000 (0:00:00.028) 0:02:15.423 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 22:52:17 +0000 (0:00:00.084) 0:02:15.508 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 22:52:17 +0000 (0:00:00.023) 0:02:15.531 ********* fatal: [/cache/rhel-8.qcow2]: FAILED! => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } MSG: invalid size specification for volume in pool 'foo' TASK [fedora.linux_system_roles.storage : failed message] ********************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:86 Thursday 21 July 2022 22:52:19 +0000 (0:00:01.304) 0:02:16.836 ********* fatal: [/cache/rhel-8.qcow2]: FAILED! => { "changed": false } MSG: {'changed': False, 'actions': [], 'leaves': [], 'mounts': [], 'crypts': [], 'pools': [], 'volumes': [], 'packages': [], 'failed': True, 'msg': "invalid size specification for volume in pool 'foo'", 'invocation': {'module_args': {'pools': [{'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': None, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': None, 'fs_label': '', 'fs_type': 'ext4', 'mount_options': None, 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': 'none', 'state': 'present', 'type': None, 'cached': None, 'cache_devices': [], 'cache_mode': None, 'cache_size': None, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None}], 'raid_chunk_size': None}], 'volumes': [], 'use_partitions': None, 'disklabel_type': None, 'pool_defaults': {'state': 'present', 'type': 'lvm', 'disks': [], 'volumes': [], 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None}, 'volume_defaults': {'state': 'present', 'type': 'lvm', 'size': 0, 'disks': [], 'fs_type': 'xfs', 'fs_label': '', 'fs_create_options': '', 'fs_overwrite_existing': True, 'mount_point': '', 'mount_options': 'defaults', 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': []}, 'safe_mode': False, 'packages_only': False, 'diskvolume_mkfs_option_map': {}}}, '_ansible_no_log': False} TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 22:52:19 +0000 (0:00:00.042) 0:02:16.878 ********* TASK [Check that we failed in the role] **************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/tests_resize.yml:183 Thursday 21 July 2022 22:52:19 +0000 (0:00:00.021) 0:02:16.900 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the output] ******************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/tests_resize.yml:189 Thursday 21 July 2022 22:52:19 +0000 (0:00:00.035) 0:02:16.936 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Clean up] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/tests_resize.yml:194 Thursday 21 July 2022 22:52:19 +0000 (0:00:00.037) 0:02:16.974 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 22:52:19 +0000 (0:00:00.039) 0:02:17.013 ********* included: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 22:52:19 +0000 (0:00:00.034) 0:02:17.047 ********* ok: [/cache/rhel-8.qcow2] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 22:52:19 +0000 (0:00:00.516) 0:02:17.564 ********* skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8.qcow2] => (item=RedHat_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.6.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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 22:52:19 +0000 (0:00:00.064) 0:02:17.628 ********* ok: [/cache/rhel-8.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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 22:52:19 +0000 (0:00:00.038) 0:02:17.667 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 22:52:19 +0000 (0:00:00.037) 0:02:17.704 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 22:52:19 +0000 (0:00:00.057) 0:02:17.761 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 22:52:19 +0000 (0:00:00.021) 0:02:17.783 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 22:52:20 +0000 (0:00:00.029) 0:02:17.812 ********* ok: [/cache/rhel-8.qcow2] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "state": "absent", "volumes": [ { "mount_point": "/opt/test1", "name": "test1", "size": "5g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 22:52:20 +0000 (0:00:00.038) 0:02:17.851 ********* ok: [/cache/rhel-8.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 22:52:20 +0000 (0:00:00.037) 0:02:17.889 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 22:52:20 +0000 (0:00:00.028) 0:02:17.917 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 22:52:20 +0000 (0:00:00.029) 0:02:17.947 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 22:52:20 +0000 (0:00:00.028) 0:02:17.975 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 22:52:20 +0000 (0:00:00.028) 0:02:18.004 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 22:52:20 +0000 (0:00:00.090) 0:02:18.094 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 22:52:20 +0000 (0:00:00.022) 0:02:18.117 ********* changed: [/cache/rhel-8.qcow2] => { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "ext4" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "lvmpv" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "fstype": "ext4", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" } ], "packages": [ "xfsprogs", "dosfstools" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "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": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 22:52:22 +0000 (0:00:01.888) 0:02:20.005 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 22:52:22 +0000 (0:00:00.028) 0:02:20.033 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 22:52:22 +0000 (0:00:00.022) 0:02:20.056 ********* ok: [/cache/rhel-8.qcow2] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "ext4" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "lvmpv" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "fstype": "ext4", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" } ], "packages": [ "xfsprogs", "dosfstools" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "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": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 22:52:22 +0000 (0:00:00.042) 0:02:20.098 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "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": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 22:52:22 +0000 (0:00:00.039) 0:02:20.138 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 22:52:22 +0000 (0:00:00.037) 0:02:20.175 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-8.qcow2] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'state': 'absent', 'fstype': 'ext4'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext4", "mount_info": { "fstype": "ext4", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 22:52:22 +0000 (0:00:00.400) 0:02:20.576 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 22:52:23 +0000 (0:00:00.615) 0:02:21.191 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 22:52:23 +0000 (0:00:00.036) 0:02:21.227 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 22:52:24 +0000 (0:00:00.614) 0:02:21.842 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 22:52:24 +0000 (0:00:00.375) 0:02:22.217 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 22:52:24 +0000 (0:00:00.023) 0:02:22.240 ********* ok: [/cache/rhel-8.qcow2] META: role_complete for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/tests_resize.yml:207 Thursday 21 July 2022 22:52:25 +0000 (0:00:00.964) 0:02:23.205 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml for /cache/rhel-8.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 22:52:25 +0000 (0:00:00.039) 0:02:23.245 ********* ok: [/cache/rhel-8.qcow2] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "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": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 22:52:25 +0000 (0:00:00.041) 0:02:23.287 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 22:52:25 +0000 (0:00:00.028) 0:02:23.315 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "info": { "/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-22-49-49-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "vfat", "label": "", "name": "/dev/vda2", "size": "100M", "type": "partition", "uuid": "7B77-95E7" }, "/dev/vda3": { "fstype": "xfs", "label": "root", "name": "/dev/vda3", "size": "9.9G", "type": "partition", "uuid": "853ae189-b3fe-4a45-8485-75bbb1421bbe" }, "/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/tmpcv9gbk7i/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 22:52:25 +0000 (0:00:00.380) 0:02:23.696 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002567", "end": "2022-07-21 18:52:25.632146", "rc": 0, "start": "2022-07-21 18:52:25.629579" } STDOUT: UUID=853ae189-b3fe-4a45-8485-75bbb1421bbe / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 22:52:26 +0000 (0:00:00.411) 0:02:24.107 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002532", "end": "2022-07-21 18:52:26.006600", "failed_when_result": false, "rc": 1, "start": "2022-07-21 18:52:26.004068" } STDERR: cat: /etc/crypttab: No such file or directory MSG: non-zero return code TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 22:52:26 +0000 (0:00:00.372) 0:02:24.479 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool.yml for /cache/rhel-8.qcow2 => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'absent', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool.yml:5 Thursday 21 July 2022 22:52:26 +0000 (0:00:00.051) 0:02:24.530 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool.yml:18 Thursday 21 July 2022 22:52:26 +0000 (0:00:00.118) 0:02:24.649 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml for /cache/rhel-8.qcow2 => (item=members) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-volumes.yml for /cache/rhel-8.qcow2 => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:1 Thursday 21 July 2022 22:52:26 +0000 (0:00:00.045) 0:02:24.695 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_count": "0", "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 22:52:26 +0000 (0:00:00.045) 0:02:24.740 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 22:52:26 +0000 (0:00:00.025) 0:02:24.766 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": "0" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 22:52:27 +0000 (0:00:00.042) 0:02:24.809 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_pool_pvs": [] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 22:52:27 +0000 (0:00:00.042) 0:02:24.852 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:29 Thursday 21 July 2022 22:52:27 +0000 (0:00:00.043) 0:02:24.895 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 22:52:27 +0000 (0:00:00.037) 0:02:24.933 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:37 Thursday 21 July 2022 22:52:27 +0000 (0:00:00.039) 0:02:24.973 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:41 Thursday 21 July 2022 22:52:27 +0000 (0:00:00.024) 0:02:24.997 ********* TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 22:52:27 +0000 (0:00:00.023) 0:02:25.021 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml for /cache/rhel-8.qcow2 TASK [get information about RAID] ********************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:6 Thursday 21 July 2022 22:52:27 +0000 (0:00:00.041) 0:02:25.062 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 22:52:27 +0000 (0:00:00.024) 0:02:25.086 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:16 Thursday 21 July 2022 22:52:27 +0000 (0:00:00.024) 0:02:25.111 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:20 Thursday 21 July 2022 22:52:27 +0000 (0:00:00.024) 0:02:25.135 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:24 Thursday 21 July 2022 22:52:27 +0000 (0:00:00.024) 0:02:25.159 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:30 Thursday 21 July 2022 22:52:27 +0000 (0:00:00.024) 0:02:25.183 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:36 Thursday 21 July 2022 22:52:27 +0000 (0:00:00.025) 0:02:25.208 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:44 Thursday 21 July 2022 22:52:27 +0000 (0:00:00.024) 0:02:25.233 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 22:52:27 +0000 (0:00:00.034) 0:02:25.267 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-lvmraid.yml for /cache/rhel-8.qcow2 TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 22:52:27 +0000 (0:00:00.041) 0:02:25.309 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 22:52:27 +0000 (0:00:00.040) 0:02:25.350 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 22:52:27 +0000 (0:00:00.028) 0:02:25.378 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 22:52:27 +0000 (0:00:00.028) 0:02:25.407 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 22:52:27 +0000 (0:00:00.027) 0:02:25.435 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-thin.yml for /cache/rhel-8.qcow2 TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-thin.yml:1 Thursday 21 July 2022 22:52:27 +0000 (0:00:00.045) 0:02:25.480 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 22:52:27 +0000 (0:00:00.047) 0:02:25.527 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 22:52:27 +0000 (0:00:00.025) 0:02:25.553 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 22:52:27 +0000 (0:00:00.024) 0:02:25.578 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 22:52:27 +0000 (0:00:00.025) 0:02:25.604 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 22:52:27 +0000 (0:00:00.022) 0:02:25.626 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml for /cache/rhel-8.qcow2 TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 22:52:27 +0000 (0:00:00.044) 0:02:25.671 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 22:52:27 +0000 (0:00:00.038) 0:02:25.710 ********* TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 22:52:27 +0000 (0:00:00.020) 0:02:25.730 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 22:52:27 +0000 (0:00:00.019) 0:02:25.750 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:62 Thursday 21 July 2022 22:52:28 +0000 (0:00:00.066) 0:02:25.817 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-vdo.yml for /cache/rhel-8.qcow2 TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 22:52:28 +0000 (0:00:00.079) 0:02:25.897 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 22:52:28 +0000 (0:00:00.043) 0:02:25.941 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 22:52:28 +0000 (0:00:00.023) 0:02:25.964 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 22:52:28 +0000 (0:00:00.022) 0:02:25.987 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 22:52:28 +0000 (0:00:00.025) 0:02:26.012 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 22:52:28 +0000 (0:00:00.023) 0:02:26.036 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 22:52:28 +0000 (0:00:00.025) 0:02:26.061 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 22:52:28 +0000 (0:00:00.024) 0:02:26.085 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 22:52:28 +0000 (0:00:00.024) 0:02:26.110 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 22:52:28 +0000 (0:00:00.036) 0:02:26.146 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 22:52:28 +0000 (0:00:00.038) 0:02:26.185 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 22:52:28 +0000 (0:00:00.040) 0:02:26.225 ********* ok: [/cache/rhel-8.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/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 22:52:28 +0000 (0:00:00.037) 0:02:26.262 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml for /cache/rhel-8.qcow2 => (item=mount) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml for /cache/rhel-8.qcow2 => (item=fstab) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fs.yml for /cache/rhel-8.qcow2 => (item=fs) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml for /cache/rhel-8.qcow2 => (item=device) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml for /cache/rhel-8.qcow2 => (item=encryption) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml for /cache/rhel-8.qcow2 => (item=md) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml for /cache/rhel-8.qcow2 => (item=size) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml for /cache/rhel-8.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 22:52:28 +0000 (0:00:00.080) 0:02:26.342 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 22:52:28 +0000 (0:00:00.042) 0:02:26.385 ********* ok: [/cache/rhel-8.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/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 22:52:28 +0000 (0:00:00.046) 0:02:26.431 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 22:52:28 +0000 (0:00:00.022) 0:02:26.454 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 22:52:28 +0000 (0:00:00.042) 0:02:26.497 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 22:52:28 +0000 (0:00:00.023) 0:02:26.521 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 22:52:28 +0000 (0:00:00.023) 0:02:26.544 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 22:52:28 +0000 (0:00:00.024) 0:02:26.569 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 22:52:28 +0000 (0:00:00.024) 0:02:26.593 ********* ok: [/cache/rhel-8.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/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 22:52:28 +0000 (0:00:00.034) 0:02:26.627 ********* ok: [/cache/rhel-8.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/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 22:52:28 +0000 (0:00:00.050) 0:02:26.678 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 22:52:28 +0000 (0:00:00.023) 0:02:26.702 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 22:52:28 +0000 (0:00:00.043) 0:02:26.745 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 22:52:28 +0000 (0:00:00.027) 0:02:26.773 ********* ok: [/cache/rhel-8.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/tmpcv9gbk7i/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 22:52:29 +0000 (0:00:00.033) 0:02:26.806 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 22:52:29 +0000 (0:00:00.021) 0:02:26.828 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 22:52:29 +0000 (0:00:00.022) 0:02:26.851 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 22:52:29 +0000 (0:00:00.382) 0:02:27.234 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 22:52:29 +0000 (0:00:00.075) 0:02:27.309 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 22:52:29 +0000 (0:00:00.025) 0:02:27.335 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 22:52:29 +0000 (0:00:00.081) 0:02:27.417 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 22:52:29 +0000 (0:00:00.025) 0:02:27.442 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 22:52:29 +0000 (0:00:00.024) 0:02:27.466 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 22:52:29 +0000 (0:00:00.023) 0:02:27.490 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 22:52:31 +0000 (0:00:01.347) 0:02:28.837 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 22:52:31 +0000 (0:00:00.026) 0:02:28.864 ********* skipping: [/cache/rhel-8.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/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 22:52:31 +0000 (0:00:00.026) 0:02:28.891 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 22:52:31 +0000 (0:00:00.025) 0:02:28.916 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 22:52:31 +0000 (0:00:00.024) 0:02:28.941 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 22:52:31 +0000 (0:00:00.024) 0:02:28.966 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 22:52:31 +0000 (0:00:00.026) 0:02:28.992 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 22:52:31 +0000 (0:00:00.025) 0:02:29.018 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 22:52:31 +0000 (0:00:00.023) 0:02:29.041 ********* ok: [/cache/rhel-8.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/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 22:52:31 +0000 (0:00:00.042) 0:02:29.083 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 22:52:31 +0000 (0:00:00.041) 0:02:29.125 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 22:52:31 +0000 (0:00:00.023) 0:02:29.149 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 22:52:31 +0000 (0:00:00.023) 0:02:29.172 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 22:52:31 +0000 (0:00:00.023) 0:02:29.196 ********* ok: [/cache/rhel-8.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/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 22:52:31 +0000 (0:00:00.035) 0:02:29.231 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 22:52:31 +0000 (0:00:00.024) 0:02:29.256 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 22:52:31 +0000 (0:00:00.023) 0:02:29.279 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 22:52:31 +0000 (0:00:00.023) 0:02:29.303 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 22:52:31 +0000 (0:00:00.024) 0:02:29.327 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 22:52:31 +0000 (0:00:00.024) 0:02:29.352 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 22:52:31 +0000 (0:00:00.024) 0:02:29.377 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 22:52:31 +0000 (0:00:00.030) 0:02:29.408 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 22:52:31 +0000 (0:00:00.029) 0:02:29.437 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 22:52:31 +0000 (0:00:00.030) 0:02:29.468 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 22:52:31 +0000 (0:00:00.031) 0:02:29.499 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "10737418240" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 22:52:31 +0000 (0:00:00.084) 0:02:29.584 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 22:52:31 +0000 (0:00:00.029) 0:02:29.614 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 22:52:31 +0000 (0:00:00.027) 0:02:29.642 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 22:52:31 +0000 (0:00:00.026) 0:02:29.669 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 22:52:31 +0000 (0:00:00.027) 0:02:29.696 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 22:52:31 +0000 (0:00:00.077) 0:02:29.774 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 22:52:32 +0000 (0:00:00.037) 0:02:29.811 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "10737418240" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 22:52:32 +0000 (0:00:00.037) 0:02:29.848 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 22:52:32 +0000 (0:00:00.024) 0:02:29.873 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 22:52:32 +0000 (0:00:00.025) 0:02:29.898 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 22:52:32 +0000 (0:00:00.024) 0:02:29.923 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 22:52:32 +0000 (0:00:00.024) 0:02:29.947 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 22:52:32 +0000 (0:00:00.024) 0:02:29.972 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 22:52:32 +0000 (0:00:00.025) 0:02:29.997 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 22:52:32 +0000 (0:00:00.023) 0:02:30.021 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 22:52:32 +0000 (0:00:00.023) 0:02:30.045 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 22:52:32 +0000 (0:00:00.036) 0:02:30.081 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 22:52:32 +0000 (0:00:00.022) 0:02:30.104 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Create a LVM logical volume with "5g" for ext3 FS] *********************** task path: /tmp/tmpcv9gbk7i/tests/storage/tests_resize.yml:211 Thursday 21 July 2022 22:52:32 +0000 (0:00:00.035) 0:02:30.140 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 22:52:32 +0000 (0:00:00.049) 0:02:30.190 ********* included: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 22:52:32 +0000 (0:00:00.038) 0:02:30.228 ********* ok: [/cache/rhel-8.qcow2] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 22:52:32 +0000 (0:00:00.532) 0:02:30.760 ********* skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8.qcow2] => (item=RedHat_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.6.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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 22:52:33 +0000 (0:00:00.062) 0:02:30.823 ********* ok: [/cache/rhel-8.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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 22:52:33 +0000 (0:00:00.039) 0:02:30.863 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 22:52:33 +0000 (0:00:00.033) 0:02:30.897 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 22:52:33 +0000 (0:00:00.053) 0:02:30.951 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 22:52:33 +0000 (0:00:00.022) 0:02:30.973 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 22:52:33 +0000 (0:00:00.029) 0:02:31.002 ********* ok: [/cache/rhel-8.qcow2] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "type": "lvm", "volumes": [ { "fs_type": "ext3", "mount_point": "/opt/test1", "name": "test1", "size": "5g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 22:52:33 +0000 (0:00:00.040) 0:02:31.043 ********* ok: [/cache/rhel-8.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 22:52:33 +0000 (0:00:00.037) 0:02:31.081 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 22:52:33 +0000 (0:00:00.027) 0:02:31.109 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 22:52:33 +0000 (0:00:00.029) 0:02:31.138 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 22:52:33 +0000 (0:00:00.027) 0:02:31.165 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 22:52:33 +0000 (0:00:00.027) 0:02:31.193 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 22:52:33 +0000 (0:00:00.048) 0:02:31.241 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 22:52:33 +0000 (0:00:00.022) 0:02:31.264 ********* changed: [/cache/rhel-8.qcow2] => { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "ext3" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd", "/dev/mapper/foo-test1" ], "mounts": [ { "dump": 0, "fstype": "ext3", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "e2fsprogs", "xfsprogs", "lvm2", "dosfstools" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "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/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 22:52:36 +0000 (0:00:02.871) 0:02:34.136 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 22:52:36 +0000 (0:00:00.027) 0:02:34.163 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 22:52:36 +0000 (0:00:00.021) 0:02:34.184 ********* ok: [/cache/rhel-8.qcow2] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "ext3" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd", "/dev/mapper/foo-test1" ], "mounts": [ { "dump": 0, "fstype": "ext3", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "e2fsprogs", "xfsprogs", "lvm2", "dosfstools" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "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/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 22:52:36 +0000 (0:00:00.041) 0:02:34.226 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "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/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 22:52:36 +0000 (0:00:00.039) 0:02:34.266 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 22:52:36 +0000 (0:00:00.040) 0:02:34.306 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 22:52:36 +0000 (0:00:00.028) 0:02:34.335 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 22:52:37 +0000 (0:00:00.664) 0:02:34.999 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-8.qcow2] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': 'ext3', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "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/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 22:52:37 +0000 (0:00:00.419) 0:02:35.418 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 22:52:38 +0000 (0:00:00.621) 0:02:36.040 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 22:52:38 +0000 (0:00:00.376) 0:02:36.416 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 22:52:38 +0000 (0:00:00.022) 0:02:36.439 ********* ok: [/cache/rhel-8.qcow2] META: role_complete for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/tests_resize.yml:225 Thursday 21 July 2022 22:52:39 +0000 (0:00:00.963) 0:02:37.403 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml for /cache/rhel-8.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 22:52:39 +0000 (0:00:00.041) 0:02:37.444 ********* ok: [/cache/rhel-8.qcow2] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "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/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 22:52:39 +0000 (0:00:00.041) 0:02:37.486 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 22:52:39 +0000 (0:00:00.027) 0:02:37.514 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "ext3", "label": "", "name": "/dev/mapper/foo-test1", "size": "5G", "type": "lvm", "uuid": "990d24e1-9ed3-4781-b875-9c1c637a47d4" }, "/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": "LVM2_member", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "VC0XQP-rg3Y-BuA9-GH4E-nJvl-PBF0-ipAl8F" }, "/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-22-49-49-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "vfat", "label": "", "name": "/dev/vda2", "size": "100M", "type": "partition", "uuid": "7B77-95E7" }, "/dev/vda3": { "fstype": "xfs", "label": "root", "name": "/dev/vda3", "size": "9.9G", "type": "partition", "uuid": "853ae189-b3fe-4a45-8485-75bbb1421bbe" }, "/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/tmpcv9gbk7i/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 22:52:40 +0000 (0:00:00.372) 0:02:37.886 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002614", "end": "2022-07-21 18:52:39.777931", "rc": 0, "start": "2022-07-21 18:52:39.775317" } STDOUT: UUID=853ae189-b3fe-4a45-8485-75bbb1421bbe / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 /dev/mapper/foo-test1 /opt/test1 ext3 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 22:52:40 +0000 (0:00:00.367) 0:02:38.253 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002941", "end": "2022-07-21 18:52:40.198076", "failed_when_result": false, "rc": 1, "start": "2022-07-21 18:52:40.195135" } STDERR: cat: /etc/crypttab: No such file or directory MSG: non-zero return code TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 22:52:40 +0000 (0:00:00.420) 0:02:38.674 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool.yml for /cache/rhel-8.qcow2 => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool.yml:5 Thursday 21 July 2022 22:52:40 +0000 (0:00:00.052) 0:02:38.727 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool.yml:18 Thursday 21 July 2022 22:52:41 +0000 (0:00:00.084) 0:02:38.811 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml for /cache/rhel-8.qcow2 => (item=members) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-volumes.yml for /cache/rhel-8.qcow2 => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:1 Thursday 21 July 2022 22:52:41 +0000 (0:00:00.090) 0:02:38.902 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/sda" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 22:52:41 +0000 (0:00:00.047) 0:02:38.949 ********* ok: [/cache/rhel-8.qcow2] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda", "pv": "/dev/sda" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 22:52:41 +0000 (0:00:00.384) 0:02:39.334 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 22:52:41 +0000 (0:00:00.041) 0:02:39.375 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 22:52:41 +0000 (0:00:00.047) 0:02:39.422 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:29 Thursday 21 July 2022 22:52:41 +0000 (0:00:00.046) 0:02:39.469 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 22:52:41 +0000 (0:00:00.039) 0:02:39.509 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:37 Thursday 21 July 2022 22:52:41 +0000 (0:00:00.042) 0:02:39.551 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:41 Thursday 21 July 2022 22:52:41 +0000 (0:00:00.025) 0:02:39.577 ********* ok: [/cache/rhel-8.qcow2] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 22:52:41 +0000 (0:00:00.046) 0:02:39.623 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml for /cache/rhel-8.qcow2 TASK [get information about RAID] ********************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:6 Thursday 21 July 2022 22:52:41 +0000 (0:00:00.043) 0:02:39.667 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 22:52:41 +0000 (0:00:00.027) 0:02:39.694 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:16 Thursday 21 July 2022 22:52:41 +0000 (0:00:00.027) 0:02:39.722 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:20 Thursday 21 July 2022 22:52:41 +0000 (0:00:00.030) 0:02:39.753 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:24 Thursday 21 July 2022 22:52:41 +0000 (0:00:00.027) 0:02:39.781 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:30 Thursday 21 July 2022 22:52:42 +0000 (0:00:00.025) 0:02:39.806 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:36 Thursday 21 July 2022 22:52:42 +0000 (0:00:00.027) 0:02:39.833 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:44 Thursday 21 July 2022 22:52:42 +0000 (0:00:00.025) 0:02:39.859 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 22:52:42 +0000 (0:00:00.035) 0:02:39.894 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-lvmraid.yml for /cache/rhel-8.qcow2 TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 22:52:42 +0000 (0:00:00.044) 0:02:39.939 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 22:52:42 +0000 (0:00:00.043) 0:02:39.982 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 22:52:42 +0000 (0:00:00.028) 0:02:40.010 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 22:52:42 +0000 (0:00:00.028) 0:02:40.039 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 22:52:42 +0000 (0:00:00.027) 0:02:40.066 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-thin.yml for /cache/rhel-8.qcow2 TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-thin.yml:1 Thursday 21 July 2022 22:52:42 +0000 (0:00:00.044) 0:02:40.110 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 22:52:42 +0000 (0:00:00.043) 0:02:40.153 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 22:52:42 +0000 (0:00:00.024) 0:02:40.178 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 22:52:42 +0000 (0:00:00.024) 0:02:40.202 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 22:52:42 +0000 (0:00:00.024) 0:02:40.226 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 22:52:42 +0000 (0:00:00.022) 0:02:40.249 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml for /cache/rhel-8.qcow2 TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 22:52:42 +0000 (0:00:00.046) 0:02:40.295 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 22:52:42 +0000 (0:00:00.074) 0:02:40.370 ********* skipping: [/cache/rhel-8.qcow2] => (item=/dev/sda) => { "_storage_test_pool_member_path": "/dev/sda", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 22:52:42 +0000 (0:00:00.027) 0:02:40.398 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml for /cache/rhel-8.qcow2 => (item=/dev/sda) TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 22:52:42 +0000 (0:00:00.042) 0:02:40.440 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:4 Thursday 21 July 2022 22:52:42 +0000 (0:00:00.038) 0:02:40.479 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:9 Thursday 21 July 2022 22:52:42 +0000 (0:00:00.039) 0:02:40.518 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:15 Thursday 21 July 2022 22:52:42 +0000 (0:00:00.026) 0:02:40.545 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:21 Thursday 21 July 2022 22:52:42 +0000 (0:00:00.027) 0:02:40.573 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:27 Thursday 21 July 2022 22:52:42 +0000 (0:00:00.025) 0:02:40.598 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 22:52:42 +0000 (0:00:00.036) 0:02:40.634 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:62 Thursday 21 July 2022 22:52:42 +0000 (0:00:00.036) 0:02:40.671 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-vdo.yml for /cache/rhel-8.qcow2 TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 22:52:42 +0000 (0:00:00.050) 0:02:40.722 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 22:52:42 +0000 (0:00:00.045) 0:02:40.768 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 22:52:42 +0000 (0:00:00.025) 0:02:40.793 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 22:52:43 +0000 (0:00:00.023) 0:02:40.817 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 22:52:43 +0000 (0:00:00.024) 0:02:40.842 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 22:52:43 +0000 (0:00:00.024) 0:02:40.866 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 22:52:43 +0000 (0:00:00.024) 0:02:40.890 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 22:52:43 +0000 (0:00:00.022) 0:02:40.913 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 22:52:43 +0000 (0:00:00.023) 0:02:40.937 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 22:52:43 +0000 (0:00:00.033) 0:02:40.970 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 22:52:43 +0000 (0:00:00.038) 0:02:41.009 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 22:52:43 +0000 (0:00:00.040) 0:02:41.050 ********* ok: [/cache/rhel-8.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/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 22:52:43 +0000 (0:00:00.036) 0:02:41.086 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml for /cache/rhel-8.qcow2 => (item=mount) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml for /cache/rhel-8.qcow2 => (item=fstab) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fs.yml for /cache/rhel-8.qcow2 => (item=fs) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml for /cache/rhel-8.qcow2 => (item=device) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml for /cache/rhel-8.qcow2 => (item=encryption) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml for /cache/rhel-8.qcow2 => (item=md) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml for /cache/rhel-8.qcow2 => (item=size) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml for /cache/rhel-8.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 22:52:43 +0000 (0:00:00.075) 0:02:41.162 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 22:52:43 +0000 (0:00:00.040) 0:02:41.202 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 1205649, "block_size": 4096, "block_total": 1273760, "block_used": 68111, "device": "/dev/mapper/foo-test1", "fstype": "ext3", "inode_available": 327669, "inode_total": 327680, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 4938338304, "size_total": 5217320960, "uuid": "990d24e1-9ed3-4781-b875-9c1c637a47d4" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 1205649, "block_size": 4096, "block_total": 1273760, "block_used": 68111, "device": "/dev/mapper/foo-test1", "fstype": "ext3", "inode_available": 327669, "inode_total": 327680, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 4938338304, "size_total": 5217320960, "uuid": "990d24e1-9ed3-4781-b875-9c1c637a47d4" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 22:52:43 +0000 (0:00:00.043) 0:02:41.246 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 22:52:43 +0000 (0:00:00.041) 0:02:41.287 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 22:52:43 +0000 (0:00:00.038) 0:02:41.326 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 22:52:43 +0000 (0:00:00.041) 0:02:41.367 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 22:52:43 +0000 (0:00:00.023) 0:02:41.391 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 22:52:43 +0000 (0:00:00.023) 0:02:41.414 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 22:52:43 +0000 (0:00:00.025) 0:02:41.440 ********* ok: [/cache/rhel-8.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/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 22:52:43 +0000 (0:00:00.031) 0:02:41.472 ********* ok: [/cache/rhel-8.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": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 ext3 defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 22:52:43 +0000 (0:00:00.097) 0:02:41.569 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 22:52:43 +0000 (0:00:00.114) 0:02:41.684 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 22:52:43 +0000 (0:00:00.039) 0:02:41.723 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 22:52:43 +0000 (0:00:00.025) 0:02:41.749 ********* ok: [/cache/rhel-8.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/tmpcv9gbk7i/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 22:52:43 +0000 (0:00:00.035) 0:02:41.784 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 22:52:44 +0000 (0:00:00.042) 0:02:41.827 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 22:52:44 +0000 (0:00:00.040) 0:02:41.867 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1658443955.5986629, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658443955.5986629, "dev": 6, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 122934, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658443955.5986629, "nlink": 1, "path": "/dev/mapper/foo-test1", "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/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 22:52:44 +0000 (0:00:00.386) 0:02:42.254 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 22:52:44 +0000 (0:00:00.039) 0:02:42.293 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 22:52:44 +0000 (0:00:00.036) 0:02:42.330 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 22:52:44 +0000 (0:00:00.035) 0:02:42.365 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 22:52:44 +0000 (0:00:00.023) 0:02:42.389 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 22:52:44 +0000 (0:00:00.044) 0:02:42.434 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 22:52:44 +0000 (0:00:00.024) 0:02:42.459 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 22:52:46 +0000 (0:00:01.363) 0:02:43.822 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 22:52:46 +0000 (0:00:00.025) 0:02:43.847 ********* skipping: [/cache/rhel-8.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/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 22:52:46 +0000 (0:00:00.026) 0:02:43.874 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 22:52:46 +0000 (0:00:00.045) 0:02:43.920 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 22:52:46 +0000 (0:00:00.028) 0:02:43.949 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 22:52:46 +0000 (0:00:00.028) 0:02:43.977 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 22:52:46 +0000 (0:00:00.025) 0:02:44.002 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 22:52:46 +0000 (0:00:00.024) 0:02:44.027 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 22:52:46 +0000 (0:00:00.025) 0:02:44.052 ********* ok: [/cache/rhel-8.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/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 22:52:46 +0000 (0:00:00.043) 0:02:44.096 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 22:52:46 +0000 (0:00:00.041) 0:02:44.137 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 22:52:46 +0000 (0:00:00.026) 0:02:44.163 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 22:52:46 +0000 (0:00:00.023) 0:02:44.187 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 22:52:46 +0000 (0:00:00.025) 0:02:44.212 ********* ok: [/cache/rhel-8.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/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 22:52:46 +0000 (0:00:00.032) 0:02:44.245 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 22:52:46 +0000 (0:00:00.023) 0:02:44.269 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 22:52:46 +0000 (0:00:00.024) 0:02:44.293 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 22:52:46 +0000 (0:00:00.027) 0:02:44.321 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 22:52:46 +0000 (0:00:00.024) 0:02:44.346 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 22:52:46 +0000 (0:00:00.024) 0:02:44.370 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 22:52:46 +0000 (0:00:00.023) 0:02:44.394 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 22:52:46 +0000 (0:00:00.025) 0:02:44.419 ********* ok: [/cache/rhel-8.qcow2] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 22:52:46 +0000 (0:00:00.377) 0:02:44.797 ********* ok: [/cache/rhel-8.qcow2] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 22:52:47 +0000 (0:00:00.447) 0:02:45.244 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_expected_size": "5368709120" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 22:52:47 +0000 (0:00:00.039) 0:02:45.283 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "5368709120" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 22:52:47 +0000 (0:00:00.034) 0:02:45.318 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 22:52:47 +0000 (0:00:00.028) 0:02:45.346 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 22:52:47 +0000 (0:00:00.026) 0:02:45.373 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 22:52:47 +0000 (0:00:00.026) 0:02:45.400 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 22:52:47 +0000 (0:00:00.025) 0:02:45.426 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 22:52:47 +0000 (0:00:00.024) 0:02:45.451 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_actual_size": { "bytes": 5368709120, "changed": false, "failed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 22:52:47 +0000 (0:00:00.034) 0:02:45.485 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "5368709120" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 22:52:47 +0000 (0:00:00.040) 0:02:45.526 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 22:52:47 +0000 (0:00:00.040) 0:02:45.567 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.040113", "end": "2022-07-21 18:52:47.508875", "rc": 0, "start": "2022-07-21 18:52:47.468762" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 22:52:48 +0000 (0:00:00.419) 0:02:45.986 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 22:52:48 +0000 (0:00:00.040) 0:02:46.027 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 22:52:48 +0000 (0:00:00.038) 0:02:46.065 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 22:52:48 +0000 (0:00:00.025) 0:02:46.091 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 22:52:48 +0000 (0:00:00.024) 0:02:46.115 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 22:52:48 +0000 (0:00:00.025) 0:02:46.141 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 22:52:48 +0000 (0:00:00.027) 0:02:46.169 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 22:52:48 +0000 (0:00:00.033) 0:02:46.202 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 22:52:48 +0000 (0:00:00.020) 0:02:46.223 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Change volume size to "9g"] ********************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/tests_resize.yml:227 Thursday 21 July 2022 22:52:48 +0000 (0:00:00.036) 0:02:46.260 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 22:52:48 +0000 (0:00:00.051) 0:02:46.311 ********* included: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 22:52:48 +0000 (0:00:00.035) 0:02:46.347 ********* ok: [/cache/rhel-8.qcow2] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 22:52:49 +0000 (0:00:00.527) 0:02:46.874 ********* skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8.qcow2] => (item=RedHat_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.6.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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 22:52:49 +0000 (0:00:00.098) 0:02:46.972 ********* ok: [/cache/rhel-8.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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 22:52:49 +0000 (0:00:00.069) 0:02:47.042 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 22:52:49 +0000 (0:00:00.033) 0:02:47.075 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 22:52:49 +0000 (0:00:00.084) 0:02:47.160 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 22:52:49 +0000 (0:00:00.022) 0:02:47.183 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 22:52:49 +0000 (0:00:00.029) 0:02:47.213 ********* ok: [/cache/rhel-8.qcow2] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "type": "lvm", "volumes": [ { "fs_type": "ext3", "mount_point": "/opt/test1", "name": "test1", "size": "9g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 22:52:49 +0000 (0:00:00.042) 0:02:47.255 ********* ok: [/cache/rhel-8.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 22:52:49 +0000 (0:00:00.039) 0:02:47.294 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 22:52:49 +0000 (0:00:00.026) 0:02:47.321 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 22:52:49 +0000 (0:00:00.026) 0:02:47.348 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 22:52:49 +0000 (0:00:00.030) 0:02:47.378 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 22:52:49 +0000 (0:00:00.030) 0:02:47.409 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 22:52:49 +0000 (0:00:00.048) 0:02:47.457 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 22:52:49 +0000 (0:00:00.022) 0:02:47.480 ********* changed: [/cache/rhel-8.qcow2] => { "actions": [ { "action": "resize device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "resize format", "device": "/dev/mapper/foo-test1", "fs_type": "ext3" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/mapper/foo-test1", "/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/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "xfsprogs", "dosfstools", "lvm2", "e2fsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "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/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "9g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 22:52:51 +0000 (0:00:02.231) 0:02:49.711 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 22:52:51 +0000 (0:00:00.030) 0:02:49.742 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 22:52:51 +0000 (0:00:00.025) 0:02:49.767 ********* ok: [/cache/rhel-8.qcow2] => { "blivet_output": { "actions": [ { "action": "resize device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "resize format", "device": "/dev/mapper/foo-test1", "fs_type": "ext3" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/mapper/foo-test1", "/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/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "xfsprogs", "dosfstools", "lvm2", "e2fsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "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/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "9g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 22:52:52 +0000 (0:00:00.041) 0:02:49.809 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "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/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "9g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 22:52:52 +0000 (0:00:00.039) 0:02:49.849 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 22:52:52 +0000 (0:00:00.036) 0:02:49.886 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 22:52:52 +0000 (0:00:00.026) 0:02:49.912 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 22:52:52 +0000 (0:00:00.634) 0:02:50.547 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-8.qcow2] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': 'ext3', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "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/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 22:52:53 +0000 (0:00:00.400) 0:02:50.947 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 22:52:53 +0000 (0:00:00.613) 0:02:51.560 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 22:52:54 +0000 (0:00:00.370) 0:02:51.930 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 22:52:54 +0000 (0:00:00.022) 0:02:51.953 ********* ok: [/cache/rhel-8.qcow2] META: role_complete for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/tests_resize.yml:241 Thursday 21 July 2022 22:52:55 +0000 (0:00:00.983) 0:02:52.936 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml for /cache/rhel-8.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 22:52:55 +0000 (0:00:00.074) 0:02:53.011 ********* ok: [/cache/rhel-8.qcow2] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "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/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "9g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 22:52:55 +0000 (0:00:00.039) 0:02:53.051 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 22:52:55 +0000 (0:00:00.027) 0:02:53.079 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "ext3", "label": "", "name": "/dev/mapper/foo-test1", "size": "9G", "type": "lvm", "uuid": "990d24e1-9ed3-4781-b875-9c1c637a47d4" }, "/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": "LVM2_member", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "VC0XQP-rg3Y-BuA9-GH4E-nJvl-PBF0-ipAl8F" }, "/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-22-49-49-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "vfat", "label": "", "name": "/dev/vda2", "size": "100M", "type": "partition", "uuid": "7B77-95E7" }, "/dev/vda3": { "fstype": "xfs", "label": "root", "name": "/dev/vda3", "size": "9.9G", "type": "partition", "uuid": "853ae189-b3fe-4a45-8485-75bbb1421bbe" }, "/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/tmpcv9gbk7i/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 22:52:55 +0000 (0:00:00.381) 0:02:53.461 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002813", "end": "2022-07-21 18:52:55.371279", "rc": 0, "start": "2022-07-21 18:52:55.368466" } STDOUT: UUID=853ae189-b3fe-4a45-8485-75bbb1421bbe / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 /dev/mapper/foo-test1 /opt/test1 ext3 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 22:52:56 +0000 (0:00:00.386) 0:02:53.847 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003117", "end": "2022-07-21 18:52:55.767981", "failed_when_result": false, "rc": 1, "start": "2022-07-21 18:52:55.764864" } STDERR: cat: /etc/crypttab: No such file or directory MSG: non-zero return code TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 22:52:56 +0000 (0:00:00.405) 0:02:54.253 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool.yml for /cache/rhel-8.qcow2 => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '9g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool.yml:5 Thursday 21 July 2022 22:52:56 +0000 (0:00:00.052) 0:02:54.305 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool.yml:18 Thursday 21 July 2022 22:52:56 +0000 (0:00:00.037) 0:02:54.342 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml for /cache/rhel-8.qcow2 => (item=members) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-volumes.yml for /cache/rhel-8.qcow2 => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:1 Thursday 21 July 2022 22:52:56 +0000 (0:00:00.047) 0:02:54.390 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/sda" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 22:52:56 +0000 (0:00:00.046) 0:02:54.437 ********* ok: [/cache/rhel-8.qcow2] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda", "pv": "/dev/sda" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 22:52:57 +0000 (0:00:00.391) 0:02:54.829 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 22:52:57 +0000 (0:00:00.039) 0:02:54.869 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 22:52:57 +0000 (0:00:00.042) 0:02:54.911 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:29 Thursday 21 July 2022 22:52:57 +0000 (0:00:00.043) 0:02:54.954 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 22:52:57 +0000 (0:00:00.038) 0:02:54.993 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:37 Thursday 21 July 2022 22:52:57 +0000 (0:00:00.038) 0:02:55.031 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:41 Thursday 21 July 2022 22:52:57 +0000 (0:00:00.023) 0:02:55.055 ********* ok: [/cache/rhel-8.qcow2] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 22:52:57 +0000 (0:00:00.048) 0:02:55.103 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml for /cache/rhel-8.qcow2 TASK [get information about RAID] ********************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:6 Thursday 21 July 2022 22:52:57 +0000 (0:00:00.042) 0:02:55.145 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 22:52:57 +0000 (0:00:00.023) 0:02:55.168 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:16 Thursday 21 July 2022 22:52:57 +0000 (0:00:00.023) 0:02:55.192 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:20 Thursday 21 July 2022 22:52:57 +0000 (0:00:00.021) 0:02:55.213 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:24 Thursday 21 July 2022 22:52:57 +0000 (0:00:00.021) 0:02:55.235 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:30 Thursday 21 July 2022 22:52:57 +0000 (0:00:00.021) 0:02:55.257 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:36 Thursday 21 July 2022 22:52:57 +0000 (0:00:00.022) 0:02:55.279 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:44 Thursday 21 July 2022 22:52:57 +0000 (0:00:00.023) 0:02:55.303 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 22:52:57 +0000 (0:00:00.071) 0:02:55.374 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-lvmraid.yml for /cache/rhel-8.qcow2 TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 22:52:57 +0000 (0:00:00.080) 0:02:55.455 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '9g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 22:52:57 +0000 (0:00:00.044) 0:02:55.500 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 22:52:57 +0000 (0:00:00.030) 0:02:55.530 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 22:52:57 +0000 (0:00:00.029) 0:02:55.559 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 22:52:57 +0000 (0:00:00.030) 0:02:55.590 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-thin.yml for /cache/rhel-8.qcow2 TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-thin.yml:1 Thursday 21 July 2022 22:52:57 +0000 (0:00:00.050) 0:02:55.641 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '9g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 22:52:57 +0000 (0:00:00.044) 0:02:55.685 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 22:52:57 +0000 (0:00:00.026) 0:02:55.712 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 22:52:57 +0000 (0:00:00.026) 0:02:55.739 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 22:52:57 +0000 (0:00:00.023) 0:02:55.762 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 22:52:57 +0000 (0:00:00.025) 0:02:55.788 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml for /cache/rhel-8.qcow2 TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 22:52:58 +0000 (0:00:00.050) 0:02:55.838 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 22:52:58 +0000 (0:00:00.041) 0:02:55.879 ********* skipping: [/cache/rhel-8.qcow2] => (item=/dev/sda) => { "_storage_test_pool_member_path": "/dev/sda", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 22:52:58 +0000 (0:00:00.027) 0:02:55.907 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml for /cache/rhel-8.qcow2 => (item=/dev/sda) TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 22:52:58 +0000 (0:00:00.042) 0:02:55.949 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:4 Thursday 21 July 2022 22:52:58 +0000 (0:00:00.040) 0:02:55.990 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:9 Thursday 21 July 2022 22:52:58 +0000 (0:00:00.038) 0:02:56.029 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:15 Thursday 21 July 2022 22:52:58 +0000 (0:00:00.024) 0:02:56.053 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:21 Thursday 21 July 2022 22:52:58 +0000 (0:00:00.031) 0:02:56.085 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:27 Thursday 21 July 2022 22:52:58 +0000 (0:00:00.026) 0:02:56.111 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 22:52:58 +0000 (0:00:00.037) 0:02:56.148 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:62 Thursday 21 July 2022 22:52:58 +0000 (0:00:00.036) 0:02:56.185 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-vdo.yml for /cache/rhel-8.qcow2 TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 22:52:58 +0000 (0:00:00.049) 0:02:56.234 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '9g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 22:52:58 +0000 (0:00:00.043) 0:02:56.278 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 22:52:58 +0000 (0:00:00.024) 0:02:56.302 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 22:52:58 +0000 (0:00:00.024) 0:02:56.327 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 22:52:58 +0000 (0:00:00.024) 0:02:56.351 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 22:52:58 +0000 (0:00:00.025) 0:02:56.376 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 22:52:58 +0000 (0:00:00.024) 0:02:56.401 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 22:52:58 +0000 (0:00:00.024) 0:02:56.425 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 22:52:58 +0000 (0:00:00.028) 0:02:56.453 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 22:52:58 +0000 (0:00:00.035) 0:02:56.489 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 22:52:58 +0000 (0:00:00.031) 0:02:56.521 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '9g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 22:52:58 +0000 (0:00:00.042) 0:02:56.563 ********* ok: [/cache/rhel-8.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/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 22:52:58 +0000 (0:00:00.133) 0:02:56.697 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml for /cache/rhel-8.qcow2 => (item=mount) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml for /cache/rhel-8.qcow2 => (item=fstab) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fs.yml for /cache/rhel-8.qcow2 => (item=fs) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml for /cache/rhel-8.qcow2 => (item=device) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml for /cache/rhel-8.qcow2 => (item=encryption) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml for /cache/rhel-8.qcow2 => (item=md) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml for /cache/rhel-8.qcow2 => (item=size) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml for /cache/rhel-8.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 22:52:58 +0000 (0:00:00.079) 0:02:56.776 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 22:52:59 +0000 (0:00:00.043) 0:02:56.819 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 2185028, "block_size": 4096, "block_total": 2305886, "block_used": 120858, "device": "/dev/mapper/foo-test1", "fstype": "ext3", "inode_available": 589813, "inode_total": 589824, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 8949874688, "size_total": 9444909056, "uuid": "990d24e1-9ed3-4781-b875-9c1c637a47d4" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 2185028, "block_size": 4096, "block_total": 2305886, "block_used": 120858, "device": "/dev/mapper/foo-test1", "fstype": "ext3", "inode_available": 589813, "inode_total": 589824, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 8949874688, "size_total": 9444909056, "uuid": "990d24e1-9ed3-4781-b875-9c1c637a47d4" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 22:52:59 +0000 (0:00:00.049) 0:02:56.869 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 22:52:59 +0000 (0:00:00.044) 0:02:56.914 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 22:52:59 +0000 (0:00:00.039) 0:02:56.953 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 22:52:59 +0000 (0:00:00.042) 0:02:56.996 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 22:52:59 +0000 (0:00:00.024) 0:02:57.020 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 22:52:59 +0000 (0:00:00.025) 0:02:57.046 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 22:52:59 +0000 (0:00:00.024) 0:02:57.070 ********* ok: [/cache/rhel-8.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/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 22:52:59 +0000 (0:00:00.037) 0:02:57.108 ********* ok: [/cache/rhel-8.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": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 ext3 defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 22:52:59 +0000 (0:00:00.052) 0:02:57.160 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 22:52:59 +0000 (0:00:00.044) 0:02:57.205 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 22:52:59 +0000 (0:00:00.038) 0:02:57.243 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 22:52:59 +0000 (0:00:00.024) 0:02:57.268 ********* ok: [/cache/rhel-8.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/tmpcv9gbk7i/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 22:52:59 +0000 (0:00:00.038) 0:02:57.306 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 22:52:59 +0000 (0:00:00.042) 0:02:57.348 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 22:52:59 +0000 (0:00:00.040) 0:02:57.389 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1658443971.1776628, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658443971.1776628, "dev": 6, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 122934, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658443971.1776628, "nlink": 1, "path": "/dev/mapper/foo-test1", "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/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 22:52:59 +0000 (0:00:00.384) 0:02:57.774 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 22:53:00 +0000 (0:00:00.039) 0:02:57.813 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 22:53:00 +0000 (0:00:00.036) 0:02:57.850 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 22:53:00 +0000 (0:00:00.040) 0:02:57.890 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 22:53:00 +0000 (0:00:00.025) 0:02:57.916 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 22:53:00 +0000 (0:00:00.040) 0:02:57.957 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 22:53:00 +0000 (0:00:00.022) 0:02:57.979 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 22:53:01 +0000 (0:00:01.353) 0:02:59.333 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 22:53:01 +0000 (0:00:00.060) 0:02:59.394 ********* skipping: [/cache/rhel-8.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/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 22:53:01 +0000 (0:00:00.030) 0:02:59.424 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 22:53:01 +0000 (0:00:00.047) 0:02:59.472 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 22:53:01 +0000 (0:00:00.024) 0:02:59.496 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 22:53:01 +0000 (0:00:00.030) 0:02:59.526 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 22:53:01 +0000 (0:00:00.027) 0:02:59.553 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 22:53:01 +0000 (0:00:00.025) 0:02:59.579 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 22:53:01 +0000 (0:00:00.024) 0:02:59.603 ********* ok: [/cache/rhel-8.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/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 22:53:01 +0000 (0:00:00.043) 0:02:59.647 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 22:53:01 +0000 (0:00:00.039) 0:02:59.686 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 22:53:01 +0000 (0:00:00.025) 0:02:59.712 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 22:53:01 +0000 (0:00:00.032) 0:02:59.744 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 22:53:01 +0000 (0:00:00.032) 0:02:59.777 ********* ok: [/cache/rhel-8.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/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 22:53:02 +0000 (0:00:00.034) 0:02:59.812 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 22:53:02 +0000 (0:00:00.027) 0:02:59.839 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 22:53:02 +0000 (0:00:00.026) 0:02:59.865 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 22:53:02 +0000 (0:00:00.027) 0:02:59.893 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 22:53:02 +0000 (0:00:00.026) 0:02:59.919 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 22:53:02 +0000 (0:00:00.026) 0:02:59.945 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 22:53:02 +0000 (0:00:00.025) 0:02:59.971 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 22:53:02 +0000 (0:00:00.027) 0:02:59.999 ********* ok: [/cache/rhel-8.qcow2] => { "bytes": 9663676416, "changed": false, "lvm": "9g", "parted": "9GiB", "size": "9 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 22:53:02 +0000 (0:00:00.372) 0:03:00.371 ********* ok: [/cache/rhel-8.qcow2] => { "bytes": 9663676416, "changed": false, "lvm": "9g", "parted": "9GiB", "size": "9 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 22:53:02 +0000 (0:00:00.373) 0:03:00.744 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_expected_size": "9663676416" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 22:53:02 +0000 (0:00:00.039) 0:03:00.784 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "9663676416" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 22:53:03 +0000 (0:00:00.039) 0:03:00.824 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 22:53:03 +0000 (0:00:00.029) 0:03:00.854 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 22:53:03 +0000 (0:00:00.027) 0:03:00.882 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 22:53:03 +0000 (0:00:00.026) 0:03:00.908 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 22:53:03 +0000 (0:00:00.028) 0:03:00.936 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 22:53:03 +0000 (0:00:00.025) 0:03:00.962 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_actual_size": { "bytes": 9663676416, "changed": false, "failed": false, "lvm": "9g", "parted": "9GiB", "size": "9 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 22:53:03 +0000 (0:00:00.035) 0:03:00.997 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "9663676416" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 22:53:03 +0000 (0:00:00.036) 0:03:01.033 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 22:53:03 +0000 (0:00:00.040) 0:03:01.074 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.033384", "end": "2022-07-21 18:53:03.007314", "rc": 0, "start": "2022-07-21 18:53:02.973930" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 22:53:03 +0000 (0:00:00.411) 0:03:01.485 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 22:53:03 +0000 (0:00:00.078) 0:03:01.563 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 22:53:03 +0000 (0:00:00.042) 0:03:01.605 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 22:53:03 +0000 (0:00:00.027) 0:03:01.633 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 22:53:03 +0000 (0:00:00.024) 0:03:01.658 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 22:53:03 +0000 (0:00:00.057) 0:03:01.715 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 22:53:03 +0000 (0:00:00.027) 0:03:01.742 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 22:53:03 +0000 (0:00:00.035) 0:03:01.777 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 22:53:04 +0000 (0:00:00.023) 0:03:01.801 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Change volume size to "5g"] ********************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/tests_resize.yml:243 Thursday 21 July 2022 22:53:04 +0000 (0:00:00.040) 0:03:01.842 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 22:53:04 +0000 (0:00:00.055) 0:03:01.897 ********* included: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 22:53:04 +0000 (0:00:00.044) 0:03:01.941 ********* ok: [/cache/rhel-8.qcow2] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 22:53:04 +0000 (0:00:00.519) 0:03:02.460 ********* skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8.qcow2] => (item=RedHat_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.6.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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 22:53:04 +0000 (0:00:00.066) 0:03:02.527 ********* ok: [/cache/rhel-8.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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 22:53:04 +0000 (0:00:00.039) 0:03:02.566 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 22:53:04 +0000 (0:00:00.040) 0:03:02.606 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 22:53:04 +0000 (0:00:00.056) 0:03:02.663 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 22:53:04 +0000 (0:00:00.023) 0:03:02.687 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 22:53:04 +0000 (0:00:00.036) 0:03:02.723 ********* ok: [/cache/rhel-8.qcow2] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "type": "lvm", "volumes": [ { "fs_type": "ext3", "mount_point": "/opt/test1", "name": "test1", "size": "5g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 22:53:04 +0000 (0:00:00.038) 0:03:02.761 ********* ok: [/cache/rhel-8.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 22:53:05 +0000 (0:00:00.037) 0:03:02.798 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 22:53:05 +0000 (0:00:00.030) 0:03:02.829 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 22:53:05 +0000 (0:00:00.029) 0:03:02.859 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 22:53:05 +0000 (0:00:00.026) 0:03:02.885 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 22:53:05 +0000 (0:00:00.026) 0:03:02.912 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 22:53:05 +0000 (0:00:00.049) 0:03:02.962 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 22:53:05 +0000 (0:00:00.020) 0:03:02.982 ********* changed: [/cache/rhel-8.qcow2] => { "actions": [ { "action": "resize format", "device": "/dev/mapper/foo-test1", "fs_type": "ext3" }, { "action": "resize device", "device": "/dev/mapper/foo-test1", "fs_type": null } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/mapper/foo-test1", "/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/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "lvm2", "dosfstools", "e2fsprogs", "xfsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "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/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 22:53:07 +0000 (0:00:02.377) 0:03:05.360 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 22:53:07 +0000 (0:00:00.026) 0:03:05.386 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 22:53:07 +0000 (0:00:00.021) 0:03:05.408 ********* ok: [/cache/rhel-8.qcow2] => { "blivet_output": { "actions": [ { "action": "resize format", "device": "/dev/mapper/foo-test1", "fs_type": "ext3" }, { "action": "resize device", "device": "/dev/mapper/foo-test1", "fs_type": null } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/mapper/foo-test1", "/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/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "lvm2", "dosfstools", "e2fsprogs", "xfsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "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/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 22:53:07 +0000 (0:00:00.084) 0:03:05.492 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "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/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 22:53:07 +0000 (0:00:00.085) 0:03:05.577 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 22:53:07 +0000 (0:00:00.040) 0:03:05.618 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 22:53:07 +0000 (0:00:00.029) 0:03:05.647 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 22:53:08 +0000 (0:00:00.632) 0:03:06.280 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-8.qcow2] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': 'ext3', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "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/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 22:53:08 +0000 (0:00:00.444) 0:03:06.724 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 22:53:09 +0000 (0:00:00.631) 0:03:07.356 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 22:53:09 +0000 (0:00:00.385) 0:03:07.742 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 22:53:09 +0000 (0:00:00.025) 0:03:07.767 ********* ok: [/cache/rhel-8.qcow2] META: role_complete for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/tests_resize.yml:257 Thursday 21 July 2022 22:53:10 +0000 (0:00:00.976) 0:03:08.744 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml for /cache/rhel-8.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 22:53:10 +0000 (0:00:00.049) 0:03:08.793 ********* ok: [/cache/rhel-8.qcow2] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "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/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 22:53:11 +0000 (0:00:00.041) 0:03:08.835 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 22:53:11 +0000 (0:00:00.031) 0:03:08.866 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "ext3", "label": "", "name": "/dev/mapper/foo-test1", "size": "5G", "type": "lvm", "uuid": "990d24e1-9ed3-4781-b875-9c1c637a47d4" }, "/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": "LVM2_member", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "VC0XQP-rg3Y-BuA9-GH4E-nJvl-PBF0-ipAl8F" }, "/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-22-49-49-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "vfat", "label": "", "name": "/dev/vda2", "size": "100M", "type": "partition", "uuid": "7B77-95E7" }, "/dev/vda3": { "fstype": "xfs", "label": "root", "name": "/dev/vda3", "size": "9.9G", "type": "partition", "uuid": "853ae189-b3fe-4a45-8485-75bbb1421bbe" }, "/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/tmpcv9gbk7i/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 22:53:11 +0000 (0:00:00.379) 0:03:09.245 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:01.004314", "end": "2022-07-21 18:53:12.159257", "rc": 0, "start": "2022-07-21 18:53:11.154943" } STDOUT: UUID=853ae189-b3fe-4a45-8485-75bbb1421bbe / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 /dev/mapper/foo-test1 /opt/test1 ext3 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 22:53:12 +0000 (0:00:01.394) 0:03:10.640 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002529", "end": "2022-07-21 18:53:12.533502", "failed_when_result": false, "rc": 1, "start": "2022-07-21 18:53:12.530973" } STDERR: cat: /etc/crypttab: No such file or directory MSG: non-zero return code TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 22:53:13 +0000 (0:00:00.369) 0:03:11.009 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool.yml for /cache/rhel-8.qcow2 => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool.yml:5 Thursday 21 July 2022 22:53:13 +0000 (0:00:00.049) 0:03:11.058 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool.yml:18 Thursday 21 July 2022 22:53:13 +0000 (0:00:00.032) 0:03:11.091 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml for /cache/rhel-8.qcow2 => (item=members) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-volumes.yml for /cache/rhel-8.qcow2 => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:1 Thursday 21 July 2022 22:53:13 +0000 (0:00:00.084) 0:03:11.175 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/sda" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 22:53:13 +0000 (0:00:00.054) 0:03:11.230 ********* ok: [/cache/rhel-8.qcow2] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda", "pv": "/dev/sda" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 22:53:13 +0000 (0:00:00.390) 0:03:11.621 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 22:53:13 +0000 (0:00:00.040) 0:03:11.661 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 22:53:13 +0000 (0:00:00.038) 0:03:11.699 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:29 Thursday 21 July 2022 22:53:13 +0000 (0:00:00.038) 0:03:11.738 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 22:53:13 +0000 (0:00:00.037) 0:03:11.775 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:37 Thursday 21 July 2022 22:53:14 +0000 (0:00:00.040) 0:03:11.816 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:41 Thursday 21 July 2022 22:53:14 +0000 (0:00:00.022) 0:03:11.839 ********* ok: [/cache/rhel-8.qcow2] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 22:53:14 +0000 (0:00:00.041) 0:03:11.880 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml for /cache/rhel-8.qcow2 TASK [get information about RAID] ********************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:6 Thursday 21 July 2022 22:53:14 +0000 (0:00:00.041) 0:03:11.921 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 22:53:14 +0000 (0:00:00.022) 0:03:11.944 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:16 Thursday 21 July 2022 22:53:14 +0000 (0:00:00.022) 0:03:11.967 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:20 Thursday 21 July 2022 22:53:14 +0000 (0:00:00.022) 0:03:11.989 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:24 Thursday 21 July 2022 22:53:14 +0000 (0:00:00.023) 0:03:12.013 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:30 Thursday 21 July 2022 22:53:14 +0000 (0:00:00.022) 0:03:12.036 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:36 Thursday 21 July 2022 22:53:14 +0000 (0:00:00.027) 0:03:12.064 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:44 Thursday 21 July 2022 22:53:14 +0000 (0:00:00.025) 0:03:12.089 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 22:53:14 +0000 (0:00:00.040) 0:03:12.129 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-lvmraid.yml for /cache/rhel-8.qcow2 TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 22:53:14 +0000 (0:00:00.045) 0:03:12.175 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 22:53:14 +0000 (0:00:00.042) 0:03:12.217 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 22:53:14 +0000 (0:00:00.026) 0:03:12.243 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 22:53:14 +0000 (0:00:00.025) 0:03:12.269 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 22:53:14 +0000 (0:00:00.025) 0:03:12.295 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-thin.yml for /cache/rhel-8.qcow2 TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-thin.yml:1 Thursday 21 July 2022 22:53:14 +0000 (0:00:00.043) 0:03:12.339 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 22:53:14 +0000 (0:00:00.043) 0:03:12.382 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 22:53:14 +0000 (0:00:00.022) 0:03:12.405 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 22:53:14 +0000 (0:00:00.021) 0:03:12.426 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 22:53:14 +0000 (0:00:00.022) 0:03:12.449 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 22:53:14 +0000 (0:00:00.023) 0:03:12.472 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml for /cache/rhel-8.qcow2 TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 22:53:14 +0000 (0:00:00.046) 0:03:12.518 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 22:53:14 +0000 (0:00:00.072) 0:03:12.591 ********* skipping: [/cache/rhel-8.qcow2] => (item=/dev/sda) => { "_storage_test_pool_member_path": "/dev/sda", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 22:53:14 +0000 (0:00:00.056) 0:03:12.647 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml for /cache/rhel-8.qcow2 => (item=/dev/sda) TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 22:53:14 +0000 (0:00:00.041) 0:03:12.689 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:4 Thursday 21 July 2022 22:53:14 +0000 (0:00:00.038) 0:03:12.728 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:9 Thursday 21 July 2022 22:53:14 +0000 (0:00:00.041) 0:03:12.770 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:15 Thursday 21 July 2022 22:53:14 +0000 (0:00:00.028) 0:03:12.798 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:21 Thursday 21 July 2022 22:53:15 +0000 (0:00:00.038) 0:03:12.836 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:27 Thursday 21 July 2022 22:53:15 +0000 (0:00:00.030) 0:03:12.867 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 22:53:15 +0000 (0:00:00.041) 0:03:12.909 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:62 Thursday 21 July 2022 22:53:15 +0000 (0:00:00.036) 0:03:12.945 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-vdo.yml for /cache/rhel-8.qcow2 TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 22:53:15 +0000 (0:00:00.049) 0:03:12.994 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 22:53:15 +0000 (0:00:00.045) 0:03:13.040 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 22:53:15 +0000 (0:00:00.024) 0:03:13.065 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 22:53:15 +0000 (0:00:00.024) 0:03:13.089 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 22:53:15 +0000 (0:00:00.025) 0:03:13.114 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 22:53:15 +0000 (0:00:00.025) 0:03:13.140 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 22:53:15 +0000 (0:00:00.026) 0:03:13.166 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 22:53:15 +0000 (0:00:00.022) 0:03:13.189 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 22:53:15 +0000 (0:00:00.024) 0:03:13.213 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 22:53:15 +0000 (0:00:00.032) 0:03:13.246 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 22:53:15 +0000 (0:00:00.034) 0:03:13.280 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 22:53:15 +0000 (0:00:00.041) 0:03:13.322 ********* ok: [/cache/rhel-8.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/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 22:53:15 +0000 (0:00:00.039) 0:03:13.362 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml for /cache/rhel-8.qcow2 => (item=mount) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml for /cache/rhel-8.qcow2 => (item=fstab) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fs.yml for /cache/rhel-8.qcow2 => (item=fs) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml for /cache/rhel-8.qcow2 => (item=device) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml for /cache/rhel-8.qcow2 => (item=encryption) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml for /cache/rhel-8.qcow2 => (item=md) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml for /cache/rhel-8.qcow2 => (item=size) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml for /cache/rhel-8.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 22:53:15 +0000 (0:00:00.080) 0:03:13.442 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 22:53:15 +0000 (0:00:00.041) 0:03:13.483 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 1205650, "block_size": 4096, "block_total": 1273760, "block_used": 68110, "device": "/dev/mapper/foo-test1", "fstype": "ext3", "inode_available": 327669, "inode_total": 327680, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 4938342400, "size_total": 5217320960, "uuid": "990d24e1-9ed3-4781-b875-9c1c637a47d4" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 1205650, "block_size": 4096, "block_total": 1273760, "block_used": 68110, "device": "/dev/mapper/foo-test1", "fstype": "ext3", "inode_available": 327669, "inode_total": 327680, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 4938342400, "size_total": 5217320960, "uuid": "990d24e1-9ed3-4781-b875-9c1c637a47d4" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 22:53:15 +0000 (0:00:00.051) 0:03:13.535 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 22:53:15 +0000 (0:00:00.043) 0:03:13.578 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 22:53:15 +0000 (0:00:00.039) 0:03:13.617 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 22:53:15 +0000 (0:00:00.044) 0:03:13.662 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 22:53:15 +0000 (0:00:00.027) 0:03:13.690 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 22:53:15 +0000 (0:00:00.024) 0:03:13.714 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 22:53:15 +0000 (0:00:00.022) 0:03:13.737 ********* ok: [/cache/rhel-8.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/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 22:53:15 +0000 (0:00:00.034) 0:03:13.771 ********* ok: [/cache/rhel-8.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": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 ext3 defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 22:53:16 +0000 (0:00:00.052) 0:03:13.823 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 22:53:16 +0000 (0:00:00.039) 0:03:13.862 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 22:53:16 +0000 (0:00:00.081) 0:03:13.944 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 22:53:16 +0000 (0:00:00.026) 0:03:13.970 ********* ok: [/cache/rhel-8.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/tmpcv9gbk7i/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 22:53:16 +0000 (0:00:00.083) 0:03:14.054 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 22:53:16 +0000 (0:00:00.040) 0:03:14.095 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 22:53:16 +0000 (0:00:00.040) 0:03:14.136 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1658443986.810663, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658443986.810663, "dev": 6, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 122934, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658443986.810663, "nlink": 1, "path": "/dev/mapper/foo-test1", "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/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 22:53:16 +0000 (0:00:00.378) 0:03:14.514 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 22:53:16 +0000 (0:00:00.038) 0:03:14.553 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 22:53:16 +0000 (0:00:00.038) 0:03:14.592 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 22:53:16 +0000 (0:00:00.035) 0:03:14.627 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 22:53:16 +0000 (0:00:00.024) 0:03:14.651 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 22:53:16 +0000 (0:00:00.036) 0:03:14.688 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 22:53:16 +0000 (0:00:00.023) 0:03:14.711 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 22:53:18 +0000 (0:00:01.358) 0:03:16.069 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 22:53:18 +0000 (0:00:00.025) 0:03:16.095 ********* skipping: [/cache/rhel-8.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/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 22:53:18 +0000 (0:00:00.024) 0:03:16.120 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 22:53:18 +0000 (0:00:00.045) 0:03:16.165 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 22:53:18 +0000 (0:00:00.024) 0:03:16.190 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 22:53:18 +0000 (0:00:00.024) 0:03:16.214 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 22:53:18 +0000 (0:00:00.024) 0:03:16.239 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 22:53:18 +0000 (0:00:00.026) 0:03:16.265 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 22:53:18 +0000 (0:00:00.024) 0:03:16.290 ********* ok: [/cache/rhel-8.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/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 22:53:18 +0000 (0:00:00.042) 0:03:16.332 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 22:53:18 +0000 (0:00:00.041) 0:03:16.373 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 22:53:18 +0000 (0:00:00.029) 0:03:16.402 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 22:53:18 +0000 (0:00:00.024) 0:03:16.427 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 22:53:18 +0000 (0:00:00.024) 0:03:16.451 ********* ok: [/cache/rhel-8.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/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 22:53:18 +0000 (0:00:00.034) 0:03:16.485 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 22:53:18 +0000 (0:00:00.029) 0:03:16.514 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 22:53:18 +0000 (0:00:00.025) 0:03:16.540 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 22:53:18 +0000 (0:00:00.025) 0:03:16.565 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 22:53:18 +0000 (0:00:00.024) 0:03:16.589 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 22:53:18 +0000 (0:00:00.028) 0:03:16.618 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 22:53:18 +0000 (0:00:00.026) 0:03:16.644 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 22:53:18 +0000 (0:00:00.024) 0:03:16.668 ********* ok: [/cache/rhel-8.qcow2] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 22:53:19 +0000 (0:00:00.410) 0:03:17.079 ********* ok: [/cache/rhel-8.qcow2] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 22:53:19 +0000 (0:00:00.374) 0:03:17.453 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_expected_size": "5368709120" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 22:53:19 +0000 (0:00:00.074) 0:03:17.528 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "5368709120" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 22:53:19 +0000 (0:00:00.116) 0:03:17.645 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 22:53:19 +0000 (0:00:00.028) 0:03:17.674 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 22:53:19 +0000 (0:00:00.028) 0:03:17.702 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 22:53:19 +0000 (0:00:00.026) 0:03:17.729 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 22:53:19 +0000 (0:00:00.028) 0:03:17.757 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 22:53:19 +0000 (0:00:00.025) 0:03:17.783 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_actual_size": { "bytes": 5368709120, "changed": false, "failed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 22:53:20 +0000 (0:00:00.038) 0:03:17.821 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "5368709120" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 22:53:20 +0000 (0:00:00.038) 0:03:17.860 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 22:53:20 +0000 (0:00:00.042) 0:03:17.902 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.034316", "end": "2022-07-21 18:53:19.832478", "rc": 0, "start": "2022-07-21 18:53:19.798162" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 22:53:20 +0000 (0:00:00.407) 0:03:18.310 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 22:53:20 +0000 (0:00:00.052) 0:03:18.362 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 22:53:20 +0000 (0:00:00.059) 0:03:18.422 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 22:53:20 +0000 (0:00:00.051) 0:03:18.473 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 22:53:20 +0000 (0:00:00.050) 0:03:18.524 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 22:53:20 +0000 (0:00:00.054) 0:03:18.578 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 22:53:20 +0000 (0:00:00.054) 0:03:18.633 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 22:53:20 +0000 (0:00:00.064) 0:03:18.697 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 22:53:20 +0000 (0:00:00.038) 0:03:18.735 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Clean up] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/tests_resize.yml:259 Thursday 21 July 2022 22:53:20 +0000 (0:00:00.043) 0:03:18.779 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 22:53:21 +0000 (0:00:00.059) 0:03:18.838 ********* included: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 22:53:21 +0000 (0:00:00.038) 0:03:18.876 ********* ok: [/cache/rhel-8.qcow2] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 22:53:21 +0000 (0:00:00.509) 0:03:19.386 ********* skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8.qcow2] => (item=RedHat_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.6.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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 22:53:21 +0000 (0:00:00.071) 0:03:19.457 ********* ok: [/cache/rhel-8.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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 22:53:21 +0000 (0:00:00.037) 0:03:19.495 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 22:53:21 +0000 (0:00:00.040) 0:03:19.536 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 22:53:21 +0000 (0:00:00.058) 0:03:19.594 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 22:53:21 +0000 (0:00:00.022) 0:03:19.617 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 22:53:21 +0000 (0:00:00.079) 0:03:19.697 ********* ok: [/cache/rhel-8.qcow2] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "state": "absent", "volumes": [ { "mount_point": "/opt/test1", "name": "test1", "size": "5g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 22:53:21 +0000 (0:00:00.050) 0:03:19.747 ********* ok: [/cache/rhel-8.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 22:53:21 +0000 (0:00:00.044) 0:03:19.792 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 22:53:22 +0000 (0:00:00.032) 0:03:19.825 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 22:53:22 +0000 (0:00:00.029) 0:03:19.854 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 22:53:22 +0000 (0:00:00.029) 0:03:19.884 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 22:53:22 +0000 (0:00:00.029) 0:03:19.914 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 22:53:22 +0000 (0:00:00.051) 0:03:19.966 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 22:53:22 +0000 (0:00:00.022) 0:03:19.988 ********* changed: [/cache/rhel-8.qcow2] => { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "ext3" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "lvmpv" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "fstype": "ext3", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" } ], "packages": [ "xfsprogs", "dosfstools" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "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/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 22:53:24 +0000 (0:00:01.861) 0:03:21.849 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 22:53:24 +0000 (0:00:00.028) 0:03:21.878 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 22:53:24 +0000 (0:00:00.024) 0:03:21.902 ********* ok: [/cache/rhel-8.qcow2] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "ext3" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "lvmpv" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "fstype": "ext3", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" } ], "packages": [ "xfsprogs", "dosfstools" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "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/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 22:53:24 +0000 (0:00:00.040) 0:03:21.943 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "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/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 22:53:24 +0000 (0:00:00.039) 0:03:21.982 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 22:53:24 +0000 (0:00:00.041) 0:03:22.023 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-8.qcow2] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'state': 'absent', '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/test1", "src": "/dev/mapper/foo-test1", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 22:53:24 +0000 (0:00:00.401) 0:03:22.425 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 22:53:25 +0000 (0:00:00.618) 0:03:23.043 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 22:53:25 +0000 (0:00:00.030) 0:03:23.074 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 22:53:25 +0000 (0:00:00.621) 0:03:23.695 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 22:53:26 +0000 (0:00:00.373) 0:03:24.069 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 22:53:26 +0000 (0:00:00.023) 0:03:24.093 ********* ok: [/cache/rhel-8.qcow2] META: role_complete for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/tests_resize.yml:272 Thursday 21 July 2022 22:53:27 +0000 (0:00:00.990) 0:03:25.084 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml for /cache/rhel-8.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 22:53:27 +0000 (0:00:00.049) 0:03:25.133 ********* ok: [/cache/rhel-8.qcow2] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "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/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 22:53:27 +0000 (0:00:00.043) 0:03:25.176 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 22:53:27 +0000 (0:00:00.026) 0:03:25.203 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "info": { "/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-22-49-49-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "vfat", "label": "", "name": "/dev/vda2", "size": "100M", "type": "partition", "uuid": "7B77-95E7" }, "/dev/vda3": { "fstype": "xfs", "label": "root", "name": "/dev/vda3", "size": "9.9G", "type": "partition", "uuid": "853ae189-b3fe-4a45-8485-75bbb1421bbe" }, "/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/tmpcv9gbk7i/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 22:53:27 +0000 (0:00:00.442) 0:03:25.645 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002545", "end": "2022-07-21 18:53:27.588242", "rc": 0, "start": "2022-07-21 18:53:27.585697" } STDOUT: UUID=853ae189-b3fe-4a45-8485-75bbb1421bbe / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 22:53:28 +0000 (0:00:00.417) 0:03:26.063 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002572", "end": "2022-07-21 18:53:27.956250", "failed_when_result": false, "rc": 1, "start": "2022-07-21 18:53:27.953678" } STDERR: cat: /etc/crypttab: No such file or directory MSG: non-zero return code TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 22:53:28 +0000 (0:00:00.369) 0:03:26.432 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool.yml for /cache/rhel-8.qcow2 => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'absent', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool.yml:5 Thursday 21 July 2022 22:53:28 +0000 (0:00:00.051) 0:03:26.484 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool.yml:18 Thursday 21 July 2022 22:53:28 +0000 (0:00:00.037) 0:03:26.521 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml for /cache/rhel-8.qcow2 => (item=members) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-volumes.yml for /cache/rhel-8.qcow2 => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:1 Thursday 21 July 2022 22:53:28 +0000 (0:00:00.048) 0:03:26.570 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_count": "0", "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 22:53:28 +0000 (0:00:00.043) 0:03:26.613 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 22:53:28 +0000 (0:00:00.022) 0:03:26.636 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": "0" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 22:53:28 +0000 (0:00:00.040) 0:03:26.676 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_pool_pvs": [] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 22:53:28 +0000 (0:00:00.041) 0:03:26.718 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:29 Thursday 21 July 2022 22:53:28 +0000 (0:00:00.043) 0:03:26.761 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 22:53:29 +0000 (0:00:00.039) 0:03:26.801 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:37 Thursday 21 July 2022 22:53:29 +0000 (0:00:00.049) 0:03:26.850 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:41 Thursday 21 July 2022 22:53:29 +0000 (0:00:00.026) 0:03:26.876 ********* TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 22:53:29 +0000 (0:00:00.021) 0:03:26.898 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml for /cache/rhel-8.qcow2 TASK [get information about RAID] ********************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:6 Thursday 21 July 2022 22:53:29 +0000 (0:00:00.043) 0:03:26.941 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 22:53:29 +0000 (0:00:00.024) 0:03:26.965 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:16 Thursday 21 July 2022 22:53:29 +0000 (0:00:00.022) 0:03:26.988 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:20 Thursday 21 July 2022 22:53:29 +0000 (0:00:00.022) 0:03:27.011 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:24 Thursday 21 July 2022 22:53:29 +0000 (0:00:00.023) 0:03:27.034 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:30 Thursday 21 July 2022 22:53:29 +0000 (0:00:00.023) 0:03:27.057 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:36 Thursday 21 July 2022 22:53:29 +0000 (0:00:00.025) 0:03:27.083 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:44 Thursday 21 July 2022 22:53:29 +0000 (0:00:00.024) 0:03:27.107 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 22:53:29 +0000 (0:00:00.036) 0:03:27.143 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-lvmraid.yml for /cache/rhel-8.qcow2 TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 22:53:29 +0000 (0:00:00.042) 0:03:27.186 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 22:53:29 +0000 (0:00:00.041) 0:03:27.227 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 22:53:29 +0000 (0:00:00.025) 0:03:27.252 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 22:53:29 +0000 (0:00:00.024) 0:03:27.277 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 22:53:29 +0000 (0:00:00.024) 0:03:27.301 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-thin.yml for /cache/rhel-8.qcow2 TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-thin.yml:1 Thursday 21 July 2022 22:53:29 +0000 (0:00:00.085) 0:03:27.387 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 22:53:29 +0000 (0:00:00.044) 0:03:27.432 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 22:53:29 +0000 (0:00:00.026) 0:03:27.458 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 22:53:29 +0000 (0:00:00.024) 0:03:27.482 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 22:53:29 +0000 (0:00:00.024) 0:03:27.506 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 22:53:29 +0000 (0:00:00.024) 0:03:27.531 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml for /cache/rhel-8.qcow2 TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 22:53:29 +0000 (0:00:00.047) 0:03:27.579 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 22:53:29 +0000 (0:00:00.041) 0:03:27.621 ********* TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 22:53:29 +0000 (0:00:00.022) 0:03:27.644 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 22:53:29 +0000 (0:00:00.022) 0:03:27.666 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:62 Thursday 21 July 2022 22:53:29 +0000 (0:00:00.034) 0:03:27.701 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-vdo.yml for /cache/rhel-8.qcow2 TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 22:53:29 +0000 (0:00:00.047) 0:03:27.748 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 22:53:29 +0000 (0:00:00.045) 0:03:27.794 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 22:53:30 +0000 (0:00:00.025) 0:03:27.820 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 22:53:30 +0000 (0:00:00.024) 0:03:27.844 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 22:53:30 +0000 (0:00:00.025) 0:03:27.869 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 22:53:30 +0000 (0:00:00.024) 0:03:27.894 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 22:53:30 +0000 (0:00:00.025) 0:03:27.919 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 22:53:30 +0000 (0:00:00.025) 0:03:27.944 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 22:53:30 +0000 (0:00:00.025) 0:03:27.970 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 22:53:30 +0000 (0:00:00.032) 0:03:28.002 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 22:53:30 +0000 (0:00:00.036) 0:03:28.039 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 22:53:30 +0000 (0:00:00.041) 0:03:28.081 ********* ok: [/cache/rhel-8.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/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 22:53:30 +0000 (0:00:00.037) 0:03:28.119 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml for /cache/rhel-8.qcow2 => (item=mount) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml for /cache/rhel-8.qcow2 => (item=fstab) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fs.yml for /cache/rhel-8.qcow2 => (item=fs) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml for /cache/rhel-8.qcow2 => (item=device) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml for /cache/rhel-8.qcow2 => (item=encryption) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml for /cache/rhel-8.qcow2 => (item=md) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml for /cache/rhel-8.qcow2 => (item=size) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml for /cache/rhel-8.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 22:53:30 +0000 (0:00:00.078) 0:03:28.197 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 22:53:30 +0000 (0:00:00.042) 0:03:28.239 ********* ok: [/cache/rhel-8.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/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 22:53:30 +0000 (0:00:00.046) 0:03:28.285 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 22:53:30 +0000 (0:00:00.026) 0:03:28.312 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 22:53:30 +0000 (0:00:00.039) 0:03:28.351 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 22:53:30 +0000 (0:00:00.027) 0:03:28.379 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 22:53:30 +0000 (0:00:00.025) 0:03:28.405 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 22:53:30 +0000 (0:00:00.025) 0:03:28.431 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 22:53:30 +0000 (0:00:00.025) 0:03:28.456 ********* ok: [/cache/rhel-8.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/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 22:53:30 +0000 (0:00:00.079) 0:03:28.536 ********* ok: [/cache/rhel-8.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/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 22:53:30 +0000 (0:00:00.134) 0:03:28.670 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 22:53:30 +0000 (0:00:00.025) 0:03:28.696 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 22:53:30 +0000 (0:00:00.041) 0:03:28.737 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 22:53:30 +0000 (0:00:00.027) 0:03:28.765 ********* ok: [/cache/rhel-8.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/tmpcv9gbk7i/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 22:53:31 +0000 (0:00:00.034) 0:03:28.799 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 22:53:31 +0000 (0:00:00.025) 0:03:28.825 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 22:53:31 +0000 (0:00:00.023) 0:03:28.848 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 22:53:31 +0000 (0:00:00.386) 0:03:29.234 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 22:53:31 +0000 (0:00:00.041) 0:03:29.275 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 22:53:31 +0000 (0:00:00.024) 0:03:29.300 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 22:53:31 +0000 (0:00:00.039) 0:03:29.339 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 22:53:31 +0000 (0:00:00.026) 0:03:29.366 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 22:53:31 +0000 (0:00:00.024) 0:03:29.391 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 22:53:31 +0000 (0:00:00.029) 0:03:29.421 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 22:53:32 +0000 (0:00:01.332) 0:03:30.753 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 22:53:32 +0000 (0:00:00.024) 0:03:30.777 ********* skipping: [/cache/rhel-8.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/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 22:53:33 +0000 (0:00:00.025) 0:03:30.802 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 22:53:33 +0000 (0:00:00.024) 0:03:30.827 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 22:53:33 +0000 (0:00:00.026) 0:03:30.853 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 22:53:33 +0000 (0:00:00.022) 0:03:30.876 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 22:53:33 +0000 (0:00:00.022) 0:03:30.898 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 22:53:33 +0000 (0:00:00.022) 0:03:30.921 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 22:53:33 +0000 (0:00:00.022) 0:03:30.944 ********* ok: [/cache/rhel-8.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/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 22:53:33 +0000 (0:00:00.038) 0:03:30.982 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 22:53:33 +0000 (0:00:00.038) 0:03:31.020 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 22:53:33 +0000 (0:00:00.023) 0:03:31.044 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 22:53:33 +0000 (0:00:00.027) 0:03:31.071 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 22:53:33 +0000 (0:00:00.022) 0:03:31.094 ********* ok: [/cache/rhel-8.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/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 22:53:33 +0000 (0:00:00.032) 0:03:31.126 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 22:53:33 +0000 (0:00:00.023) 0:03:31.150 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 22:53:33 +0000 (0:00:00.032) 0:03:31.183 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 22:53:33 +0000 (0:00:00.026) 0:03:31.210 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 22:53:33 +0000 (0:00:00.026) 0:03:31.236 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 22:53:33 +0000 (0:00:00.023) 0:03:31.260 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 22:53:33 +0000 (0:00:00.027) 0:03:31.288 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 22:53:33 +0000 (0:00:00.024) 0:03:31.312 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 22:53:33 +0000 (0:00:00.022) 0:03:31.335 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 22:53:33 +0000 (0:00:00.023) 0:03:31.358 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 22:53:33 +0000 (0:00:00.027) 0:03:31.386 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "5368709120" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 22:53:33 +0000 (0:00:00.037) 0:03:31.423 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 22:53:33 +0000 (0:00:00.024) 0:03:31.447 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 22:53:33 +0000 (0:00:00.023) 0:03:31.471 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 22:53:33 +0000 (0:00:00.029) 0:03:31.501 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 22:53:33 +0000 (0:00:00.027) 0:03:31.528 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 22:53:33 +0000 (0:00:00.027) 0:03:31.555 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 22:53:33 +0000 (0:00:00.039) 0:03:31.595 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "5368709120" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 22:53:33 +0000 (0:00:00.040) 0:03:31.635 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 22:53:33 +0000 (0:00:00.025) 0:03:31.660 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 22:53:33 +0000 (0:00:00.023) 0:03:31.683 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 22:53:33 +0000 (0:00:00.024) 0:03:31.708 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 22:53:33 +0000 (0:00:00.024) 0:03:31.732 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 22:53:33 +0000 (0:00:00.023) 0:03:31.755 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 22:53:33 +0000 (0:00:00.023) 0:03:31.779 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 22:53:34 +0000 (0:00:00.026) 0:03:31.806 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 22:53:34 +0000 (0:00:00.024) 0:03:31.831 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 22:53:34 +0000 (0:00:00.037) 0:03:31.868 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 22:53:34 +0000 (0:00:00.021) 0:03:31.890 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Create a LVM logical volume with "5g" for ext2 FS] *********************** task path: /tmp/tmpcv9gbk7i/tests/storage/tests_resize.yml:276 Thursday 21 July 2022 22:53:34 +0000 (0:00:00.128) 0:03:32.019 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 22:53:34 +0000 (0:00:00.068) 0:03:32.087 ********* included: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 22:53:34 +0000 (0:00:00.036) 0:03:32.123 ********* ok: [/cache/rhel-8.qcow2] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 22:53:34 +0000 (0:00:00.519) 0:03:32.643 ********* skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8.qcow2] => (item=RedHat_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.6.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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 22:53:34 +0000 (0:00:00.066) 0:03:32.709 ********* ok: [/cache/rhel-8.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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 22:53:34 +0000 (0:00:00.038) 0:03:32.748 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 22:53:34 +0000 (0:00:00.038) 0:03:32.786 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 22:53:35 +0000 (0:00:00.059) 0:03:32.846 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 22:53:35 +0000 (0:00:00.022) 0:03:32.868 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 22:53:35 +0000 (0:00:00.030) 0:03:32.899 ********* ok: [/cache/rhel-8.qcow2] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "type": "lvm", "volumes": [ { "fs_type": "ext2", "mount_point": "/opt/test1", "name": "test1", "size": "5g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 22:53:35 +0000 (0:00:00.038) 0:03:32.938 ********* ok: [/cache/rhel-8.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 22:53:35 +0000 (0:00:00.036) 0:03:32.974 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 22:53:35 +0000 (0:00:00.027) 0:03:33.002 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 22:53:35 +0000 (0:00:00.026) 0:03:33.028 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 22:53:35 +0000 (0:00:00.029) 0:03:33.057 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 22:53:35 +0000 (0:00:00.027) 0:03:33.085 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 22:53:35 +0000 (0:00:00.052) 0:03:33.137 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 22:53:35 +0000 (0:00:00.022) 0:03:33.160 ********* changed: [/cache/rhel-8.qcow2] => { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "ext2" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd", "/dev/mapper/foo-test1" ], "mounts": [ { "dump": 0, "fstype": "ext2", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "xfsprogs", "dosfstools", "e2fsprogs", "lvm2" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "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": "ext2", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 22:53:37 +0000 (0:00:01.678) 0:03:34.838 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 22:53:37 +0000 (0:00:00.027) 0:03:34.865 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 22:53:37 +0000 (0:00:00.021) 0:03:34.887 ********* ok: [/cache/rhel-8.qcow2] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "ext2" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd", "/dev/mapper/foo-test1" ], "mounts": [ { "dump": 0, "fstype": "ext2", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "xfsprogs", "dosfstools", "e2fsprogs", "lvm2" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "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": "ext2", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 22:53:37 +0000 (0:00:00.083) 0:03:34.971 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "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": "ext2", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 22:53:37 +0000 (0:00:00.080) 0:03:35.051 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 22:53:37 +0000 (0:00:00.036) 0:03:35.088 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 22:53:37 +0000 (0:00:00.030) 0:03:35.118 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 22:53:37 +0000 (0:00:00.660) 0:03:35.778 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-8.qcow2] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': 'ext2', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext2", "mount_info": { "dump": 0, "fstype": "ext2", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 22:53:38 +0000 (0:00:00.415) 0:03:36.194 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 22:53:39 +0000 (0:00:00.605) 0:03:36.800 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 22:53:39 +0000 (0:00:00.371) 0:03:37.171 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 22:53:39 +0000 (0:00:00.024) 0:03:37.196 ********* ok: [/cache/rhel-8.qcow2] META: role_complete for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/tests_resize.yml:290 Thursday 21 July 2022 22:53:40 +0000 (0:00:00.949) 0:03:38.146 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml for /cache/rhel-8.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 22:53:40 +0000 (0:00:00.054) 0:03:38.200 ********* ok: [/cache/rhel-8.qcow2] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "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": "ext2", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 22:53:40 +0000 (0:00:00.040) 0:03:38.241 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 22:53:40 +0000 (0:00:00.026) 0:03:38.268 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "ext2", "label": "", "name": "/dev/mapper/foo-test1", "size": "5G", "type": "lvm", "uuid": "9f0336f5-417c-442a-86bb-5b02007928ff" }, "/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": "LVM2_member", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "9OSykx-9oXf-RdTT-ZX2O-ILOM-W0V2-v0eR84" }, "/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-22-49-49-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "vfat", "label": "", "name": "/dev/vda2", "size": "100M", "type": "partition", "uuid": "7B77-95E7" }, "/dev/vda3": { "fstype": "xfs", "label": "root", "name": "/dev/vda3", "size": "9.9G", "type": "partition", "uuid": "853ae189-b3fe-4a45-8485-75bbb1421bbe" }, "/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/tmpcv9gbk7i/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 22:53:40 +0000 (0:00:00.381) 0:03:38.649 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002858", "end": "2022-07-21 18:53:40.538848", "rc": 0, "start": "2022-07-21 18:53:40.535990" } STDOUT: UUID=853ae189-b3fe-4a45-8485-75bbb1421bbe / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 /dev/mapper/foo-test1 /opt/test1 ext2 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 22:53:41 +0000 (0:00:00.366) 0:03:39.015 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002394", "end": "2022-07-21 18:53:40.910315", "failed_when_result": false, "rc": 1, "start": "2022-07-21 18:53:40.907921" } STDERR: cat: /etc/crypttab: No such file or directory MSG: non-zero return code TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 22:53:41 +0000 (0:00:00.371) 0:03:39.387 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool.yml for /cache/rhel-8.qcow2 => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool.yml:5 Thursday 21 July 2022 22:53:41 +0000 (0:00:00.057) 0:03:39.445 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool.yml:18 Thursday 21 July 2022 22:53:41 +0000 (0:00:00.075) 0:03:39.520 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml for /cache/rhel-8.qcow2 => (item=members) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-volumes.yml for /cache/rhel-8.qcow2 => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:1 Thursday 21 July 2022 22:53:41 +0000 (0:00:00.049) 0:03:39.570 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/sda" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 22:53:41 +0000 (0:00:00.088) 0:03:39.659 ********* ok: [/cache/rhel-8.qcow2] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda", "pv": "/dev/sda" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 22:53:42 +0000 (0:00:00.434) 0:03:40.093 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 22:53:42 +0000 (0:00:00.040) 0:03:40.134 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 22:53:42 +0000 (0:00:00.040) 0:03:40.174 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:29 Thursday 21 July 2022 22:53:42 +0000 (0:00:00.040) 0:03:40.214 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 22:53:42 +0000 (0:00:00.040) 0:03:40.255 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:37 Thursday 21 July 2022 22:53:42 +0000 (0:00:00.040) 0:03:40.296 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:41 Thursday 21 July 2022 22:53:42 +0000 (0:00:00.024) 0:03:40.321 ********* ok: [/cache/rhel-8.qcow2] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 22:53:42 +0000 (0:00:00.045) 0:03:40.366 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml for /cache/rhel-8.qcow2 TASK [get information about RAID] ********************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:6 Thursday 21 July 2022 22:53:42 +0000 (0:00:00.044) 0:03:40.410 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 22:53:42 +0000 (0:00:00.025) 0:03:40.436 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:16 Thursday 21 July 2022 22:53:42 +0000 (0:00:00.024) 0:03:40.460 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:20 Thursday 21 July 2022 22:53:42 +0000 (0:00:00.025) 0:03:40.486 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:24 Thursday 21 July 2022 22:53:42 +0000 (0:00:00.025) 0:03:40.511 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:30 Thursday 21 July 2022 22:53:42 +0000 (0:00:00.024) 0:03:40.536 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:36 Thursday 21 July 2022 22:53:42 +0000 (0:00:00.024) 0:03:40.560 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:44 Thursday 21 July 2022 22:53:42 +0000 (0:00:00.026) 0:03:40.587 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 22:53:42 +0000 (0:00:00.034) 0:03:40.621 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-lvmraid.yml for /cache/rhel-8.qcow2 TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 22:53:42 +0000 (0:00:00.045) 0:03:40.666 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 22:53:42 +0000 (0:00:00.045) 0:03:40.712 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 22:53:42 +0000 (0:00:00.030) 0:03:40.743 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 22:53:42 +0000 (0:00:00.029) 0:03:40.772 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 22:53:43 +0000 (0:00:00.033) 0:03:40.806 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-thin.yml for /cache/rhel-8.qcow2 TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-thin.yml:1 Thursday 21 July 2022 22:53:43 +0000 (0:00:00.045) 0:03:40.851 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 22:53:43 +0000 (0:00:00.043) 0:03:40.894 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 22:53:43 +0000 (0:00:00.023) 0:03:40.917 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 22:53:43 +0000 (0:00:00.021) 0:03:40.939 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 22:53:43 +0000 (0:00:00.023) 0:03:40.962 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 22:53:43 +0000 (0:00:00.021) 0:03:40.984 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml for /cache/rhel-8.qcow2 TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 22:53:43 +0000 (0:00:00.044) 0:03:41.029 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 22:53:43 +0000 (0:00:00.037) 0:03:41.067 ********* skipping: [/cache/rhel-8.qcow2] => (item=/dev/sda) => { "_storage_test_pool_member_path": "/dev/sda", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 22:53:43 +0000 (0:00:00.025) 0:03:41.092 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml for /cache/rhel-8.qcow2 => (item=/dev/sda) TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 22:53:43 +0000 (0:00:00.040) 0:03:41.132 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:4 Thursday 21 July 2022 22:53:43 +0000 (0:00:00.104) 0:03:41.237 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:9 Thursday 21 July 2022 22:53:43 +0000 (0:00:00.038) 0:03:41.276 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:15 Thursday 21 July 2022 22:53:43 +0000 (0:00:00.025) 0:03:41.302 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:21 Thursday 21 July 2022 22:53:43 +0000 (0:00:00.024) 0:03:41.326 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:27 Thursday 21 July 2022 22:53:43 +0000 (0:00:00.027) 0:03:41.353 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 22:53:43 +0000 (0:00:00.032) 0:03:41.385 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:62 Thursday 21 July 2022 22:53:43 +0000 (0:00:00.037) 0:03:41.423 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-vdo.yml for /cache/rhel-8.qcow2 TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 22:53:43 +0000 (0:00:00.050) 0:03:41.473 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 22:53:43 +0000 (0:00:00.042) 0:03:41.516 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 22:53:43 +0000 (0:00:00.029) 0:03:41.545 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 22:53:43 +0000 (0:00:00.025) 0:03:41.571 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 22:53:43 +0000 (0:00:00.023) 0:03:41.595 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 22:53:43 +0000 (0:00:00.024) 0:03:41.619 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 22:53:43 +0000 (0:00:00.025) 0:03:41.645 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 22:53:43 +0000 (0:00:00.024) 0:03:41.670 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 22:53:43 +0000 (0:00:00.026) 0:03:41.696 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 22:53:43 +0000 (0:00:00.035) 0:03:41.731 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 22:53:43 +0000 (0:00:00.035) 0:03:41.767 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 22:53:44 +0000 (0:00:00.040) 0:03:41.807 ********* ok: [/cache/rhel-8.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/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 22:53:44 +0000 (0:00:00.037) 0:03:41.845 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml for /cache/rhel-8.qcow2 => (item=mount) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml for /cache/rhel-8.qcow2 => (item=fstab) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fs.yml for /cache/rhel-8.qcow2 => (item=fs) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml for /cache/rhel-8.qcow2 => (item=device) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml for /cache/rhel-8.qcow2 => (item=encryption) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml for /cache/rhel-8.qcow2 => (item=md) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml for /cache/rhel-8.qcow2 => (item=size) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml for /cache/rhel-8.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 22:53:44 +0000 (0:00:00.086) 0:03:41.931 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 22:53:44 +0000 (0:00:00.049) 0:03:41.981 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 1222050, "block_size": 4096, "block_total": 1290144, "block_used": 68094, "device": "/dev/mapper/foo-test1", "fstype": "ext2", "inode_available": 327669, "inode_total": 327680, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 5005516800, "size_total": 5284429824, "uuid": "9f0336f5-417c-442a-86bb-5b02007928ff" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 1222050, "block_size": 4096, "block_total": 1290144, "block_used": 68094, "device": "/dev/mapper/foo-test1", "fstype": "ext2", "inode_available": 327669, "inode_total": 327680, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 5005516800, "size_total": 5284429824, "uuid": "9f0336f5-417c-442a-86bb-5b02007928ff" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 22:53:44 +0000 (0:00:00.047) 0:03:42.028 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 22:53:44 +0000 (0:00:00.042) 0:03:42.071 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 22:53:44 +0000 (0:00:00.044) 0:03:42.115 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 22:53:44 +0000 (0:00:00.040) 0:03:42.155 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 22:53:44 +0000 (0:00:00.025) 0:03:42.181 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 22:53:44 +0000 (0:00:00.025) 0:03:42.206 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 22:53:44 +0000 (0:00:00.025) 0:03:42.232 ********* ok: [/cache/rhel-8.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/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 22:53:44 +0000 (0:00:00.034) 0:03:42.267 ********* ok: [/cache/rhel-8.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": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 ext2 defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 22:53:44 +0000 (0:00:00.050) 0:03:42.318 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 22:53:44 +0000 (0:00:00.041) 0:03:42.359 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 22:53:44 +0000 (0:00:00.041) 0:03:42.401 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 22:53:44 +0000 (0:00:00.026) 0:03:42.428 ********* ok: [/cache/rhel-8.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/tmpcv9gbk7i/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 22:53:44 +0000 (0:00:00.097) 0:03:42.525 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 22:53:44 +0000 (0:00:00.128) 0:03:42.653 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 22:53:44 +0000 (0:00:00.041) 0:03:42.694 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1658444016.291663, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658444016.291663, "dev": 6, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 154541, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658444016.291663, "nlink": 1, "path": "/dev/mapper/foo-test1", "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/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 22:53:45 +0000 (0:00:00.385) 0:03:43.080 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 22:53:45 +0000 (0:00:00.039) 0:03:43.119 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 22:53:45 +0000 (0:00:00.037) 0:03:43.156 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 22:53:45 +0000 (0:00:00.035) 0:03:43.192 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 22:53:45 +0000 (0:00:00.023) 0:03:43.215 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 22:53:45 +0000 (0:00:00.043) 0:03:43.258 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 22:53:45 +0000 (0:00:00.023) 0:03:43.281 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 22:53:46 +0000 (0:00:01.378) 0:03:44.660 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 22:53:46 +0000 (0:00:00.024) 0:03:44.685 ********* skipping: [/cache/rhel-8.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/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 22:53:46 +0000 (0:00:00.026) 0:03:44.711 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 22:53:46 +0000 (0:00:00.050) 0:03:44.761 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 22:53:46 +0000 (0:00:00.029) 0:03:44.791 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 22:53:47 +0000 (0:00:00.028) 0:03:44.819 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 22:53:47 +0000 (0:00:00.027) 0:03:44.847 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 22:53:47 +0000 (0:00:00.026) 0:03:44.874 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 22:53:47 +0000 (0:00:00.023) 0:03:44.897 ********* ok: [/cache/rhel-8.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/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 22:53:47 +0000 (0:00:00.044) 0:03:44.941 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 22:53:47 +0000 (0:00:00.041) 0:03:44.983 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 22:53:47 +0000 (0:00:00.027) 0:03:45.011 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 22:53:47 +0000 (0:00:00.025) 0:03:45.036 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 22:53:47 +0000 (0:00:00.027) 0:03:45.064 ********* ok: [/cache/rhel-8.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/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 22:53:47 +0000 (0:00:00.032) 0:03:45.097 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 22:53:47 +0000 (0:00:00.024) 0:03:45.121 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 22:53:47 +0000 (0:00:00.023) 0:03:45.145 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 22:53:47 +0000 (0:00:00.028) 0:03:45.173 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 22:53:47 +0000 (0:00:00.024) 0:03:45.197 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 22:53:47 +0000 (0:00:00.023) 0:03:45.221 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 22:53:47 +0000 (0:00:00.024) 0:03:45.246 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 22:53:47 +0000 (0:00:00.034) 0:03:45.281 ********* ok: [/cache/rhel-8.qcow2] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 22:53:47 +0000 (0:00:00.388) 0:03:45.669 ********* ok: [/cache/rhel-8.qcow2] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 22:53:48 +0000 (0:00:00.393) 0:03:46.062 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_expected_size": "5368709120" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 22:53:48 +0000 (0:00:00.038) 0:03:46.100 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "5368709120" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 22:53:48 +0000 (0:00:00.080) 0:03:46.181 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 22:53:48 +0000 (0:00:00.026) 0:03:46.207 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 22:53:48 +0000 (0:00:00.028) 0:03:46.236 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 22:53:48 +0000 (0:00:00.024) 0:03:46.261 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 22:53:48 +0000 (0:00:00.024) 0:03:46.285 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 22:53:48 +0000 (0:00:00.024) 0:03:46.309 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_actual_size": { "bytes": 5368709120, "changed": false, "failed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 22:53:48 +0000 (0:00:00.036) 0:03:46.346 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "5368709120" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 22:53:48 +0000 (0:00:00.033) 0:03:46.379 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 22:53:48 +0000 (0:00:00.080) 0:03:46.460 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.036125", "end": "2022-07-21 18:53:48.437613", "rc": 0, "start": "2022-07-21 18:53:48.401488" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 22:53:49 +0000 (0:00:00.453) 0:03:46.914 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 22:53:49 +0000 (0:00:00.039) 0:03:46.954 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 22:53:49 +0000 (0:00:00.041) 0:03:46.995 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 22:53:49 +0000 (0:00:00.029) 0:03:47.024 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 22:53:49 +0000 (0:00:00.027) 0:03:47.052 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 22:53:49 +0000 (0:00:00.029) 0:03:47.082 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 22:53:49 +0000 (0:00:00.031) 0:03:47.113 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 22:53:49 +0000 (0:00:00.040) 0:03:47.153 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 22:53:49 +0000 (0:00:00.023) 0:03:47.176 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Change volume size to "9g"] ********************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/tests_resize.yml:292 Thursday 21 July 2022 22:53:49 +0000 (0:00:00.037) 0:03:47.214 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 22:53:49 +0000 (0:00:00.076) 0:03:47.291 ********* included: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 22:53:49 +0000 (0:00:00.037) 0:03:47.328 ********* ok: [/cache/rhel-8.qcow2] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 22:53:50 +0000 (0:00:00.526) 0:03:47.855 ********* skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8.qcow2] => (item=RedHat_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.6.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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 22:53:50 +0000 (0:00:00.064) 0:03:47.920 ********* ok: [/cache/rhel-8.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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 22:53:50 +0000 (0:00:00.038) 0:03:47.958 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 22:53:50 +0000 (0:00:00.038) 0:03:47.997 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 22:53:50 +0000 (0:00:00.068) 0:03:48.066 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 22:53:50 +0000 (0:00:00.023) 0:03:48.089 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 22:53:50 +0000 (0:00:00.030) 0:03:48.120 ********* ok: [/cache/rhel-8.qcow2] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "type": "lvm", "volumes": [ { "fs_type": "ext2", "mount_point": "/opt/test1", "name": "test1", "size": "9g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 22:53:50 +0000 (0:00:00.041) 0:03:48.161 ********* ok: [/cache/rhel-8.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 22:53:50 +0000 (0:00:00.038) 0:03:48.200 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 22:53:50 +0000 (0:00:00.028) 0:03:48.229 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 22:53:50 +0000 (0:00:00.031) 0:03:48.261 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 22:53:50 +0000 (0:00:00.029) 0:03:48.290 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 22:53:50 +0000 (0:00:00.029) 0:03:48.320 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 22:53:50 +0000 (0:00:00.164) 0:03:48.484 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 22:53:50 +0000 (0:00:00.024) 0:03:48.508 ********* changed: [/cache/rhel-8.qcow2] => { "actions": [ { "action": "resize device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "resize format", "device": "/dev/mapper/foo-test1", "fs_type": "ext2" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "dump": 0, "fstype": "ext2", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "e2fsprogs", "dosfstools", "lvm2", "xfsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "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": "ext2", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "9g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 22:53:52 +0000 (0:00:02.279) 0:03:50.788 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 22:53:53 +0000 (0:00:00.028) 0:03:50.817 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 22:53:53 +0000 (0:00:00.024) 0:03:50.841 ********* ok: [/cache/rhel-8.qcow2] => { "blivet_output": { "actions": [ { "action": "resize device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "resize format", "device": "/dev/mapper/foo-test1", "fs_type": "ext2" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "dump": 0, "fstype": "ext2", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "e2fsprogs", "dosfstools", "lvm2", "xfsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "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": "ext2", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "9g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 22:53:53 +0000 (0:00:00.043) 0:03:50.885 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "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": "ext2", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "9g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 22:53:53 +0000 (0:00:00.040) 0:03:50.925 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 22:53:53 +0000 (0:00:00.038) 0:03:50.964 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 22:53:53 +0000 (0:00:00.026) 0:03:50.991 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 22:53:53 +0000 (0:00:00.655) 0:03:51.647 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-8.qcow2] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': 'ext2', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext2", "mount_info": { "dump": 0, "fstype": "ext2", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 22:53:54 +0000 (0:00:00.416) 0:03:52.063 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 22:53:54 +0000 (0:00:00.615) 0:03:52.679 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 22:53:55 +0000 (0:00:00.381) 0:03:53.060 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 22:53:55 +0000 (0:00:00.023) 0:03:53.084 ********* ok: [/cache/rhel-8.qcow2] META: role_complete for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/tests_resize.yml:306 Thursday 21 July 2022 22:53:56 +0000 (0:00:00.975) 0:03:54.059 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml for /cache/rhel-8.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 22:53:56 +0000 (0:00:00.055) 0:03:54.114 ********* ok: [/cache/rhel-8.qcow2] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "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": "ext2", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "9g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 22:53:56 +0000 (0:00:00.041) 0:03:54.156 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 22:53:56 +0000 (0:00:00.024) 0:03:54.181 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "ext2", "label": "", "name": "/dev/mapper/foo-test1", "size": "9G", "type": "lvm", "uuid": "9f0336f5-417c-442a-86bb-5b02007928ff" }, "/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": "LVM2_member", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "9OSykx-9oXf-RdTT-ZX2O-ILOM-W0V2-v0eR84" }, "/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-22-49-49-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "vfat", "label": "", "name": "/dev/vda2", "size": "100M", "type": "partition", "uuid": "7B77-95E7" }, "/dev/vda3": { "fstype": "xfs", "label": "root", "name": "/dev/vda3", "size": "9.9G", "type": "partition", "uuid": "853ae189-b3fe-4a45-8485-75bbb1421bbe" }, "/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/tmpcv9gbk7i/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 22:53:56 +0000 (0:00:00.392) 0:03:54.573 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002474", "end": "2022-07-21 18:53:56.481044", "rc": 0, "start": "2022-07-21 18:53:56.478570" } STDOUT: UUID=853ae189-b3fe-4a45-8485-75bbb1421bbe / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 /dev/mapper/foo-test1 /opt/test1 ext2 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 22:53:57 +0000 (0:00:00.385) 0:03:54.959 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002454", "end": "2022-07-21 18:53:56.904604", "failed_when_result": false, "rc": 1, "start": "2022-07-21 18:53:56.902150" } STDERR: cat: /etc/crypttab: No such file or directory MSG: non-zero return code TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 22:53:57 +0000 (0:00:00.464) 0:03:55.424 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool.yml for /cache/rhel-8.qcow2 => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '9g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool.yml:5 Thursday 21 July 2022 22:53:57 +0000 (0:00:00.053) 0:03:55.477 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool.yml:18 Thursday 21 July 2022 22:53:57 +0000 (0:00:00.038) 0:03:55.515 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml for /cache/rhel-8.qcow2 => (item=members) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-volumes.yml for /cache/rhel-8.qcow2 => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:1 Thursday 21 July 2022 22:53:57 +0000 (0:00:00.063) 0:03:55.578 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/sda" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 22:53:57 +0000 (0:00:00.051) 0:03:55.630 ********* ok: [/cache/rhel-8.qcow2] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda", "pv": "/dev/sda" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 22:53:58 +0000 (0:00:00.383) 0:03:56.014 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 22:53:58 +0000 (0:00:00.042) 0:03:56.056 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 22:53:58 +0000 (0:00:00.043) 0:03:56.100 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:29 Thursday 21 July 2022 22:53:58 +0000 (0:00:00.044) 0:03:56.145 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 22:53:58 +0000 (0:00:00.040) 0:03:56.185 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:37 Thursday 21 July 2022 22:53:58 +0000 (0:00:00.040) 0:03:56.226 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:41 Thursday 21 July 2022 22:53:58 +0000 (0:00:00.026) 0:03:56.252 ********* ok: [/cache/rhel-8.qcow2] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 22:53:58 +0000 (0:00:00.048) 0:03:56.301 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml for /cache/rhel-8.qcow2 TASK [get information about RAID] ********************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:6 Thursday 21 July 2022 22:53:58 +0000 (0:00:00.043) 0:03:56.345 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 22:53:58 +0000 (0:00:00.025) 0:03:56.370 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:16 Thursday 21 July 2022 22:53:58 +0000 (0:00:00.026) 0:03:56.396 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:20 Thursday 21 July 2022 22:53:58 +0000 (0:00:00.026) 0:03:56.423 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:24 Thursday 21 July 2022 22:53:58 +0000 (0:00:00.027) 0:03:56.450 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:30 Thursday 21 July 2022 22:53:58 +0000 (0:00:00.026) 0:03:56.476 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:36 Thursday 21 July 2022 22:53:58 +0000 (0:00:00.026) 0:03:56.502 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:44 Thursday 21 July 2022 22:53:58 +0000 (0:00:00.024) 0:03:56.527 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 22:53:58 +0000 (0:00:00.037) 0:03:56.565 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-lvmraid.yml for /cache/rhel-8.qcow2 TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 22:53:58 +0000 (0:00:00.044) 0:03:56.610 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '9g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 22:53:58 +0000 (0:00:00.041) 0:03:56.651 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 22:53:58 +0000 (0:00:00.026) 0:03:56.678 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 22:53:58 +0000 (0:00:00.030) 0:03:56.708 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 22:53:58 +0000 (0:00:00.027) 0:03:56.736 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-thin.yml for /cache/rhel-8.qcow2 TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-thin.yml:1 Thursday 21 July 2022 22:53:58 +0000 (0:00:00.048) 0:03:56.784 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '9g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 22:53:59 +0000 (0:00:00.046) 0:03:56.830 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 22:53:59 +0000 (0:00:00.024) 0:03:56.855 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 22:53:59 +0000 (0:00:00.023) 0:03:56.878 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 22:53:59 +0000 (0:00:00.024) 0:03:56.903 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 22:53:59 +0000 (0:00:00.024) 0:03:56.927 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml for /cache/rhel-8.qcow2 TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 22:53:59 +0000 (0:00:00.046) 0:03:56.973 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 22:53:59 +0000 (0:00:00.087) 0:03:57.061 ********* skipping: [/cache/rhel-8.qcow2] => (item=/dev/sda) => { "_storage_test_pool_member_path": "/dev/sda", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 22:53:59 +0000 (0:00:00.039) 0:03:57.100 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml for /cache/rhel-8.qcow2 => (item=/dev/sda) TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 22:53:59 +0000 (0:00:00.047) 0:03:57.147 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:4 Thursday 21 July 2022 22:53:59 +0000 (0:00:00.041) 0:03:57.189 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:9 Thursday 21 July 2022 22:53:59 +0000 (0:00:00.043) 0:03:57.233 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:15 Thursday 21 July 2022 22:53:59 +0000 (0:00:00.028) 0:03:57.261 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:21 Thursday 21 July 2022 22:53:59 +0000 (0:00:00.029) 0:03:57.290 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:27 Thursday 21 July 2022 22:53:59 +0000 (0:00:00.026) 0:03:57.317 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 22:53:59 +0000 (0:00:00.036) 0:03:57.354 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:62 Thursday 21 July 2022 22:53:59 +0000 (0:00:00.037) 0:03:57.391 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-vdo.yml for /cache/rhel-8.qcow2 TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 22:53:59 +0000 (0:00:00.051) 0:03:57.443 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '9g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 22:53:59 +0000 (0:00:00.046) 0:03:57.489 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 22:53:59 +0000 (0:00:00.026) 0:03:57.516 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 22:53:59 +0000 (0:00:00.025) 0:03:57.541 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 22:53:59 +0000 (0:00:00.026) 0:03:57.568 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 22:53:59 +0000 (0:00:00.025) 0:03:57.593 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 22:53:59 +0000 (0:00:00.025) 0:03:57.619 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 22:53:59 +0000 (0:00:00.024) 0:03:57.643 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 22:53:59 +0000 (0:00:00.024) 0:03:57.668 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 22:53:59 +0000 (0:00:00.038) 0:03:57.706 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 22:53:59 +0000 (0:00:00.040) 0:03:57.747 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '9g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 22:53:59 +0000 (0:00:00.046) 0:03:57.794 ********* ok: [/cache/rhel-8.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/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 22:54:00 +0000 (0:00:00.042) 0:03:57.836 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml for /cache/rhel-8.qcow2 => (item=mount) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml for /cache/rhel-8.qcow2 => (item=fstab) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fs.yml for /cache/rhel-8.qcow2 => (item=fs) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml for /cache/rhel-8.qcow2 => (item=device) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml for /cache/rhel-8.qcow2 => (item=encryption) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml for /cache/rhel-8.qcow2 => (item=md) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml for /cache/rhel-8.qcow2 => (item=size) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml for /cache/rhel-8.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 22:54:00 +0000 (0:00:00.082) 0:03:57.918 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 22:54:00 +0000 (0:00:00.043) 0:03:57.962 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 2201429, "block_size": 4096, "block_total": 2322270, "block_used": 120841, "device": "/dev/mapper/foo-test1", "fstype": "ext2", "inode_available": 589813, "inode_total": 589824, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 9017053184, "size_total": 9512017920, "uuid": "9f0336f5-417c-442a-86bb-5b02007928ff" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 2201429, "block_size": 4096, "block_total": 2322270, "block_used": 120841, "device": "/dev/mapper/foo-test1", "fstype": "ext2", "inode_available": 589813, "inode_total": 589824, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 9017053184, "size_total": 9512017920, "uuid": "9f0336f5-417c-442a-86bb-5b02007928ff" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 22:54:00 +0000 (0:00:00.047) 0:03:58.010 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 22:54:00 +0000 (0:00:00.041) 0:03:58.051 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 22:54:00 +0000 (0:00:00.041) 0:03:58.093 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 22:54:00 +0000 (0:00:00.039) 0:03:58.133 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 22:54:00 +0000 (0:00:00.024) 0:03:58.158 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 22:54:00 +0000 (0:00:00.023) 0:03:58.181 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 22:54:00 +0000 (0:00:00.023) 0:03:58.205 ********* ok: [/cache/rhel-8.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/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 22:54:00 +0000 (0:00:00.035) 0:03:58.241 ********* ok: [/cache/rhel-8.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": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 ext2 defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 22:54:00 +0000 (0:00:00.110) 0:03:58.352 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 22:54:00 +0000 (0:00:00.141) 0:03:58.494 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 22:54:00 +0000 (0:00:00.040) 0:03:58.534 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 22:54:00 +0000 (0:00:00.028) 0:03:58.562 ********* ok: [/cache/rhel-8.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/tmpcv9gbk7i/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 22:54:00 +0000 (0:00:00.038) 0:03:58.600 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 22:54:00 +0000 (0:00:00.041) 0:03:58.641 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 22:54:00 +0000 (0:00:00.039) 0:03:58.681 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1658444032.2566628, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658444032.2566628, "dev": 6, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 154541, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658444032.2566628, "nlink": 1, "path": "/dev/mapper/foo-test1", "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/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 22:54:01 +0000 (0:00:00.401) 0:03:59.083 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 22:54:01 +0000 (0:00:00.039) 0:03:59.122 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 22:54:01 +0000 (0:00:00.041) 0:03:59.164 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 22:54:01 +0000 (0:00:00.038) 0:03:59.202 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 22:54:01 +0000 (0:00:00.025) 0:03:59.228 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 22:54:01 +0000 (0:00:00.044) 0:03:59.272 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 22:54:01 +0000 (0:00:00.026) 0:03:59.298 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 22:54:02 +0000 (0:00:01.385) 0:04:00.684 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 22:54:02 +0000 (0:00:00.025) 0:04:00.709 ********* skipping: [/cache/rhel-8.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/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 22:54:02 +0000 (0:00:00.025) 0:04:00.735 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 22:54:02 +0000 (0:00:00.041) 0:04:00.776 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 22:54:03 +0000 (0:00:00.023) 0:04:00.800 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 22:54:03 +0000 (0:00:00.027) 0:04:00.828 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 22:54:03 +0000 (0:00:00.026) 0:04:00.854 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 22:54:03 +0000 (0:00:00.026) 0:04:00.881 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 22:54:03 +0000 (0:00:00.025) 0:04:00.907 ********* ok: [/cache/rhel-8.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/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 22:54:03 +0000 (0:00:00.042) 0:04:00.949 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 22:54:03 +0000 (0:00:00.040) 0:04:00.990 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 22:54:03 +0000 (0:00:00.026) 0:04:01.016 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 22:54:03 +0000 (0:00:00.026) 0:04:01.043 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 22:54:03 +0000 (0:00:00.032) 0:04:01.076 ********* ok: [/cache/rhel-8.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/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 22:54:03 +0000 (0:00:00.033) 0:04:01.109 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 22:54:03 +0000 (0:00:00.024) 0:04:01.133 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 22:54:03 +0000 (0:00:00.024) 0:04:01.157 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 22:54:03 +0000 (0:00:00.034) 0:04:01.192 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 22:54:03 +0000 (0:00:00.026) 0:04:01.218 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 22:54:03 +0000 (0:00:00.024) 0:04:01.242 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 22:54:03 +0000 (0:00:00.024) 0:04:01.267 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 22:54:03 +0000 (0:00:00.037) 0:04:01.304 ********* ok: [/cache/rhel-8.qcow2] => { "bytes": 9663676416, "changed": false, "lvm": "9g", "parted": "9GiB", "size": "9 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 22:54:03 +0000 (0:00:00.395) 0:04:01.700 ********* ok: [/cache/rhel-8.qcow2] => { "bytes": 9663676416, "changed": false, "lvm": "9g", "parted": "9GiB", "size": "9 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 22:54:04 +0000 (0:00:00.430) 0:04:02.130 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_expected_size": "9663676416" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 22:54:04 +0000 (0:00:00.040) 0:04:02.171 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "9663676416" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 22:54:04 +0000 (0:00:00.040) 0:04:02.212 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 22:54:04 +0000 (0:00:00.030) 0:04:02.242 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 22:54:04 +0000 (0:00:00.029) 0:04:02.271 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 22:54:04 +0000 (0:00:00.026) 0:04:02.298 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 22:54:04 +0000 (0:00:00.025) 0:04:02.323 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 22:54:04 +0000 (0:00:00.024) 0:04:02.348 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_actual_size": { "bytes": 9663676416, "changed": false, "failed": false, "lvm": "9g", "parted": "9GiB", "size": "9 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 22:54:04 +0000 (0:00:00.082) 0:04:02.431 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "9663676416" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 22:54:04 +0000 (0:00:00.088) 0:04:02.520 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 22:54:04 +0000 (0:00:00.143) 0:04:02.663 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.036823", "end": "2022-07-21 18:54:04.604628", "rc": 0, "start": "2022-07-21 18:54:04.567805" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 22:54:05 +0000 (0:00:00.421) 0:04:03.085 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 22:54:05 +0000 (0:00:00.040) 0:04:03.125 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 22:54:05 +0000 (0:00:00.045) 0:04:03.171 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 22:54:05 +0000 (0:00:00.027) 0:04:03.199 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 22:54:05 +0000 (0:00:00.025) 0:04:03.224 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 22:54:05 +0000 (0:00:00.025) 0:04:03.249 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 22:54:05 +0000 (0:00:00.029) 0:04:03.279 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 22:54:05 +0000 (0:00:00.036) 0:04:03.316 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 22:54:05 +0000 (0:00:00.024) 0:04:03.340 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Change volume size to "5g"] ********************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/tests_resize.yml:308 Thursday 21 July 2022 22:54:05 +0000 (0:00:00.041) 0:04:03.381 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 22:54:05 +0000 (0:00:00.088) 0:04:03.470 ********* included: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 22:54:05 +0000 (0:00:00.040) 0:04:03.511 ********* ok: [/cache/rhel-8.qcow2] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 22:54:06 +0000 (0:00:00.534) 0:04:04.046 ********* skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8.qcow2] => (item=RedHat_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.6.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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 22:54:06 +0000 (0:00:00.066) 0:04:04.112 ********* ok: [/cache/rhel-8.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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 22:54:06 +0000 (0:00:00.038) 0:04:04.151 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 22:54:06 +0000 (0:00:00.036) 0:04:04.187 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 22:54:06 +0000 (0:00:00.054) 0:04:04.242 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 22:54:06 +0000 (0:00:00.022) 0:04:04.265 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 22:54:06 +0000 (0:00:00.028) 0:04:04.293 ********* ok: [/cache/rhel-8.qcow2] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "type": "lvm", "volumes": [ { "fs_type": "ext2", "mount_point": "/opt/test1", "name": "test1", "size": "5g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 22:54:06 +0000 (0:00:00.041) 0:04:04.335 ********* ok: [/cache/rhel-8.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 22:54:06 +0000 (0:00:00.039) 0:04:04.374 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 22:54:06 +0000 (0:00:00.029) 0:04:04.404 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 22:54:06 +0000 (0:00:00.027) 0:04:04.431 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 22:54:06 +0000 (0:00:00.032) 0:04:04.464 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 22:54:06 +0000 (0:00:00.030) 0:04:04.495 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 22:54:06 +0000 (0:00:00.139) 0:04:04.634 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 22:54:06 +0000 (0:00:00.023) 0:04:04.658 ********* changed: [/cache/rhel-8.qcow2] => { "actions": [ { "action": "resize format", "device": "/dev/mapper/foo-test1", "fs_type": "ext2" }, { "action": "resize device", "device": "/dev/mapper/foo-test1", "fs_type": null } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "dump": 0, "fstype": "ext2", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "dosfstools", "lvm2", "xfsprogs", "e2fsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "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": "ext2", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 22:54:09 +0000 (0:00:02.354) 0:04:07.012 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 22:54:09 +0000 (0:00:00.028) 0:04:07.041 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 22:54:09 +0000 (0:00:00.024) 0:04:07.065 ********* ok: [/cache/rhel-8.qcow2] => { "blivet_output": { "actions": [ { "action": "resize format", "device": "/dev/mapper/foo-test1", "fs_type": "ext2" }, { "action": "resize device", "device": "/dev/mapper/foo-test1", "fs_type": null } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "dump": 0, "fstype": "ext2", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "dosfstools", "lvm2", "xfsprogs", "e2fsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "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": "ext2", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 22:54:09 +0000 (0:00:00.041) 0:04:07.106 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "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": "ext2", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 22:54:09 +0000 (0:00:00.040) 0:04:07.146 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 22:54:09 +0000 (0:00:00.036) 0:04:07.183 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 22:54:09 +0000 (0:00:00.029) 0:04:07.213 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 22:54:10 +0000 (0:00:00.626) 0:04:07.840 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-8.qcow2] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': 'ext2', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext2", "mount_info": { "dump": 0, "fstype": "ext2", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 22:54:10 +0000 (0:00:00.409) 0:04:08.249 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 22:54:11 +0000 (0:00:00.609) 0:04:08.858 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 22:54:11 +0000 (0:00:00.363) 0:04:09.222 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 22:54:11 +0000 (0:00:00.026) 0:04:09.249 ********* ok: [/cache/rhel-8.qcow2] META: role_complete for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/tests_resize.yml:322 Thursday 21 July 2022 22:54:12 +0000 (0:00:00.987) 0:04:10.236 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml for /cache/rhel-8.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 22:54:12 +0000 (0:00:00.059) 0:04:10.295 ********* ok: [/cache/rhel-8.qcow2] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "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": "ext2", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 22:54:12 +0000 (0:00:00.084) 0:04:10.379 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 22:54:12 +0000 (0:00:00.028) 0:04:10.407 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "ext2", "label": "", "name": "/dev/mapper/foo-test1", "size": "5G", "type": "lvm", "uuid": "9f0336f5-417c-442a-86bb-5b02007928ff" }, "/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": "LVM2_member", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "9OSykx-9oXf-RdTT-ZX2O-ILOM-W0V2-v0eR84" }, "/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-22-49-49-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "vfat", "label": "", "name": "/dev/vda2", "size": "100M", "type": "partition", "uuid": "7B77-95E7" }, "/dev/vda3": { "fstype": "xfs", "label": "root", "name": "/dev/vda3", "size": "9.9G", "type": "partition", "uuid": "853ae189-b3fe-4a45-8485-75bbb1421bbe" }, "/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/tmpcv9gbk7i/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 22:54:13 +0000 (0:00:00.435) 0:04:10.843 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002799", "end": "2022-07-21 18:54:12.776081", "rc": 0, "start": "2022-07-21 18:54:12.773282" } STDOUT: UUID=853ae189-b3fe-4a45-8485-75bbb1421bbe / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 /dev/mapper/foo-test1 /opt/test1 ext2 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 22:54:13 +0000 (0:00:00.411) 0:04:11.254 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002795", "end": "2022-07-21 18:54:13.160294", "failed_when_result": false, "rc": 1, "start": "2022-07-21 18:54:13.157499" } STDERR: cat: /etc/crypttab: No such file or directory MSG: non-zero return code TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 22:54:13 +0000 (0:00:00.388) 0:04:11.643 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool.yml for /cache/rhel-8.qcow2 => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool.yml:5 Thursday 21 July 2022 22:54:13 +0000 (0:00:00.050) 0:04:11.693 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool.yml:18 Thursday 21 July 2022 22:54:13 +0000 (0:00:00.034) 0:04:11.727 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml for /cache/rhel-8.qcow2 => (item=members) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-volumes.yml for /cache/rhel-8.qcow2 => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:1 Thursday 21 July 2022 22:54:13 +0000 (0:00:00.046) 0:04:11.773 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/sda" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 22:54:14 +0000 (0:00:00.043) 0:04:11.817 ********* ok: [/cache/rhel-8.qcow2] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda", "pv": "/dev/sda" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 22:54:14 +0000 (0:00:00.380) 0:04:12.197 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 22:54:14 +0000 (0:00:00.041) 0:04:12.238 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 22:54:14 +0000 (0:00:00.039) 0:04:12.278 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:29 Thursday 21 July 2022 22:54:14 +0000 (0:00:00.039) 0:04:12.317 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 22:54:14 +0000 (0:00:00.036) 0:04:12.354 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:37 Thursday 21 July 2022 22:54:14 +0000 (0:00:00.038) 0:04:12.392 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:41 Thursday 21 July 2022 22:54:14 +0000 (0:00:00.023) 0:04:12.416 ********* ok: [/cache/rhel-8.qcow2] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 22:54:14 +0000 (0:00:00.043) 0:04:12.459 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml for /cache/rhel-8.qcow2 TASK [get information about RAID] ********************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:6 Thursday 21 July 2022 22:54:14 +0000 (0:00:00.054) 0:04:12.513 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 22:54:14 +0000 (0:00:00.028) 0:04:12.541 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:16 Thursday 21 July 2022 22:54:14 +0000 (0:00:00.028) 0:04:12.570 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:20 Thursday 21 July 2022 22:54:14 +0000 (0:00:00.026) 0:04:12.597 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:24 Thursday 21 July 2022 22:54:14 +0000 (0:00:00.028) 0:04:12.625 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:30 Thursday 21 July 2022 22:54:14 +0000 (0:00:00.025) 0:04:12.650 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:36 Thursday 21 July 2022 22:54:14 +0000 (0:00:00.025) 0:04:12.676 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:44 Thursday 21 July 2022 22:54:14 +0000 (0:00:00.026) 0:04:12.703 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 22:54:14 +0000 (0:00:00.042) 0:04:12.746 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-lvmraid.yml for /cache/rhel-8.qcow2 TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 22:54:14 +0000 (0:00:00.047) 0:04:12.793 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 22:54:15 +0000 (0:00:00.046) 0:04:12.840 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 22:54:15 +0000 (0:00:00.073) 0:04:12.914 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 22:54:15 +0000 (0:00:00.029) 0:04:12.944 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 22:54:15 +0000 (0:00:00.029) 0:04:12.973 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-thin.yml for /cache/rhel-8.qcow2 TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-thin.yml:1 Thursday 21 July 2022 22:54:15 +0000 (0:00:00.046) 0:04:13.019 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 22:54:15 +0000 (0:00:00.045) 0:04:13.064 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 22:54:15 +0000 (0:00:00.025) 0:04:13.090 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 22:54:15 +0000 (0:00:00.024) 0:04:13.115 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 22:54:15 +0000 (0:00:00.025) 0:04:13.140 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 22:54:15 +0000 (0:00:00.024) 0:04:13.164 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml for /cache/rhel-8.qcow2 TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 22:54:15 +0000 (0:00:00.048) 0:04:13.212 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 22:54:15 +0000 (0:00:00.039) 0:04:13.252 ********* skipping: [/cache/rhel-8.qcow2] => (item=/dev/sda) => { "_storage_test_pool_member_path": "/dev/sda", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 22:54:15 +0000 (0:00:00.029) 0:04:13.282 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml for /cache/rhel-8.qcow2 => (item=/dev/sda) TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 22:54:15 +0000 (0:00:00.045) 0:04:13.327 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:4 Thursday 21 July 2022 22:54:15 +0000 (0:00:00.039) 0:04:13.366 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:9 Thursday 21 July 2022 22:54:15 +0000 (0:00:00.041) 0:04:13.408 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:15 Thursday 21 July 2022 22:54:15 +0000 (0:00:00.029) 0:04:13.438 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:21 Thursday 21 July 2022 22:54:15 +0000 (0:00:00.027) 0:04:13.466 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:27 Thursday 21 July 2022 22:54:15 +0000 (0:00:00.031) 0:04:13.497 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 22:54:15 +0000 (0:00:00.050) 0:04:13.547 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:62 Thursday 21 July 2022 22:54:15 +0000 (0:00:00.042) 0:04:13.590 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-vdo.yml for /cache/rhel-8.qcow2 TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 22:54:15 +0000 (0:00:00.053) 0:04:13.643 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 22:54:15 +0000 (0:00:00.052) 0:04:13.696 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 22:54:15 +0000 (0:00:00.026) 0:04:13.722 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 22:54:15 +0000 (0:00:00.025) 0:04:13.748 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 22:54:15 +0000 (0:00:00.024) 0:04:13.772 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 22:54:15 +0000 (0:00:00.025) 0:04:13.797 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 22:54:16 +0000 (0:00:00.028) 0:04:13.826 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 22:54:16 +0000 (0:00:00.028) 0:04:13.854 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 22:54:16 +0000 (0:00:00.029) 0:04:13.884 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 22:54:16 +0000 (0:00:00.038) 0:04:13.922 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 22:54:16 +0000 (0:00:00.034) 0:04:13.956 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 22:54:16 +0000 (0:00:00.043) 0:04:14.000 ********* ok: [/cache/rhel-8.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/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 22:54:16 +0000 (0:00:00.040) 0:04:14.041 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml for /cache/rhel-8.qcow2 => (item=mount) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml for /cache/rhel-8.qcow2 => (item=fstab) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fs.yml for /cache/rhel-8.qcow2 => (item=fs) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml for /cache/rhel-8.qcow2 => (item=device) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml for /cache/rhel-8.qcow2 => (item=encryption) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml for /cache/rhel-8.qcow2 => (item=md) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml for /cache/rhel-8.qcow2 => (item=size) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml for /cache/rhel-8.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 22:54:16 +0000 (0:00:00.124) 0:04:14.166 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 22:54:16 +0000 (0:00:00.043) 0:04:14.209 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 1222051, "block_size": 4096, "block_total": 1290144, "block_used": 68093, "device": "/dev/mapper/foo-test1", "fstype": "ext2", "inode_available": 327669, "inode_total": 327680, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 5005520896, "size_total": 5284429824, "uuid": "9f0336f5-417c-442a-86bb-5b02007928ff" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 1222051, "block_size": 4096, "block_total": 1290144, "block_used": 68093, "device": "/dev/mapper/foo-test1", "fstype": "ext2", "inode_available": 327669, "inode_total": 327680, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 5005520896, "size_total": 5284429824, "uuid": "9f0336f5-417c-442a-86bb-5b02007928ff" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 22:54:16 +0000 (0:00:00.048) 0:04:14.258 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 22:54:16 +0000 (0:00:00.040) 0:04:14.298 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 22:54:16 +0000 (0:00:00.041) 0:04:14.340 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 22:54:16 +0000 (0:00:00.043) 0:04:14.383 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 22:54:16 +0000 (0:00:00.024) 0:04:14.408 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 22:54:16 +0000 (0:00:00.024) 0:04:14.433 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 22:54:16 +0000 (0:00:00.024) 0:04:14.458 ********* ok: [/cache/rhel-8.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/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 22:54:16 +0000 (0:00:00.039) 0:04:14.498 ********* ok: [/cache/rhel-8.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": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 ext2 defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 22:54:16 +0000 (0:00:00.055) 0:04:14.553 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 22:54:16 +0000 (0:00:00.041) 0:04:14.595 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 22:54:16 +0000 (0:00:00.040) 0:04:14.636 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 22:54:16 +0000 (0:00:00.026) 0:04:14.662 ********* ok: [/cache/rhel-8.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/tmpcv9gbk7i/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 22:54:16 +0000 (0:00:00.038) 0:04:14.700 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 22:54:16 +0000 (0:00:00.042) 0:04:14.743 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 22:54:16 +0000 (0:00:00.048) 0:04:14.791 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1658444048.456663, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658444048.456663, "dev": 6, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 154541, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658444048.456663, "nlink": 1, "path": "/dev/mapper/foo-test1", "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/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 22:54:17 +0000 (0:00:00.384) 0:04:15.176 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 22:54:17 +0000 (0:00:00.041) 0:04:15.217 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 22:54:17 +0000 (0:00:00.040) 0:04:15.257 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 22:54:17 +0000 (0:00:00.040) 0:04:15.297 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 22:54:17 +0000 (0:00:00.023) 0:04:15.321 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 22:54:17 +0000 (0:00:00.040) 0:04:15.362 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 22:54:17 +0000 (0:00:00.023) 0:04:15.385 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 22:54:18 +0000 (0:00:01.341) 0:04:16.726 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 22:54:18 +0000 (0:00:00.024) 0:04:16.750 ********* skipping: [/cache/rhel-8.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/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 22:54:18 +0000 (0:00:00.023) 0:04:16.774 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 22:54:19 +0000 (0:00:00.042) 0:04:16.817 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 22:54:19 +0000 (0:00:00.023) 0:04:16.841 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 22:54:19 +0000 (0:00:00.026) 0:04:16.867 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 22:54:19 +0000 (0:00:00.022) 0:04:16.890 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 22:54:19 +0000 (0:00:00.024) 0:04:16.915 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 22:54:19 +0000 (0:00:00.022) 0:04:16.937 ********* ok: [/cache/rhel-8.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/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 22:54:19 +0000 (0:00:00.040) 0:04:16.978 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 22:54:19 +0000 (0:00:00.035) 0:04:17.013 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 22:54:19 +0000 (0:00:00.023) 0:04:17.037 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 22:54:19 +0000 (0:00:00.024) 0:04:17.061 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 22:54:19 +0000 (0:00:00.026) 0:04:17.088 ********* ok: [/cache/rhel-8.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/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 22:54:19 +0000 (0:00:00.031) 0:04:17.120 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 22:54:19 +0000 (0:00:00.024) 0:04:17.144 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 22:54:19 +0000 (0:00:00.023) 0:04:17.167 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 22:54:19 +0000 (0:00:00.028) 0:04:17.196 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 22:54:19 +0000 (0:00:00.025) 0:04:17.221 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 22:54:19 +0000 (0:00:00.024) 0:04:17.245 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 22:54:19 +0000 (0:00:00.027) 0:04:17.273 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 22:54:19 +0000 (0:00:00.063) 0:04:17.336 ********* ok: [/cache/rhel-8.qcow2] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 22:54:19 +0000 (0:00:00.380) 0:04:17.717 ********* ok: [/cache/rhel-8.qcow2] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 22:54:20 +0000 (0:00:00.391) 0:04:18.108 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_expected_size": "5368709120" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 22:54:20 +0000 (0:00:00.039) 0:04:18.147 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "5368709120" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 22:54:20 +0000 (0:00:00.034) 0:04:18.181 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 22:54:20 +0000 (0:00:00.025) 0:04:18.207 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 22:54:20 +0000 (0:00:00.028) 0:04:18.235 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 22:54:20 +0000 (0:00:00.026) 0:04:18.262 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 22:54:20 +0000 (0:00:00.024) 0:04:18.286 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 22:54:20 +0000 (0:00:00.024) 0:04:18.310 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_actual_size": { "bytes": 5368709120, "changed": false, "failed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 22:54:20 +0000 (0:00:00.041) 0:04:18.352 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "5368709120" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 22:54:20 +0000 (0:00:00.041) 0:04:18.393 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 22:54:20 +0000 (0:00:00.043) 0:04:18.437 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.035717", "end": "2022-07-21 18:54:20.386756", "rc": 0, "start": "2022-07-21 18:54:20.351039" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 22:54:21 +0000 (0:00:00.430) 0:04:18.867 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 22:54:21 +0000 (0:00:00.041) 0:04:18.909 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 22:54:21 +0000 (0:00:00.043) 0:04:18.952 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 22:54:21 +0000 (0:00:00.029) 0:04:18.981 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 22:54:21 +0000 (0:00:00.028) 0:04:19.009 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 22:54:21 +0000 (0:00:00.033) 0:04:19.043 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 22:54:21 +0000 (0:00:00.027) 0:04:19.070 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 22:54:21 +0000 (0:00:00.036) 0:04:19.106 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 22:54:21 +0000 (0:00:00.023) 0:04:19.129 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Clean up] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/tests_resize.yml:324 Thursday 21 July 2022 22:54:21 +0000 (0:00:00.039) 0:04:19.169 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 22:54:21 +0000 (0:00:00.082) 0:04:19.252 ********* included: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 22:54:21 +0000 (0:00:00.036) 0:04:19.288 ********* ok: [/cache/rhel-8.qcow2] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 22:54:22 +0000 (0:00:00.530) 0:04:19.819 ********* skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8.qcow2] => (item=RedHat_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.6.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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 22:54:22 +0000 (0:00:00.062) 0:04:19.881 ********* ok: [/cache/rhel-8.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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 22:54:22 +0000 (0:00:00.034) 0:04:19.916 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 22:54:22 +0000 (0:00:00.081) 0:04:19.998 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 22:54:22 +0000 (0:00:00.095) 0:04:20.093 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 22:54:22 +0000 (0:00:00.022) 0:04:20.116 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 22:54:22 +0000 (0:00:00.030) 0:04:20.146 ********* ok: [/cache/rhel-8.qcow2] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "state": "absent", "volumes": [ { "mount_point": "/opt/test1", "name": "test1", "size": "5g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 22:54:22 +0000 (0:00:00.039) 0:04:20.186 ********* ok: [/cache/rhel-8.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 22:54:22 +0000 (0:00:00.035) 0:04:20.222 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 22:54:22 +0000 (0:00:00.027) 0:04:20.249 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 22:54:22 +0000 (0:00:00.029) 0:04:20.279 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 22:54:22 +0000 (0:00:00.033) 0:04:20.313 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 22:54:22 +0000 (0:00:00.028) 0:04:20.341 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 22:54:22 +0000 (0:00:00.051) 0:04:20.393 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 22:54:22 +0000 (0:00:00.025) 0:04:20.418 ********* changed: [/cache/rhel-8.qcow2] => { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "ext2" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "lvmpv" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "fstype": "ext2", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" } ], "packages": [ "xfsprogs", "dosfstools" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "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": "ext2", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 22:54:24 +0000 (0:00:01.930) 0:04:22.348 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 22:54:24 +0000 (0:00:00.027) 0:04:22.376 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 22:54:24 +0000 (0:00:00.021) 0:04:22.397 ********* ok: [/cache/rhel-8.qcow2] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "ext2" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "lvmpv" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "fstype": "ext2", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" } ], "packages": [ "xfsprogs", "dosfstools" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "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": "ext2", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 22:54:24 +0000 (0:00:00.040) 0:04:22.438 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "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": "ext2", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 22:54:24 +0000 (0:00:00.045) 0:04:22.483 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 22:54:24 +0000 (0:00:00.042) 0:04:22.525 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-8.qcow2] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'state': 'absent', 'fstype': 'ext2'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext2", "mount_info": { "fstype": "ext2", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 22:54:25 +0000 (0:00:00.407) 0:04:22.932 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 22:54:25 +0000 (0:00:00.662) 0:04:23.595 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 22:54:25 +0000 (0:00:00.031) 0:04:23.627 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 22:54:26 +0000 (0:00:00.626) 0:04:24.253 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 22:54:26 +0000 (0:00:00.381) 0:04:24.634 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 22:54:26 +0000 (0:00:00.023) 0:04:24.658 ********* ok: [/cache/rhel-8.qcow2] META: role_complete for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/tests_resize.yml:337 Thursday 21 July 2022 22:54:27 +0000 (0:00:00.961) 0:04:25.620 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml for /cache/rhel-8.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 22:54:27 +0000 (0:00:00.060) 0:04:25.681 ********* ok: [/cache/rhel-8.qcow2] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "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": "ext2", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 22:54:28 +0000 (0:00:00.137) 0:04:25.819 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 22:54:28 +0000 (0:00:00.026) 0:04:25.845 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "info": { "/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-22-49-49-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "vfat", "label": "", "name": "/dev/vda2", "size": "100M", "type": "partition", "uuid": "7B77-95E7" }, "/dev/vda3": { "fstype": "xfs", "label": "root", "name": "/dev/vda3", "size": "9.9G", "type": "partition", "uuid": "853ae189-b3fe-4a45-8485-75bbb1421bbe" }, "/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/tmpcv9gbk7i/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 22:54:28 +0000 (0:00:00.383) 0:04:26.229 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002514", "end": "2022-07-21 18:54:28.128792", "rc": 0, "start": "2022-07-21 18:54:28.126278" } STDOUT: UUID=853ae189-b3fe-4a45-8485-75bbb1421bbe / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 22:54:28 +0000 (0:00:00.380) 0:04:26.610 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002774", "end": "2022-07-21 18:54:28.527145", "failed_when_result": false, "rc": 1, "start": "2022-07-21 18:54:28.524371" } STDERR: cat: /etc/crypttab: No such file or directory MSG: non-zero return code TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 22:54:29 +0000 (0:00:00.396) 0:04:27.006 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool.yml for /cache/rhel-8.qcow2 => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'absent', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool.yml:5 Thursday 21 July 2022 22:54:29 +0000 (0:00:00.051) 0:04:27.057 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool.yml:18 Thursday 21 July 2022 22:54:29 +0000 (0:00:00.036) 0:04:27.094 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml for /cache/rhel-8.qcow2 => (item=members) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-volumes.yml for /cache/rhel-8.qcow2 => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:1 Thursday 21 July 2022 22:54:29 +0000 (0:00:00.048) 0:04:27.142 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_count": "0", "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 22:54:29 +0000 (0:00:00.039) 0:04:27.182 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 22:54:29 +0000 (0:00:00.020) 0:04:27.203 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": "0" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 22:54:29 +0000 (0:00:00.039) 0:04:27.243 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_pool_pvs": [] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 22:54:29 +0000 (0:00:00.036) 0:04:27.279 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:29 Thursday 21 July 2022 22:54:29 +0000 (0:00:00.041) 0:04:27.321 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 22:54:29 +0000 (0:00:00.039) 0:04:27.360 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:37 Thursday 21 July 2022 22:54:29 +0000 (0:00:00.044) 0:04:27.405 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:41 Thursday 21 July 2022 22:54:29 +0000 (0:00:00.024) 0:04:27.430 ********* TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 22:54:29 +0000 (0:00:00.022) 0:04:27.452 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml for /cache/rhel-8.qcow2 TASK [get information about RAID] ********************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:6 Thursday 21 July 2022 22:54:29 +0000 (0:00:00.043) 0:04:27.496 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 22:54:29 +0000 (0:00:00.028) 0:04:27.524 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:16 Thursday 21 July 2022 22:54:29 +0000 (0:00:00.025) 0:04:27.550 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:20 Thursday 21 July 2022 22:54:29 +0000 (0:00:00.026) 0:04:27.576 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:24 Thursday 21 July 2022 22:54:29 +0000 (0:00:00.027) 0:04:27.604 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:30 Thursday 21 July 2022 22:54:29 +0000 (0:00:00.025) 0:04:27.629 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:36 Thursday 21 July 2022 22:54:29 +0000 (0:00:00.024) 0:04:27.654 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:44 Thursday 21 July 2022 22:54:29 +0000 (0:00:00.024) 0:04:27.678 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 22:54:29 +0000 (0:00:00.038) 0:04:27.717 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-lvmraid.yml for /cache/rhel-8.qcow2 TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 22:54:29 +0000 (0:00:00.042) 0:04:27.760 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 22:54:30 +0000 (0:00:00.041) 0:04:27.801 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 22:54:30 +0000 (0:00:00.062) 0:04:27.864 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 22:54:30 +0000 (0:00:00.028) 0:04:27.892 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 22:54:30 +0000 (0:00:00.031) 0:04:27.923 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-thin.yml for /cache/rhel-8.qcow2 TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-thin.yml:1 Thursday 21 July 2022 22:54:30 +0000 (0:00:00.046) 0:04:27.969 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 22:54:30 +0000 (0:00:00.042) 0:04:28.012 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 22:54:30 +0000 (0:00:00.024) 0:04:28.037 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 22:54:30 +0000 (0:00:00.024) 0:04:28.061 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 22:54:30 +0000 (0:00:00.024) 0:04:28.086 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 22:54:30 +0000 (0:00:00.024) 0:04:28.111 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml for /cache/rhel-8.qcow2 TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 22:54:30 +0000 (0:00:00.048) 0:04:28.159 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 22:54:30 +0000 (0:00:00.040) 0:04:28.200 ********* TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 22:54:30 +0000 (0:00:00.023) 0:04:28.223 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 22:54:30 +0000 (0:00:00.021) 0:04:28.245 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:62 Thursday 21 July 2022 22:54:30 +0000 (0:00:00.031) 0:04:28.277 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-vdo.yml for /cache/rhel-8.qcow2 TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 22:54:30 +0000 (0:00:00.046) 0:04:28.323 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 22:54:30 +0000 (0:00:00.059) 0:04:28.383 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 22:54:30 +0000 (0:00:00.026) 0:04:28.409 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 22:54:30 +0000 (0:00:00.027) 0:04:28.437 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 22:54:30 +0000 (0:00:00.027) 0:04:28.465 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 22:54:30 +0000 (0:00:00.027) 0:04:28.492 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 22:54:30 +0000 (0:00:00.026) 0:04:28.518 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 22:54:30 +0000 (0:00:00.026) 0:04:28.545 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 22:54:30 +0000 (0:00:00.028) 0:04:28.573 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 22:54:30 +0000 (0:00:00.037) 0:04:28.610 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 22:54:30 +0000 (0:00:00.036) 0:04:28.646 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml for /cache/rhel-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 22:54:30 +0000 (0:00:00.047) 0:04:28.694 ********* ok: [/cache/rhel-8.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/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 22:54:30 +0000 (0:00:00.040) 0:04:28.735 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml for /cache/rhel-8.qcow2 => (item=mount) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml for /cache/rhel-8.qcow2 => (item=fstab) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fs.yml for /cache/rhel-8.qcow2 => (item=fs) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml for /cache/rhel-8.qcow2 => (item=device) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml for /cache/rhel-8.qcow2 => (item=encryption) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml for /cache/rhel-8.qcow2 => (item=md) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml for /cache/rhel-8.qcow2 => (item=size) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml for /cache/rhel-8.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 22:54:31 +0000 (0:00:00.081) 0:04:28.816 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 22:54:31 +0000 (0:00:00.042) 0:04:28.859 ********* ok: [/cache/rhel-8.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/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 22:54:31 +0000 (0:00:00.048) 0:04:28.907 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 22:54:31 +0000 (0:00:00.025) 0:04:28.933 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 22:54:31 +0000 (0:00:00.038) 0:04:28.972 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 22:54:31 +0000 (0:00:00.025) 0:04:28.997 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 22:54:31 +0000 (0:00:00.024) 0:04:29.021 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 22:54:31 +0000 (0:00:00.080) 0:04:29.101 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 22:54:31 +0000 (0:00:00.024) 0:04:29.126 ********* ok: [/cache/rhel-8.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/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 22:54:31 +0000 (0:00:00.038) 0:04:29.165 ********* ok: [/cache/rhel-8.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/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 22:54:31 +0000 (0:00:00.054) 0:04:29.219 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 22:54:31 +0000 (0:00:00.024) 0:04:29.244 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 22:54:31 +0000 (0:00:00.039) 0:04:29.284 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 22:54:31 +0000 (0:00:00.028) 0:04:29.312 ********* ok: [/cache/rhel-8.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/tmpcv9gbk7i/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 22:54:31 +0000 (0:00:00.038) 0:04:29.350 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 22:54:31 +0000 (0:00:00.026) 0:04:29.377 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 22:54:31 +0000 (0:00:00.026) 0:04:29.404 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 22:54:32 +0000 (0:00:00.405) 0:04:29.809 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 22:54:32 +0000 (0:00:00.040) 0:04:29.850 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 22:54:32 +0000 (0:00:00.023) 0:04:29.873 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 22:54:32 +0000 (0:00:00.037) 0:04:29.911 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 22:54:32 +0000 (0:00:00.023) 0:04:29.934 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 22:54:32 +0000 (0:00:00.024) 0:04:29.959 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 22:54:32 +0000 (0:00:00.026) 0:04:29.985 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 22:54:33 +0000 (0:00:01.381) 0:04:31.367 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 22:54:33 +0000 (0:00:00.026) 0:04:31.393 ********* skipping: [/cache/rhel-8.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/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 22:54:33 +0000 (0:00:00.025) 0:04:31.419 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 22:54:33 +0000 (0:00:00.024) 0:04:31.443 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 22:54:33 +0000 (0:00:00.024) 0:04:31.468 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 22:54:33 +0000 (0:00:00.024) 0:04:31.493 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 22:54:33 +0000 (0:00:00.025) 0:04:31.518 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 22:54:33 +0000 (0:00:00.024) 0:04:31.543 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 22:54:33 +0000 (0:00:00.025) 0:04:31.569 ********* ok: [/cache/rhel-8.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/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 22:54:33 +0000 (0:00:00.043) 0:04:31.612 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 22:54:33 +0000 (0:00:00.041) 0:04:31.654 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 22:54:33 +0000 (0:00:00.026) 0:04:31.680 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 22:54:33 +0000 (0:00:00.025) 0:04:31.706 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 22:54:33 +0000 (0:00:00.031) 0:04:31.737 ********* ok: [/cache/rhel-8.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/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 22:54:33 +0000 (0:00:00.036) 0:04:31.774 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 22:54:34 +0000 (0:00:00.027) 0:04:31.801 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 22:54:34 +0000 (0:00:00.026) 0:04:31.828 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 22:54:34 +0000 (0:00:00.031) 0:04:31.859 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 22:54:34 +0000 (0:00:00.026) 0:04:31.886 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 22:54:34 +0000 (0:00:00.027) 0:04:31.913 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 22:54:34 +0000 (0:00:00.026) 0:04:31.939 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 22:54:34 +0000 (0:00:00.031) 0:04:31.971 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 22:54:34 +0000 (0:00:00.024) 0:04:31.996 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 22:54:34 +0000 (0:00:00.026) 0:04:32.022 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 22:54:34 +0000 (0:00:00.033) 0:04:32.055 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "5368709120" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 22:54:34 +0000 (0:00:00.044) 0:04:32.100 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 22:54:34 +0000 (0:00:00.030) 0:04:32.130 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 22:54:34 +0000 (0:00:00.030) 0:04:32.160 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 22:54:34 +0000 (0:00:00.030) 0:04:32.190 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 22:54:34 +0000 (0:00:00.033) 0:04:32.224 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 22:54:34 +0000 (0:00:00.027) 0:04:32.251 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 22:54:34 +0000 (0:00:00.095) 0:04:32.346 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "5368709120" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 22:54:34 +0000 (0:00:00.040) 0:04:32.387 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 22:54:34 +0000 (0:00:00.025) 0:04:32.413 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 22:54:34 +0000 (0:00:00.026) 0:04:32.439 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 22:54:34 +0000 (0:00:00.025) 0:04:32.464 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 22:54:34 +0000 (0:00:00.026) 0:04:32.490 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 22:54:34 +0000 (0:00:00.026) 0:04:32.517 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 22:54:34 +0000 (0:00:00.023) 0:04:32.540 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 22:54:34 +0000 (0:00:00.022) 0:04:32.563 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 22:54:34 +0000 (0:00:00.026) 0:04:32.590 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 22:54:34 +0000 (0:00:00.101) 0:04:32.691 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 22:54:34 +0000 (0:00:00.023) 0:04:32.715 ********* ok: [/cache/rhel-8.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-8.qcow2 : ok=1245 changed=29 unreachable=0 failed=3 skipped=1005 rescued=3 ignored=0 Thursday 21 July 2022 22:54:34 +0000 (0:00:00.050) 0:04:32.766 ********* =============================================================================== fedora.linux_system_roles.storage : make sure blivet is available ------ 52.74s /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 2.87s /tmp/tmpj2uhjp4w/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 --- 2.38s /tmp/tmpj2uhjp4w/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 --- 2.35s /tmp/tmpj2uhjp4w/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 --- 2.28s /tmp/tmpj2uhjp4w/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 --- 2.23s /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Ensure cryptsetup is present -------------------------------------------- 2.01s /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:10 ----------- fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 1.93s /tmp/tmpj2uhjp4w/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.89s /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : get service facts ------------------- 1.87s /tmp/tmpj2uhjp4w/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.86s /tmp/tmpj2uhjp4w/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.83s /tmp/tmpj2uhjp4w/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.81s /tmp/tmpj2uhjp4w/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.74s /tmp/tmpj2uhjp4w/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.70s /tmp/tmpj2uhjp4w/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.68s /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Read the /etc/fstab file for volume existence --------------------------- 1.42s /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:19 --------------------- Read the /etc/fstab file for volume existence --------------------------- 1.39s /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:19 --------------------- Ensure cryptsetup is present -------------------------------------------- 1.39s /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:10 ----------- Read the /etc/fstab file for volume existence --------------------------- 1.39s /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:19 ---------------------