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/tmpp_vyhrdp 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: tests_remove_mount_nvme_generated.yml ******************************** 2 plays in /tmp/tmpafnwmbol/tests/tests_remove_mount_nvme_generated.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpafnwmbol/tests/tests_remove_mount_nvme_generated.yml:3 Thursday 21 July 2022 16:10:19 +0000 (0:00:00.012) 0:00:00.012 ********* ok: [/cache/rhel-8-y.qcow2.snap] META: ran handlers TASK [set disk interface for test] ********************************************* task path: /tmp/tmpafnwmbol/tests/tests_remove_mount_nvme_generated.yml:7 Thursday 21 July 2022 16:10:21 +0000 (0:00:01.317) 0:00:01.330 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_use_interface": "nvme" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpafnwmbol/tests/tests_remove_mount.yml:2 Thursday 21 July 2022 16:10:21 +0000 (0:00:00.046) 0:00:01.376 ********* ok: [/cache/rhel-8-y.qcow2.snap] META: ran handlers TASK [include_role : linux-system-roles.storage] ******************************* task path: /tmp/tmpafnwmbol/tests/tests_remove_mount.yml:12 Thursday 21 July 2022 16:10:22 +0000 (0:00:00.937) 0:00:02.314 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 16:10:22 +0000 (0:00:00.033) 0:00:02.348 ********* included: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 16:10:22 +0000 (0:00:00.030) 0:00:02.378 ********* ok: [/cache/rhel-8-y.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 16:10:22 +0000 (0:00:00.526) 0:00:02.905 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8-y.qcow2.snap] => (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/tmpafnwmbol/tests/roles/linux-system-roles.storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.7.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/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 16:10:22 +0000 (0:00:00.054) 0:00:02.959 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 16:10:22 +0000 (0:00:00.028) 0:00:02.987 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 16:10:22 +0000 (0:00:00.029) 0:00:03.016 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 16:10:22 +0000 (0:00:00.045) 0:00:03.062 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 16:10:22 +0000 (0:00:00.017) 0:00:03.079 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 16:10:24 +0000 (0:00:01.879) 0:00:04.959 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 16:10:24 +0000 (0:00:00.057) 0:00:05.017 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 16:10:24 +0000 (0:00:00.058) 0:00:05.076 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 16:10:25 +0000 (0:00:00.740) 0:00:05.816 ********* included: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.storage : check if the COPR support packages should be installed] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml:2 Thursday 21 July 2022 16:10:25 +0000 (0:00:00.043) 0:00:05.860 ********* TASK [linux-system-roles.storage : make sure COPR support packages are present] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml:13 Thursday 21 July 2022 16:10:25 +0000 (0:00:00.031) 0:00:05.892 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable COPRs] ******************************* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml:18 Thursday 21 July 2022 16:10:25 +0000 (0:00:00.036) 0:00:05.928 ********* TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 16:10:25 +0000 (0:00:00.035) 0:00:05.964 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 16:10:27 +0000 (0:00:01.356) 0:00:07.320 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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-hotplugd.service": { "name": "cloud-init-hotplugd.service", "source": "systemd", "state": "inactive", "status": "static" }, "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": "active", "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" }, "hv_kvp_daemon.service": { "name": "hv_kvp_daemon.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "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": "inactive", "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" }, "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" }, "snapd.seeded.service": { "name": "snapd.seeded.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "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-fsck@dev-vdb1.service": { "name": "systemd-fsck@dev-vdb1.service", "source": "systemd", "state": "stopped", "status": "active" }, "systemd-fsck@dev-vdc1.service": { "name": "systemd-fsck@dev-vdc1.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": "running", "status": "static" }, "systemd-hwdb-update.service": { "name": "systemd-hwdb-update.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-hybrid-sleep.service": { "name": "systemd-hybrid-sleep.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-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-networkd-wait-online.service": { "name": "systemd-networkd-wait-online.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "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/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 16:10:29 +0000 (0:00:02.019) 0:00:09.339 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 16:10:29 +0000 (0:00:00.057) 0:00:09.397 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 16:10:29 +0000 (0:00:00.023) 0:00:09.420 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 16:10:29 +0000 (0:00:00.572) 0:00:09.993 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 16:10:29 +0000 (0:00:00.038) 0:00:10.031 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 16:10:29 +0000 (0:00:00.022) 0:00:10.054 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 16:10:29 +0000 (0:00:00.038) 0:00:10.092 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 16:10:30 +0000 (0:00:00.036) 0:00:10.128 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 16:10:30 +0000 (0:00:00.037) 0:00:10.166 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 16:10:30 +0000 (0:00:00.037) 0:00:10.203 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 16:10:30 +0000 (0:00:00.025) 0:00:10.229 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 16:10:30 +0000 (0:00:00.036) 0:00:10.265 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 16:10:30 +0000 (0:00:00.022) 0:00:10.288 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 16:10:30 +0000 (0:00:00.508) 0:00:10.797 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 16:10:30 +0000 (0:00:00.022) 0:00:10.819 ********* ok: [/cache/rhel-8-y.qcow2.snap] META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [Mark tasks to be skipped] ************************************************ task path: /tmp/tmpafnwmbol/tests/tests_remove_mount.yml:15 Thursday 21 July 2022 16:10:31 +0000 (0:00:01.002) 0:00:11.821 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_skip_checks": [ "blivet_available", "packages_installed", "service_facts" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpafnwmbol/tests/tests_remove_mount.yml:22 Thursday 21 July 2022 16:10:31 +0000 (0:00:00.066) 0:00:11.888 ********* included: /tmp/tmpafnwmbol/tests/get_unused_disk.yml for /cache/rhel-8-y.qcow2.snap TASK [Find unused disks in the system] ***************************************** task path: /tmp/tmpafnwmbol/tests/get_unused_disk.yml:2 Thursday 21 July 2022 16:10:31 +0000 (0:00:00.039) 0:00:11.928 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "disks": [ "nvme0n1" ] } TASK [Set unused_disks if necessary] ******************************************* task path: /tmp/tmpafnwmbol/tests/get_unused_disk.yml:9 Thursday 21 July 2022 16:10:32 +0000 (0:00:00.554) 0:00:12.482 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "unused_disks": [ "nvme0n1" ] }, "changed": false } TASK [Exit playbook when there's not enough unused disks in the system] ******** task path: /tmp/tmpafnwmbol/tests/get_unused_disk.yml:14 Thursday 21 July 2022 16:10:32 +0000 (0:00:00.036) 0:00:12.519 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Print unused disks] ****************************************************** task path: /tmp/tmpafnwmbol/tests/get_unused_disk.yml:19 Thursday 21 July 2022 16:10:32 +0000 (0:00:00.040) 0:00:12.559 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "unused_disks": [ "nvme0n1" ] } TASK [Create a LVM logical volume mounted at "/opt/test1"] ********************* task path: /tmp/tmpafnwmbol/tests/tests_remove_mount.yml:27 Thursday 21 July 2022 16:10:32 +0000 (0:00:00.039) 0:00:12.599 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 16:10:32 +0000 (0:00:00.048) 0:00:12.648 ********* included: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 16:10:32 +0000 (0:00:00.037) 0:00:12.685 ********* ok: [/cache/rhel-8-y.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 16:10:33 +0000 (0:00:00.523) 0:00:13.209 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8-y.qcow2.snap] => (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/tmpafnwmbol/tests/roles/linux-system-roles.storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.7.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/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 16:10:33 +0000 (0:00:00.060) 0:00:13.269 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 16:10:33 +0000 (0:00:00.032) 0:00:13.301 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 16:10:33 +0000 (0:00:00.032) 0:00:13.334 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 16:10:33 +0000 (0:00:00.046) 0:00:13.380 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 16:10:33 +0000 (0:00:00.019) 0:00:13.400 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 16:10:33 +0000 (0:00:00.027) 0:00:13.427 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_pools": [ { "disks": [ "nvme0n1" ], "name": "foo", "volumes": [ { "mount_point": "/opt/test1", "name": "test1", "size": "3g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 16:10:33 +0000 (0:00:00.037) 0:00:13.465 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 16:10:33 +0000 (0:00:00.033) 0:00:13.499 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 16:10:33 +0000 (0:00:00.026) 0:00:13.526 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 16:10:33 +0000 (0:00:00.026) 0:00:13.553 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 16:10:33 +0000 (0:00:00.027) 0:00:13.580 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 16:10:33 +0000 (0:00:00.026) 0:00:13.606 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 16:10:33 +0000 (0:00:00.054) 0:00:13.661 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 16:10:33 +0000 (0:00:00.021) 0:00:13.683 ********* changed: [/cache/rhel-8-y.qcow2.snap] => { "actions": [ { "action": "create format", "device": "/dev/nvme0n1", "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": "xfs" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/mapper/foo-test1" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "xfsprogs", "e2fsprogs", "lvm2", "dosfstools" ], "pools": [ { "disks": [ "nvme0n1" ], "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": "xfs", "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": "3g", "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/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 16:10:35 +0000 (0:00:02.093) 0:00:15.776 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 16:10:35 +0000 (0:00:00.035) 0:00:15.812 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 16:10:35 +0000 (0:00:00.021) 0:00:15.833 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/nvme0n1", "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": "xfs" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/mapper/foo-test1" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "xfsprogs", "e2fsprogs", "lvm2", "dosfstools" ], "pools": [ { "disks": [ "nvme0n1" ], "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": "xfs", "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": "3g", "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/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 16:10:35 +0000 (0:00:00.039) 0:00:15.873 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "nvme0n1" ], "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": "xfs", "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": "3g", "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/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 16:10:35 +0000 (0:00:00.040) 0:00:15.914 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 16:10:35 +0000 (0:00:00.042) 0:00:15.956 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 16:10:35 +0000 (0:00:00.038) 0:00:15.995 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 16:10:36 +0000 (0:00:00.874) 0:00:16.870 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-8-y.qcow2.snap] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': 'xfs', '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": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "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/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 16:10:37 +0000 (0:00:00.586) 0:00:17.457 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 16:10:38 +0000 (0:00:00.700) 0:00:18.157 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 16:10:38 +0000 (0:00:00.411) 0:00:18.568 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 16:10:38 +0000 (0:00:00.021) 0:00:18.590 ********* ok: [/cache/rhel-8-y.qcow2.snap] META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpafnwmbol/tests/tests_remove_mount.yml:39 Thursday 21 July 2022 16:10:39 +0000 (0:00:01.104) 0:00:19.695 ********* included: /tmp/tmpafnwmbol/tests/verify-role-results.yml for /cache/rhel-8-y.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpafnwmbol/tests/verify-role-results.yml:1 Thursday 21 July 2022 16:10:39 +0000 (0:00:00.040) 0:00:19.735 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "nvme0n1" ], "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": "xfs", "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": "3g", "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/tmpafnwmbol/tests/verify-role-results.yml:6 Thursday 21 July 2022 16:10:39 +0000 (0:00:00.076) 0:00:19.812 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpafnwmbol/tests/verify-role-results.yml:14 Thursday 21 July 2022 16:10:39 +0000 (0:00:00.034) 0:00:19.847 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/foo-test1", "size": "3G", "type": "lvm", "uuid": "2ebe0224-783b-4386-a530-640794f942e3" }, "/dev/nvme0n1": { "fstype": "LVM2_member", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "WNxy8s-3mAf-72zu-09mN-E44h-gdd0-KktnI0" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-16-10-07-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": "58dca2db-4ccd-4171-a017-dd53ad8c1c54" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "4d1ed9a1-5608-4ff8-ad89-21d95caa66fa" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "a7abcc97-edc5-476c-8ccd-694b4621fd28" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpafnwmbol/tests/verify-role-results.yml:19 Thursday 21 July 2022 16:10:40 +0000 (0:00:00.543) 0:00:20.390 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003640", "end": "2022-07-21 12:10:40.252319", "rc": 0, "start": "2022-07-21 12:10:40.248679" } STDOUT: UUID=58dca2db-4ccd-4171-a017-dd53ad8c1c54 / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 /dev/vdb1 /var/cache/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 /dev/mapper/foo-test1 /opt/test1 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpafnwmbol/tests/verify-role-results.yml:24 Thursday 21 July 2022 16:10:40 +0000 (0:00:00.522) 0:00:20.913 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003186", "end": "2022-07-21 12:10:40.654157", "failed_when_result": false, "rc": 1, "start": "2022-07-21 12:10:40.650971" } 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/tmpafnwmbol/tests/verify-role-results.yml:33 Thursday 21 July 2022 16:10:41 +0000 (0:00:00.398) 0:00:21.312 ********* included: /tmp/tmpafnwmbol/tests/test-verify-pool.yml for /cache/rhel-8-y.qcow2.snap => (item={'disks': ['nvme0n1'], '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': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '3g', '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/tmpafnwmbol/tests/test-verify-pool.yml:5 Thursday 21 July 2022 16:10:41 +0000 (0:00:00.061) 0:00:21.373 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool.yml:18 Thursday 21 July 2022 16:10:41 +0000 (0:00:00.033) 0:00:21.406 ********* included: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml for /cache/rhel-8-y.qcow2.snap => (item=members) included: /tmp/tmpafnwmbol/tests/test-verify-pool-volumes.yml for /cache/rhel-8-y.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:1 Thursday 21 July 2022 16:10:41 +0000 (0:00:00.048) 0:00:21.455 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/nvme0n1" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 16:10:41 +0000 (0:00:00.064) 0:00:21.519 ********* ok: [/cache/rhel-8-y.qcow2.snap] => (item=/dev/nvme0n1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/nvme0n1", "pv": "/dev/nvme0n1" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 16:10:41 +0000 (0:00:00.518) 0:00:22.038 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 16:10:41 +0000 (0:00:00.052) 0:00:22.090 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/nvme0n1" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 16:10:42 +0000 (0:00:00.053) 0:00:22.143 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 16:10:42 +0000 (0:00:00.052) 0:00:22.196 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 16:10:42 +0000 (0:00:00.039) 0:00:22.235 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 16:10:42 +0000 (0:00:00.052) 0:00:22.287 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:46 Thursday 21 July 2022 16:10:42 +0000 (0:00:00.024) 0:00:22.311 ********* ok: [/cache/rhel-8-y.qcow2.snap] => (item=/dev/nvme0n1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/nvme0n1" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 16:10:42 +0000 (0:00:00.077) 0:00:22.389 ********* included: /tmp/tmpafnwmbol/tests/verify-pool-md.yml for /cache/rhel-8-y.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-md.yml:6 Thursday 21 July 2022 16:10:42 +0000 (0:00:00.043) 0:00:22.432 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-md.yml:12 Thursday 21 July 2022 16:10:42 +0000 (0:00:00.024) 0:00:22.457 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-md.yml:16 Thursday 21 July 2022 16:10:42 +0000 (0:00:00.024) 0:00:22.481 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-md.yml:20 Thursday 21 July 2022 16:10:42 +0000 (0:00:00.024) 0:00:22.506 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-md.yml:24 Thursday 21 July 2022 16:10:42 +0000 (0:00:00.026) 0:00:22.532 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-md.yml:30 Thursday 21 July 2022 16:10:42 +0000 (0:00:00.024) 0:00:22.557 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpafnwmbol/tests/verify-pool-md.yml:36 Thursday 21 July 2022 16:10:42 +0000 (0:00:00.024) 0:00:22.581 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-md.yml:44 Thursday 21 July 2022 16:10:42 +0000 (0:00:00.056) 0:00:22.638 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpafnwmbol/tests/test-verify-pool-members.yml:59 Thursday 21 July 2022 16:10:42 +0000 (0:00:00.033) 0:00:22.671 ********* included: /tmp/tmpafnwmbol/tests/verify-pool-members-lvmraid.yml for /cache/rhel-8-y.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 16:10:42 +0000 (0:00:00.044) 0:00:22.715 ********* included: /tmp/tmpafnwmbol/tests/verify-pool-member-lvmraid.yml for /cache/rhel-8-y.qcow2.snap => (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': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '3g', '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/tmpafnwmbol/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 16:10:42 +0000 (0:00:00.046) 0:00:22.762 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpafnwmbol/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 16:10:42 +0000 (0:00:00.028) 0:00:22.791 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 16:10:42 +0000 (0:00:00.028) 0:00:22.819 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 16:10:42 +0000 (0:00:00.031) 0:00:22.851 ********* included: /tmp/tmpafnwmbol/tests/verify-pool-members-thin.yml for /cache/rhel-8-y.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-members-thin.yml:1 Thursday 21 July 2022 16:10:42 +0000 (0:00:00.045) 0:00:22.896 ********* included: /tmp/tmpafnwmbol/tests/verify-pool-member-thin.yml for /cache/rhel-8-y.qcow2.snap => (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': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '3g', '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/tmpafnwmbol/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 16:10:42 +0000 (0:00:00.046) 0:00:22.942 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 16:10:42 +0000 (0:00:00.025) 0:00:22.968 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 16:10:42 +0000 (0:00:00.024) 0:00:22.992 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 16:10:42 +0000 (0:00:00.027) 0:00:23.020 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 16:10:42 +0000 (0:00:00.023) 0:00:23.043 ********* included: /tmp/tmpafnwmbol/tests/verify-pool-members-encryption.yml for /cache/rhel-8-y.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 16:10:42 +0000 (0:00:00.047) 0:00:23.091 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpafnwmbol/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 16:10:43 +0000 (0:00:00.050) 0:00:23.142 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => (item=/dev/nvme0n1) => { "_storage_test_pool_member_path": "/dev/nvme0n1", "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/tmpafnwmbol/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 16:10:43 +0000 (0:00:00.026) 0:00:23.168 ********* included: /tmp/tmpafnwmbol/tests/verify-pool-member-crypttab.yml for /cache/rhel-8-y.qcow2.snap => (item=/dev/nvme0n1) TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 16:10:43 +0000 (0:00:00.042) 0:00:23.211 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpafnwmbol/tests/verify-pool-member-crypttab.yml:6 Thursday 21 July 2022 16:10:43 +0000 (0:00:00.048) 0:00:23.259 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpafnwmbol/tests/verify-pool-member-crypttab.yml:11 Thursday 21 July 2022 16:10:43 +0000 (0:00:00.048) 0:00:23.307 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-crypttab.yml:17 Thursday 21 July 2022 16:10:43 +0000 (0:00:00.035) 0:00:23.343 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-crypttab.yml:23 Thursday 21 July 2022 16:10:43 +0000 (0:00:00.037) 0:00:23.381 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-crypttab.yml:29 Thursday 21 July 2022 16:10:43 +0000 (0:00:00.036) 0:00:23.417 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 16:10:43 +0000 (0:00:00.035) 0:00:23.452 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 16:10:43 +0000 (0:00:00.035) 0:00:23.488 ********* included: /tmp/tmpafnwmbol/tests/verify-pool-members-vdo.yml for /cache/rhel-8-y.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 16:10:43 +0000 (0:00:00.049) 0:00:23.537 ********* included: /tmp/tmpafnwmbol/tests/verify-pool-member-vdo.yml for /cache/rhel-8-y.qcow2.snap => (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': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '3g', '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/tmpafnwmbol/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 16:10:43 +0000 (0:00:00.046) 0:00:23.584 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 16:10:43 +0000 (0:00:00.024) 0:00:23.608 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 16:10:43 +0000 (0:00:00.023) 0:00:23.632 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 16:10:43 +0000 (0:00:00.023) 0:00:23.656 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 16:10:43 +0000 (0:00:00.024) 0:00:23.680 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 16:10:43 +0000 (0:00:00.023) 0:00:23.704 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 16:10:43 +0000 (0:00:00.023) 0:00:23.727 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 16:10:43 +0000 (0:00:00.023) 0:00:23.751 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 16:10:43 +0000 (0:00:00.096) 0:00:23.847 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpafnwmbol/tests/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 16:10:43 +0000 (0:00:00.050) 0:00:23.897 ********* included: /tmp/tmpafnwmbol/tests/test-verify-volume.yml for /cache/rhel-8-y.qcow2.snap => (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': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '3g', '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/tmpafnwmbol/tests/test-verify-volume.yml:2 Thursday 21 July 2022 16:10:43 +0000 (0:00:00.043) 0:00:23.940 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpafnwmbol/tests/test-verify-volume.yml:10 Thursday 21 July 2022 16:10:43 +0000 (0:00:00.050) 0:00:23.991 ********* included: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml for /cache/rhel-8-y.qcow2.snap => (item=mount) included: /tmp/tmpafnwmbol/tests/test-verify-volume-fstab.yml for /cache/rhel-8-y.qcow2.snap => (item=fstab) included: /tmp/tmpafnwmbol/tests/test-verify-volume-fs.yml for /cache/rhel-8-y.qcow2.snap => (item=fs) included: /tmp/tmpafnwmbol/tests/test-verify-volume-device.yml for /cache/rhel-8-y.qcow2.snap => (item=device) included: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml for /cache/rhel-8-y.qcow2.snap => (item=encryption) included: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml for /cache/rhel-8-y.qcow2.snap => (item=md) included: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml for /cache/rhel-8-y.qcow2.snap => (item=size) included: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml for /cache/rhel-8-y.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 16:10:43 +0000 (0:00:00.081) 0:00:24.073 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 16:10:44 +0000 (0:00:00.040) 0:00:24.113 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 770146, "block_size": 4096, "block_total": 783872, "block_used": 13726, "device": "/dev/mapper/foo-test1", "fstype": "xfs", "inode_available": 1572861, "inode_total": 1572864, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 3154518016, "size_total": 3210739712, "uuid": "2ebe0224-783b-4386-a530-640794f942e3" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 770146, "block_size": 4096, "block_total": 783872, "block_used": 13726, "device": "/dev/mapper/foo-test1", "fstype": "xfs", "inode_available": 1572861, "inode_total": 1572864, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 3154518016, "size_total": 3210739712, "uuid": "2ebe0224-783b-4386-a530-640794f942e3" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 16:10:44 +0000 (0:00:00.055) 0:00:24.169 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 16:10:44 +0000 (0:00:00.048) 0:00:24.217 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 16:10:44 +0000 (0:00:00.049) 0:00:24.267 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 16:10:44 +0000 (0:00:00.051) 0:00:24.318 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 16:10:44 +0000 (0:00:00.024) 0:00:24.343 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 16:10:44 +0000 (0:00:00.023) 0:00:24.366 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 16:10:44 +0000 (0:00:00.023) 0:00:24.389 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpafnwmbol/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 16:10:44 +0000 (0:00:00.036) 0:00:24.426 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 16:10:44 +0000 (0:00:00.060) 0:00:24.486 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 16:10:44 +0000 (0:00:00.049) 0:00:24.536 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 16:10:44 +0000 (0:00:00.051) 0:00:24.587 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 16:10:44 +0000 (0:00:00.036) 0:00:24.623 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpafnwmbol/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 16:10:44 +0000 (0:00:00.034) 0:00:24.657 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 16:10:44 +0000 (0:00:00.038) 0:00:24.696 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 16:10:44 +0000 (0:00:00.041) 0:00:24.738 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "stat": { "atime": 1658419835.0616624, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658419835.0616624, "dev": 6, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 53769, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658419835.0616624, "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/tmpafnwmbol/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 16:10:45 +0000 (0:00:00.386) 0:00:25.124 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 16:10:45 +0000 (0:00:00.038) 0:00:25.163 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 16:10:45 +0000 (0:00:00.039) 0:00:25.202 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 16:10:45 +0000 (0:00:00.037) 0:00:25.240 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 16:10:45 +0000 (0:00:00.024) 0:00:25.264 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 16:10:45 +0000 (0:00:00.039) 0:00:25.303 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 16:10:45 +0000 (0:00:00.024) 0:00:25.327 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 16:10:46 +0000 (0:00:01.482) 0:00:26.810 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 16:10:46 +0000 (0:00:00.024) 0:00:26.835 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpafnwmbol/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 16:10:46 +0000 (0:00:00.024) 0:00:26.860 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 16:10:46 +0000 (0:00:00.054) 0:00:26.914 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 16:10:46 +0000 (0:00:00.026) 0:00:26.940 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 16:10:46 +0000 (0:00:00.025) 0:00:26.966 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 16:10:46 +0000 (0:00:00.025) 0:00:26.991 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 16:10:46 +0000 (0:00:00.024) 0:00:27.016 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 16:10:46 +0000 (0:00:00.026) 0:00:27.043 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpafnwmbol/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 16:10:47 +0000 (0:00:00.056) 0:00:27.100 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 16:10:47 +0000 (0:00:00.051) 0:00:27.151 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 16:10:47 +0000 (0:00:00.038) 0:00:27.190 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 16:10:47 +0000 (0:00:00.038) 0:00:27.229 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 16:10:47 +0000 (0:00:00.042) 0:00:27.272 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpafnwmbol/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 16:10:47 +0000 (0:00:00.036) 0:00:27.308 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 16:10:47 +0000 (0:00:00.039) 0:00:27.348 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 16:10:47 +0000 (0:00:00.039) 0:00:27.387 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 16:10:47 +0000 (0:00:00.042) 0:00:27.430 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 16:10:47 +0000 (0:00:00.039) 0:00:27.470 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 16:10:47 +0000 (0:00:00.039) 0:00:27.509 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 16:10:47 +0000 (0:00:00.039) 0:00:27.548 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 16:10:47 +0000 (0:00:00.042) 0:00:27.591 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 16:10:48 +0000 (0:00:00.581) 0:00:28.173 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 16:10:48 +0000 (0:00:00.407) 0:00:28.580 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "3221225472" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 16:10:48 +0000 (0:00:00.051) 0:00:28.632 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 16:10:48 +0000 (0:00:00.044) 0:00:28.677 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 16:10:48 +0000 (0:00:00.038) 0:00:28.715 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 16:10:48 +0000 (0:00:00.039) 0:00:28.754 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 16:10:48 +0000 (0:00:00.049) 0:00:28.804 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 16:10:48 +0000 (0:00:00.052) 0:00:28.856 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 16:10:48 +0000 (0:00:00.046) 0:00:28.903 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_test_actual_size": { "bytes": 3221225472, "changed": false, "failed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 16:10:48 +0000 (0:00:00.075) 0:00:28.978 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 16:10:48 +0000 (0:00:00.076) 0:00:29.055 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 16:10:49 +0000 (0:00:00.091) 0:00:29.146 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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.035555", "end": "2022-07-21 12:10:48.962574", "rc": 0, "start": "2022-07-21 12:10:48.927019" } 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/tmpafnwmbol/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 16:10:49 +0000 (0:00:00.475) 0:00:29.622 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 16:10:49 +0000 (0:00:00.051) 0:00:29.673 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 16:10:49 +0000 (0:00:00.051) 0:00:29.725 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 16:10:49 +0000 (0:00:00.040) 0:00:29.766 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 16:10:49 +0000 (0:00:00.038) 0:00:29.804 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 16:10:49 +0000 (0:00:00.037) 0:00:29.841 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume.yml:16 Thursday 21 July 2022 16:10:49 +0000 (0:00:00.039) 0:00:29.881 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpafnwmbol/tests/verify-role-results.yml:43 Thursday 21 July 2022 16:10:49 +0000 (0:00:00.038) 0:00:29.919 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpafnwmbol/tests/verify-role-results.yml:53 Thursday 21 July 2022 16:10:49 +0000 (0:00:00.022) 0:00:29.941 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Change the mount location to ""] ***************************************** task path: /tmp/tmpafnwmbol/tests/tests_remove_mount.yml:41 Thursday 21 July 2022 16:10:49 +0000 (0:00:00.037) 0:00:29.979 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 16:10:49 +0000 (0:00:00.049) 0:00:30.029 ********* included: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 16:10:49 +0000 (0:00:00.035) 0:00:30.064 ********* ok: [/cache/rhel-8-y.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 16:10:50 +0000 (0:00:00.535) 0:00:30.600 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8-y.qcow2.snap] => (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/tmpafnwmbol/tests/roles/linux-system-roles.storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.7.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/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 16:10:50 +0000 (0:00:00.092) 0:00:30.692 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 16:10:50 +0000 (0:00:00.035) 0:00:30.728 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 16:10:50 +0000 (0:00:00.034) 0:00:30.762 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 16:10:50 +0000 (0:00:00.047) 0:00:30.809 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 16:10:50 +0000 (0:00:00.020) 0:00:30.830 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 16:10:50 +0000 (0:00:00.027) 0:00:30.858 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_pools": [ { "disks": [ "nvme0n1" ], "name": "foo", "volumes": [ { "mount_point": "", "name": "test1", "size": "3g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 16:10:50 +0000 (0:00:00.038) 0:00:30.896 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 16:10:50 +0000 (0:00:00.034) 0:00:30.931 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 16:10:50 +0000 (0:00:00.027) 0:00:30.958 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 16:10:50 +0000 (0:00:00.028) 0:00:30.986 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 16:10:50 +0000 (0:00:00.029) 0:00:31.016 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 16:10:50 +0000 (0:00:00.027) 0:00:31.043 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 16:10:51 +0000 (0:00:00.088) 0:00:31.132 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 16:10:51 +0000 (0:00:00.023) 0:00:31.155 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/mapper/foo-test1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "path": "/opt/test1", "state": "absent" } ], "packages": [ "e2fsprogs", "xfsprogs", "lvm2", "dosfstools" ], "pools": [ { "disks": [ "nvme0n1" ], "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": [ "nvme0n1" ], "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": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "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/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 16:10:52 +0000 (0:00:01.594) 0:00:32.749 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 16:10:52 +0000 (0:00:00.036) 0:00:32.786 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 16:10:52 +0000 (0:00:00.021) 0:00:32.808 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/mapper/foo-test1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "path": "/opt/test1", "state": "absent" } ], "packages": [ "e2fsprogs", "xfsprogs", "lvm2", "dosfstools" ], "pools": [ { "disks": [ "nvme0n1" ], "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": [ "nvme0n1" ], "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": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "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/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 16:10:52 +0000 (0:00:00.040) 0:00:32.849 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "nvme0n1" ], "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": [ "nvme0n1" ], "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": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "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/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 16:10:52 +0000 (0:00:00.038) 0:00:32.888 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 16:10:52 +0000 (0:00:00.037) 0:00:32.925 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-8-y.qcow2.snap] => (item={'path': '/opt/test1', 'state': 'absent'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "mount_info": { "path": "/opt/test1", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 16:10:53 +0000 (0:00:00.424) 0:00:33.349 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 16:10:53 +0000 (0:00:00.661) 0:00:34.010 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 16:10:53 +0000 (0:00:00.037) 0:00:34.048 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 16:10:54 +0000 (0:00:00.646) 0:00:34.694 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 16:10:54 +0000 (0:00:00.379) 0:00:35.073 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 16:10:55 +0000 (0:00:00.023) 0:00:35.097 ********* ok: [/cache/rhel-8-y.qcow2.snap] META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpafnwmbol/tests/tests_remove_mount.yml:53 Thursday 21 July 2022 16:10:56 +0000 (0:00:01.030) 0:00:36.127 ********* included: /tmp/tmpafnwmbol/tests/verify-role-results.yml for /cache/rhel-8-y.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpafnwmbol/tests/verify-role-results.yml:1 Thursday 21 July 2022 16:10:56 +0000 (0:00:00.041) 0:00:36.168 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "nvme0n1" ], "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": [ "nvme0n1" ], "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": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "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/tmpafnwmbol/tests/verify-role-results.yml:6 Thursday 21 July 2022 16:10:56 +0000 (0:00:00.078) 0:00:36.247 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpafnwmbol/tests/verify-role-results.yml:14 Thursday 21 July 2022 16:10:56 +0000 (0:00:00.034) 0:00:36.281 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/foo-test1", "size": "3G", "type": "lvm", "uuid": "2ebe0224-783b-4386-a530-640794f942e3" }, "/dev/nvme0n1": { "fstype": "LVM2_member", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "WNxy8s-3mAf-72zu-09mN-E44h-gdd0-KktnI0" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-16-10-07-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": "58dca2db-4ccd-4171-a017-dd53ad8c1c54" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "4d1ed9a1-5608-4ff8-ad89-21d95caa66fa" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "a7abcc97-edc5-476c-8ccd-694b4621fd28" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpafnwmbol/tests/verify-role-results.yml:19 Thursday 21 July 2022 16:10:56 +0000 (0:00:00.390) 0:00:36.671 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:01.003856", "end": "2022-07-21 12:10:57.381330", "rc": 0, "start": "2022-07-21 12:10:56.377474" } STDOUT: UUID=58dca2db-4ccd-4171-a017-dd53ad8c1c54 / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 /dev/vdb1 /var/cache/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpafnwmbol/tests/verify-role-results.yml:24 Thursday 21 July 2022 16:10:57 +0000 (0:00:01.368) 0:00:38.040 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003373", "end": "2022-07-21 12:10:57.758697", "failed_when_result": false, "rc": 1, "start": "2022-07-21 12:10:57.755324" } 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/tmpafnwmbol/tests/verify-role-results.yml:33 Thursday 21 July 2022 16:10:58 +0000 (0:00:00.374) 0:00:38.414 ********* included: /tmp/tmpafnwmbol/tests/test-verify-pool.yml for /cache/rhel-8-y.qcow2.snap => (item={'disks': ['nvme0n1'], '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': 'xfs', 'mount_options': 'defaults', 'mount_point': '', 'name': 'test1', 'raid_level': None, 'size': '3g', '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': ['nvme0n1'], '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/tmpafnwmbol/tests/test-verify-pool.yml:5 Thursday 21 July 2022 16:10:58 +0000 (0:00:00.059) 0:00:38.474 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool.yml:18 Thursday 21 July 2022 16:10:58 +0000 (0:00:00.033) 0:00:38.507 ********* included: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml for /cache/rhel-8-y.qcow2.snap => (item=members) included: /tmp/tmpafnwmbol/tests/test-verify-pool-volumes.yml for /cache/rhel-8-y.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:1 Thursday 21 July 2022 16:10:58 +0000 (0:00:00.046) 0:00:38.554 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/nvme0n1" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 16:10:58 +0000 (0:00:00.062) 0:00:38.616 ********* ok: [/cache/rhel-8-y.qcow2.snap] => (item=/dev/nvme0n1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/nvme0n1", "pv": "/dev/nvme0n1" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 16:10:58 +0000 (0:00:00.373) 0:00:38.989 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 16:10:58 +0000 (0:00:00.051) 0:00:39.041 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/nvme0n1" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 16:10:58 +0000 (0:00:00.049) 0:00:39.090 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 16:10:59 +0000 (0:00:00.050) 0:00:39.140 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 16:10:59 +0000 (0:00:00.038) 0:00:39.179 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 16:10:59 +0000 (0:00:00.048) 0:00:39.227 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:46 Thursday 21 July 2022 16:10:59 +0000 (0:00:00.023) 0:00:39.251 ********* ok: [/cache/rhel-8-y.qcow2.snap] => (item=/dev/nvme0n1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/nvme0n1" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 16:10:59 +0000 (0:00:00.084) 0:00:39.335 ********* included: /tmp/tmpafnwmbol/tests/verify-pool-md.yml for /cache/rhel-8-y.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-md.yml:6 Thursday 21 July 2022 16:10:59 +0000 (0:00:00.044) 0:00:39.380 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-md.yml:12 Thursday 21 July 2022 16:10:59 +0000 (0:00:00.024) 0:00:39.405 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-md.yml:16 Thursday 21 July 2022 16:10:59 +0000 (0:00:00.053) 0:00:39.459 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-md.yml:20 Thursday 21 July 2022 16:10:59 +0000 (0:00:00.025) 0:00:39.484 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-md.yml:24 Thursday 21 July 2022 16:10:59 +0000 (0:00:00.023) 0:00:39.508 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-md.yml:30 Thursday 21 July 2022 16:10:59 +0000 (0:00:00.023) 0:00:39.531 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpafnwmbol/tests/verify-pool-md.yml:36 Thursday 21 July 2022 16:10:59 +0000 (0:00:00.024) 0:00:39.556 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-md.yml:44 Thursday 21 July 2022 16:10:59 +0000 (0:00:00.023) 0:00:39.580 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpafnwmbol/tests/test-verify-pool-members.yml:59 Thursday 21 July 2022 16:10:59 +0000 (0:00:00.033) 0:00:39.613 ********* included: /tmp/tmpafnwmbol/tests/verify-pool-members-lvmraid.yml for /cache/rhel-8-y.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 16:10:59 +0000 (0:00:00.045) 0:00:39.659 ********* included: /tmp/tmpafnwmbol/tests/verify-pool-member-lvmraid.yml for /cache/rhel-8-y.qcow2.snap => (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': 'xfs', 'mount_options': 'defaults', 'mount_point': '', 'name': 'test1', 'raid_level': None, 'size': '3g', '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': ['nvme0n1'], '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/tmpafnwmbol/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 16:10:59 +0000 (0:00:00.044) 0:00:39.703 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpafnwmbol/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 16:10:59 +0000 (0:00:00.028) 0:00:39.732 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 16:10:59 +0000 (0:00:00.030) 0:00:39.762 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 16:10:59 +0000 (0:00:00.029) 0:00:39.792 ********* included: /tmp/tmpafnwmbol/tests/verify-pool-members-thin.yml for /cache/rhel-8-y.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-members-thin.yml:1 Thursday 21 July 2022 16:10:59 +0000 (0:00:00.045) 0:00:39.838 ********* included: /tmp/tmpafnwmbol/tests/verify-pool-member-thin.yml for /cache/rhel-8-y.qcow2.snap => (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': 'xfs', 'mount_options': 'defaults', 'mount_point': '', 'name': 'test1', 'raid_level': None, 'size': '3g', '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': ['nvme0n1'], '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/tmpafnwmbol/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 16:10:59 +0000 (0:00:00.044) 0:00:39.882 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 16:10:59 +0000 (0:00:00.024) 0:00:39.907 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 16:10:59 +0000 (0:00:00.025) 0:00:39.932 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 16:10:59 +0000 (0:00:00.024) 0:00:39.957 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 16:10:59 +0000 (0:00:00.024) 0:00:39.981 ********* included: /tmp/tmpafnwmbol/tests/verify-pool-members-encryption.yml for /cache/rhel-8-y.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 16:10:59 +0000 (0:00:00.048) 0:00:40.029 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpafnwmbol/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 16:10:59 +0000 (0:00:00.049) 0:00:40.079 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => (item=/dev/nvme0n1) => { "_storage_test_pool_member_path": "/dev/nvme0n1", "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/tmpafnwmbol/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 16:11:00 +0000 (0:00:00.028) 0:00:40.107 ********* included: /tmp/tmpafnwmbol/tests/verify-pool-member-crypttab.yml for /cache/rhel-8-y.qcow2.snap => (item=/dev/nvme0n1) TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 16:11:00 +0000 (0:00:00.043) 0:00:40.151 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpafnwmbol/tests/verify-pool-member-crypttab.yml:6 Thursday 21 July 2022 16:11:00 +0000 (0:00:00.049) 0:00:40.200 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpafnwmbol/tests/verify-pool-member-crypttab.yml:11 Thursday 21 July 2022 16:11:00 +0000 (0:00:00.050) 0:00:40.250 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-crypttab.yml:17 Thursday 21 July 2022 16:11:00 +0000 (0:00:00.041) 0:00:40.292 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-crypttab.yml:23 Thursday 21 July 2022 16:11:00 +0000 (0:00:00.040) 0:00:40.333 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-crypttab.yml:29 Thursday 21 July 2022 16:11:00 +0000 (0:00:00.041) 0:00:40.375 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 16:11:00 +0000 (0:00:00.038) 0:00:40.413 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 16:11:00 +0000 (0:00:00.036) 0:00:40.450 ********* included: /tmp/tmpafnwmbol/tests/verify-pool-members-vdo.yml for /cache/rhel-8-y.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 16:11:00 +0000 (0:00:00.047) 0:00:40.497 ********* included: /tmp/tmpafnwmbol/tests/verify-pool-member-vdo.yml for /cache/rhel-8-y.qcow2.snap => (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': 'xfs', 'mount_options': 'defaults', 'mount_point': '', 'name': 'test1', 'raid_level': None, 'size': '3g', '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': ['nvme0n1'], '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/tmpafnwmbol/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 16:11:00 +0000 (0:00:00.046) 0:00:40.544 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 16:11:00 +0000 (0:00:00.024) 0:00:40.569 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 16:11:00 +0000 (0:00:00.024) 0:00:40.593 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 16:11:00 +0000 (0:00:00.024) 0:00:40.618 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 16:11:00 +0000 (0:00:00.054) 0:00:40.673 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 16:11:00 +0000 (0:00:00.026) 0:00:40.699 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 16:11:00 +0000 (0:00:00.025) 0:00:40.725 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 16:11:00 +0000 (0:00:00.024) 0:00:40.749 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 16:11:00 +0000 (0:00:00.038) 0:00:40.788 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpafnwmbol/tests/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 16:11:00 +0000 (0:00:00.033) 0:00:40.822 ********* included: /tmp/tmpafnwmbol/tests/test-verify-volume.yml for /cache/rhel-8-y.qcow2.snap => (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': 'xfs', 'mount_options': 'defaults', 'mount_point': '', 'name': 'test1', 'raid_level': None, 'size': '3g', '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': ['nvme0n1'], '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/tmpafnwmbol/tests/test-verify-volume.yml:2 Thursday 21 July 2022 16:11:00 +0000 (0:00:00.043) 0:00:40.865 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpafnwmbol/tests/test-verify-volume.yml:10 Thursday 21 July 2022 16:11:00 +0000 (0:00:00.054) 0:00:40.919 ********* included: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml for /cache/rhel-8-y.qcow2.snap => (item=mount) included: /tmp/tmpafnwmbol/tests/test-verify-volume-fstab.yml for /cache/rhel-8-y.qcow2.snap => (item=fstab) included: /tmp/tmpafnwmbol/tests/test-verify-volume-fs.yml for /cache/rhel-8-y.qcow2.snap => (item=fs) included: /tmp/tmpafnwmbol/tests/test-verify-volume-device.yml for /cache/rhel-8-y.qcow2.snap => (item=device) included: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml for /cache/rhel-8-y.qcow2.snap => (item=encryption) included: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml for /cache/rhel-8-y.qcow2.snap => (item=md) included: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml for /cache/rhel-8-y.qcow2.snap => (item=size) included: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml for /cache/rhel-8-y.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 16:11:00 +0000 (0:00:00.079) 0:00:40.999 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 16:11:00 +0000 (0:00:00.040) 0:00:41.040 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpafnwmbol/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 16:11:01 +0000 (0:00:00.056) 0:00:41.096 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 16:11:01 +0000 (0:00:00.024) 0:00:41.121 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 16:11:01 +0000 (0:00:00.048) 0:00:41.170 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 16:11:01 +0000 (0:00:00.039) 0:00:41.209 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 16:11:01 +0000 (0:00:00.026) 0:00:41.236 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 16:11:01 +0000 (0:00:00.027) 0:00:41.264 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 16:11:01 +0000 (0:00:00.026) 0:00:41.291 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpafnwmbol/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 16:11:01 +0000 (0:00:00.039) 0:00:41.330 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "0", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "0", "storage_test_fstab_id_matches": [], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 16:11:01 +0000 (0:00:00.064) 0:00:41.395 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 16:11:01 +0000 (0:00:00.048) 0:00:41.444 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 16:11:01 +0000 (0:00:00.050) 0:00:41.495 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 16:11:01 +0000 (0:00:00.036) 0:00:41.531 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpafnwmbol/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 16:11:01 +0000 (0:00:00.041) 0:00:41.573 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 16:11:01 +0000 (0:00:00.041) 0:00:41.614 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 16:11:01 +0000 (0:00:00.043) 0:00:41.657 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "stat": { "atime": 1658419835.0616624, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658419835.0616624, "dev": 6, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 53769, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658419835.0616624, "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/tmpafnwmbol/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 16:11:01 +0000 (0:00:00.388) 0:00:42.046 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 16:11:01 +0000 (0:00:00.037) 0:00:42.083 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 16:11:02 +0000 (0:00:00.039) 0:00:42.123 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 16:11:02 +0000 (0:00:00.037) 0:00:42.161 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 16:11:02 +0000 (0:00:00.025) 0:00:42.186 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 16:11:02 +0000 (0:00:00.037) 0:00:42.224 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 16:11:02 +0000 (0:00:00.024) 0:00:42.249 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 16:11:03 +0000 (0:00:01.510) 0:00:43.760 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 16:11:03 +0000 (0:00:00.024) 0:00:43.784 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpafnwmbol/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 16:11:03 +0000 (0:00:00.024) 0:00:43.809 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 16:11:03 +0000 (0:00:00.050) 0:00:43.860 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 16:11:03 +0000 (0:00:00.023) 0:00:43.884 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 16:11:03 +0000 (0:00:00.023) 0:00:43.907 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 16:11:03 +0000 (0:00:00.024) 0:00:43.932 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 16:11:03 +0000 (0:00:00.023) 0:00:43.956 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 16:11:03 +0000 (0:00:00.023) 0:00:43.979 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpafnwmbol/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 16:11:03 +0000 (0:00:00.051) 0:00:44.030 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 16:11:03 +0000 (0:00:00.059) 0:00:44.090 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 16:11:04 +0000 (0:00:00.037) 0:00:44.128 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 16:11:04 +0000 (0:00:00.037) 0:00:44.165 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 16:11:04 +0000 (0:00:00.038) 0:00:44.204 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpafnwmbol/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 16:11:04 +0000 (0:00:00.033) 0:00:44.237 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 16:11:04 +0000 (0:00:00.036) 0:00:44.274 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 16:11:04 +0000 (0:00:00.036) 0:00:44.311 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 16:11:04 +0000 (0:00:00.038) 0:00:44.349 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 16:11:04 +0000 (0:00:00.037) 0:00:44.387 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 16:11:04 +0000 (0:00:00.037) 0:00:44.425 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 16:11:04 +0000 (0:00:00.037) 0:00:44.462 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 16:11:04 +0000 (0:00:00.038) 0:00:44.500 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 16:11:04 +0000 (0:00:00.378) 0:00:44.879 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 16:11:05 +0000 (0:00:00.416) 0:00:45.295 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "3221225472" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 16:11:05 +0000 (0:00:00.051) 0:00:45.346 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 16:11:05 +0000 (0:00:00.036) 0:00:45.383 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 16:11:05 +0000 (0:00:00.037) 0:00:45.420 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 16:11:05 +0000 (0:00:00.037) 0:00:45.458 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 16:11:05 +0000 (0:00:00.099) 0:00:45.558 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 16:11:05 +0000 (0:00:00.037) 0:00:45.595 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 16:11:05 +0000 (0:00:00.036) 0:00:45.631 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_test_actual_size": { "bytes": 3221225472, "changed": false, "failed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 16:11:05 +0000 (0:00:00.039) 0:00:45.670 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 16:11:05 +0000 (0:00:00.034) 0:00:45.705 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 16:11:05 +0000 (0:00:00.051) 0:00:45.756 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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.032976", "end": "2022-07-21 12:11:05.512402", "rc": 0, "start": "2022-07-21 12:11:05.479426" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-a----- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 16:11:06 +0000 (0:00:00.414) 0:00:46.170 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 16:11:06 +0000 (0:00:00.050) 0:00:46.221 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 16:11:06 +0000 (0:00:00.052) 0:00:46.274 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 16:11:06 +0000 (0:00:00.039) 0:00:46.313 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 16:11:06 +0000 (0:00:00.038) 0:00:46.352 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 16:11:06 +0000 (0:00:00.038) 0:00:46.390 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume.yml:16 Thursday 21 July 2022 16:11:06 +0000 (0:00:00.038) 0:00:46.429 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpafnwmbol/tests/verify-role-results.yml:43 Thursday 21 July 2022 16:11:06 +0000 (0:00:00.037) 0:00:46.467 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpafnwmbol/tests/verify-role-results.yml:53 Thursday 21 July 2022 16:11:06 +0000 (0:00:00.021) 0:00:46.488 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Repeat the previous invocation to verify idempotence] ******************** task path: /tmp/tmpafnwmbol/tests/tests_remove_mount.yml:55 Thursday 21 July 2022 16:11:06 +0000 (0:00:00.035) 0:00:46.524 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 16:11:06 +0000 (0:00:00.053) 0:00:46.577 ********* included: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 16:11:06 +0000 (0:00:00.036) 0:00:46.614 ********* ok: [/cache/rhel-8-y.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 16:11:07 +0000 (0:00:00.530) 0:00:47.144 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8-y.qcow2.snap] => (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/tmpafnwmbol/tests/roles/linux-system-roles.storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.7.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/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 16:11:07 +0000 (0:00:00.060) 0:00:47.205 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 16:11:07 +0000 (0:00:00.032) 0:00:47.237 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 16:11:07 +0000 (0:00:00.034) 0:00:47.272 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 16:11:07 +0000 (0:00:00.048) 0:00:47.320 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 16:11:07 +0000 (0:00:00.020) 0:00:47.341 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 16:11:07 +0000 (0:00:00.027) 0:00:47.368 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_pools": [ { "disks": [ "nvme0n1" ], "name": "foo", "volumes": [ { "mount_point": "", "name": "test1", "size": "3g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 16:11:07 +0000 (0:00:00.101) 0:00:47.470 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 16:11:07 +0000 (0:00:00.035) 0:00:47.505 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 16:11:07 +0000 (0:00:00.028) 0:00:47.533 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 16:11:07 +0000 (0:00:00.027) 0:00:47.560 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 16:11:07 +0000 (0:00:00.028) 0:00:47.589 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 16:11:07 +0000 (0:00:00.027) 0:00:47.617 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 16:11:07 +0000 (0:00:00.058) 0:00:47.675 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 16:11:07 +0000 (0:00:00.021) 0:00:47.697 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/mapper/foo-test1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [], "packages": [ "e2fsprogs", "lvm2", "xfsprogs", "dosfstools" ], "pools": [ { "disks": [ "nvme0n1" ], "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": [ "nvme0n1" ], "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": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "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/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 16:11:09 +0000 (0:00:01.582) 0:00:49.279 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 16:11:09 +0000 (0:00:00.036) 0:00:49.316 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 16:11:09 +0000 (0:00:00.022) 0:00:49.338 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/mapper/foo-test1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [], "packages": [ "e2fsprogs", "lvm2", "xfsprogs", "dosfstools" ], "pools": [ { "disks": [ "nvme0n1" ], "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": [ "nvme0n1" ], "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": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "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/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 16:11:09 +0000 (0:00:00.039) 0:00:49.378 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "nvme0n1" ], "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": [ "nvme0n1" ], "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": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "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/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 16:11:09 +0000 (0:00:00.040) 0:00:49.418 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 16:11:09 +0000 (0:00:00.038) 0:00:49.457 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 16:11:09 +0000 (0:00:00.037) 0:00:49.494 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 16:11:09 +0000 (0:00:00.025) 0:00:49.519 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 16:11:09 +0000 (0:00:00.040) 0:00:49.560 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 16:11:09 +0000 (0:00:00.024) 0:00:49.584 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 16:11:09 +0000 (0:00:00.360) 0:00:49.945 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 16:11:09 +0000 (0:00:00.023) 0:00:49.968 ********* ok: [/cache/rhel-8-y.qcow2.snap] META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpafnwmbol/tests/tests_remove_mount.yml:67 Thursday 21 July 2022 16:11:10 +0000 (0:00:00.957) 0:00:50.926 ********* included: /tmp/tmpafnwmbol/tests/verify-role-results.yml for /cache/rhel-8-y.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpafnwmbol/tests/verify-role-results.yml:1 Thursday 21 July 2022 16:11:10 +0000 (0:00:00.045) 0:00:50.971 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "nvme0n1" ], "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": [ "nvme0n1" ], "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": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "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/tmpafnwmbol/tests/verify-role-results.yml:6 Thursday 21 July 2022 16:11:10 +0000 (0:00:00.080) 0:00:51.052 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpafnwmbol/tests/verify-role-results.yml:14 Thursday 21 July 2022 16:11:10 +0000 (0:00:00.035) 0:00:51.088 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/foo-test1", "size": "3G", "type": "lvm", "uuid": "2ebe0224-783b-4386-a530-640794f942e3" }, "/dev/nvme0n1": { "fstype": "LVM2_member", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "WNxy8s-3mAf-72zu-09mN-E44h-gdd0-KktnI0" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-16-10-07-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": "58dca2db-4ccd-4171-a017-dd53ad8c1c54" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "4d1ed9a1-5608-4ff8-ad89-21d95caa66fa" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "a7abcc97-edc5-476c-8ccd-694b4621fd28" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpafnwmbol/tests/verify-role-results.yml:19 Thursday 21 July 2022 16:11:11 +0000 (0:00:00.416) 0:00:51.504 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002910", "end": "2022-07-21 12:11:11.270906", "rc": 0, "start": "2022-07-21 12:11:11.267996" } STDOUT: UUID=58dca2db-4ccd-4171-a017-dd53ad8c1c54 / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 /dev/vdb1 /var/cache/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpafnwmbol/tests/verify-role-results.yml:24 Thursday 21 July 2022 16:11:11 +0000 (0:00:00.421) 0:00:51.926 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003074", "end": "2022-07-21 12:11:11.652991", "failed_when_result": false, "rc": 1, "start": "2022-07-21 12:11:11.649917" } 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/tmpafnwmbol/tests/verify-role-results.yml:33 Thursday 21 July 2022 16:11:12 +0000 (0:00:00.384) 0:00:52.310 ********* included: /tmp/tmpafnwmbol/tests/test-verify-pool.yml for /cache/rhel-8-y.qcow2.snap => (item={'disks': ['nvme0n1'], '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': 'xfs', 'mount_options': 'defaults', 'mount_point': '', 'name': 'test1', 'raid_level': None, 'size': '3g', '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': ['nvme0n1'], '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/tmpafnwmbol/tests/test-verify-pool.yml:5 Thursday 21 July 2022 16:11:12 +0000 (0:00:00.058) 0:00:52.368 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool.yml:18 Thursday 21 July 2022 16:11:12 +0000 (0:00:00.035) 0:00:52.403 ********* included: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml for /cache/rhel-8-y.qcow2.snap => (item=members) included: /tmp/tmpafnwmbol/tests/test-verify-pool-volumes.yml for /cache/rhel-8-y.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:1 Thursday 21 July 2022 16:11:12 +0000 (0:00:00.045) 0:00:52.449 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/nvme0n1" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 16:11:12 +0000 (0:00:00.054) 0:00:52.504 ********* ok: [/cache/rhel-8-y.qcow2.snap] => (item=/dev/nvme0n1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/nvme0n1", "pv": "/dev/nvme0n1" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 16:11:12 +0000 (0:00:00.381) 0:00:52.885 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 16:11:12 +0000 (0:00:00.048) 0:00:52.934 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/nvme0n1" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 16:11:12 +0000 (0:00:00.050) 0:00:52.985 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 16:11:12 +0000 (0:00:00.049) 0:00:53.034 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 16:11:12 +0000 (0:00:00.038) 0:00:53.072 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 16:11:13 +0000 (0:00:00.050) 0:00:53.122 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:46 Thursday 21 July 2022 16:11:13 +0000 (0:00:00.023) 0:00:53.146 ********* ok: [/cache/rhel-8-y.qcow2.snap] => (item=/dev/nvme0n1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/nvme0n1" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 16:11:13 +0000 (0:00:00.041) 0:00:53.187 ********* included: /tmp/tmpafnwmbol/tests/verify-pool-md.yml for /cache/rhel-8-y.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-md.yml:6 Thursday 21 July 2022 16:11:13 +0000 (0:00:00.043) 0:00:53.230 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-md.yml:12 Thursday 21 July 2022 16:11:13 +0000 (0:00:00.023) 0:00:53.254 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-md.yml:16 Thursday 21 July 2022 16:11:13 +0000 (0:00:00.023) 0:00:53.278 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-md.yml:20 Thursday 21 July 2022 16:11:13 +0000 (0:00:00.023) 0:00:53.301 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-md.yml:24 Thursday 21 July 2022 16:11:13 +0000 (0:00:00.025) 0:00:53.326 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-md.yml:30 Thursday 21 July 2022 16:11:13 +0000 (0:00:00.023) 0:00:53.350 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpafnwmbol/tests/verify-pool-md.yml:36 Thursday 21 July 2022 16:11:13 +0000 (0:00:00.024) 0:00:53.374 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-md.yml:44 Thursday 21 July 2022 16:11:13 +0000 (0:00:00.023) 0:00:53.398 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpafnwmbol/tests/test-verify-pool-members.yml:59 Thursday 21 July 2022 16:11:13 +0000 (0:00:00.036) 0:00:53.435 ********* included: /tmp/tmpafnwmbol/tests/verify-pool-members-lvmraid.yml for /cache/rhel-8-y.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 16:11:13 +0000 (0:00:00.045) 0:00:53.480 ********* included: /tmp/tmpafnwmbol/tests/verify-pool-member-lvmraid.yml for /cache/rhel-8-y.qcow2.snap => (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': 'xfs', 'mount_options': 'defaults', 'mount_point': '', 'name': 'test1', 'raid_level': None, 'size': '3g', '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': ['nvme0n1'], '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/tmpafnwmbol/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 16:11:13 +0000 (0:00:00.072) 0:00:53.552 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpafnwmbol/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 16:11:13 +0000 (0:00:00.028) 0:00:53.581 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 16:11:13 +0000 (0:00:00.027) 0:00:53.609 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 16:11:13 +0000 (0:00:00.028) 0:00:53.637 ********* included: /tmp/tmpafnwmbol/tests/verify-pool-members-thin.yml for /cache/rhel-8-y.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-members-thin.yml:1 Thursday 21 July 2022 16:11:13 +0000 (0:00:00.046) 0:00:53.684 ********* included: /tmp/tmpafnwmbol/tests/verify-pool-member-thin.yml for /cache/rhel-8-y.qcow2.snap => (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': 'xfs', 'mount_options': 'defaults', 'mount_point': '', 'name': 'test1', 'raid_level': None, 'size': '3g', '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': ['nvme0n1'], '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/tmpafnwmbol/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 16:11:13 +0000 (0:00:00.045) 0:00:53.729 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 16:11:13 +0000 (0:00:00.024) 0:00:53.754 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 16:11:13 +0000 (0:00:00.023) 0:00:53.777 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 16:11:13 +0000 (0:00:00.023) 0:00:53.801 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 16:11:13 +0000 (0:00:00.023) 0:00:53.825 ********* included: /tmp/tmpafnwmbol/tests/verify-pool-members-encryption.yml for /cache/rhel-8-y.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 16:11:13 +0000 (0:00:00.047) 0:00:53.872 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpafnwmbol/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 16:11:13 +0000 (0:00:00.049) 0:00:53.922 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => (item=/dev/nvme0n1) => { "_storage_test_pool_member_path": "/dev/nvme0n1", "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/tmpafnwmbol/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 16:11:13 +0000 (0:00:00.028) 0:00:53.950 ********* included: /tmp/tmpafnwmbol/tests/verify-pool-member-crypttab.yml for /cache/rhel-8-y.qcow2.snap => (item=/dev/nvme0n1) TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 16:11:13 +0000 (0:00:00.042) 0:00:53.993 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpafnwmbol/tests/verify-pool-member-crypttab.yml:6 Thursday 21 July 2022 16:11:13 +0000 (0:00:00.050) 0:00:54.043 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpafnwmbol/tests/verify-pool-member-crypttab.yml:11 Thursday 21 July 2022 16:11:14 +0000 (0:00:00.053) 0:00:54.096 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-crypttab.yml:17 Thursday 21 July 2022 16:11:14 +0000 (0:00:00.036) 0:00:54.132 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-crypttab.yml:23 Thursday 21 July 2022 16:11:14 +0000 (0:00:00.036) 0:00:54.169 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-crypttab.yml:29 Thursday 21 July 2022 16:11:14 +0000 (0:00:00.036) 0:00:54.205 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 16:11:14 +0000 (0:00:00.037) 0:00:54.242 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 16:11:14 +0000 (0:00:00.033) 0:00:54.276 ********* included: /tmp/tmpafnwmbol/tests/verify-pool-members-vdo.yml for /cache/rhel-8-y.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 16:11:14 +0000 (0:00:00.048) 0:00:54.324 ********* included: /tmp/tmpafnwmbol/tests/verify-pool-member-vdo.yml for /cache/rhel-8-y.qcow2.snap => (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': 'xfs', 'mount_options': 'defaults', 'mount_point': '', 'name': 'test1', 'raid_level': None, 'size': '3g', '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': ['nvme0n1'], '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/tmpafnwmbol/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 16:11:14 +0000 (0:00:00.045) 0:00:54.370 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 16:11:14 +0000 (0:00:00.024) 0:00:54.394 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 16:11:14 +0000 (0:00:00.025) 0:00:54.420 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 16:11:14 +0000 (0:00:00.024) 0:00:54.444 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 16:11:14 +0000 (0:00:00.023) 0:00:54.467 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 16:11:14 +0000 (0:00:00.023) 0:00:54.491 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 16:11:14 +0000 (0:00:00.024) 0:00:54.516 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 16:11:14 +0000 (0:00:00.023) 0:00:54.540 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 16:11:14 +0000 (0:00:00.034) 0:00:54.575 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpafnwmbol/tests/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 16:11:14 +0000 (0:00:00.034) 0:00:54.610 ********* included: /tmp/tmpafnwmbol/tests/test-verify-volume.yml for /cache/rhel-8-y.qcow2.snap => (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': 'xfs', 'mount_options': 'defaults', 'mount_point': '', 'name': 'test1', 'raid_level': None, 'size': '3g', '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': ['nvme0n1'], '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/tmpafnwmbol/tests/test-verify-volume.yml:2 Thursday 21 July 2022 16:11:14 +0000 (0:00:00.043) 0:00:54.653 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpafnwmbol/tests/test-verify-volume.yml:10 Thursday 21 July 2022 16:11:14 +0000 (0:00:00.084) 0:00:54.738 ********* included: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml for /cache/rhel-8-y.qcow2.snap => (item=mount) included: /tmp/tmpafnwmbol/tests/test-verify-volume-fstab.yml for /cache/rhel-8-y.qcow2.snap => (item=fstab) included: /tmp/tmpafnwmbol/tests/test-verify-volume-fs.yml for /cache/rhel-8-y.qcow2.snap => (item=fs) included: /tmp/tmpafnwmbol/tests/test-verify-volume-device.yml for /cache/rhel-8-y.qcow2.snap => (item=device) included: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml for /cache/rhel-8-y.qcow2.snap => (item=encryption) included: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml for /cache/rhel-8-y.qcow2.snap => (item=md) included: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml for /cache/rhel-8-y.qcow2.snap => (item=size) included: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml for /cache/rhel-8-y.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 16:11:14 +0000 (0:00:00.110) 0:00:54.848 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 16:11:14 +0000 (0:00:00.042) 0:00:54.890 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpafnwmbol/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 16:11:14 +0000 (0:00:00.054) 0:00:54.945 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 16:11:14 +0000 (0:00:00.023) 0:00:54.969 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 16:11:14 +0000 (0:00:00.049) 0:00:55.018 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 16:11:14 +0000 (0:00:00.040) 0:00:55.059 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 16:11:14 +0000 (0:00:00.024) 0:00:55.083 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 16:11:15 +0000 (0:00:00.024) 0:00:55.107 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 16:11:15 +0000 (0:00:00.023) 0:00:55.131 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpafnwmbol/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 16:11:15 +0000 (0:00:00.037) 0:00:55.169 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "0", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "0", "storage_test_fstab_id_matches": [], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 16:11:15 +0000 (0:00:00.061) 0:00:55.230 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 16:11:15 +0000 (0:00:00.053) 0:00:55.284 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 16:11:15 +0000 (0:00:00.054) 0:00:55.338 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 16:11:15 +0000 (0:00:00.036) 0:00:55.375 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpafnwmbol/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 16:11:15 +0000 (0:00:00.035) 0:00:55.411 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 16:11:15 +0000 (0:00:00.039) 0:00:55.450 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 16:11:15 +0000 (0:00:00.040) 0:00:55.491 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "stat": { "atime": 1658419835.0616624, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658419835.0616624, "dev": 6, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 53769, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658419835.0616624, "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/tmpafnwmbol/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 16:11:15 +0000 (0:00:00.378) 0:00:55.870 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 16:11:15 +0000 (0:00:00.038) 0:00:55.908 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 16:11:15 +0000 (0:00:00.039) 0:00:55.948 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 16:11:15 +0000 (0:00:00.034) 0:00:55.983 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 16:11:15 +0000 (0:00:00.023) 0:00:56.007 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 16:11:15 +0000 (0:00:00.039) 0:00:56.046 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 16:11:15 +0000 (0:00:00.025) 0:00:56.072 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 16:11:17 +0000 (0:00:01.305) 0:00:57.378 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 16:11:17 +0000 (0:00:00.024) 0:00:57.402 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpafnwmbol/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 16:11:17 +0000 (0:00:00.024) 0:00:57.427 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 16:11:17 +0000 (0:00:00.050) 0:00:57.477 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 16:11:17 +0000 (0:00:00.023) 0:00:57.501 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 16:11:17 +0000 (0:00:00.023) 0:00:57.524 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 16:11:17 +0000 (0:00:00.052) 0:00:57.577 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 16:11:17 +0000 (0:00:00.024) 0:00:57.601 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 16:11:17 +0000 (0:00:00.023) 0:00:57.625 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpafnwmbol/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 16:11:17 +0000 (0:00:00.061) 0:00:57.686 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 16:11:17 +0000 (0:00:00.051) 0:00:57.738 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 16:11:17 +0000 (0:00:00.040) 0:00:57.779 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 16:11:17 +0000 (0:00:00.038) 0:00:57.817 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 16:11:17 +0000 (0:00:00.037) 0:00:57.854 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpafnwmbol/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 16:11:17 +0000 (0:00:00.036) 0:00:57.891 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 16:11:17 +0000 (0:00:00.037) 0:00:57.928 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 16:11:17 +0000 (0:00:00.037) 0:00:57.965 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 16:11:17 +0000 (0:00:00.036) 0:00:58.002 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 16:11:17 +0000 (0:00:00.040) 0:00:58.043 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 16:11:17 +0000 (0:00:00.037) 0:00:58.080 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 16:11:18 +0000 (0:00:00.038) 0:00:58.119 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 16:11:18 +0000 (0:00:00.037) 0:00:58.156 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 16:11:18 +0000 (0:00:00.372) 0:00:58.529 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 16:11:18 +0000 (0:00:00.383) 0:00:58.913 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "3221225472" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 16:11:18 +0000 (0:00:00.050) 0:00:58.963 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 16:11:18 +0000 (0:00:00.036) 0:00:58.999 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 16:11:18 +0000 (0:00:00.037) 0:00:59.036 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 16:11:18 +0000 (0:00:00.037) 0:00:59.074 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 16:11:19 +0000 (0:00:00.038) 0:00:59.112 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 16:11:19 +0000 (0:00:00.037) 0:00:59.150 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 16:11:19 +0000 (0:00:00.037) 0:00:59.187 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_test_actual_size": { "bytes": 3221225472, "changed": false, "failed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 16:11:19 +0000 (0:00:00.037) 0:00:59.225 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 16:11:19 +0000 (0:00:00.043) 0:00:59.268 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 16:11:19 +0000 (0:00:00.053) 0:00:59.322 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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.035861", "end": "2022-07-21 12:11:19.073479", "rc": 0, "start": "2022-07-21 12:11:19.037618" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-a----- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 16:11:19 +0000 (0:00:00.409) 0:00:59.732 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 16:11:19 +0000 (0:00:00.050) 0:00:59.782 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 16:11:19 +0000 (0:00:00.084) 0:00:59.867 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 16:11:19 +0000 (0:00:00.038) 0:00:59.905 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 16:11:19 +0000 (0:00:00.040) 0:00:59.945 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 16:11:19 +0000 (0:00:00.037) 0:00:59.982 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume.yml:16 Thursday 21 July 2022 16:11:19 +0000 (0:00:00.037) 0:01:00.019 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpafnwmbol/tests/verify-role-results.yml:43 Thursday 21 July 2022 16:11:20 +0000 (0:00:00.075) 0:01:00.095 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpafnwmbol/tests/verify-role-results.yml:53 Thursday 21 July 2022 16:11:20 +0000 (0:00:00.051) 0:01:00.146 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Clean up] **************************************************************** task path: /tmp/tmpafnwmbol/tests/tests_remove_mount.yml:69 Thursday 21 July 2022 16:11:20 +0000 (0:00:00.033) 0:01:00.180 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 16:11:20 +0000 (0:00:00.060) 0:01:00.241 ********* included: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 16:11:20 +0000 (0:00:00.035) 0:01:00.276 ********* ok: [/cache/rhel-8-y.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 16:11:20 +0000 (0:00:00.534) 0:01:00.811 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8-y.qcow2.snap] => (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/tmpafnwmbol/tests/roles/linux-system-roles.storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.7.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/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 16:11:20 +0000 (0:00:00.063) 0:01:00.874 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 16:11:20 +0000 (0:00:00.032) 0:01:00.907 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 16:11:20 +0000 (0:00:00.034) 0:01:00.942 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 16:11:20 +0000 (0:00:00.048) 0:01:00.990 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 16:11:20 +0000 (0:00:00.021) 0:01:01.012 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 16:11:20 +0000 (0:00:00.028) 0:01:01.040 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_pools": [ { "disks": [ "nvme0n1" ], "name": "foo", "state": "absent", "volumes": [ { "mount_point": "", "name": "test1", "size": "3g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 16:11:20 +0000 (0:00:00.039) 0:01:01.080 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 16:11:21 +0000 (0:00:00.035) 0:01:01.115 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 16:11:21 +0000 (0:00:00.028) 0:01:01.143 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 16:11:21 +0000 (0:00:00.028) 0:01:01.171 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 16:11:21 +0000 (0:00:00.029) 0:01:01.201 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 16:11:21 +0000 (0:00:00.028) 0:01:01.229 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 16:11:21 +0000 (0:00:00.056) 0:01:01.285 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 16:11:21 +0000 (0:00:00.021) 0:01:01.306 ********* changed: [/cache/rhel-8-y.qcow2.snap] => { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" }, { "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/nvme0n1", "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/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [], "packages": [ "xfsprogs", "dosfstools", "e2fsprogs" ], "pools": [ { "disks": [ "nvme0n1" ], "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": [ "nvme0n1" ], "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": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "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/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 16:11:23 +0000 (0:00:02.146) 0:01:03.452 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 16:11:23 +0000 (0:00:00.069) 0:01:03.522 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 16:11:23 +0000 (0:00:00.021) 0:01:03.544 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" }, { "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/nvme0n1", "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/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [], "packages": [ "xfsprogs", "dosfstools", "e2fsprogs" ], "pools": [ { "disks": [ "nvme0n1" ], "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": [ "nvme0n1" ], "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": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "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/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 16:11:23 +0000 (0:00:00.072) 0:01:03.616 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "nvme0n1" ], "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": [ "nvme0n1" ], "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": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "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/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 16:11:23 +0000 (0:00:00.096) 0:01:03.713 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 16:11:23 +0000 (0:00:00.036) 0:01:03.749 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 16:11:23 +0000 (0:00:00.034) 0:01:03.784 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 16:11:23 +0000 (0:00:00.024) 0:01:03.808 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 16:11:23 +0000 (0:00:00.034) 0:01:03.843 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 16:11:23 +0000 (0:00:00.023) 0:01:03.866 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 16:11:24 +0000 (0:00:00.379) 0:01:04.246 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 16:11:24 +0000 (0:00:00.025) 0:01:04.271 ********* ok: [/cache/rhel-8-y.qcow2.snap] META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpafnwmbol/tests/tests_remove_mount.yml:82 Thursday 21 July 2022 16:11:25 +0000 (0:00:00.971) 0:01:05.243 ********* included: /tmp/tmpafnwmbol/tests/verify-role-results.yml for /cache/rhel-8-y.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpafnwmbol/tests/verify-role-results.yml:1 Thursday 21 July 2022 16:11:25 +0000 (0:00:00.047) 0:01:05.290 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "nvme0n1" ], "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": [ "nvme0n1" ], "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": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "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/tmpafnwmbol/tests/verify-role-results.yml:6 Thursday 21 July 2022 16:11:25 +0000 (0:00:00.050) 0:01:05.341 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpafnwmbol/tests/verify-role-results.yml:14 Thursday 21 July 2022 16:11:25 +0000 (0:00:00.039) 0:01:05.380 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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-16-10-07-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": "58dca2db-4ccd-4171-a017-dd53ad8c1c54" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "4d1ed9a1-5608-4ff8-ad89-21d95caa66fa" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "a7abcc97-edc5-476c-8ccd-694b4621fd28" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpafnwmbol/tests/verify-role-results.yml:19 Thursday 21 July 2022 16:11:25 +0000 (0:00:00.377) 0:01:05.757 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003355", "end": "2022-07-21 12:11:25.472710", "rc": 0, "start": "2022-07-21 12:11:25.469355" } STDOUT: UUID=58dca2db-4ccd-4171-a017-dd53ad8c1c54 / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 /dev/vdb1 /var/cache/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpafnwmbol/tests/verify-role-results.yml:24 Thursday 21 July 2022 16:11:26 +0000 (0:00:00.374) 0:01:06.131 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002988", "end": "2022-07-21 12:11:25.910679", "failed_when_result": false, "rc": 1, "start": "2022-07-21 12:11:25.907691" } 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/tmpafnwmbol/tests/verify-role-results.yml:33 Thursday 21 July 2022 16:11:26 +0000 (0:00:00.434) 0:01:06.566 ********* included: /tmp/tmpafnwmbol/tests/test-verify-pool.yml for /cache/rhel-8-y.qcow2.snap => (item={'disks': ['nvme0n1'], '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': 'xfs', 'mount_options': 'defaults', 'mount_point': '', 'name': 'test1', 'raid_level': None, 'size': '3g', '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': ['nvme0n1'], '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/tmpafnwmbol/tests/test-verify-pool.yml:5 Thursday 21 July 2022 16:11:26 +0000 (0:00:00.057) 0:01:06.623 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool.yml:18 Thursday 21 July 2022 16:11:26 +0000 (0:00:00.068) 0:01:06.692 ********* included: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml for /cache/rhel-8-y.qcow2.snap => (item=members) included: /tmp/tmpafnwmbol/tests/test-verify-pool-volumes.yml for /cache/rhel-8-y.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:1 Thursday 21 July 2022 16:11:26 +0000 (0:00:00.045) 0:01:06.737 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpafnwmbol/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 16:11:26 +0000 (0:00:00.051) 0:01:06.788 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 16:11:26 +0000 (0:00:00.021) 0:01:06.810 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "0" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 16:11:26 +0000 (0:00:00.048) 0:01:06.858 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 16:11:26 +0000 (0:00:00.050) 0:01:06.909 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 16:11:26 +0000 (0:00:00.048) 0:01:06.958 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 16:11:26 +0000 (0:00:00.037) 0:01:06.995 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 16:11:26 +0000 (0:00:00.049) 0:01:07.044 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:46 Thursday 21 July 2022 16:11:26 +0000 (0:00:00.023) 0:01:07.067 ********* TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 16:11:26 +0000 (0:00:00.020) 0:01:07.088 ********* included: /tmp/tmpafnwmbol/tests/verify-pool-md.yml for /cache/rhel-8-y.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-md.yml:6 Thursday 21 July 2022 16:11:27 +0000 (0:00:00.041) 0:01:07.130 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-md.yml:12 Thursday 21 July 2022 16:11:27 +0000 (0:00:00.023) 0:01:07.153 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-md.yml:16 Thursday 21 July 2022 16:11:27 +0000 (0:00:00.023) 0:01:07.176 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-md.yml:20 Thursday 21 July 2022 16:11:27 +0000 (0:00:00.022) 0:01:07.199 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-md.yml:24 Thursday 21 July 2022 16:11:27 +0000 (0:00:00.023) 0:01:07.223 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-md.yml:30 Thursday 21 July 2022 16:11:27 +0000 (0:00:00.023) 0:01:07.246 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpafnwmbol/tests/verify-pool-md.yml:36 Thursday 21 July 2022 16:11:27 +0000 (0:00:00.025) 0:01:07.272 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-md.yml:44 Thursday 21 July 2022 16:11:27 +0000 (0:00:00.025) 0:01:07.297 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpafnwmbol/tests/test-verify-pool-members.yml:59 Thursday 21 July 2022 16:11:27 +0000 (0:00:00.036) 0:01:07.334 ********* included: /tmp/tmpafnwmbol/tests/verify-pool-members-lvmraid.yml for /cache/rhel-8-y.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 16:11:27 +0000 (0:00:00.043) 0:01:07.377 ********* included: /tmp/tmpafnwmbol/tests/verify-pool-member-lvmraid.yml for /cache/rhel-8-y.qcow2.snap => (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': 'xfs', 'mount_options': 'defaults', 'mount_point': '', 'name': 'test1', 'raid_level': None, 'size': '3g', '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': ['nvme0n1'], '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/tmpafnwmbol/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 16:11:27 +0000 (0:00:00.043) 0:01:07.421 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpafnwmbol/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 16:11:27 +0000 (0:00:00.028) 0:01:07.449 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 16:11:27 +0000 (0:00:00.026) 0:01:07.476 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 16:11:27 +0000 (0:00:00.026) 0:01:07.503 ********* included: /tmp/tmpafnwmbol/tests/verify-pool-members-thin.yml for /cache/rhel-8-y.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-members-thin.yml:1 Thursday 21 July 2022 16:11:27 +0000 (0:00:00.044) 0:01:07.547 ********* included: /tmp/tmpafnwmbol/tests/verify-pool-member-thin.yml for /cache/rhel-8-y.qcow2.snap => (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': 'xfs', 'mount_options': 'defaults', 'mount_point': '', 'name': 'test1', 'raid_level': None, 'size': '3g', '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': ['nvme0n1'], '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/tmpafnwmbol/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 16:11:27 +0000 (0:00:00.043) 0:01:07.591 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 16:11:27 +0000 (0:00:00.023) 0:01:07.615 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 16:11:27 +0000 (0:00:00.023) 0:01:07.638 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 16:11:27 +0000 (0:00:00.023) 0:01:07.661 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 16:11:27 +0000 (0:00:00.024) 0:01:07.686 ********* included: /tmp/tmpafnwmbol/tests/verify-pool-members-encryption.yml for /cache/rhel-8-y.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 16:11:27 +0000 (0:00:00.045) 0:01:07.731 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpafnwmbol/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 16:11:27 +0000 (0:00:00.088) 0:01:07.820 ********* TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 16:11:27 +0000 (0:00:00.058) 0:01:07.878 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 16:11:27 +0000 (0:00:00.021) 0:01:07.900 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 16:11:27 +0000 (0:00:00.034) 0:01:07.935 ********* included: /tmp/tmpafnwmbol/tests/verify-pool-members-vdo.yml for /cache/rhel-8-y.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 16:11:27 +0000 (0:00:00.048) 0:01:07.983 ********* included: /tmp/tmpafnwmbol/tests/verify-pool-member-vdo.yml for /cache/rhel-8-y.qcow2.snap => (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': 'xfs', 'mount_options': 'defaults', 'mount_point': '', 'name': 'test1', 'raid_level': None, 'size': '3g', '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': ['nvme0n1'], '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/tmpafnwmbol/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 16:11:27 +0000 (0:00:00.045) 0:01:08.028 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 16:11:27 +0000 (0:00:00.025) 0:01:08.054 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 16:11:27 +0000 (0:00:00.023) 0:01:08.077 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 16:11:28 +0000 (0:00:00.023) 0:01:08.101 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 16:11:28 +0000 (0:00:00.023) 0:01:08.124 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 16:11:28 +0000 (0:00:00.024) 0:01:08.149 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 16:11:28 +0000 (0:00:00.023) 0:01:08.173 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 16:11:28 +0000 (0:00:00.023) 0:01:08.197 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 16:11:28 +0000 (0:00:00.035) 0:01:08.233 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpafnwmbol/tests/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 16:11:28 +0000 (0:00:00.036) 0:01:08.269 ********* included: /tmp/tmpafnwmbol/tests/test-verify-volume.yml for /cache/rhel-8-y.qcow2.snap => (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': 'xfs', 'mount_options': 'defaults', 'mount_point': '', 'name': 'test1', 'raid_level': None, 'size': '3g', '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': ['nvme0n1'], '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/tmpafnwmbol/tests/test-verify-volume.yml:2 Thursday 21 July 2022 16:11:28 +0000 (0:00:00.041) 0:01:08.311 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpafnwmbol/tests/test-verify-volume.yml:10 Thursday 21 July 2022 16:11:28 +0000 (0:00:00.049) 0:01:08.360 ********* included: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml for /cache/rhel-8-y.qcow2.snap => (item=mount) included: /tmp/tmpafnwmbol/tests/test-verify-volume-fstab.yml for /cache/rhel-8-y.qcow2.snap => (item=fstab) included: /tmp/tmpafnwmbol/tests/test-verify-volume-fs.yml for /cache/rhel-8-y.qcow2.snap => (item=fs) included: /tmp/tmpafnwmbol/tests/test-verify-volume-device.yml for /cache/rhel-8-y.qcow2.snap => (item=device) included: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml for /cache/rhel-8-y.qcow2.snap => (item=encryption) included: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml for /cache/rhel-8-y.qcow2.snap => (item=md) included: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml for /cache/rhel-8-y.qcow2.snap => (item=size) included: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml for /cache/rhel-8-y.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 16:11:28 +0000 (0:00:00.077) 0:01:08.438 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 16:11:28 +0000 (0:00:00.039) 0:01:08.478 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpafnwmbol/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 16:11:28 +0000 (0:00:00.053) 0:01:08.532 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 16:11:28 +0000 (0:00:00.023) 0:01:08.555 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 16:11:28 +0000 (0:00:00.050) 0:01:08.605 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 16:11:28 +0000 (0:00:00.046) 0:01:08.652 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 16:11:28 +0000 (0:00:00.024) 0:01:08.676 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 16:11:28 +0000 (0:00:00.024) 0:01:08.700 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 16:11:28 +0000 (0:00:00.024) 0:01:08.725 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpafnwmbol/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 16:11:28 +0000 (0:00:00.033) 0:01:08.758 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpafnwmbol/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 16:11:28 +0000 (0:00:00.062) 0:01:08.820 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 16:11:28 +0000 (0:00:00.023) 0:01:08.844 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 16:11:28 +0000 (0:00:00.050) 0:01:08.895 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 16:11:28 +0000 (0:00:00.036) 0:01:08.931 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpafnwmbol/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 16:11:28 +0000 (0:00:00.035) 0:01:08.967 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 16:11:28 +0000 (0:00:00.025) 0:01:08.992 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 16:11:28 +0000 (0:00:00.024) 0:01:09.017 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 16:11:29 +0000 (0:00:00.430) 0:01:09.447 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 16:11:29 +0000 (0:00:00.038) 0:01:09.486 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 16:11:29 +0000 (0:00:00.024) 0:01:09.510 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 16:11:29 +0000 (0:00:00.036) 0:01:09.547 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 16:11:29 +0000 (0:00:00.024) 0:01:09.571 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 16:11:29 +0000 (0:00:00.024) 0:01:09.595 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 16:11:29 +0000 (0:00:00.025) 0:01:09.620 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 16:11:30 +0000 (0:00:01.414) 0:01:11.035 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 16:11:30 +0000 (0:00:00.023) 0:01:11.059 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpafnwmbol/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 16:11:30 +0000 (0:00:00.023) 0:01:11.082 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 16:11:31 +0000 (0:00:00.023) 0:01:11.105 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 16:11:31 +0000 (0:00:00.023) 0:01:11.129 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 16:11:31 +0000 (0:00:00.024) 0:01:11.153 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 16:11:31 +0000 (0:00:00.023) 0:01:11.177 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 16:11:31 +0000 (0:00:00.023) 0:01:11.200 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 16:11:31 +0000 (0:00:00.024) 0:01:11.225 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpafnwmbol/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 16:11:31 +0000 (0:00:00.052) 0:01:11.277 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 16:11:31 +0000 (0:00:00.048) 0:01:11.326 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 16:11:31 +0000 (0:00:00.035) 0:01:11.361 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 16:11:31 +0000 (0:00:00.038) 0:01:11.399 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 16:11:31 +0000 (0:00:00.037) 0:01:11.437 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpafnwmbol/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 16:11:31 +0000 (0:00:00.034) 0:01:11.472 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 16:11:31 +0000 (0:00:00.035) 0:01:11.508 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 16:11:31 +0000 (0:00:00.039) 0:01:11.547 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 16:11:31 +0000 (0:00:00.035) 0:01:11.583 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 16:11:31 +0000 (0:00:00.036) 0:01:11.620 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 16:11:31 +0000 (0:00:00.038) 0:01:11.658 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 16:11:31 +0000 (0:00:00.042) 0:01:11.701 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 16:11:31 +0000 (0:00:00.038) 0:01:11.740 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 16:11:31 +0000 (0:00:00.024) 0:01:11.764 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 16:11:31 +0000 (0:00:00.036) 0:01:11.801 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 16:11:31 +0000 (0:00:00.042) 0:01:11.843 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 16:11:31 +0000 (0:00:00.036) 0:01:11.879 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 16:11:31 +0000 (0:00:00.037) 0:01:11.916 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 16:11:31 +0000 (0:00:00.036) 0:01:11.953 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 16:11:31 +0000 (0:00:00.040) 0:01:11.993 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 16:11:31 +0000 (0:00:00.036) 0:01:12.030 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 16:11:31 +0000 (0:00:00.037) 0:01:12.067 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 16:11:32 +0000 (0:00:00.073) 0:01:12.141 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 16:11:32 +0000 (0:00:00.071) 0:01:12.213 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 16:11:32 +0000 (0:00:00.024) 0:01:12.237 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 16:11:32 +0000 (0:00:00.023) 0:01:12.261 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 16:11:32 +0000 (0:00:00.024) 0:01:12.286 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 16:11:32 +0000 (0:00:00.023) 0:01:12.309 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 16:11:32 +0000 (0:00:00.023) 0:01:12.333 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 16:11:32 +0000 (0:00:00.023) 0:01:12.357 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 16:11:32 +0000 (0:00:00.024) 0:01:12.382 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume.yml:16 Thursday 21 July 2022 16:11:32 +0000 (0:00:00.023) 0:01:12.405 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpafnwmbol/tests/verify-role-results.yml:43 Thursday 21 July 2022 16:11:32 +0000 (0:00:00.034) 0:01:12.440 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpafnwmbol/tests/verify-role-results.yml:53 Thursday 21 July 2022 16:11:32 +0000 (0:00:00.021) 0:01:12.461 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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-y.qcow2.snap : ok=381 changed=4 unreachable=0 failed=0 skipped=322 rescued=0 ignored=0 Thursday 21 July 2022 16:11:32 +0000 (0:00:00.048) 0:01:12.510 ********* =============================================================================== linux-system-roles.storage : manage the pools and volumes to match the specified state --- 2.15s /tmp/tmpafnwmbol/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.09s /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : get service facts -------------------------- 2.02s /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 linux-system-roles.storage : make sure blivet is available -------------- 1.88s /tmp/tmpafnwmbol/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 --- 1.59s /tmp/tmpafnwmbol/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.58s /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Ensure cryptsetup is present -------------------------------------------- 1.51s /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:10 ------------------- Ensure cryptsetup is present -------------------------------------------- 1.48s /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:10 ------------------- Ensure cryptsetup is present -------------------------------------------- 1.41s /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:10 ------------------- Read the /etc/fstab file for volume existence --------------------------- 1.37s /tmp/tmpafnwmbol/tests/verify-role-results.yml:19 ----------------------------- linux-system-roles.storage : make sure required packages are installed --- 1.36s /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Gathering Facts --------------------------------------------------------- 1.32s /tmp/tmpafnwmbol/tests/tests_remove_mount_nvme_generated.yml:3 ---------------- Ensure cryptsetup is present -------------------------------------------- 1.31s /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:10 ------------------- linux-system-roles.storage : Update facts ------------------------------- 1.10s /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 linux-system-roles.storage : Update facts ------------------------------- 1.03s /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 linux-system-roles.storage : Update facts ------------------------------- 1.00s /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 linux-system-roles.storage : Update facts ------------------------------- 0.97s /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 linux-system-roles.storage : Update facts ------------------------------- 0.96s /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Gathering Facts --------------------------------------------------------- 0.94s /tmp/tmpafnwmbol/tests/tests_remove_mount.yml:2 ------------------------------- linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab --- 0.87s /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 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/tmpp_vyhrdp 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: tests_remove_mount_nvme_generated.yml ******************************** 2 plays in /tmp/tmpmnqeja9w/tests/storage/tests_remove_mount_nvme_generated.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/tests_remove_mount_nvme_generated.yml:3 Thursday 21 July 2022 19:51:53 +0000 (0:00:00.012) 0:00:00.012 ********* ok: [/cache/rhel-8-y.qcow2.snap] META: ran handlers TASK [set disk interface for test] ********************************************* task path: /tmp/tmpmnqeja9w/tests/storage/tests_remove_mount_nvme_generated.yml:7 Thursday 21 July 2022 19:51:54 +0000 (0:00:01.320) 0:00:01.333 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_use_interface": "nvme" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/tests_remove_mount.yml:2 Thursday 21 July 2022 19:51:54 +0000 (0:00:00.047) 0:00:01.381 ********* ok: [/cache/rhel-8-y.qcow2.snap] META: ran handlers TASK [include_role : fedora.linux_system_roles.storage] ************************ task path: /tmp/tmpmnqeja9w/tests/storage/tests_remove_mount.yml:12 Thursday 21 July 2022 19:51:55 +0000 (0:00:00.935) 0:00:02.316 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 19:51:55 +0000 (0:00:00.035) 0:00:02.352 ********* included: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 19:51:55 +0000 (0:00:00.030) 0:00:02.383 ********* ok: [/cache/rhel-8-y.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 19:51:56 +0000 (0:00:00.526) 0:00:02.909 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8-y.qcow2.snap] => (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/tmpp_vyhrdp/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-y.qcow2.snap] => (item=RedHat_8.7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.7.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/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 19:51:56 +0000 (0:00:00.053) 0:00:02.963 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 19:51:56 +0000 (0:00:00.032) 0:00:02.995 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 19:51:56 +0000 (0:00:00.028) 0:00:03.024 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 19:51:56 +0000 (0:00:00.052) 0:00:03.077 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 19:51:56 +0000 (0:00:00.017) 0:00:03.094 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 19:51:58 +0000 (0:00:01.816) 0:00:04.910 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 19:51:58 +0000 (0:00:00.033) 0:00:04.943 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 19:51:58 +0000 (0:00:00.032) 0:00:04.976 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 19:51:59 +0000 (0:00:00.753) 0:00:05.729 ********* included: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.storage : check if the COPR support packages should be installed] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:2 Thursday 21 July 2022 19:51:59 +0000 (0:00:00.052) 0:00:05.782 ********* TASK [fedora.linux_system_roles.storage : make sure COPR support packages are present] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:13 Thursday 21 July 2022 19:51:59 +0000 (0:00:00.036) 0:00:05.819 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable COPRs] ************************ task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:18 Thursday 21 July 2022 19:51:59 +0000 (0:00:00.036) 0:00:05.855 ********* TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 19:51:59 +0000 (0:00:00.028) 0:00:05.884 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 19:52:00 +0000 (0:00:01.475) 0:00:07.359 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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-hotplugd.service": { "name": "cloud-init-hotplugd.service", "source": "systemd", "state": "inactive", "status": "static" }, "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": "active", "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" }, "hv_kvp_daemon.service": { "name": "hv_kvp_daemon.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "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": "inactive", "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" }, "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" }, "snapd.seeded.service": { "name": "snapd.seeded.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "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-fsck@dev-vdb1.service": { "name": "systemd-fsck@dev-vdb1.service", "source": "systemd", "state": "stopped", "status": "active" }, "systemd-fsck@dev-vdc1.service": { "name": "systemd-fsck@dev-vdc1.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": "running", "status": "static" }, "systemd-hwdb-update.service": { "name": "systemd-hwdb-update.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-hybrid-sleep.service": { "name": "systemd-hybrid-sleep.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-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-networkd-wait-online.service": { "name": "systemd-networkd-wait-online.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "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/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 19:52:02 +0000 (0:00:01.888) 0:00:09.248 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 19:52:02 +0000 (0:00:00.061) 0:00:09.309 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 19:52:02 +0000 (0:00:00.023) 0:00:09.333 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 19:52:03 +0000 (0:00:00.569) 0:00:09.902 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 19:52:03 +0000 (0:00:00.038) 0:00:09.941 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 19:52:03 +0000 (0:00:00.022) 0:00:09.963 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 19:52:03 +0000 (0:00:00.038) 0:00:10.001 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 19:52:03 +0000 (0:00:00.037) 0:00:10.039 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 19:52:03 +0000 (0:00:00.038) 0:00:10.078 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 19:52:03 +0000 (0:00:00.035) 0:00:10.114 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 19:52:03 +0000 (0:00:00.022) 0:00:10.136 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 19:52:03 +0000 (0:00:00.034) 0:00:10.170 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 19:52:03 +0000 (0:00:00.025) 0:00:10.196 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 19:52:04 +0000 (0:00:00.503) 0:00:10.700 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 19:52:04 +0000 (0:00:00.023) 0:00:10.724 ********* ok: [/cache/rhel-8-y.qcow2.snap] META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [Mark tasks to be skipped] ************************************************ task path: /tmp/tmpmnqeja9w/tests/storage/tests_remove_mount.yml:15 Thursday 21 July 2022 19:52:05 +0000 (0:00:01.016) 0:00:11.740 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_skip_checks": [ "blivet_available", "packages_installed", "service_facts" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/tests_remove_mount.yml:22 Thursday 21 July 2022 19:52:05 +0000 (0:00:00.089) 0:00:11.829 ********* included: /tmp/tmpmnqeja9w/tests/storage/get_unused_disk.yml for /cache/rhel-8-y.qcow2.snap TASK [Find unused disks in the system] ***************************************** task path: /tmp/tmpmnqeja9w/tests/storage/get_unused_disk.yml:2 Thursday 21 July 2022 19:52:05 +0000 (0:00:00.037) 0:00:11.867 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "disks": [ "nvme1n1" ] } TASK [Set unused_disks if necessary] ******************************************* task path: /tmp/tmpmnqeja9w/tests/storage/get_unused_disk.yml:9 Thursday 21 July 2022 19:52:06 +0000 (0:00:01.528) 0:00:13.396 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "unused_disks": [ "nvme1n1" ] }, "changed": false } TASK [Exit playbook when there's not enough unused disks in the system] ******** task path: /tmp/tmpmnqeja9w/tests/storage/get_unused_disk.yml:14 Thursday 21 July 2022 19:52:06 +0000 (0:00:00.036) 0:00:13.432 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Print unused disks] ****************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/get_unused_disk.yml:19 Thursday 21 July 2022 19:52:06 +0000 (0:00:00.038) 0:00:13.470 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "unused_disks": [ "nvme1n1" ] } TASK [Create a LVM logical volume mounted at "/opt/test1"] ********************* task path: /tmp/tmpmnqeja9w/tests/storage/tests_remove_mount.yml:27 Thursday 21 July 2022 19:52:06 +0000 (0:00:00.036) 0:00:13.507 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 19:52:06 +0000 (0:00:00.044) 0:00:13.551 ********* included: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 19:52:06 +0000 (0:00:00.034) 0:00:13.586 ********* ok: [/cache/rhel-8-y.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 19:52:07 +0000 (0:00:00.510) 0:00:14.096 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8-y.qcow2.snap] => (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/tmpp_vyhrdp/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-y.qcow2.snap] => (item=RedHat_8.7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.7.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/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 19:52:07 +0000 (0:00:00.063) 0:00:14.160 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 19:52:07 +0000 (0:00:00.034) 0:00:14.194 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 19:52:07 +0000 (0:00:00.033) 0:00:14.228 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 19:52:07 +0000 (0:00:00.053) 0:00:14.281 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 19:52:07 +0000 (0:00:00.021) 0:00:14.303 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 19:52:07 +0000 (0:00:00.026) 0:00:14.330 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_pools": [ { "disks": [ "nvme1n1" ], "name": "foo", "volumes": [ { "mount_point": "/opt/test1", "name": "test1", "size": "3g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 19:52:07 +0000 (0:00:00.070) 0:00:14.400 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 19:52:07 +0000 (0:00:00.068) 0:00:14.468 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 19:52:07 +0000 (0:00:00.035) 0:00:14.503 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 19:52:07 +0000 (0:00:00.026) 0:00:14.530 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 19:52:07 +0000 (0:00:00.025) 0:00:14.555 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 19:52:07 +0000 (0:00:00.026) 0:00:14.582 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 19:52:08 +0000 (0:00:00.084) 0:00:14.667 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 19:52:08 +0000 (0:00:00.022) 0:00:14.689 ********* changed: [/cache/rhel-8-y.qcow2.snap] => { "actions": [ { "action": "create format", "device": "/dev/nvme1n1", "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": "xfs" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/mapper/foo-test1" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "xfsprogs", "e2fsprogs", "lvm2", "dosfstools" ], "pools": [ { "disks": [ "nvme1n1" ], "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": "xfs", "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": "3g", "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/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 19:52:10 +0000 (0:00:02.061) 0:00:16.750 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 19:52:10 +0000 (0:00:00.038) 0:00:16.789 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 19:52:10 +0000 (0:00:00.021) 0:00:16.810 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/nvme1n1", "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": "xfs" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/mapper/foo-test1" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "xfsprogs", "e2fsprogs", "lvm2", "dosfstools" ], "pools": [ { "disks": [ "nvme1n1" ], "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": "xfs", "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": "3g", "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/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 19:52:10 +0000 (0:00:00.041) 0:00:16.852 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "nvme1n1" ], "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": "xfs", "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": "3g", "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/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 19:52:10 +0000 (0:00:00.040) 0:00:16.892 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 19:52:10 +0000 (0:00:00.039) 0:00:16.931 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 19:52:10 +0000 (0:00:00.038) 0:00:16.970 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 19:52:11 +0000 (0:00:00.913) 0:00:17.884 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-8-y.qcow2.snap] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': 'xfs', '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": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "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/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 19:52:11 +0000 (0:00:00.575) 0:00:18.459 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 19:52:12 +0000 (0:00:00.630) 0:00:19.090 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 19:52:12 +0000 (0:00:00.386) 0:00:19.476 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 19:52:12 +0000 (0:00:00.023) 0:00:19.499 ********* ok: [/cache/rhel-8-y.qcow2.snap] META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/tests_remove_mount.yml:39 Thursday 21 July 2022 19:52:13 +0000 (0:00:00.993) 0:00:20.492 ********* included: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml for /cache/rhel-8-y.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 19:52:13 +0000 (0:00:00.042) 0:00:20.535 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "nvme1n1" ], "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": "xfs", "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": "3g", "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/tmpmnqeja9w/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 19:52:14 +0000 (0:00:00.078) 0:00:20.613 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 19:52:14 +0000 (0:00:00.037) 0:00:20.651 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/foo-test1", "size": "3G", "type": "lvm", "uuid": "91fbf9c2-ce5e-48e3-bbf3-a8ae63d8c3ff" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "LVM2_member", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "8UZoKn-z7WN-kojq-7F93-XBhW-OkcU-sE8dm5" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-19-51-40-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": "58dca2db-4ccd-4171-a017-dd53ad8c1c54" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "4d1ed9a1-5608-4ff8-ad89-21d95caa66fa" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "a7abcc97-edc5-476c-8ccd-694b4621fd28" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 19:52:14 +0000 (0:00:00.507) 0:00:21.158 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002744", "end": "2022-07-21 15:52:14.049553", "rc": 0, "start": "2022-07-21 15:52:14.046809" } STDOUT: UUID=58dca2db-4ccd-4171-a017-dd53ad8c1c54 / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 /dev/vdb1 /var/cache/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 /dev/mapper/foo-test1 /opt/test1 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 19:52:15 +0000 (0:00:00.468) 0:00:21.627 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002404", "end": "2022-07-21 15:52:14.424226", "failed_when_result": false, "rc": 1, "start": "2022-07-21 15:52:14.421822" } 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/tmpmnqeja9w/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 19:52:15 +0000 (0:00:00.374) 0:00:22.002 ********* included: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool.yml for /cache/rhel-8-y.qcow2.snap => (item={'disks': ['nvme1n1'], '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': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '3g', '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/tmpmnqeja9w/tests/storage/test-verify-pool.yml:5 Thursday 21 July 2022 19:52:15 +0000 (0:00:00.060) 0:00:22.063 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool.yml:18 Thursday 21 July 2022 19:52:15 +0000 (0:00:00.033) 0:00:22.096 ********* included: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml for /cache/rhel-8-y.qcow2.snap => (item=members) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-volumes.yml for /cache/rhel-8-y.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:1 Thursday 21 July 2022 19:52:15 +0000 (0:00:00.048) 0:00:22.144 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/nvme1n1" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 19:52:15 +0000 (0:00:00.056) 0:00:22.200 ********* ok: [/cache/rhel-8-y.qcow2.snap] => (item=/dev/nvme1n1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/nvme1n1", "pv": "/dev/nvme1n1" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 19:52:16 +0000 (0:00:00.495) 0:00:22.696 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 19:52:16 +0000 (0:00:00.048) 0:00:22.744 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/nvme1n1" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 19:52:16 +0000 (0:00:00.053) 0:00:22.798 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:29 Thursday 21 July 2022 19:52:16 +0000 (0:00:00.054) 0:00:22.852 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 19:52:16 +0000 (0:00:00.038) 0:00:22.890 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:37 Thursday 21 July 2022 19:52:16 +0000 (0:00:00.057) 0:00:22.948 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:41 Thursday 21 July 2022 19:52:16 +0000 (0:00:00.030) 0:00:22.978 ********* ok: [/cache/rhel-8-y.qcow2.snap] => (item=/dev/nvme1n1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/nvme1n1" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 19:52:16 +0000 (0:00:00.045) 0:00:23.024 ********* included: /tmp/tmpmnqeja9w/tests/storage/verify-pool-md.yml for /cache/rhel-8-y.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-md.yml:6 Thursday 21 July 2022 19:52:16 +0000 (0:00:00.045) 0:00:23.069 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 19:52:16 +0000 (0:00:00.027) 0:00:23.097 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-md.yml:16 Thursday 21 July 2022 19:52:16 +0000 (0:00:00.060) 0:00:23.157 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-md.yml:20 Thursday 21 July 2022 19:52:16 +0000 (0:00:00.026) 0:00:23.183 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-md.yml:24 Thursday 21 July 2022 19:52:16 +0000 (0:00:00.023) 0:00:23.207 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-md.yml:30 Thursday 21 July 2022 19:52:16 +0000 (0:00:00.022) 0:00:23.230 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-md.yml:36 Thursday 21 July 2022 19:52:16 +0000 (0:00:00.022) 0:00:23.252 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-md.yml:44 Thursday 21 July 2022 19:52:16 +0000 (0:00:00.021) 0:00:23.274 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 19:52:16 +0000 (0:00:00.032) 0:00:23.306 ********* included: /tmp/tmpmnqeja9w/tests/storage/verify-pool-members-lvmraid.yml for /cache/rhel-8-y.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 19:52:16 +0000 (0:00:00.042) 0:00:23.349 ********* included: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-lvmraid.yml for /cache/rhel-8-y.qcow2.snap => (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': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '3g', '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/tmpmnqeja9w/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 19:52:16 +0000 (0:00:00.042) 0:00:23.391 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 19:52:16 +0000 (0:00:00.031) 0:00:23.423 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 19:52:16 +0000 (0:00:00.029) 0:00:23.452 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 19:52:16 +0000 (0:00:00.029) 0:00:23.482 ********* included: /tmp/tmpmnqeja9w/tests/storage/verify-pool-members-thin.yml for /cache/rhel-8-y.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-members-thin.yml:1 Thursday 21 July 2022 19:52:16 +0000 (0:00:00.046) 0:00:23.528 ********* included: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-thin.yml for /cache/rhel-8-y.qcow2.snap => (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': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '3g', '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/tmpmnqeja9w/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 19:52:16 +0000 (0:00:00.043) 0:00:23.571 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 19:52:16 +0000 (0:00:00.022) 0:00:23.594 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 19:52:17 +0000 (0:00:00.023) 0:00:23.617 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 19:52:17 +0000 (0:00:00.021) 0:00:23.639 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 19:52:17 +0000 (0:00:00.022) 0:00:23.661 ********* included: /tmp/tmpmnqeja9w/tests/storage/verify-pool-members-encryption.yml for /cache/rhel-8-y.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 19:52:17 +0000 (0:00:00.046) 0:00:23.708 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpmnqeja9w/tests/storage/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 19:52:17 +0000 (0:00:00.051) 0:00:23.759 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => (item=/dev/nvme1n1) => { "_storage_test_pool_member_path": "/dev/nvme1n1", "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/tmpmnqeja9w/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 19:52:17 +0000 (0:00:00.028) 0:00:23.788 ********* included: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-crypttab.yml for /cache/rhel-8-y.qcow2.snap => (item=/dev/nvme1n1) TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 19:52:17 +0000 (0:00:00.044) 0:00:23.833 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-crypttab.yml:4 Thursday 21 July 2022 19:52:17 +0000 (0:00:00.049) 0:00:23.882 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-crypttab.yml:9 Thursday 21 July 2022 19:52:17 +0000 (0:00:00.048) 0:00:23.930 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-crypttab.yml:15 Thursday 21 July 2022 19:52:17 +0000 (0:00:00.037) 0:00:23.968 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-crypttab.yml:21 Thursday 21 July 2022 19:52:17 +0000 (0:00:00.034) 0:00:24.003 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-crypttab.yml:27 Thursday 21 July 2022 19:52:17 +0000 (0:00:00.034) 0:00:24.037 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 19:52:17 +0000 (0:00:00.033) 0:00:24.071 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:62 Thursday 21 July 2022 19:52:17 +0000 (0:00:00.033) 0:00:24.105 ********* included: /tmp/tmpmnqeja9w/tests/storage/verify-pool-members-vdo.yml for /cache/rhel-8-y.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 19:52:17 +0000 (0:00:00.049) 0:00:24.154 ********* included: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-vdo.yml for /cache/rhel-8-y.qcow2.snap => (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': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '3g', '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/tmpmnqeja9w/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 19:52:17 +0000 (0:00:00.046) 0:00:24.200 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 19:52:17 +0000 (0:00:00.025) 0:00:24.226 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 19:52:17 +0000 (0:00:00.037) 0:00:24.264 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 19:52:17 +0000 (0:00:00.055) 0:00:24.319 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 19:52:17 +0000 (0:00:00.026) 0:00:24.346 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 19:52:17 +0000 (0:00:00.024) 0:00:24.370 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 19:52:17 +0000 (0:00:00.023) 0:00:24.394 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 19:52:17 +0000 (0:00:00.024) 0:00:24.418 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 19:52:17 +0000 (0:00:00.033) 0:00:24.452 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpmnqeja9w/tests/storage/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 19:52:17 +0000 (0:00:00.032) 0:00:24.484 ********* included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume.yml for /cache/rhel-8-y.qcow2.snap => (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': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '3g', '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/tmpmnqeja9w/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 19:52:17 +0000 (0:00:00.044) 0:00:24.529 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpmnqeja9w/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 19:52:17 +0000 (0:00:00.046) 0:00:24.575 ********* included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml for /cache/rhel-8-y.qcow2.snap => (item=mount) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fstab.yml for /cache/rhel-8-y.qcow2.snap => (item=fstab) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fs.yml for /cache/rhel-8-y.qcow2.snap => (item=fs) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-device.yml for /cache/rhel-8-y.qcow2.snap => (item=device) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml for /cache/rhel-8-y.qcow2.snap => (item=encryption) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml for /cache/rhel-8-y.qcow2.snap => (item=md) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml for /cache/rhel-8-y.qcow2.snap => (item=size) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml for /cache/rhel-8-y.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 19:52:18 +0000 (0:00:00.091) 0:00:24.666 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 19:52:18 +0000 (0:00:00.043) 0:00:24.710 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 770146, "block_size": 4096, "block_total": 783872, "block_used": 13726, "device": "/dev/mapper/foo-test1", "fstype": "xfs", "inode_available": 1572861, "inode_total": 1572864, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 3154518016, "size_total": 3210739712, "uuid": "91fbf9c2-ce5e-48e3-bbf3-a8ae63d8c3ff" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 770146, "block_size": 4096, "block_total": 783872, "block_used": 13726, "device": "/dev/mapper/foo-test1", "fstype": "xfs", "inode_available": 1572861, "inode_total": 1572864, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 3154518016, "size_total": 3210739712, "uuid": "91fbf9c2-ce5e-48e3-bbf3-a8ae63d8c3ff" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 19:52:18 +0000 (0:00:00.054) 0:00:24.764 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 19:52:18 +0000 (0:00:00.048) 0:00:24.813 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 19:52:18 +0000 (0:00:00.046) 0:00:24.859 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 19:52:18 +0000 (0:00:00.051) 0:00:24.910 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 19:52:18 +0000 (0:00:00.025) 0:00:24.936 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 19:52:18 +0000 (0:00:00.025) 0:00:24.961 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 19:52:18 +0000 (0:00:00.026) 0:00:24.988 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpmnqeja9w/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 19:52:18 +0000 (0:00:00.035) 0:00:25.023 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 19:52:18 +0000 (0:00:00.061) 0:00:25.085 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 19:52:18 +0000 (0:00:00.050) 0:00:25.135 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 19:52:18 +0000 (0:00:00.047) 0:00:25.183 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 19:52:18 +0000 (0:00:00.037) 0:00:25.220 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpmnqeja9w/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 19:52:18 +0000 (0:00:00.034) 0:00:25.255 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 19:52:18 +0000 (0:00:00.038) 0:00:25.293 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 19:52:18 +0000 (0:00:00.036) 0:00:25.329 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "stat": { "atime": 1658433129.0985372, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658433129.0985372, "dev": 6, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 52522, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658433129.0985372, "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/tmpmnqeja9w/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 19:52:19 +0000 (0:00:00.396) 0:00:25.726 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 19:52:19 +0000 (0:00:00.040) 0:00:25.766 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 19:52:19 +0000 (0:00:00.038) 0:00:25.805 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 19:52:19 +0000 (0:00:00.071) 0:00:25.876 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 19:52:19 +0000 (0:00:00.023) 0:00:25.900 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 19:52:19 +0000 (0:00:00.097) 0:00:25.998 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 19:52:19 +0000 (0:00:00.024) 0:00:26.022 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 19:52:20 +0000 (0:00:01.368) 0:00:27.390 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 19:52:20 +0000 (0:00:00.024) 0:00:27.415 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 19:52:20 +0000 (0:00:00.025) 0:00:27.440 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 19:52:20 +0000 (0:00:00.050) 0:00:27.491 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 19:52:20 +0000 (0:00:00.024) 0:00:27.516 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 19:52:20 +0000 (0:00:00.025) 0:00:27.541 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 19:52:20 +0000 (0:00:00.025) 0:00:27.566 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 19:52:20 +0000 (0:00:00.025) 0:00:27.592 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 19:52:21 +0000 (0:00:00.026) 0:00:27.618 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 19:52:21 +0000 (0:00:00.051) 0:00:27.669 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 19:52:21 +0000 (0:00:00.047) 0:00:27.717 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 19:52:21 +0000 (0:00:00.038) 0:00:27.755 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 19:52:21 +0000 (0:00:00.037) 0:00:27.793 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 19:52:21 +0000 (0:00:00.037) 0:00:27.830 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 19:52:21 +0000 (0:00:00.037) 0:00:27.867 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 19:52:21 +0000 (0:00:00.041) 0:00:27.909 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 19:52:21 +0000 (0:00:00.036) 0:00:27.946 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 19:52:21 +0000 (0:00:00.034) 0:00:27.980 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 19:52:21 +0000 (0:00:00.035) 0:00:28.015 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 19:52:21 +0000 (0:00:00.041) 0:00:28.057 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 19:52:21 +0000 (0:00:00.040) 0:00:28.097 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 19:52:21 +0000 (0:00:00.042) 0:00:28.139 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 19:52:22 +0000 (0:00:00.515) 0:00:28.654 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 19:52:22 +0000 (0:00:00.422) 0:00:29.077 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "3221225472" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 19:52:22 +0000 (0:00:00.051) 0:00:29.128 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 19:52:22 +0000 (0:00:00.087) 0:00:29.216 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 19:52:22 +0000 (0:00:00.038) 0:00:29.255 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 19:52:22 +0000 (0:00:00.040) 0:00:29.295 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 19:52:22 +0000 (0:00:00.038) 0:00:29.333 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 19:52:22 +0000 (0:00:00.037) 0:00:29.371 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 19:52:22 +0000 (0:00:00.036) 0:00:29.407 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_test_actual_size": { "bytes": 3221225472, "changed": false, "failed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 19:52:22 +0000 (0:00:00.076) 0:00:29.483 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 19:52:22 +0000 (0:00:00.070) 0:00:29.553 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 19:52:23 +0000 (0:00:00.124) 0:00:29.678 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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.032863", "end": "2022-07-21 15:52:22.520818", "rc": 0, "start": "2022-07-21 15:52:22.487955" } 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/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 19:52:23 +0000 (0:00:00.421) 0:00:30.099 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 19:52:23 +0000 (0:00:00.050) 0:00:30.150 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 19:52:23 +0000 (0:00:00.050) 0:00:30.200 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 19:52:23 +0000 (0:00:00.039) 0:00:30.240 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 19:52:23 +0000 (0:00:00.039) 0:00:30.279 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 19:52:23 +0000 (0:00:00.037) 0:00:30.317 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 19:52:23 +0000 (0:00:00.040) 0:00:30.357 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 19:52:23 +0000 (0:00:00.034) 0:00:30.391 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 19:52:23 +0000 (0:00:00.020) 0:00:30.412 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Change the mount location to ""] ***************************************** task path: /tmp/tmpmnqeja9w/tests/storage/tests_remove_mount.yml:41 Thursday 21 July 2022 19:52:23 +0000 (0:00:00.034) 0:00:30.446 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 19:52:23 +0000 (0:00:00.050) 0:00:30.497 ********* included: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 19:52:23 +0000 (0:00:00.036) 0:00:30.534 ********* ok: [/cache/rhel-8-y.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 19:52:24 +0000 (0:00:00.526) 0:00:31.061 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8-y.qcow2.snap] => (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/tmpp_vyhrdp/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-y.qcow2.snap] => (item=RedHat_8.7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.7.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/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 19:52:24 +0000 (0:00:00.061) 0:00:31.122 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 19:52:24 +0000 (0:00:00.036) 0:00:31.159 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 19:52:24 +0000 (0:00:00.040) 0:00:31.199 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 19:52:24 +0000 (0:00:00.059) 0:00:31.259 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 19:52:24 +0000 (0:00:00.021) 0:00:31.280 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 19:52:24 +0000 (0:00:00.030) 0:00:31.311 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_pools": [ { "disks": [ "nvme1n1" ], "name": "foo", "volumes": [ { "mount_point": "", "name": "test1", "size": "3g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 19:52:24 +0000 (0:00:00.039) 0:00:31.350 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 19:52:24 +0000 (0:00:00.038) 0:00:31.389 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 19:52:24 +0000 (0:00:00.029) 0:00:31.419 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 19:52:24 +0000 (0:00:00.028) 0:00:31.448 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 19:52:24 +0000 (0:00:00.028) 0:00:31.476 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 19:52:24 +0000 (0:00:00.027) 0:00:31.504 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 19:52:24 +0000 (0:00:00.090) 0:00:31.594 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 19:52:25 +0000 (0:00:00.054) 0:00:31.648 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/mapper/foo-test1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "path": "/opt/test1", "state": "absent" } ], "packages": [ "dosfstools", "e2fsprogs", "xfsprogs", "lvm2" ], "pools": [ { "disks": [ "nvme1n1" ], "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": [ "nvme1n1" ], "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": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "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/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 19:52:26 +0000 (0:00:01.603) 0:00:33.251 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 19:52:26 +0000 (0:00:00.036) 0:00:33.288 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 19:52:26 +0000 (0:00:00.024) 0:00:33.312 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/mapper/foo-test1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "path": "/opt/test1", "state": "absent" } ], "packages": [ "dosfstools", "e2fsprogs", "xfsprogs", "lvm2" ], "pools": [ { "disks": [ "nvme1n1" ], "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": [ "nvme1n1" ], "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": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "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/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 19:52:26 +0000 (0:00:00.040) 0:00:33.353 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "nvme1n1" ], "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": [ "nvme1n1" ], "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": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "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/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 19:52:26 +0000 (0:00:00.040) 0:00:33.393 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 19:52:26 +0000 (0:00:00.041) 0:00:33.435 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-8-y.qcow2.snap] => (item={'path': '/opt/test1', 'state': 'absent'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "mount_info": { "path": "/opt/test1", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 19:52:27 +0000 (0:00:00.451) 0:00:33.887 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 19:52:27 +0000 (0:00:00.652) 0:00:34.539 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 19:52:27 +0000 (0:00:00.040) 0:00:34.580 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 19:52:28 +0000 (0:00:00.625) 0:00:35.206 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 19:52:28 +0000 (0:00:00.382) 0:00:35.588 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 19:52:28 +0000 (0:00:00.024) 0:00:35.612 ********* ok: [/cache/rhel-8-y.qcow2.snap] META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/tests_remove_mount.yml:53 Thursday 21 July 2022 19:52:29 +0000 (0:00:00.994) 0:00:36.607 ********* included: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml for /cache/rhel-8-y.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 19:52:30 +0000 (0:00:00.045) 0:00:36.652 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "nvme1n1" ], "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": [ "nvme1n1" ], "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": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "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/tmpmnqeja9w/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 19:52:30 +0000 (0:00:00.087) 0:00:36.740 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 19:52:30 +0000 (0:00:00.038) 0:00:36.778 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/foo-test1", "size": "3G", "type": "lvm", "uuid": "91fbf9c2-ce5e-48e3-bbf3-a8ae63d8c3ff" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "LVM2_member", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "8UZoKn-z7WN-kojq-7F93-XBhW-OkcU-sE8dm5" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-19-51-40-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": "58dca2db-4ccd-4171-a017-dd53ad8c1c54" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "4d1ed9a1-5608-4ff8-ad89-21d95caa66fa" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "a7abcc97-edc5-476c-8ccd-694b4621fd28" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 19:52:30 +0000 (0:00:00.426) 0:00:37.204 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:01.004120", "end": "2022-07-21 15:52:31.045260", "rc": 0, "start": "2022-07-21 15:52:30.041140" } STDOUT: UUID=58dca2db-4ccd-4171-a017-dd53ad8c1c54 / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 /dev/vdb1 /var/cache/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 19:52:32 +0000 (0:00:01.419) 0:00:38.624 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002616", "end": "2022-07-21 15:52:31.416574", "failed_when_result": false, "rc": 1, "start": "2022-07-21 15:52:31.413958" } 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/tmpmnqeja9w/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 19:52:32 +0000 (0:00:00.370) 0:00:38.994 ********* included: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool.yml for /cache/rhel-8-y.qcow2.snap => (item={'disks': ['nvme1n1'], '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': 'xfs', 'mount_options': 'defaults', 'mount_point': '', 'name': 'test1', 'raid_level': None, 'size': '3g', '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': ['nvme1n1'], '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/tmpmnqeja9w/tests/storage/test-verify-pool.yml:5 Thursday 21 July 2022 19:52:32 +0000 (0:00:00.059) 0:00:39.054 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool.yml:18 Thursday 21 July 2022 19:52:32 +0000 (0:00:00.037) 0:00:39.091 ********* included: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml for /cache/rhel-8-y.qcow2.snap => (item=members) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-volumes.yml for /cache/rhel-8-y.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:1 Thursday 21 July 2022 19:52:32 +0000 (0:00:00.048) 0:00:39.140 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/nvme1n1" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 19:52:32 +0000 (0:00:00.056) 0:00:39.196 ********* ok: [/cache/rhel-8-y.qcow2.snap] => (item=/dev/nvme1n1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/nvme1n1", "pv": "/dev/nvme1n1" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 19:52:32 +0000 (0:00:00.374) 0:00:39.571 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 19:52:33 +0000 (0:00:00.049) 0:00:39.620 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/nvme1n1" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 19:52:33 +0000 (0:00:00.049) 0:00:39.670 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:29 Thursday 21 July 2022 19:52:33 +0000 (0:00:00.049) 0:00:39.719 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 19:52:33 +0000 (0:00:00.037) 0:00:39.757 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:37 Thursday 21 July 2022 19:52:33 +0000 (0:00:00.051) 0:00:39.809 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:41 Thursday 21 July 2022 19:52:33 +0000 (0:00:00.025) 0:00:39.834 ********* ok: [/cache/rhel-8-y.qcow2.snap] => (item=/dev/nvme1n1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/nvme1n1" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 19:52:33 +0000 (0:00:00.042) 0:00:39.877 ********* included: /tmp/tmpmnqeja9w/tests/storage/verify-pool-md.yml for /cache/rhel-8-y.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-md.yml:6 Thursday 21 July 2022 19:52:33 +0000 (0:00:00.044) 0:00:39.922 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 19:52:33 +0000 (0:00:00.025) 0:00:39.947 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-md.yml:16 Thursday 21 July 2022 19:52:33 +0000 (0:00:00.025) 0:00:39.973 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-md.yml:20 Thursday 21 July 2022 19:52:33 +0000 (0:00:00.025) 0:00:39.999 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-md.yml:24 Thursday 21 July 2022 19:52:33 +0000 (0:00:00.026) 0:00:40.025 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-md.yml:30 Thursday 21 July 2022 19:52:33 +0000 (0:00:00.055) 0:00:40.081 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-md.yml:36 Thursday 21 July 2022 19:52:33 +0000 (0:00:00.025) 0:00:40.107 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-md.yml:44 Thursday 21 July 2022 19:52:33 +0000 (0:00:00.025) 0:00:40.132 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 19:52:33 +0000 (0:00:00.036) 0:00:40.169 ********* included: /tmp/tmpmnqeja9w/tests/storage/verify-pool-members-lvmraid.yml for /cache/rhel-8-y.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 19:52:33 +0000 (0:00:00.045) 0:00:40.215 ********* included: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-lvmraid.yml for /cache/rhel-8-y.qcow2.snap => (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': 'xfs', 'mount_options': 'defaults', 'mount_point': '', 'name': 'test1', 'raid_level': None, 'size': '3g', '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': ['nvme1n1'], '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/tmpmnqeja9w/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 19:52:33 +0000 (0:00:00.045) 0:00:40.260 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 19:52:33 +0000 (0:00:00.029) 0:00:40.290 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 19:52:33 +0000 (0:00:00.027) 0:00:40.317 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 19:52:33 +0000 (0:00:00.027) 0:00:40.345 ********* included: /tmp/tmpmnqeja9w/tests/storage/verify-pool-members-thin.yml for /cache/rhel-8-y.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-members-thin.yml:1 Thursday 21 July 2022 19:52:33 +0000 (0:00:00.045) 0:00:40.390 ********* included: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-thin.yml for /cache/rhel-8-y.qcow2.snap => (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': 'xfs', 'mount_options': 'defaults', 'mount_point': '', 'name': 'test1', 'raid_level': None, 'size': '3g', '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': ['nvme1n1'], '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/tmpmnqeja9w/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 19:52:33 +0000 (0:00:00.043) 0:00:40.434 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 19:52:33 +0000 (0:00:00.026) 0:00:40.460 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 19:52:33 +0000 (0:00:00.024) 0:00:40.484 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 19:52:33 +0000 (0:00:00.025) 0:00:40.509 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 19:52:33 +0000 (0:00:00.025) 0:00:40.535 ********* included: /tmp/tmpmnqeja9w/tests/storage/verify-pool-members-encryption.yml for /cache/rhel-8-y.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 19:52:33 +0000 (0:00:00.050) 0:00:40.585 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpmnqeja9w/tests/storage/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 19:52:34 +0000 (0:00:00.048) 0:00:40.634 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => (item=/dev/nvme1n1) => { "_storage_test_pool_member_path": "/dev/nvme1n1", "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/tmpmnqeja9w/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 19:52:34 +0000 (0:00:00.028) 0:00:40.663 ********* included: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-crypttab.yml for /cache/rhel-8-y.qcow2.snap => (item=/dev/nvme1n1) TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 19:52:34 +0000 (0:00:00.045) 0:00:40.709 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-crypttab.yml:4 Thursday 21 July 2022 19:52:34 +0000 (0:00:00.051) 0:00:40.760 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-crypttab.yml:9 Thursday 21 July 2022 19:52:34 +0000 (0:00:00.060) 0:00:40.821 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-crypttab.yml:15 Thursday 21 July 2022 19:52:34 +0000 (0:00:00.045) 0:00:40.866 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-crypttab.yml:21 Thursday 21 July 2022 19:52:34 +0000 (0:00:00.035) 0:00:40.902 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-crypttab.yml:27 Thursday 21 July 2022 19:52:34 +0000 (0:00:00.037) 0:00:40.939 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 19:52:34 +0000 (0:00:00.035) 0:00:40.974 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:62 Thursday 21 July 2022 19:52:34 +0000 (0:00:00.031) 0:00:41.006 ********* included: /tmp/tmpmnqeja9w/tests/storage/verify-pool-members-vdo.yml for /cache/rhel-8-y.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 19:52:34 +0000 (0:00:00.048) 0:00:41.055 ********* included: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-vdo.yml for /cache/rhel-8-y.qcow2.snap => (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': 'xfs', 'mount_options': 'defaults', 'mount_point': '', 'name': 'test1', 'raid_level': None, 'size': '3g', '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': ['nvme1n1'], '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/tmpmnqeja9w/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 19:52:34 +0000 (0:00:00.045) 0:00:41.100 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 19:52:34 +0000 (0:00:00.026) 0:00:41.127 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 19:52:34 +0000 (0:00:00.025) 0:00:41.153 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 19:52:34 +0000 (0:00:00.025) 0:00:41.178 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 19:52:34 +0000 (0:00:00.025) 0:00:41.203 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 19:52:34 +0000 (0:00:00.025) 0:00:41.229 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 19:52:34 +0000 (0:00:00.026) 0:00:41.256 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 19:52:34 +0000 (0:00:00.058) 0:00:41.314 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 19:52:34 +0000 (0:00:00.038) 0:00:41.352 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpmnqeja9w/tests/storage/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 19:52:34 +0000 (0:00:00.036) 0:00:41.389 ********* included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume.yml for /cache/rhel-8-y.qcow2.snap => (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': 'xfs', 'mount_options': 'defaults', 'mount_point': '', 'name': 'test1', 'raid_level': None, 'size': '3g', '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': ['nvme1n1'], '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/tmpmnqeja9w/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 19:52:34 +0000 (0:00:00.042) 0:00:41.432 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpmnqeja9w/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 19:52:34 +0000 (0:00:00.047) 0:00:41.480 ********* included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml for /cache/rhel-8-y.qcow2.snap => (item=mount) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fstab.yml for /cache/rhel-8-y.qcow2.snap => (item=fstab) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fs.yml for /cache/rhel-8-y.qcow2.snap => (item=fs) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-device.yml for /cache/rhel-8-y.qcow2.snap => (item=device) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml for /cache/rhel-8-y.qcow2.snap => (item=encryption) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml for /cache/rhel-8-y.qcow2.snap => (item=md) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml for /cache/rhel-8-y.qcow2.snap => (item=size) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml for /cache/rhel-8-y.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 19:52:34 +0000 (0:00:00.079) 0:00:41.559 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 19:52:34 +0000 (0:00:00.043) 0:00:41.602 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 19:52:35 +0000 (0:00:00.057) 0:00:41.659 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 19:52:35 +0000 (0:00:00.026) 0:00:41.686 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 19:52:35 +0000 (0:00:00.051) 0:00:41.738 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 19:52:35 +0000 (0:00:00.036) 0:00:41.774 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 19:52:35 +0000 (0:00:00.023) 0:00:41.798 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 19:52:35 +0000 (0:00:00.026) 0:00:41.824 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 19:52:35 +0000 (0:00:00.023) 0:00:41.848 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpmnqeja9w/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 19:52:35 +0000 (0:00:00.036) 0:00:41.885 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "0", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "0", "storage_test_fstab_id_matches": [], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 19:52:35 +0000 (0:00:00.059) 0:00:41.944 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 19:52:35 +0000 (0:00:00.048) 0:00:41.992 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 19:52:35 +0000 (0:00:00.051) 0:00:42.044 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 19:52:35 +0000 (0:00:00.034) 0:00:42.079 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpmnqeja9w/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 19:52:35 +0000 (0:00:00.033) 0:00:42.112 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 19:52:35 +0000 (0:00:00.040) 0:00:42.153 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 19:52:35 +0000 (0:00:00.044) 0:00:42.197 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "stat": { "atime": 1658433129.0985372, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658433129.0985372, "dev": 6, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 52522, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658433129.0985372, "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/tmpmnqeja9w/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 19:52:35 +0000 (0:00:00.384) 0:00:42.582 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 19:52:36 +0000 (0:00:00.051) 0:00:42.633 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 19:52:36 +0000 (0:00:00.042) 0:00:42.676 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 19:52:36 +0000 (0:00:00.037) 0:00:42.713 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 19:52:36 +0000 (0:00:00.025) 0:00:42.739 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 19:52:36 +0000 (0:00:00.040) 0:00:42.779 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 19:52:36 +0000 (0:00:00.024) 0:00:42.804 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 19:52:37 +0000 (0:00:01.355) 0:00:44.160 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 19:52:37 +0000 (0:00:00.024) 0:00:44.185 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 19:52:37 +0000 (0:00:00.023) 0:00:44.209 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 19:52:37 +0000 (0:00:00.056) 0:00:44.265 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 19:52:37 +0000 (0:00:00.025) 0:00:44.290 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 19:52:37 +0000 (0:00:00.025) 0:00:44.315 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 19:52:37 +0000 (0:00:00.025) 0:00:44.341 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 19:52:37 +0000 (0:00:00.026) 0:00:44.367 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 19:52:37 +0000 (0:00:00.025) 0:00:44.392 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 19:52:37 +0000 (0:00:00.052) 0:00:44.445 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 19:52:37 +0000 (0:00:00.053) 0:00:44.499 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 19:52:37 +0000 (0:00:00.038) 0:00:44.537 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 19:52:37 +0000 (0:00:00.036) 0:00:44.574 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 19:52:37 +0000 (0:00:00.038) 0:00:44.612 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 19:52:38 +0000 (0:00:00.039) 0:00:44.651 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 19:52:38 +0000 (0:00:00.036) 0:00:44.688 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 19:52:38 +0000 (0:00:00.038) 0:00:44.727 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 19:52:38 +0000 (0:00:00.035) 0:00:44.762 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 19:52:38 +0000 (0:00:00.035) 0:00:44.798 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 19:52:38 +0000 (0:00:00.034) 0:00:44.832 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 19:52:38 +0000 (0:00:00.035) 0:00:44.868 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 19:52:38 +0000 (0:00:00.036) 0:00:44.904 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 19:52:38 +0000 (0:00:00.397) 0:00:45.302 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 19:52:39 +0000 (0:00:00.395) 0:00:45.697 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "3221225472" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 19:52:39 +0000 (0:00:00.082) 0:00:45.780 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 19:52:39 +0000 (0:00:00.034) 0:00:45.815 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 19:52:39 +0000 (0:00:00.036) 0:00:45.852 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 19:52:39 +0000 (0:00:00.037) 0:00:45.889 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 19:52:39 +0000 (0:00:00.036) 0:00:45.926 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 19:52:39 +0000 (0:00:00.068) 0:00:45.994 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 19:52:39 +0000 (0:00:00.037) 0:00:46.032 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_test_actual_size": { "bytes": 3221225472, "changed": false, "failed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 19:52:39 +0000 (0:00:00.040) 0:00:46.072 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 19:52:39 +0000 (0:00:00.038) 0:00:46.111 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 19:52:39 +0000 (0:00:00.050) 0:00:46.161 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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.033409", "end": "2022-07-21 15:52:38.995879", "rc": 0, "start": "2022-07-21 15:52:38.962470" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-a----- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 19:52:39 +0000 (0:00:00.414) 0:00:46.576 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 19:52:40 +0000 (0:00:00.050) 0:00:46.626 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 19:52:40 +0000 (0:00:00.048) 0:00:46.675 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 19:52:40 +0000 (0:00:00.035) 0:00:46.710 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 19:52:40 +0000 (0:00:00.035) 0:00:46.746 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 19:52:40 +0000 (0:00:00.034) 0:00:46.781 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 19:52:40 +0000 (0:00:00.043) 0:00:46.825 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 19:52:40 +0000 (0:00:00.043) 0:00:46.868 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 19:52:40 +0000 (0:00:00.024) 0:00:46.893 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Repeat the previous invocation to verify idempotence] ******************** task path: /tmp/tmpmnqeja9w/tests/storage/tests_remove_mount.yml:55 Thursday 21 July 2022 19:52:40 +0000 (0:00:00.034) 0:00:46.928 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 19:52:40 +0000 (0:00:00.056) 0:00:46.984 ********* included: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 19:52:40 +0000 (0:00:00.038) 0:00:47.022 ********* ok: [/cache/rhel-8-y.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 19:52:40 +0000 (0:00:00.525) 0:00:47.548 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8-y.qcow2.snap] => (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/tmpp_vyhrdp/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-y.qcow2.snap] => (item=RedHat_8.7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.7.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/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 19:52:40 +0000 (0:00:00.064) 0:00:47.613 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 19:52:41 +0000 (0:00:00.039) 0:00:47.652 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 19:52:41 +0000 (0:00:00.037) 0:00:47.690 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 19:52:41 +0000 (0:00:00.057) 0:00:47.747 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 19:52:41 +0000 (0:00:00.022) 0:00:47.769 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 19:52:41 +0000 (0:00:00.028) 0:00:47.798 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_pools": [ { "disks": [ "nvme1n1" ], "name": "foo", "volumes": [ { "mount_point": "", "name": "test1", "size": "3g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 19:52:41 +0000 (0:00:00.087) 0:00:47.885 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 19:52:41 +0000 (0:00:00.121) 0:00:48.007 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 19:52:41 +0000 (0:00:00.031) 0:00:48.038 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 19:52:41 +0000 (0:00:00.031) 0:00:48.070 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 19:52:41 +0000 (0:00:00.030) 0:00:48.100 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 19:52:41 +0000 (0:00:00.031) 0:00:48.132 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 19:52:41 +0000 (0:00:00.059) 0:00:48.191 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 19:52:41 +0000 (0:00:00.023) 0:00:48.214 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/mapper/foo-test1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [], "packages": [ "lvm2", "e2fsprogs", "dosfstools", "xfsprogs" ], "pools": [ { "disks": [ "nvme1n1" ], "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": [ "nvme1n1" ], "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": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "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/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 19:52:43 +0000 (0:00:01.648) 0:00:49.863 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 19:52:43 +0000 (0:00:00.040) 0:00:49.903 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 19:52:43 +0000 (0:00:00.024) 0:00:49.927 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/mapper/foo-test1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [], "packages": [ "lvm2", "e2fsprogs", "dosfstools", "xfsprogs" ], "pools": [ { "disks": [ "nvme1n1" ], "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": [ "nvme1n1" ], "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": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "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/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 19:52:43 +0000 (0:00:00.042) 0:00:49.970 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "nvme1n1" ], "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": [ "nvme1n1" ], "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": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "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/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 19:52:43 +0000 (0:00:00.039) 0:00:50.010 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 19:52:43 +0000 (0:00:00.039) 0:00:50.049 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 19:52:43 +0000 (0:00:00.037) 0:00:50.086 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 19:52:43 +0000 (0:00:00.025) 0:00:50.112 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 19:52:43 +0000 (0:00:00.034) 0:00:50.147 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 19:52:43 +0000 (0:00:00.023) 0:00:50.170 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 19:52:43 +0000 (0:00:00.383) 0:00:50.554 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 19:52:43 +0000 (0:00:00.023) 0:00:50.577 ********* ok: [/cache/rhel-8-y.qcow2.snap] META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/tests_remove_mount.yml:67 Thursday 21 July 2022 19:52:44 +0000 (0:00:00.987) 0:00:51.564 ********* included: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml for /cache/rhel-8-y.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 19:52:44 +0000 (0:00:00.046) 0:00:51.611 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "nvme1n1" ], "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": [ "nvme1n1" ], "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": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "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/tmpmnqeja9w/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 19:52:45 +0000 (0:00:00.085) 0:00:51.696 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 19:52:45 +0000 (0:00:00.069) 0:00:51.766 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/foo-test1", "size": "3G", "type": "lvm", "uuid": "91fbf9c2-ce5e-48e3-bbf3-a8ae63d8c3ff" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "LVM2_member", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "8UZoKn-z7WN-kojq-7F93-XBhW-OkcU-sE8dm5" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-19-51-40-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": "58dca2db-4ccd-4171-a017-dd53ad8c1c54" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "4d1ed9a1-5608-4ff8-ad89-21d95caa66fa" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "a7abcc97-edc5-476c-8ccd-694b4621fd28" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 19:52:45 +0000 (0:00:00.373) 0:00:52.139 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002804", "end": "2022-07-21 15:52:44.929125", "rc": 0, "start": "2022-07-21 15:52:44.926321" } STDOUT: UUID=58dca2db-4ccd-4171-a017-dd53ad8c1c54 / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 /dev/vdb1 /var/cache/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 19:52:45 +0000 (0:00:00.376) 0:00:52.516 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002653", "end": "2022-07-21 15:52:45.320461", "failed_when_result": false, "rc": 1, "start": "2022-07-21 15:52:45.317808" } 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/tmpmnqeja9w/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 19:52:46 +0000 (0:00:00.383) 0:00:52.900 ********* included: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool.yml for /cache/rhel-8-y.qcow2.snap => (item={'disks': ['nvme1n1'], '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': 'xfs', 'mount_options': 'defaults', 'mount_point': '', 'name': 'test1', 'raid_level': None, 'size': '3g', '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': ['nvme1n1'], '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/tmpmnqeja9w/tests/storage/test-verify-pool.yml:5 Thursday 21 July 2022 19:52:46 +0000 (0:00:00.065) 0:00:52.966 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool.yml:18 Thursday 21 July 2022 19:52:46 +0000 (0:00:00.036) 0:00:53.002 ********* included: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml for /cache/rhel-8-y.qcow2.snap => (item=members) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-volumes.yml for /cache/rhel-8-y.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:1 Thursday 21 July 2022 19:52:46 +0000 (0:00:00.050) 0:00:53.053 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/nvme1n1" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 19:52:46 +0000 (0:00:00.057) 0:00:53.110 ********* ok: [/cache/rhel-8-y.qcow2.snap] => (item=/dev/nvme1n1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/nvme1n1", "pv": "/dev/nvme1n1" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 19:52:46 +0000 (0:00:00.388) 0:00:53.498 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 19:52:46 +0000 (0:00:00.052) 0:00:53.550 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/nvme1n1" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 19:52:46 +0000 (0:00:00.051) 0:00:53.602 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:29 Thursday 21 July 2022 19:52:47 +0000 (0:00:00.054) 0:00:53.657 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 19:52:47 +0000 (0:00:00.041) 0:00:53.698 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:37 Thursday 21 July 2022 19:52:47 +0000 (0:00:00.049) 0:00:53.748 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:41 Thursday 21 July 2022 19:52:47 +0000 (0:00:00.024) 0:00:53.772 ********* ok: [/cache/rhel-8-y.qcow2.snap] => (item=/dev/nvme1n1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/nvme1n1" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 19:52:47 +0000 (0:00:00.042) 0:00:53.815 ********* included: /tmp/tmpmnqeja9w/tests/storage/verify-pool-md.yml for /cache/rhel-8-y.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-md.yml:6 Thursday 21 July 2022 19:52:47 +0000 (0:00:00.044) 0:00:53.859 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 19:52:47 +0000 (0:00:00.024) 0:00:53.884 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-md.yml:16 Thursday 21 July 2022 19:52:47 +0000 (0:00:00.026) 0:00:53.911 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-md.yml:20 Thursday 21 July 2022 19:52:47 +0000 (0:00:00.057) 0:00:53.969 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-md.yml:24 Thursday 21 July 2022 19:52:47 +0000 (0:00:00.026) 0:00:53.995 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-md.yml:30 Thursday 21 July 2022 19:52:47 +0000 (0:00:00.026) 0:00:54.022 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-md.yml:36 Thursday 21 July 2022 19:52:47 +0000 (0:00:00.024) 0:00:54.047 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-md.yml:44 Thursday 21 July 2022 19:52:47 +0000 (0:00:00.024) 0:00:54.072 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 19:52:47 +0000 (0:00:00.031) 0:00:54.103 ********* included: /tmp/tmpmnqeja9w/tests/storage/verify-pool-members-lvmraid.yml for /cache/rhel-8-y.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 19:52:47 +0000 (0:00:00.042) 0:00:54.146 ********* included: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-lvmraid.yml for /cache/rhel-8-y.qcow2.snap => (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': 'xfs', 'mount_options': 'defaults', 'mount_point': '', 'name': 'test1', 'raid_level': None, 'size': '3g', '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': ['nvme1n1'], '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/tmpmnqeja9w/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 19:52:47 +0000 (0:00:00.058) 0:00:54.204 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 19:52:47 +0000 (0:00:00.027) 0:00:54.231 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 19:52:47 +0000 (0:00:00.026) 0:00:54.258 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 19:52:47 +0000 (0:00:00.026) 0:00:54.284 ********* included: /tmp/tmpmnqeja9w/tests/storage/verify-pool-members-thin.yml for /cache/rhel-8-y.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-members-thin.yml:1 Thursday 21 July 2022 19:52:47 +0000 (0:00:00.046) 0:00:54.330 ********* included: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-thin.yml for /cache/rhel-8-y.qcow2.snap => (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': 'xfs', 'mount_options': 'defaults', 'mount_point': '', 'name': 'test1', 'raid_level': None, 'size': '3g', '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': ['nvme1n1'], '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/tmpmnqeja9w/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 19:52:47 +0000 (0:00:00.045) 0:00:54.376 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 19:52:47 +0000 (0:00:00.024) 0:00:54.401 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 19:52:47 +0000 (0:00:00.025) 0:00:54.426 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 19:52:47 +0000 (0:00:00.025) 0:00:54.451 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 19:52:47 +0000 (0:00:00.025) 0:00:54.477 ********* included: /tmp/tmpmnqeja9w/tests/storage/verify-pool-members-encryption.yml for /cache/rhel-8-y.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 19:52:47 +0000 (0:00:00.045) 0:00:54.522 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpmnqeja9w/tests/storage/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 19:52:47 +0000 (0:00:00.051) 0:00:54.574 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => (item=/dev/nvme1n1) => { "_storage_test_pool_member_path": "/dev/nvme1n1", "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/tmpmnqeja9w/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 19:52:47 +0000 (0:00:00.028) 0:00:54.603 ********* included: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-crypttab.yml for /cache/rhel-8-y.qcow2.snap => (item=/dev/nvme1n1) TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 19:52:48 +0000 (0:00:00.044) 0:00:54.647 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-crypttab.yml:4 Thursday 21 July 2022 19:52:48 +0000 (0:00:00.052) 0:00:54.699 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-crypttab.yml:9 Thursday 21 July 2022 19:52:48 +0000 (0:00:00.049) 0:00:54.749 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-crypttab.yml:15 Thursday 21 July 2022 19:52:48 +0000 (0:00:00.034) 0:00:54.783 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-crypttab.yml:21 Thursday 21 July 2022 19:52:48 +0000 (0:00:00.041) 0:00:54.824 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-crypttab.yml:27 Thursday 21 July 2022 19:52:48 +0000 (0:00:00.043) 0:00:54.868 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 19:52:48 +0000 (0:00:00.036) 0:00:54.905 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:62 Thursday 21 July 2022 19:52:48 +0000 (0:00:00.038) 0:00:54.943 ********* included: /tmp/tmpmnqeja9w/tests/storage/verify-pool-members-vdo.yml for /cache/rhel-8-y.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 19:52:48 +0000 (0:00:00.050) 0:00:54.994 ********* included: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-vdo.yml for /cache/rhel-8-y.qcow2.snap => (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': 'xfs', 'mount_options': 'defaults', 'mount_point': '', 'name': 'test1', 'raid_level': None, 'size': '3g', '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': ['nvme1n1'], '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/tmpmnqeja9w/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 19:52:48 +0000 (0:00:00.047) 0:00:55.042 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 19:52:48 +0000 (0:00:00.027) 0:00:55.069 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 19:52:48 +0000 (0:00:00.026) 0:00:55.096 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 19:52:48 +0000 (0:00:00.025) 0:00:55.121 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 19:52:48 +0000 (0:00:00.024) 0:00:55.146 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 19:52:48 +0000 (0:00:00.065) 0:00:55.212 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 19:52:48 +0000 (0:00:00.027) 0:00:55.239 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 19:52:48 +0000 (0:00:00.025) 0:00:55.265 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 19:52:48 +0000 (0:00:00.037) 0:00:55.302 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpmnqeja9w/tests/storage/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 19:52:48 +0000 (0:00:00.037) 0:00:55.340 ********* included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume.yml for /cache/rhel-8-y.qcow2.snap => (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': 'xfs', 'mount_options': 'defaults', 'mount_point': '', 'name': 'test1', 'raid_level': None, 'size': '3g', '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': ['nvme1n1'], '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/tmpmnqeja9w/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 19:52:48 +0000 (0:00:00.042) 0:00:55.383 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpmnqeja9w/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 19:52:48 +0000 (0:00:00.048) 0:00:55.432 ********* included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml for /cache/rhel-8-y.qcow2.snap => (item=mount) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fstab.yml for /cache/rhel-8-y.qcow2.snap => (item=fstab) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fs.yml for /cache/rhel-8-y.qcow2.snap => (item=fs) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-device.yml for /cache/rhel-8-y.qcow2.snap => (item=device) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml for /cache/rhel-8-y.qcow2.snap => (item=encryption) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml for /cache/rhel-8-y.qcow2.snap => (item=md) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml for /cache/rhel-8-y.qcow2.snap => (item=size) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml for /cache/rhel-8-y.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 19:52:48 +0000 (0:00:00.080) 0:00:55.512 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 19:52:48 +0000 (0:00:00.041) 0:00:55.554 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 19:52:48 +0000 (0:00:00.054) 0:00:55.608 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 19:52:49 +0000 (0:00:00.025) 0:00:55.634 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 19:52:49 +0000 (0:00:00.049) 0:00:55.684 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 19:52:49 +0000 (0:00:00.036) 0:00:55.721 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 19:52:49 +0000 (0:00:00.026) 0:00:55.747 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 19:52:49 +0000 (0:00:00.024) 0:00:55.771 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 19:52:49 +0000 (0:00:00.023) 0:00:55.795 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpmnqeja9w/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 19:52:49 +0000 (0:00:00.031) 0:00:55.827 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "0", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "0", "storage_test_fstab_id_matches": [], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 19:52:49 +0000 (0:00:00.057) 0:00:55.884 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 19:52:49 +0000 (0:00:00.048) 0:00:55.933 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 19:52:49 +0000 (0:00:00.046) 0:00:55.979 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 19:52:49 +0000 (0:00:00.034) 0:00:56.014 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpmnqeja9w/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 19:52:49 +0000 (0:00:00.033) 0:00:56.048 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 19:52:49 +0000 (0:00:00.039) 0:00:56.087 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 19:52:49 +0000 (0:00:00.037) 0:00:56.125 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "stat": { "atime": 1658433129.0985372, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658433129.0985372, "dev": 6, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 52522, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658433129.0985372, "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/tmpmnqeja9w/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 19:52:49 +0000 (0:00:00.388) 0:00:56.513 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 19:52:49 +0000 (0:00:00.040) 0:00:56.553 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 19:52:49 +0000 (0:00:00.040) 0:00:56.594 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 19:52:50 +0000 (0:00:00.040) 0:00:56.634 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 19:52:50 +0000 (0:00:00.025) 0:00:56.660 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 19:52:50 +0000 (0:00:00.042) 0:00:56.702 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 19:52:50 +0000 (0:00:00.025) 0:00:56.728 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 19:52:51 +0000 (0:00:01.374) 0:00:58.102 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 19:52:51 +0000 (0:00:00.026) 0:00:58.129 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 19:52:51 +0000 (0:00:00.025) 0:00:58.154 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 19:52:51 +0000 (0:00:00.057) 0:00:58.211 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 19:52:51 +0000 (0:00:00.025) 0:00:58.237 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 19:52:51 +0000 (0:00:00.026) 0:00:58.263 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 19:52:51 +0000 (0:00:00.025) 0:00:58.288 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 19:52:51 +0000 (0:00:00.025) 0:00:58.314 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 19:52:51 +0000 (0:00:00.024) 0:00:58.339 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 19:52:51 +0000 (0:00:00.054) 0:00:58.393 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 19:52:51 +0000 (0:00:00.049) 0:00:58.442 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 19:52:51 +0000 (0:00:00.037) 0:00:58.480 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 19:52:51 +0000 (0:00:00.036) 0:00:58.516 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 19:52:51 +0000 (0:00:00.040) 0:00:58.557 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 19:52:51 +0000 (0:00:00.034) 0:00:58.591 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 19:52:52 +0000 (0:00:00.038) 0:00:58.630 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 19:52:52 +0000 (0:00:00.036) 0:00:58.666 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 19:52:52 +0000 (0:00:00.039) 0:00:58.706 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 19:52:52 +0000 (0:00:00.037) 0:00:58.743 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 19:52:52 +0000 (0:00:00.040) 0:00:58.783 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 19:52:52 +0000 (0:00:00.038) 0:00:58.822 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 19:52:52 +0000 (0:00:00.041) 0:00:58.863 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 19:52:52 +0000 (0:00:00.386) 0:00:59.250 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 19:52:53 +0000 (0:00:00.395) 0:00:59.646 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "3221225472" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 19:52:53 +0000 (0:00:00.055) 0:00:59.702 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 19:52:53 +0000 (0:00:00.043) 0:00:59.745 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 19:52:53 +0000 (0:00:00.040) 0:00:59.786 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 19:52:53 +0000 (0:00:00.053) 0:00:59.840 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 19:52:53 +0000 (0:00:00.040) 0:00:59.880 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 19:52:53 +0000 (0:00:00.038) 0:00:59.919 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 19:52:53 +0000 (0:00:00.038) 0:00:59.957 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_test_actual_size": { "bytes": 3221225472, "changed": false, "failed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 19:52:53 +0000 (0:00:00.041) 0:00:59.999 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 19:52:53 +0000 (0:00:00.036) 0:01:00.035 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 19:52:53 +0000 (0:00:00.101) 0:01:00.137 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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.044222", "end": "2022-07-21 15:52:53.031059", "rc": 0, "start": "2022-07-21 15:52:52.986837" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-a----- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 19:52:54 +0000 (0:00:00.477) 0:01:00.615 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 19:52:54 +0000 (0:00:00.050) 0:01:00.665 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 19:52:54 +0000 (0:00:00.051) 0:01:00.717 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 19:52:54 +0000 (0:00:00.040) 0:01:00.757 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 19:52:54 +0000 (0:00:00.039) 0:01:00.797 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 19:52:54 +0000 (0:00:00.039) 0:01:00.836 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 19:52:54 +0000 (0:00:00.037) 0:01:00.874 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 19:52:54 +0000 (0:00:00.031) 0:01:00.906 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 19:52:54 +0000 (0:00:00.020) 0:01:00.927 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Clean up] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/tests_remove_mount.yml:69 Thursday 21 July 2022 19:52:54 +0000 (0:00:00.037) 0:01:00.964 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 19:52:54 +0000 (0:00:00.063) 0:01:01.027 ********* included: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 19:52:54 +0000 (0:00:00.038) 0:01:01.066 ********* ok: [/cache/rhel-8-y.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 19:52:54 +0000 (0:00:00.523) 0:01:01.589 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8-y.qcow2.snap] => (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/tmpp_vyhrdp/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-y.qcow2.snap] => (item=RedHat_8.7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.7.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/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 19:52:55 +0000 (0:00:00.061) 0:01:01.651 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 19:52:55 +0000 (0:00:00.034) 0:01:01.686 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 19:52:55 +0000 (0:00:00.035) 0:01:01.721 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 19:52:55 +0000 (0:00:00.055) 0:01:01.777 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 19:52:55 +0000 (0:00:00.019) 0:01:01.797 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 19:52:55 +0000 (0:00:00.027) 0:01:01.824 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_pools": [ { "disks": [ "nvme1n1" ], "name": "foo", "state": "absent", "volumes": [ { "mount_point": "", "name": "test1", "size": "3g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 19:52:55 +0000 (0:00:00.036) 0:01:01.861 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 19:52:55 +0000 (0:00:00.037) 0:01:01.899 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 19:52:55 +0000 (0:00:00.029) 0:01:01.928 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 19:52:55 +0000 (0:00:00.029) 0:01:01.958 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 19:52:55 +0000 (0:00:00.031) 0:01:01.989 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 19:52:55 +0000 (0:00:00.029) 0:01:02.019 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 19:52:55 +0000 (0:00:00.093) 0:01:02.113 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 19:52:55 +0000 (0:00:00.057) 0:01:02.171 ********* changed: [/cache/rhel-8-y.qcow2.snap] => { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" }, { "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/nvme1n1", "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/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [], "packages": [ "e2fsprogs", "dosfstools", "xfsprogs" ], "pools": [ { "disks": [ "nvme1n1" ], "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": [ "nvme1n1" ], "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": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "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/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 19:52:57 +0000 (0:00:02.120) 0:01:04.291 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 19:52:57 +0000 (0:00:00.038) 0:01:04.329 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 19:52:57 +0000 (0:00:00.022) 0:01:04.351 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" }, { "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/nvme1n1", "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/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [], "packages": [ "e2fsprogs", "dosfstools", "xfsprogs" ], "pools": [ { "disks": [ "nvme1n1" ], "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": [ "nvme1n1" ], "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": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "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/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 19:52:57 +0000 (0:00:00.039) 0:01:04.391 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "nvme1n1" ], "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": [ "nvme1n1" ], "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": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "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/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 19:52:57 +0000 (0:00:00.039) 0:01:04.431 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 19:52:57 +0000 (0:00:00.047) 0:01:04.478 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 19:52:57 +0000 (0:00:00.040) 0:01:04.518 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 19:52:57 +0000 (0:00:00.027) 0:01:04.545 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 19:52:57 +0000 (0:00:00.034) 0:01:04.580 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 19:52:57 +0000 (0:00:00.023) 0:01:04.603 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 19:52:58 +0000 (0:00:00.389) 0:01:04.993 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 19:52:58 +0000 (0:00:00.023) 0:01:05.016 ********* ok: [/cache/rhel-8-y.qcow2.snap] META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/tests_remove_mount.yml:82 Thursday 21 July 2022 19:52:59 +0000 (0:00:00.994) 0:01:06.011 ********* included: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml for /cache/rhel-8-y.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 19:52:59 +0000 (0:00:00.049) 0:01:06.060 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "nvme1n1" ], "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": [ "nvme1n1" ], "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": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "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/tmpmnqeja9w/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 19:52:59 +0000 (0:00:00.096) 0:01:06.156 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 19:52:59 +0000 (0:00:00.038) 0:01:06.195 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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-19-51-40-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": "58dca2db-4ccd-4171-a017-dd53ad8c1c54" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "4d1ed9a1-5608-4ff8-ad89-21d95caa66fa" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "a7abcc97-edc5-476c-8ccd-694b4621fd28" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 19:53:00 +0000 (0:00:00.428) 0:01:06.624 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002717", "end": "2022-07-21 15:52:59.425540", "rc": 0, "start": "2022-07-21 15:52:59.422823" } STDOUT: UUID=58dca2db-4ccd-4171-a017-dd53ad8c1c54 / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 /dev/vdb1 /var/cache/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 19:53:00 +0000 (0:00:00.378) 0:01:07.002 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002791", "end": "2022-07-21 15:52:59.842571", "failed_when_result": false, "rc": 1, "start": "2022-07-21 15:52:59.839780" } 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/tmpmnqeja9w/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 19:53:00 +0000 (0:00:00.420) 0:01:07.423 ********* included: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool.yml for /cache/rhel-8-y.qcow2.snap => (item={'disks': ['nvme1n1'], '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': 'xfs', 'mount_options': 'defaults', 'mount_point': '', 'name': 'test1', 'raid_level': None, 'size': '3g', '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': ['nvme1n1'], '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/tmpmnqeja9w/tests/storage/test-verify-pool.yml:5 Thursday 21 July 2022 19:53:00 +0000 (0:00:00.060) 0:01:07.484 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool.yml:18 Thursday 21 July 2022 19:53:00 +0000 (0:00:00.033) 0:01:07.517 ********* included: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml for /cache/rhel-8-y.qcow2.snap => (item=members) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-volumes.yml for /cache/rhel-8-y.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:1 Thursday 21 July 2022 19:53:00 +0000 (0:00:00.046) 0:01:07.563 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 19:53:01 +0000 (0:00:00.051) 0:01:07.615 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 19:53:01 +0000 (0:00:00.021) 0:01:07.637 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "0" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 19:53:01 +0000 (0:00:00.049) 0:01:07.686 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 19:53:01 +0000 (0:00:00.047) 0:01:07.733 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:29 Thursday 21 July 2022 19:53:01 +0000 (0:00:00.049) 0:01:07.783 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 19:53:01 +0000 (0:00:00.041) 0:01:07.824 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:37 Thursday 21 July 2022 19:53:01 +0000 (0:00:00.048) 0:01:07.872 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:41 Thursday 21 July 2022 19:53:01 +0000 (0:00:00.025) 0:01:07.898 ********* TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 19:53:01 +0000 (0:00:00.021) 0:01:07.919 ********* included: /tmp/tmpmnqeja9w/tests/storage/verify-pool-md.yml for /cache/rhel-8-y.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-md.yml:6 Thursday 21 July 2022 19:53:01 +0000 (0:00:00.042) 0:01:07.962 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 19:53:01 +0000 (0:00:00.025) 0:01:07.988 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-md.yml:16 Thursday 21 July 2022 19:53:01 +0000 (0:00:00.026) 0:01:08.014 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-md.yml:20 Thursday 21 July 2022 19:53:01 +0000 (0:00:00.027) 0:01:08.042 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-md.yml:24 Thursday 21 July 2022 19:53:01 +0000 (0:00:00.025) 0:01:08.067 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-md.yml:30 Thursday 21 July 2022 19:53:01 +0000 (0:00:00.024) 0:01:08.092 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-md.yml:36 Thursday 21 July 2022 19:53:01 +0000 (0:00:00.022) 0:01:08.115 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-md.yml:44 Thursday 21 July 2022 19:53:01 +0000 (0:00:00.023) 0:01:08.139 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 19:53:01 +0000 (0:00:00.031) 0:01:08.170 ********* included: /tmp/tmpmnqeja9w/tests/storage/verify-pool-members-lvmraid.yml for /cache/rhel-8-y.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 19:53:01 +0000 (0:00:00.042) 0:01:08.213 ********* included: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-lvmraid.yml for /cache/rhel-8-y.qcow2.snap => (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': 'xfs', 'mount_options': 'defaults', 'mount_point': '', 'name': 'test1', 'raid_level': None, 'size': '3g', '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': ['nvme1n1'], '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/tmpmnqeja9w/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 19:53:01 +0000 (0:00:00.068) 0:01:08.281 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 19:53:01 +0000 (0:00:00.028) 0:01:08.309 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 19:53:01 +0000 (0:00:00.026) 0:01:08.336 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 19:53:01 +0000 (0:00:00.027) 0:01:08.364 ********* included: /tmp/tmpmnqeja9w/tests/storage/verify-pool-members-thin.yml for /cache/rhel-8-y.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-members-thin.yml:1 Thursday 21 July 2022 19:53:01 +0000 (0:00:00.049) 0:01:08.413 ********* included: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-thin.yml for /cache/rhel-8-y.qcow2.snap => (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': 'xfs', 'mount_options': 'defaults', 'mount_point': '', 'name': 'test1', 'raid_level': None, 'size': '3g', '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': ['nvme1n1'], '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/tmpmnqeja9w/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 19:53:01 +0000 (0:00:00.048) 0:01:08.462 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 19:53:01 +0000 (0:00:00.025) 0:01:08.487 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 19:53:01 +0000 (0:00:00.025) 0:01:08.513 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 19:53:01 +0000 (0:00:00.025) 0:01:08.538 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 19:53:01 +0000 (0:00:00.023) 0:01:08.562 ********* included: /tmp/tmpmnqeja9w/tests/storage/verify-pool-members-encryption.yml for /cache/rhel-8-y.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 19:53:01 +0000 (0:00:00.044) 0:01:08.607 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpmnqeja9w/tests/storage/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 19:53:02 +0000 (0:00:00.050) 0:01:08.657 ********* TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 19:53:02 +0000 (0:00:00.020) 0:01:08.678 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 19:53:02 +0000 (0:00:00.020) 0:01:08.699 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:62 Thursday 21 July 2022 19:53:02 +0000 (0:00:00.034) 0:01:08.733 ********* included: /tmp/tmpmnqeja9w/tests/storage/verify-pool-members-vdo.yml for /cache/rhel-8-y.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 19:53:02 +0000 (0:00:00.046) 0:01:08.780 ********* included: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-vdo.yml for /cache/rhel-8-y.qcow2.snap => (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': 'xfs', 'mount_options': 'defaults', 'mount_point': '', 'name': 'test1', 'raid_level': None, 'size': '3g', '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': ['nvme1n1'], '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/tmpmnqeja9w/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 19:53:02 +0000 (0:00:00.042) 0:01:08.822 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 19:53:02 +0000 (0:00:00.023) 0:01:08.846 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 19:53:02 +0000 (0:00:00.024) 0:01:08.871 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 19:53:02 +0000 (0:00:00.023) 0:01:08.894 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 19:53:02 +0000 (0:00:00.022) 0:01:08.916 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 19:53:02 +0000 (0:00:00.023) 0:01:08.939 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 19:53:02 +0000 (0:00:00.021) 0:01:08.961 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 19:53:02 +0000 (0:00:00.021) 0:01:08.983 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 19:53:02 +0000 (0:00:00.037) 0:01:09.020 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpmnqeja9w/tests/storage/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 19:53:02 +0000 (0:00:00.039) 0:01:09.060 ********* included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume.yml for /cache/rhel-8-y.qcow2.snap => (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': 'xfs', 'mount_options': 'defaults', 'mount_point': '', 'name': 'test1', 'raid_level': None, 'size': '3g', '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': ['nvme1n1'], '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/tmpmnqeja9w/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 19:53:02 +0000 (0:00:00.045) 0:01:09.105 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpmnqeja9w/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 19:53:02 +0000 (0:00:00.049) 0:01:09.155 ********* included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml for /cache/rhel-8-y.qcow2.snap => (item=mount) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fstab.yml for /cache/rhel-8-y.qcow2.snap => (item=fstab) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fs.yml for /cache/rhel-8-y.qcow2.snap => (item=fs) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-device.yml for /cache/rhel-8-y.qcow2.snap => (item=device) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml for /cache/rhel-8-y.qcow2.snap => (item=encryption) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml for /cache/rhel-8-y.qcow2.snap => (item=md) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml for /cache/rhel-8-y.qcow2.snap => (item=size) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml for /cache/rhel-8-y.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 19:53:02 +0000 (0:00:00.081) 0:01:09.237 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 19:53:02 +0000 (0:00:00.039) 0:01:09.276 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 19:53:02 +0000 (0:00:00.099) 0:01:09.376 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 19:53:02 +0000 (0:00:00.025) 0:01:09.401 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 19:53:02 +0000 (0:00:00.084) 0:01:09.486 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 19:53:02 +0000 (0:00:00.035) 0:01:09.522 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 19:53:02 +0000 (0:00:00.023) 0:01:09.545 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 19:53:02 +0000 (0:00:00.026) 0:01:09.571 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 19:53:02 +0000 (0:00:00.025) 0:01:09.597 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpmnqeja9w/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 19:53:03 +0000 (0:00:00.036) 0:01:09.634 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpmnqeja9w/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 19:53:03 +0000 (0:00:00.062) 0:01:09.696 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 19:53:03 +0000 (0:00:00.026) 0:01:09.723 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 19:53:03 +0000 (0:00:00.047) 0:01:09.770 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 19:53:03 +0000 (0:00:00.038) 0:01:09.808 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpmnqeja9w/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 19:53:03 +0000 (0:00:00.036) 0:01:09.844 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 19:53:03 +0000 (0:00:00.024) 0:01:09.869 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 19:53:03 +0000 (0:00:00.023) 0:01:09.892 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 19:53:03 +0000 (0:00:00.368) 0:01:10.261 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 19:53:03 +0000 (0:00:00.038) 0:01:10.300 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 19:53:03 +0000 (0:00:00.025) 0:01:10.325 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 19:53:03 +0000 (0:00:00.038) 0:01:10.363 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 19:53:03 +0000 (0:00:00.025) 0:01:10.389 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 19:53:03 +0000 (0:00:00.026) 0:01:10.415 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 19:53:03 +0000 (0:00:00.023) 0:01:10.439 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 19:53:05 +0000 (0:00:01.347) 0:01:11.787 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 19:53:05 +0000 (0:00:00.024) 0:01:11.811 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 19:53:05 +0000 (0:00:00.022) 0:01:11.833 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 19:53:05 +0000 (0:00:00.021) 0:01:11.855 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 19:53:05 +0000 (0:00:00.023) 0:01:11.879 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 19:53:05 +0000 (0:00:00.025) 0:01:11.904 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 19:53:05 +0000 (0:00:00.024) 0:01:11.929 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 19:53:05 +0000 (0:00:00.022) 0:01:11.951 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 19:53:05 +0000 (0:00:00.023) 0:01:11.974 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 19:53:05 +0000 (0:00:00.114) 0:01:12.089 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 19:53:05 +0000 (0:00:00.052) 0:01:12.141 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 19:53:05 +0000 (0:00:00.036) 0:01:12.178 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 19:53:05 +0000 (0:00:00.039) 0:01:12.217 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 19:53:05 +0000 (0:00:00.036) 0:01:12.254 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 19:53:05 +0000 (0:00:00.037) 0:01:12.291 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 19:53:05 +0000 (0:00:00.035) 0:01:12.327 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 19:53:05 +0000 (0:00:00.035) 0:01:12.363 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 19:53:05 +0000 (0:00:00.033) 0:01:12.396 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 19:53:05 +0000 (0:00:00.035) 0:01:12.432 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 19:53:05 +0000 (0:00:00.037) 0:01:12.469 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 19:53:05 +0000 (0:00:00.040) 0:01:12.509 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 19:53:05 +0000 (0:00:00.035) 0:01:12.545 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 19:53:05 +0000 (0:00:00.026) 0:01:12.572 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 19:53:05 +0000 (0:00:00.038) 0:01:12.610 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 19:53:06 +0000 (0:00:00.047) 0:01:12.657 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 19:53:06 +0000 (0:00:00.043) 0:01:12.700 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 19:53:06 +0000 (0:00:00.039) 0:01:12.740 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 19:53:06 +0000 (0:00:00.041) 0:01:12.782 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 19:53:06 +0000 (0:00:00.041) 0:01:12.823 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 19:53:06 +0000 (0:00:00.037) 0:01:12.861 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 19:53:06 +0000 (0:00:00.037) 0:01:12.898 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 19:53:06 +0000 (0:00:00.038) 0:01:12.936 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 19:53:06 +0000 (0:00:00.039) 0:01:12.975 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 19:53:06 +0000 (0:00:00.023) 0:01:12.998 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 19:53:06 +0000 (0:00:00.023) 0:01:13.022 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 19:53:06 +0000 (0:00:00.023) 0:01:13.045 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 19:53:06 +0000 (0:00:00.024) 0:01:13.069 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 19:53:06 +0000 (0:00:00.023) 0:01:13.093 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 19:53:06 +0000 (0:00:00.023) 0:01:13.116 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 19:53:06 +0000 (0:00:00.023) 0:01:13.139 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 19:53:06 +0000 (0:00:00.024) 0:01:13.164 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 19:53:06 +0000 (0:00:00.031) 0:01:13.196 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 19:53:06 +0000 (0:00:00.020) 0:01:13.216 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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-y.qcow2.snap : ok=381 changed=4 unreachable=0 failed=0 skipped=322 rescued=0 ignored=0 Thursday 21 July 2022 19:53:06 +0000 (0:00:00.046) 0:01:13.263 ********* =============================================================================== fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 2.12s /tmp/tmpp_vyhrdp/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.06s /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : get service facts ------------------- 1.89s /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 fedora.linux_system_roles.storage : make sure blivet is available ------- 1.82s /tmp/tmpp_vyhrdp/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 --- 1.65s /tmp/tmpp_vyhrdp/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.60s /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Find unused disks in the system ----------------------------------------- 1.53s /tmp/tmpmnqeja9w/tests/storage/get_unused_disk.yml:2 -------------------------- fedora.linux_system_roles.storage : make sure required packages are installed --- 1.48s /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Read the /etc/fstab file for volume existence --------------------------- 1.42s /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml:19 --------------------- Ensure cryptsetup is present -------------------------------------------- 1.37s /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:10 ----------- Ensure cryptsetup is present -------------------------------------------- 1.37s /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:10 ----------- Ensure cryptsetup is present -------------------------------------------- 1.36s /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:10 ----------- Ensure cryptsetup is present -------------------------------------------- 1.35s /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:10 ----------- Gathering Facts --------------------------------------------------------- 1.32s /tmp/tmpmnqeja9w/tests/storage/tests_remove_mount_nvme_generated.yml:3 -------- fedora.linux_system_roles.storage : Update facts ------------------------ 1.02s /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 fedora.linux_system_roles.storage : Update facts ------------------------ 0.99s /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 fedora.linux_system_roles.storage : Update facts ------------------------ 0.99s /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 fedora.linux_system_roles.storage : Update facts ------------------------ 0.99s /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 fedora.linux_system_roles.storage : Update facts ------------------------ 0.99s /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Gathering Facts --------------------------------------------------------- 0.94s /tmp/tmpmnqeja9w/tests/storage/tests_remove_mount.yml:2 -----------------------